ERC-721
Overview
Max Total Supply
771 DS
Holders
287
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 DSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DreamSocietyNFT
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; //------------------------------------------------------------------------------ /* ░██████╗░██╗░░░██╗░█████╗░██╗░░░░░██╗███████╗██╗███████╗██████╗░ ██████╗░███████╗██╗░░░██╗░██████╗ ██╔═══██╗██║░░░██║██╔══██╗██║░░░░░██║██╔════╝██║██╔════╝██╔══██╗ ██╔══██╗██╔════╝██║░░░██║██╔════╝ ██║██╗██║██║░░░██║███████║██║░░░░░██║█████╗░░██║█████╗░░██║░░██║ ██║░░██║█████╗░░╚██╗░██╔╝╚█████╗░ ╚██████╔╝██║░░░██║██╔══██║██║░░░░░██║██╔══╝░░██║██╔══╝░░██║░░██║ ██║░░██║██╔══╝░░░╚████╔╝░░╚═══██╗ ░╚═██╔═╝░╚██████╔╝██║░░██║███████╗██║██║░░░░░██║███████╗██████╔╝ ██████╔╝███████╗░░╚██╔╝░░██████╔╝ ░░░╚═╝░░░░╚═════╝░╚═╝░░╚═╝╚══════╝╚═╝╚═╝░░░░░╚═╝╚══════╝╚═════╝░ ╚═════╝░╚══════╝░░░╚═╝░░░╚═════╝░ */ //------------------------------------------------------------------------------ // Author: orion (@OrionDevStar) //------------------------------------------------------------------------------ import "./ERC721/ERC721QDUltra.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract DreamSocietyNFT is ERC721QDUltra, Ownable { using Strings for uint256; using ECDSA for bytes32; //NFT cost uint128 constant public presaleCost1 = 0.12 ether; uint128 constant public presaleCost2 = 0.15 ether; uint128 constant public publicCost = 0.16 ether; //erc721 metadata string constant private _name = "Dream Society"; string constant private _symbol = "DS"; //verification address address constant private _signer = 0xe05655869a11FEbD52F7686bE1B2B48c40f7E613; //project max info uint16 constant private _maxSupply = 8888; uint8 constant private _maxOwner = 200; uint8 constant private _maxPersale = 3; //QD payment uint256 private QDpayment = 2.8 ether; //NFT project stage. uint32 public freeMintDate = 1658671200; uint32 public presaleMint1Date = 1658671200; uint32 public presaleMint2Date = 1658685600; uint32 public publicMintDate = 1658700000; //track mint count per address uint256 private _ownerMints = 0; mapping (address => uint256) private _mintsPresale1; mapping (address => uint256) private _mintsPresale2; mapping (address => uint256) private _mintsPublic; mapping (address => uint256) private _mintsFree; //NFT URI string private _projectURI; string private _projectHiddenURI; bool private _revealed = false; //payees shares for the project address[] private _payees; uint[] private _payeesShares; //Admin Addresses address[2] private _adminAddresses; //track mint count for sequencial projects uint16 private _currentTokenId; constructor( uint16 initialTokenId_, string memory projectURI_, address[] memory payees_, uint[] memory payeesShares_ ) ERC721(_name, _symbol) { _projectURI = projectURI_; _payees = payees_; _payeesShares = payeesShares_; _currentTokenId = initialTokenId_ - 1; _ownerMints = 16; for (uint16 i = 0; i < _ownerMints; i++) { _currentTokenId++; _safeMint(msg.sender, _currentTokenId); } addTotalSupply(_ownerMints); _adminAddresses = [0x89a31e7658510Cfd960067cb97ddcc7Ece3c70C0, msg.sender]; } //------------------------------------------------------------------------- // modifiers //------------------------------------------------------------------------- modifier onlyAdmin() { require(isAdmin(), "caller not admin"); _; } //------------------------------------------------------------------------- // internal //------------------------------------------------------------------------- function isAdmin() internal view returns(bool) { for(uint16 i = 0; i < _adminAddresses.length; i++){ if(_adminAddresses[i] == msg.sender) return true; } return false; } function _baseURI() internal view virtual override returns (string memory) { return _projectURI; } //standart mint verification used by other functions function _mintNFT(address _to, uint256 _quantity, uint128 _price, uint256 _minted) internal { require(_quantity * _price <= msg.value, "Insufficient funds."); require(_quantity + _currentTokenId <= _maxSupply,"Purchase exceeds available supply."); require(_quantity + _minted <= _maxPersale, "Invalid mint amount!"); for (uint16 i = 0; i < _quantity; i++) { _currentTokenId++; _safeMint(_to, _currentTokenId); } addTotalSupply(_quantity); } /* * checks the hash message with the spected hash message in the * contract and compere the signature with the signer */ function _checkHash(bytes32 _hash, bytes memory _signature, address _account ) internal view returns (bool) { bytes32 senderHash = _senderMessageHash(); if (senderHash != _hash) { return false; } return _hash.recover(_signature) == _account; } function _senderMessageHash() internal view returns (bytes32) { bytes32 message = keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(address(this), msg.sender)) ) ); return message; } //------------------------------------------------------------------------- // public //------------------------------------------------------------------------- // @dev mint the _quantity to the message.sender // @param _quantity is the quantity that will be minted function publicMint(uint256 _quantity) public payable { require(isPublicSale(), "Presale mint not available."); _mintNFT(msg.sender, _quantity, publicCost, _mintsPublic[msg.sender]); _mintsPublic[msg.sender] += _quantity; } // @dev mint the _quantity to the message.sender // @param _quantity is the quantity that will be minted function freeMint(uint256 _quantity, bytes32 _hash, bytes memory _signature) public payable { require(_checkHash(_hash, _signature, _signer), "Address is not on Presale List"); require(isFreesale(), "Presale mint not available."); _mintNFT(msg.sender, _quantity, 0 ether,_mintsFree[msg.sender]+2); _mintsFree[msg.sender] += _quantity; } // @dev mint the _quantity to the message.sender // @param _quantity is the quantity that will be minted function presaleMint1(uint256 _quantity, bytes32 _hash, bytes memory _signature) public payable { require(_checkHash(_hash, _signature, _signer), "Address is not on Presale List"); require(isPresale1(), "Presale mint not available."); _mintNFT(msg.sender, _quantity, presaleCost1,_mintsPresale1[msg.sender]); _mintsPresale1[msg.sender] += _quantity; } // @dev mint the _quantity to the message.sender // @param _quantity is the quantity that will be minted function presaleMint2(uint256 _quantity, bytes32 _hash, bytes memory _signature) public payable { require(_checkHash(_hash, _signature, _signer), "Address is not on Presale List"); require(isPresale2(), "Presale mint not available."); _mintNFT(msg.sender, _quantity, presaleCost2,_mintsPresale2[msg.sender]); _mintsPresale2[msg.sender] += _quantity; } // @dev show the correct URI for the token, using the _tokenId, shows the _projectHiddenURI if it's not on the public sale // @param _tokenId points to the id of the NFT in the Smart Contract function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token"); if(!_revealed) return _projectHiddenURI; return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } //@dev returns the information about the presale function isPresale1() public view returns(bool){ return block.timestamp < publicMintDate && block.timestamp >= presaleMint1Date && _mintsPresale1[msg.sender] < _maxPersale; } //@dev returns the information about the presale function isPresale2() public view returns(bool){ return block.timestamp < publicMintDate && block.timestamp >= presaleMint2Date && _mintsPresale2[msg.sender] < _maxPersale; } //@dev returns the information about the freesale function isFreesale() public view returns(bool){ return block.timestamp < presaleMint1Date && block.timestamp >= presaleMint1Date && _mintsFree[msg.sender] < 1; } //@dev returns the information about the public sale function isPublicSale() public view returns(bool){ return block.timestamp >= publicMintDate && _mintsPublic[msg.sender] < _maxPersale; } //------------------------------------------------------------------------- // public only owner //------------------------------------------------------------------------- // @dev owner can mint a _quantity for the address _to for free, can be used to airdrop someone // @param _quantity is the quantity that will be minted // @param _to is the addres that the tokens will be send function ownerMintToAddress(uint256 _quantity, address _to) external onlyOwner { require(_quantity + _ownerMints <= _maxOwner, "Invalid mint amount!"); require(_quantity + _currentTokenId <= _maxSupply,"Purchase exceeds available supply."); _ownerMints += _quantity; for (uint16 i = 0; i < _quantity; i++) { _currentTokenId++; _safeMint(_to, _currentTokenId); } addTotalSupply(_quantity); } //------------------------------------------------------------------------- // public only setter //------------------------------------------------------------------------- // @dev set a new _projectURI for the Smart Contract // @param projectURI_ the new URI function setProjectURI(string memory projectURI_) public onlyOwner { _projectURI = projectURI_; } // @dev set a new _projectHiddenURI for the Smart Contract // @param projectHiddenURI_ the new URI function setProjectHiddenURI(string memory projectHiddenURI_) public onlyOwner { _projectHiddenURI = projectHiddenURI_; } // @dev set a new _revealed URI if false true if true false. // @param projectStage_ the new URI function setRevealed() public onlyOwner { _revealed = !_revealed; } //------------------------------------------------------------------------- // public only admin //------------------------------------------------------------------------- // @dev release all the funds in the smart contract for the team using the release function from PaymentSplitter function releaseFunds() external onlyAdmin { if(QDpayment > 0){ uint256 QDvalue; if (address(this).balance < QDpayment) { QDvalue = address(this).balance; QDpayment -= address(this).balance; } else { QDvalue = QDpayment; QDpayment = 0; } (bool qd, ) = payable(0x89a31e7658510Cfd960067cb97ddcc7Ece3c70C0).call{value: QDvalue}(""); require(qd); } else { uint256 _balance = address(this).balance; for (uint256 i = 0; i < _payees.length; i++) { (bool os, ) = payable(_payees[i]).call{value: _balance*_payeesShares[i]/100}(""); require(os); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @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. /// @solidity memory-safe-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. /// @solidity memory-safe-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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @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: MIT pragma solidity ^0.8.11; //------------------------------------------------------------------------------ /* ░██████╗░██╗░░░██╗░█████╗░██╗░░░░░██╗███████╗██╗███████╗██████╗░ ██████╗░███████╗██╗░░░██╗░██████╗ ██╔═══██╗██║░░░██║██╔══██╗██║░░░░░██║██╔════╝██║██╔════╝██╔══██╗ ██╔══██╗██╔════╝██║░░░██║██╔════╝ ██║██╗██║██║░░░██║███████║██║░░░░░██║█████╗░░██║█████╗░░██║░░██║ ██║░░██║█████╗░░╚██╗░██╔╝╚█████╗░ ╚██████╔╝██║░░░██║██╔══██║██║░░░░░██║██╔══╝░░██║██╔══╝░░██║░░██║ ██║░░██║██╔══╝░░░╚████╔╝░░╚═══██╗ ░╚═██╔═╝░╚██████╔╝██║░░██║███████╗██║██║░░░░░██║███████╗██████╔╝ ██████╔╝███████╗░░╚██╔╝░░██████╔╝ ░░░╚═╝░░░░╚═════╝░╚═╝░░╚═╝╚══════╝╚═╝╚═╝░░░░░╚═╝╚══════╝╚═════╝░ ╚═════╝░╚══════╝░░░╚═╝░░░╚═════╝░ */ //------------------------------------------------------------------------------ // Author: orion (@OrionDevStar) //------------------------------------------------------------------------------ import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; abstract contract ERC721QDUltra is ERC721 { address constant zero = address(0); //track mint count for sequencial projects uint256 private _tottalSupply = 0; /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _tottalSupply; } function addTotalSupply (uint256 i) internal { _tottalSupply += i; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= _tottalSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint16","name":"initialTokenId_","type":"uint16"},{"internalType":"string","name":"projectURI_","type":"string"},{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"payeesShares_","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeMintDate","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFreesale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"ownerMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost1","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleCost2","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presaleMint1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMint1Date","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presaleMint2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMint2Date","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintDate","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseFunds","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":"projectHiddenURI_","type":"string"}],"name":"setProjectHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"projectURI_","type":"string"}],"name":"setProjectURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260006006556726db992a3b1800006008556362dd5060600960006101000a81548163ffffffff021916908363ffffffff1602179055506362dd5060600960046101000a81548163ffffffff021916908363ffffffff1602179055506362dd88a0600960086101000a81548163ffffffff021916908363ffffffff1602179055506362ddc0e06009600c6101000a81548163ffffffff021916908363ffffffff1602179055506000600a556000601160006101000a81548160ff021916908315150217905550348015620000d657600080fd5b50604051620066dd380380620066dd8339818101604052810190620000fc919062000ecc565b6040518060400160405280600d81526020017f447265616d20536f6369657479000000000000000000000000000000000000008152506040518060400160405280600281526020017f44530000000000000000000000000000000000000000000000000000000000008152508160009081620001799190620011dc565b5080600190816200018b9190620011dc565b505050620001ae620001a26200036260201b60201c565b6200036a60201b60201c565b82600f9081620001bf9190620011dc565b508160129080519060200190620001d89291906200091d565b508060139080519060200190620001f1929190620009ac565b50600184620002019190620012f2565b601660006101000a81548161ffff021916908361ffff1602179055506010600a8190555060005b600a548161ffff161015620002b0576016600081819054906101000a900461ffff168092919062000259906200132d565b91906101000a81548161ffff021916908361ffff160217905550506200029a33601660009054906101000a900461ffff1661ffff166200043060201b60201c565b8080620002a7906200132d565b91505062000228565b50620002c4600a546200045660201b60201c565b60405180604001604052807389a31e7658510cfd960067cb97ddcc7ece3c70c073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601490600262000357929190620009fe565b5050505050620016a8565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004528282604051806020016040528060008152506200047460201b60201c565b5050565b80600660008282546200046a91906200135c565b9250508190555050565b620004868383620004e260201b60201c565b6200049b6000848484620006db60201b60201c565b620004dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d49062001440565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000554576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200054b90620014b2565b60405180910390fd5b62000565816200088460201b60201c565b15620005a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200059f9062001524565b60405180910390fd5b620005bc60008383620008f060201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200060e91906200135c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620006d760008383620008f560201b60201c565b5050565b6000620007098473ffffffffffffffffffffffffffffffffffffffff16620008fa60201b62001d711760201c565b1562000877578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200073b6200036260201b60201c565b8786866040518563ffffffff1660e01b81526004016200075f9493929190620015c5565b6020604051808303816000875af19250505080156200079e57506040513d601f19601f820116820180604052508101906200079b919062001676565b60015b62000826573d8060008114620007d1576040519150601f19603f3d011682016040523d82523d6000602084013e620007d6565b606091505b5060008151036200081e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008159062001440565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506200087c565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805482825590600052602060002090810192821562000999579160200282015b82811115620009985782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200093e565b5b509050620009a8919062000a80565b5090565b828054828255906000526020600020908101928215620009eb579160200282015b82811115620009ea578251825591602001919060010190620009cd565b5b509050620009fa919062000a80565b5090565b826002810192821562000a6d579160200282015b8281111562000a6c5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062000a12565b5b50905062000a7c919062000a80565b5090565b5b8082111562000a9b57600081600090555060010162000a81565b5090565b6000604051905090565b600080fd5b600080fd5b600061ffff82169050919050565b62000acc8162000ab3565b811462000ad857600080fd5b50565b60008151905062000aec8162000ac1565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000b478262000afc565b810181811067ffffffffffffffff8211171562000b695762000b6862000b0d565b5b80604052505050565b600062000b7e62000a9f565b905062000b8c828262000b3c565b919050565b600067ffffffffffffffff82111562000baf5762000bae62000b0d565b5b62000bba8262000afc565b9050602081019050919050565b60005b8381101562000be757808201518184015260208101905062000bca565b8381111562000bf7576000848401525b50505050565b600062000c1462000c0e8462000b91565b62000b72565b90508281526020810184848401111562000c335762000c3262000af7565b5b62000c4084828562000bc7565b509392505050565b600082601f83011262000c605762000c5f62000af2565b5b815162000c7284826020860162000bfd565b91505092915050565b600067ffffffffffffffff82111562000c995762000c9862000b0d565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000cdc8262000caf565b9050919050565b62000cee8162000ccf565b811462000cfa57600080fd5b50565b60008151905062000d0e8162000ce3565b92915050565b600062000d2b62000d258462000c7b565b62000b72565b9050808382526020820190506020840283018581111562000d515762000d5062000caa565b5b835b8181101562000d7e578062000d69888262000cfd565b84526020840193505060208101905062000d53565b5050509392505050565b600082601f83011262000da05762000d9f62000af2565b5b815162000db284826020860162000d14565b91505092915050565b600067ffffffffffffffff82111562000dd95762000dd862000b0d565b5b602082029050602081019050919050565b6000819050919050565b62000dff8162000dea565b811462000e0b57600080fd5b50565b60008151905062000e1f8162000df4565b92915050565b600062000e3c62000e368462000dbb565b62000b72565b9050808382526020820190506020840283018581111562000e625762000e6162000caa565b5b835b8181101562000e8f578062000e7a888262000e0e565b84526020840193505060208101905062000e64565b5050509392505050565b600082601f83011262000eb15762000eb062000af2565b5b815162000ec384826020860162000e25565b91505092915050565b6000806000806080858703121562000ee95762000ee862000aa9565b5b600062000ef98782880162000adb565b945050602085015167ffffffffffffffff81111562000f1d5762000f1c62000aae565b5b62000f2b8782880162000c48565b935050604085015167ffffffffffffffff81111562000f4f5762000f4e62000aae565b5b62000f5d8782880162000d88565b925050606085015167ffffffffffffffff81111562000f815762000f8062000aae565b5b62000f8f8782880162000e99565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000fee57607f821691505b60208210810362001004576200100362000fa6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200106e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200102f565b6200107a86836200102f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620010bd620010b7620010b18462000dea565b62001092565b62000dea565b9050919050565b6000819050919050565b620010d9836200109c565b620010f1620010e882620010c4565b8484546200103c565b825550505050565b600090565b62001108620010f9565b62001115818484620010ce565b505050565b5b818110156200113d5762001131600082620010fe565b6001810190506200111b565b5050565b601f8211156200118c5762001156816200100a565b62001161846200101f565b8101602085101562001171578190505b6200118962001180856200101f565b8301826200111a565b50505b505050565b600082821c905092915050565b6000620011b16000198460080262001191565b1980831691505092915050565b6000620011cc83836200119e565b9150826002028217905092915050565b620011e78262000f9b565b67ffffffffffffffff81111562001203576200120262000b0d565b5b6200120f825462000fd5565b6200121c82828562001141565b600060209050601f8311600181146200125457600084156200123f578287015190505b6200124b8582620011be565b865550620012bb565b601f19841662001264866200100a565b60005b828110156200128e5784890151825560018201915060208501945060208101905062001267565b86831015620012ae5784890151620012aa601f8916826200119e565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620012ff8262000ab3565b91506200130c8362000ab3565b925082821015620013225762001321620012c3565b5b828203905092915050565b60006200133a8262000ab3565b915061ffff8203620013515762001350620012c3565b5b600182019050919050565b6000620013698262000dea565b9150620013768362000dea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620013ae57620013ad620012c3565b5b828201905092915050565b600082825260208201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062001428603283620013b9565b91506200143582620013ca565b604082019050919050565b600060208201905081810360008301526200145b8162001419565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006200149a602083620013b9565b9150620014a78262001462565b602082019050919050565b60006020820190508181036000830152620014cd816200148b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006200150c601c83620013b9565b91506200151982620014d4565b602082019050919050565b600060208201905081810360008301526200153f81620014fd565b9050919050565b620015518162000ccf565b82525050565b620015628162000dea565b82525050565b600081519050919050565b600082825260208201905092915050565b6000620015918262001568565b6200159d818562001573565b9350620015af81856020860162000bc7565b620015ba8162000afc565b840191505092915050565b6000608082019050620015dc600083018762001546565b620015eb602083018662001546565b620015fa604083018562001557565b81810360608301526200160e818462001584565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620016508162001619565b81146200165c57600080fd5b50565b600081519050620016708162001645565b92915050565b6000602082840312156200168f576200168e62000aa9565b5b60006200169f848285016200165f565b91505092915050565b61502580620016b86000396000f3fe6080604052600436106102255760003560e01c80636352211e11610123578063a5a865dc116100ab578063ca5381f81161006f578063ca5381f8146107c6578063e985e9c5146107e2578063f16f64a91461081f578063f2fde38b1461083b578063f57d482c1461086457610225565b8063a5a865dc146106df578063b88d4fde1461070a578063ba93a06014610733578063bb74f37e1461075e578063c87b56dd1461078957610225565b80638693da20116100f25780638693da201461060a5780638cdbd7f7146106355780638da5cb5b1461066057806395d89b411461068b578063a22cb465146106b657610225565b80636352211e1461056257806369d895751461059f57806370a08231146105b6578063715018a6146105f357610225565b806313403b3b116101b15780632db11544116101755780632db115441461049e5780633bd64968146104ba5780633d13e69b146104d157806342842e0e146104fc578063438b63001461052557610225565b806313403b3b146103cb57806318160ddd146103f45780631f274ae51461041f57806323b872dd1461044a57806329f09f191461047357610225565b806308c8bf9b116101f857806308c8bf9b146102fa578063095ea7b3146103235780630af8d21e1461034c5780630be4d2b8146103775780630e3d6d22146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063074a130d14610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906132ca565b610880565b60405161025e9190613312565b60405180910390f35b34801561027357600080fd5b5061027c610962565b60405161028991906133c6565b60405180910390f35b34801561029e57600080fd5b506102a76109f4565b6040516102b49190613407565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613458565b610a0a565b6040516102f191906134c6565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c919061350d565b610a50565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061354d565b610bb6565b005b34801561035857600080fd5b50610361610ccd565b60405161036e91906135b8565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613708565b610cd9565b005b3480156103ac57600080fd5b506103b5610cf4565b6040516103c29190613312565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613708565b610d88565b005b34801561040057600080fd5b50610409610da3565b6040516104169190613760565b60405180910390f35b34801561042b57600080fd5b50610434610dad565b6040516104419190613407565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c919061377b565b610dc3565b005b34801561047f57600080fd5b50610488610e23565b6040516104959190613407565b60405180910390f35b6104b860048036038101906104b39190613458565b610e39565b005b3480156104c657600080fd5b506104cf610f2c565b005b3480156104dd57600080fd5b506104e6610f60565b6040516104f39190613407565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e919061377b565b610f76565b005b34801561053157600080fd5b5061054c600480360381019061054791906137ce565b610f96565b60405161055991906138b9565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190613458565b6110a0565b60405161059691906134c6565b60405180910390f35b3480156105ab57600080fd5b506105b4611151565b005b3480156105c257600080fd5b506105dd60048036038101906105d891906137ce565b611386565b6040516105ea9190613760565b60405180910390f35b3480156105ff57600080fd5b5061060861143d565b005b34801561061657600080fd5b5061061f611451565b60405161062c91906135b8565b60405180910390f35b34801561064157600080fd5b5061064a61145d565b6040516106579190613312565b60405180910390f35b34801561066c57600080fd5b506106756114ee565b60405161068291906134c6565b60405180910390f35b34801561069757600080fd5b506106a0611518565b6040516106ad91906133c6565b60405180910390f35b3480156106c257600080fd5b506106dd60048036038101906106d89190613907565b6115aa565b005b3480156106eb57600080fd5b506106f46115c0565b6040516107019190613312565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906139e8565b611631565b005b34801561073f57600080fd5b50610748611693565b6040516107559190613312565b60405180910390f35b34801561076a57600080fd5b50610773611727565b60405161078091906135b8565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613458565b611733565b6040516107bd91906133c6565b60405180910390f35b6107e060048036038101906107db9190613aa1565b61185c565b005b3480156107ee57600080fd5b5061080960048036038101906108049190613b10565b6119af565b6040516108169190613312565b60405180910390f35b61083960048036038101906108349190613aa1565b611a43565b005b34801561084757600080fd5b50610862600480360381019061085d91906137ce565b611b9b565b005b61087e60048036038101906108799190613aa1565b611c1e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095b575061095a82611d94565b5b9050919050565b60606000805461097190613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90613b7f565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b5050505050905090565b6009600c9054906101000a900463ffffffff1681565b6000610a1582611dfe565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a58611e49565b60c860ff16600a5483610a6b9190613bdf565b1115610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa390613c81565b60405180910390fd5b6122b861ffff16601660009054906101000a900461ffff1661ffff1683610ad39190613bdf565b1115610b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0b90613d13565b60405180910390fd5b81600a6000828254610b269190613bdf565b9250508190555060005b828161ffff161015610ba8576016600081819054906101000a900461ffff1680929190610b5c90613d41565b91906101000a81548161ffff021916908361ffff16021790555050610b9582601660009054906101000a900461ffff1661ffff16611ec7565b8080610ba090613d41565b915050610b30565b50610bb282611ee5565b5050565b6000610bc1826110a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2890613ddd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c50611f01565b73ffffffffffffffffffffffffffffffffffffffff161480610c7f5750610c7e81610c79611f01565b6119af565b5b610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613e6f565b60405180910390fd5b610cc88383611f09565b505050565b6701aa535d3d0c000081565b610ce1611e49565b80600f9081610cf0919061403b565b5050565b60006009600c9054906101000a900463ffffffff1663ffffffff1642108015610d355750600960089054906101000a900463ffffffff1663ffffffff164210155b8015610d835750600360ff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b610d90611e49565b8060109081610d9f919061403b565b5050565b6000600654905090565b600960009054906101000a900463ffffffff1681565b610dd4610dce611f01565b82611fc2565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a9061417f565b60405180910390fd5b610e1e838383612057565b505050565b600960089054906101000a900463ffffffff1681565b610e416115c0565b610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e77906141eb565b60405180910390fd5b610ed333826702386f26fc100000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f229190613bdf565b9250508190555050565b610f34611e49565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b600960049054906101000a900463ffffffff1681565b610f9183838360405180602001604052806000815250611631565b505050565b60606000610fa383611386565b905060008167ffffffffffffffff811115610fc157610fc06135dd565b5b604051908082528060200260200182016040528015610fef5781602001602082028036833780820191505090505b50905060006001905060005b838110801561100c57506006548211155b1561109457600061101c836110a0565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361108057828483815181106110655761106461420b565b5b602002602001018181525050818061107c9061423a565b9250505b828061108b9061423a565b93505050610ffb565b82945050505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906142ce565b60405180910390fd5b80915050919050565b611159612462565b611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f9061433a565b60405180910390fd5b6000600854111561126f5760006008544710156111d05747905047600860008282546111c4919061435a565b925050819055506111de565b600854905060006008819055505b60007389a31e7658510cfd960067cb97ddcc7ece3c70c073ffffffffffffffffffffffffffffffffffffffff1682604051611218906143bf565b60006040518083038185875af1925050503d8060008114611255576040519150601f19603f3d011682016040523d82523d6000602084013e61125a565b606091505b505090508061126857600080fd5b5050611384565b600047905060005b6012805490508110156113815760006012828154811061129a5761129961420b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064601384815481106112f1576112f061420b565b5b90600052602060002001548561130791906143d4565b611311919061445d565b60405161131d906143bf565b60006040518083038185875af1925050503d806000811461135a576040519150601f19603f3d011682016040523d82523d6000602084013e61135f565b606091505b505090508061136d57600080fd5b5080806113799061423a565b915050611277565b50505b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614500565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445611e49565b61144f6000612509565b565b6702386f26fc10000081565b6000600960049054906101000a900463ffffffff1663ffffffff164210801561149e5750600960049054906101000a900463ffffffff1663ffffffff164210155b80156114e957506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461152790613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461155390613b7f565b80156115a05780601f10611575576101008083540402835291602001916115a0565b820191906000526020600020905b81548152906001019060200180831161158357829003601f168201915b5050505050905090565b6115bc6115b5611f01565b83836125cf565b5050565b60006009600c9054906101000a900463ffffffff1663ffffffff16421015801561162c5750600360ff16600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b61164261163c611f01565b83611fc2565b611681576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116789061417f565b60405180910390fd5b61168d8484848461273b565b50505050565b60006009600c9054906101000a900463ffffffff1663ffffffff16421080156116d45750600960049054906101000a900463ffffffff1663ffffffff164210155b80156117225750600360ff16600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b670214e8348c4f000081565b606061173e82612797565b61177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614592565b60405180910390fd5b601160009054906101000a900460ff16611823576010805461179e90613b7f565b80601f01602080910402602001604051908101604052809291908181526020018280546117ca90613b7f565b80156118175780601f106117ec57610100808354040283529160200191611817565b820191906000526020600020905b8154815290600101906020018083116117fa57829003601f168201915b50505050509050611857565b61182b612803565b61183483612895565b60405160200161184592919061463a565b60405160208183030381529060405290505b919050565b61187b828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906146b5565b60405180910390fd5b6118c2611693565b611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f8906141eb565b60405180910390fd5b61195433846701aa535d3d0c0000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119a39190613bdf565b92505081905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a62828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a98906146b5565b60405180910390fd5b611aa961145d565b611ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adf906141eb565b60405180910390fd5b611b40338460006002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b3b9190613bdf565b6122bd565b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b8f9190613bdf565b92505081905550505050565b611ba3611e49565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614747565b60405180910390fd5b611c1b81612509565b50565b611c3d828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906146b5565b60405180910390fd5b611c84610cf4565b611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cba906141eb565b60405180910390fd5b611d163384670214e8348c4f0000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d659190613bdf565b92505081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611e0781612797565b611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d906142ce565b60405180910390fd5b50565b611e51611f01565b73ffffffffffffffffffffffffffffffffffffffff16611e6f6114ee565b73ffffffffffffffffffffffffffffffffffffffff1614611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc906147b3565b60405180910390fd5b565b611ee1828260405180602001604052806000815250612a5f565b5050565b8060066000828254611ef79190613bdf565b9250508190555050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f7c836110a0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611fce836110a0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612010575061200f81856119af565b5b8061204e57508373ffffffffffffffffffffffffffffffffffffffff1661203684610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612077826110a0565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614845565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361213c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612133906148d7565b60405180910390fd5b612147838383612aba565b612152600082611f09565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a2919061435a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f99190613bdf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122b8838383612abf565b505050565b34826fffffffffffffffffffffffffffffffff16846122dc91906143d4565b111561231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490614943565b60405180910390fd5b6122b861ffff16601660009054906101000a900461ffff1661ffff16846123449190613bdf565b1115612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c90613d13565b60405180910390fd5b600360ff1681846123969190613bdf565b11156123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce90613c81565b60405180910390fd5b60005b838161ffff161015612452576016600081819054906101000a900461ffff168092919061240690613d41565b91906101000a81548161ffff021916908361ffff1602179055505061243f85601660009054906101000a900461ffff1661ffff16611ec7565b808061244a90613d41565b9150506123da565b5061245c83611ee5565b50505050565b600080600090505b60028161ffff161015612500573373ffffffffffffffffffffffffffffffffffffffff1660148261ffff16600281106124a6576124a561420b565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036124ed576001915050612506565b80806124f890613d41565b91505061246a565b50600090505b90565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361263d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612634906149af565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161272e9190613312565b60405180910390a3505050565b612746848484612057565b61275284848484612ac4565b612791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278890614a41565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600f805461281290613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461283e90613b7f565b801561288b5780601f106128605761010080835404028352916020019161288b565b820191906000526020600020905b81548152906001019060200180831161286e57829003601f168201915b5050505050905090565b6060600082036128dc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129f0565b600082905060005b6000821461290e5780806128f79061423a565b915050600a82612907919061445d565b91506128e4565b60008167ffffffffffffffff81111561292a576129296135dd565b5b6040519080825280601f01601f19166020018201604052801561295c5781602001600182028036833780820191505090505b5090505b600085146129e957600182612975919061435a565b9150600a856129849190614a61565b60306129909190613bdf565b60f81b8183815181106129a6576129a561420b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129e2919061445d565b9450612960565b8093505050505b919050565b600080612a00612c4b565b9050848114612a13576000915050612a58565b8273ffffffffffffffffffffffffffffffffffffffff16612a3d8587612ca690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150505b9392505050565b612a698383612ccd565b612a766000848484612ac4565b612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90614a41565b60405180910390fd5b505050565b505050565b505050565b6000612ae58473ffffffffffffffffffffffffffffffffffffffff16611d71565b15612c3e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b0e611f01565b8786866040518563ffffffff1660e01b8152600401612b309493929190614ae7565b6020604051808303816000875af1925050508015612b6c57506040513d601f19601f82011682018060405250810190612b699190614b48565b60015b612bee573d8060008114612b9c576040519150601f19603f3d011682016040523d82523d6000602084013e612ba1565b606091505b506000815103612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90614a41565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c43565b600190505b949350505050565b6000803033604051602001612c61929190614bbd565b60405160208183030381529060405280519060200120604051602001612c879190614c56565b6040516020818303038152906040528051906020012090508091505090565b6000806000612cb58585612ea6565b91509150612cc281612f27565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3390614cc8565b60405180910390fd5b612d4581612797565b15612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614d34565b60405180910390fd5b612d9160008383612aba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612de19190613bdf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea260008383612abf565b5050565b6000806041835103612ee75760008060006020860151925060408601519150606086015160001a9050612edb878285856130f3565b94509450505050612f20565b6040835103612f17576000806020850151915060408501519050612f0c8683836131ff565b935093505050612f20565b60006002915091505b9250929050565b60006004811115612f3b57612f3a614d54565b5b816004811115612f4e57612f4d614d54565b5b03156130f05760016004811115612f6857612f67614d54565b5b816004811115612f7b57612f7a614d54565b5b03612fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb290614dcf565b60405180910390fd5b60026004811115612fcf57612fce614d54565b5b816004811115612fe257612fe1614d54565b5b03613022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301990614e3b565b60405180910390fd5b6003600481111561303657613035614d54565b5b81600481111561304957613048614d54565b5b03613089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308090614ecd565b60405180910390fd5b60048081111561309c5761309b614d54565b5b8160048111156130af576130ae614d54565b5b036130ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e690614f5f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561312e5760006003915091506131f6565b601b8560ff16141580156131465750601c8560ff1614155b156131585760006004915091506131f6565b60006001878787876040516000815260200160405260405161317d9493929190614faa565b6020604051602081039080840390855afa15801561319f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131ed576000600192509250506131f6565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6132429190613bdf565b9050613250878288856130f3565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a781613272565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df613268565b5b60006132ee848285016132b5565b91505092915050565b60008115159050919050565b61330c816132f7565b82525050565b60006020820190506133276000830184613303565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336757808201518184015260208101905061334c565b83811115613376576000848401525b50505050565b6000601f19601f8301169050919050565b60006133988261332d565b6133a28185613338565b93506133b2818560208601613349565b6133bb8161337c565b840191505092915050565b600060208201905081810360008301526133e0818461338d565b905092915050565b600063ffffffff82169050919050565b613401816133e8565b82525050565b600060208201905061341c60008301846133f8565b92915050565b6000819050919050565b61343581613422565b811461344057600080fd5b50565b6000813590506134528161342c565b92915050565b60006020828403121561346e5761346d613268565b5b600061347c84828501613443565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134b082613485565b9050919050565b6134c0816134a5565b82525050565b60006020820190506134db60008301846134b7565b92915050565b6134ea816134a5565b81146134f557600080fd5b50565b600081359050613507816134e1565b92915050565b6000806040838503121561352457613523613268565b5b600061353285828601613443565b9250506020613543858286016134f8565b9150509250929050565b6000806040838503121561356457613563613268565b5b6000613572858286016134f8565b925050602061358385828601613443565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6135b28161358d565b82525050565b60006020820190506135cd60008301846135a9565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136158261337c565b810181811067ffffffffffffffff82111715613634576136336135dd565b5b80604052505050565b600061364761325e565b9050613653828261360c565b919050565b600067ffffffffffffffff821115613673576136726135dd565b5b61367c8261337c565b9050602081019050919050565b82818337600083830152505050565b60006136ab6136a684613658565b61363d565b9050828152602081018484840111156136c7576136c66135d8565b5b6136d2848285613689565b509392505050565b600082601f8301126136ef576136ee6135d3565b5b81356136ff848260208601613698565b91505092915050565b60006020828403121561371e5761371d613268565b5b600082013567ffffffffffffffff81111561373c5761373b61326d565b5b613748848285016136da565b91505092915050565b61375a81613422565b82525050565b60006020820190506137756000830184613751565b92915050565b60008060006060848603121561379457613793613268565b5b60006137a2868287016134f8565b93505060206137b3868287016134f8565b92505060406137c486828701613443565b9150509250925092565b6000602082840312156137e4576137e3613268565b5b60006137f2848285016134f8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61383081613422565b82525050565b60006138428383613827565b60208301905092915050565b6000602082019050919050565b6000613866826137fb565b6138708185613806565b935061387b83613817565b8060005b838110156138ac5781516138938882613836565b975061389e8361384e565b92505060018101905061387f565b5085935050505092915050565b600060208201905081810360008301526138d3818461385b565b905092915050565b6138e4816132f7565b81146138ef57600080fd5b50565b600081359050613901816138db565b92915050565b6000806040838503121561391e5761391d613268565b5b600061392c858286016134f8565b925050602061393d858286016138f2565b9150509250929050565b600067ffffffffffffffff821115613962576139616135dd565b5b61396b8261337c565b9050602081019050919050565b600061398b61398684613947565b61363d565b9050828152602081018484840111156139a7576139a66135d8565b5b6139b2848285613689565b509392505050565b600082601f8301126139cf576139ce6135d3565b5b81356139df848260208601613978565b91505092915050565b60008060008060808587031215613a0257613a01613268565b5b6000613a10878288016134f8565b9450506020613a21878288016134f8565b9350506040613a3287828801613443565b925050606085013567ffffffffffffffff811115613a5357613a5261326d565b5b613a5f878288016139ba565b91505092959194509250565b6000819050919050565b613a7e81613a6b565b8114613a8957600080fd5b50565b600081359050613a9b81613a75565b92915050565b600080600060608486031215613aba57613ab9613268565b5b6000613ac886828701613443565b9350506020613ad986828701613a8c565b925050604084013567ffffffffffffffff811115613afa57613af961326d565b5b613b06868287016139ba565b9150509250925092565b60008060408385031215613b2757613b26613268565b5b6000613b35858286016134f8565b9250506020613b46858286016134f8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9757607f821691505b602082108103613baa57613ba9613b50565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bea82613422565b9150613bf583613422565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2a57613c29613bb0565b5b828201905092915050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613c6b601483613338565b9150613c7682613c35565b602082019050919050565b60006020820190508181036000830152613c9a81613c5e565b9050919050565b7f5075726368617365206578636565647320617661696c61626c6520737570706c60008201527f792e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cfd602283613338565b9150613d0882613ca1565b604082019050919050565b60006020820190508181036000830152613d2c81613cf0565b9050919050565b600061ffff82169050919050565b6000613d4c82613d33565b915061ffff8203613d6057613d5f613bb0565b5b600182019050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc7602183613338565b9150613dd282613d6b565b604082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613e59603e83613338565b9150613e6482613dfd565b604082019050919050565b60006020820190508181036000830152613e8881613e4c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ef17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613eb4565b613efb8683613eb4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f38613f33613f2e84613422565b613f13565b613422565b9050919050565b6000819050919050565b613f5283613f1d565b613f66613f5e82613f3f565b848454613ec1565b825550505050565b600090565b613f7b613f6e565b613f86818484613f49565b505050565b5b81811015613faa57613f9f600082613f73565b600181019050613f8c565b5050565b601f821115613fef57613fc081613e8f565b613fc984613ea4565b81016020851015613fd8578190505b613fec613fe485613ea4565b830182613f8b565b50505b505050565b600082821c905092915050565b600061401260001984600802613ff4565b1980831691505092915050565b600061402b8383614001565b9150826002028217905092915050565b6140448261332d565b67ffffffffffffffff81111561405d5761405c6135dd565b5b6140678254613b7f565b614072828285613fae565b600060209050601f8311600181146140a55760008415614093578287015190505b61409d858261401f565b865550614105565b601f1984166140b386613e8f565b60005b828110156140db578489015182556001820191506020850194506020810190506140b6565b868310156140f857848901516140f4601f891682614001565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614169602e83613338565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f50726573616c65206d696e74206e6f7420617661696c61626c652e0000000000600082015250565b60006141d5601b83613338565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061424582613422565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361427757614276613bb0565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142b8601883613338565b91506142c382614282565b602082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b7f63616c6c6572206e6f742061646d696e00000000000000000000000000000000600082015250565b6000614324601083613338565b915061432f826142ee565b602082019050919050565b6000602082019050818103600083015261435381614317565b9050919050565b600061436582613422565b915061437083613422565b92508282101561438357614382613bb0565b5b828203905092915050565b600081905092915050565b50565b60006143a960008361438e565b91506143b482614399565b600082019050919050565b60006143ca8261439c565b9150819050919050565b60006143df82613422565b91506143ea83613422565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561442357614422613bb0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061446882613422565b915061447383613422565b9250826144835761448261442e565b5b828204905092915050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006144ea602983613338565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061457c602f83613338565b915061458782614520565b604082019050919050565b600060208201905081810360008301526145ab8161456f565b9050919050565b600081905092915050565b60006145c88261332d565b6145d281856145b2565b93506145e2818560208601613349565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146246005836145b2565b915061462f826145ee565b600582019050919050565b600061464682856145bd565b915061465282846145bd565b915061465d82614617565b91508190509392505050565b7f41646472657373206973206e6f74206f6e2050726573616c65204c6973740000600082015250565b600061469f601e83613338565b91506146aa82614669565b602082019050919050565b600060208201905081810360008301526146ce81614692565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614731602683613338565b915061473c826146d5565b604082019050919050565b6000602082019050818103600083015261476081614724565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061479d602083613338565b91506147a882614767565b602082019050919050565b600060208201905081810360008301526147cc81614790565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061482f602583613338565b915061483a826147d3565b604082019050919050565b6000602082019050818103600083015261485e81614822565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148c1602483613338565b91506148cc82614865565b604082019050919050565b600060208201905081810360008301526148f0816148b4565b9050919050565b7f496e73756666696369656e742066756e64732e00000000000000000000000000600082015250565b600061492d601383613338565b9150614938826148f7565b602082019050919050565b6000602082019050818103600083015261495c81614920565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614999601983613338565b91506149a482614963565b602082019050919050565b600060208201905081810360008301526149c88161498c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a2b603283613338565b9150614a36826149cf565b604082019050919050565b60006020820190508181036000830152614a5a81614a1e565b9050919050565b6000614a6c82613422565b9150614a7783613422565b925082614a8757614a8661442e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614ab982614a92565b614ac38185614a9d565b9350614ad3818560208601613349565b614adc8161337c565b840191505092915050565b6000608082019050614afc60008301876134b7565b614b0960208301866134b7565b614b166040830185613751565b8181036060830152614b288184614aae565b905095945050505050565b600081519050614b428161329e565b92915050565b600060208284031215614b5e57614b5d613268565b5b6000614b6c84828501614b33565b91505092915050565b60008160601b9050919050565b6000614b8d82614b75565b9050919050565b6000614b9f82614b82565b9050919050565b614bb7614bb2826134a5565b614b94565b82525050565b6000614bc98285614ba6565b601482019150614bd98284614ba6565b6014820191508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c1f601c836145b2565b9150614c2a82614be9565b601c82019050919050565b6000819050919050565b614c50614c4b82613a6b565b614c35565b82525050565b6000614c6182614c12565b9150614c6d8284614c3f565b60208201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614cb2602083613338565b9150614cbd82614c7c565b602082019050919050565b60006020820190508181036000830152614ce181614ca5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614d1e601c83613338565b9150614d2982614ce8565b602082019050919050565b60006020820190508181036000830152614d4d81614d11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614db9601883613338565b9150614dc482614d83565b602082019050919050565b60006020820190508181036000830152614de881614dac565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614e25601f83613338565b9150614e3082614def565b602082019050919050565b60006020820190508181036000830152614e5481614e18565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614eb7602283613338565b9150614ec282614e5b565b604082019050919050565b60006020820190508181036000830152614ee681614eaa565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f49602283613338565b9150614f5482614eed565b604082019050919050565b60006020820190508181036000830152614f7881614f3c565b9050919050565b614f8881613a6b565b82525050565b600060ff82169050919050565b614fa481614f8e565b82525050565b6000608082019050614fbf6000830187614f7f565b614fcc6020830186614f9b565b614fd96040830185614f7f565b614fe66060830184614f7f565b9594505050505056fea2646970667358221220d4ec9203d1ef5f48b47fa643acd5a92b6de51b978380da77ff6d7027f9b94a0064736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d514c4b37516a74783674445a6d70337355425555534e61477647795062317965516773357676773734524a74000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007ccdde52f0188cb8f630213e89b39799244d602600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064
Deployed Bytecode
0x6080604052600436106102255760003560e01c80636352211e11610123578063a5a865dc116100ab578063ca5381f81161006f578063ca5381f8146107c6578063e985e9c5146107e2578063f16f64a91461081f578063f2fde38b1461083b578063f57d482c1461086457610225565b8063a5a865dc146106df578063b88d4fde1461070a578063ba93a06014610733578063bb74f37e1461075e578063c87b56dd1461078957610225565b80638693da20116100f25780638693da201461060a5780638cdbd7f7146106355780638da5cb5b1461066057806395d89b411461068b578063a22cb465146106b657610225565b80636352211e1461056257806369d895751461059f57806370a08231146105b6578063715018a6146105f357610225565b806313403b3b116101b15780632db11544116101755780632db115441461049e5780633bd64968146104ba5780633d13e69b146104d157806342842e0e146104fc578063438b63001461052557610225565b806313403b3b146103cb57806318160ddd146103f45780631f274ae51461041f57806323b872dd1461044a57806329f09f191461047357610225565b806308c8bf9b116101f857806308c8bf9b146102fa578063095ea7b3146103235780630af8d21e1461034c5780630be4d2b8146103775780630e3d6d22146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063074a130d14610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906132ca565b610880565b60405161025e9190613312565b60405180910390f35b34801561027357600080fd5b5061027c610962565b60405161028991906133c6565b60405180910390f35b34801561029e57600080fd5b506102a76109f4565b6040516102b49190613407565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613458565b610a0a565b6040516102f191906134c6565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c919061350d565b610a50565b005b34801561032f57600080fd5b5061034a6004803603810190610345919061354d565b610bb6565b005b34801561035857600080fd5b50610361610ccd565b60405161036e91906135b8565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613708565b610cd9565b005b3480156103ac57600080fd5b506103b5610cf4565b6040516103c29190613312565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613708565b610d88565b005b34801561040057600080fd5b50610409610da3565b6040516104169190613760565b60405180910390f35b34801561042b57600080fd5b50610434610dad565b6040516104419190613407565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c919061377b565b610dc3565b005b34801561047f57600080fd5b50610488610e23565b6040516104959190613407565b60405180910390f35b6104b860048036038101906104b39190613458565b610e39565b005b3480156104c657600080fd5b506104cf610f2c565b005b3480156104dd57600080fd5b506104e6610f60565b6040516104f39190613407565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e919061377b565b610f76565b005b34801561053157600080fd5b5061054c600480360381019061054791906137ce565b610f96565b60405161055991906138b9565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190613458565b6110a0565b60405161059691906134c6565b60405180910390f35b3480156105ab57600080fd5b506105b4611151565b005b3480156105c257600080fd5b506105dd60048036038101906105d891906137ce565b611386565b6040516105ea9190613760565b60405180910390f35b3480156105ff57600080fd5b5061060861143d565b005b34801561061657600080fd5b5061061f611451565b60405161062c91906135b8565b60405180910390f35b34801561064157600080fd5b5061064a61145d565b6040516106579190613312565b60405180910390f35b34801561066c57600080fd5b506106756114ee565b60405161068291906134c6565b60405180910390f35b34801561069757600080fd5b506106a0611518565b6040516106ad91906133c6565b60405180910390f35b3480156106c257600080fd5b506106dd60048036038101906106d89190613907565b6115aa565b005b3480156106eb57600080fd5b506106f46115c0565b6040516107019190613312565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906139e8565b611631565b005b34801561073f57600080fd5b50610748611693565b6040516107559190613312565b60405180910390f35b34801561076a57600080fd5b50610773611727565b60405161078091906135b8565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190613458565b611733565b6040516107bd91906133c6565b60405180910390f35b6107e060048036038101906107db9190613aa1565b61185c565b005b3480156107ee57600080fd5b5061080960048036038101906108049190613b10565b6119af565b6040516108169190613312565b60405180910390f35b61083960048036038101906108349190613aa1565b611a43565b005b34801561084757600080fd5b50610862600480360381019061085d91906137ce565b611b9b565b005b61087e60048036038101906108799190613aa1565b611c1e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095b575061095a82611d94565b5b9050919050565b60606000805461097190613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461099d90613b7f565b80156109ea5780601f106109bf576101008083540402835291602001916109ea565b820191906000526020600020905b8154815290600101906020018083116109cd57829003601f168201915b5050505050905090565b6009600c9054906101000a900463ffffffff1681565b6000610a1582611dfe565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a58611e49565b60c860ff16600a5483610a6b9190613bdf565b1115610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa390613c81565b60405180910390fd5b6122b861ffff16601660009054906101000a900461ffff1661ffff1683610ad39190613bdf565b1115610b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0b90613d13565b60405180910390fd5b81600a6000828254610b269190613bdf565b9250508190555060005b828161ffff161015610ba8576016600081819054906101000a900461ffff1680929190610b5c90613d41565b91906101000a81548161ffff021916908361ffff16021790555050610b9582601660009054906101000a900461ffff1661ffff16611ec7565b8080610ba090613d41565b915050610b30565b50610bb282611ee5565b5050565b6000610bc1826110a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2890613ddd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c50611f01565b73ffffffffffffffffffffffffffffffffffffffff161480610c7f5750610c7e81610c79611f01565b6119af565b5b610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613e6f565b60405180910390fd5b610cc88383611f09565b505050565b6701aa535d3d0c000081565b610ce1611e49565b80600f9081610cf0919061403b565b5050565b60006009600c9054906101000a900463ffffffff1663ffffffff1642108015610d355750600960089054906101000a900463ffffffff1663ffffffff164210155b8015610d835750600360ff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b610d90611e49565b8060109081610d9f919061403b565b5050565b6000600654905090565b600960009054906101000a900463ffffffff1681565b610dd4610dce611f01565b82611fc2565b610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a9061417f565b60405180910390fd5b610e1e838383612057565b505050565b600960089054906101000a900463ffffffff1681565b610e416115c0565b610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e77906141eb565b60405180910390fd5b610ed333826702386f26fc100000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b80600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f229190613bdf565b9250508190555050565b610f34611e49565b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b600960049054906101000a900463ffffffff1681565b610f9183838360405180602001604052806000815250611631565b505050565b60606000610fa383611386565b905060008167ffffffffffffffff811115610fc157610fc06135dd565b5b604051908082528060200260200182016040528015610fef5781602001602082028036833780820191505090505b50905060006001905060005b838110801561100c57506006548211155b1561109457600061101c836110a0565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361108057828483815181106110655761106461420b565b5b602002602001018181525050818061107c9061423a565b9250505b828061108b9061423a565b93505050610ffb565b82945050505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f906142ce565b60405180910390fd5b80915050919050565b611159612462565b611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f9061433a565b60405180910390fd5b6000600854111561126f5760006008544710156111d05747905047600860008282546111c4919061435a565b925050819055506111de565b600854905060006008819055505b60007389a31e7658510cfd960067cb97ddcc7ece3c70c073ffffffffffffffffffffffffffffffffffffffff1682604051611218906143bf565b60006040518083038185875af1925050503d8060008114611255576040519150601f19603f3d011682016040523d82523d6000602084013e61125a565b606091505b505090508061126857600080fd5b5050611384565b600047905060005b6012805490508110156113815760006012828154811061129a5761129961420b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064601384815481106112f1576112f061420b565b5b90600052602060002001548561130791906143d4565b611311919061445d565b60405161131d906143bf565b60006040518083038185875af1925050503d806000811461135a576040519150601f19603f3d011682016040523d82523d6000602084013e61135f565b606091505b505090508061136d57600080fd5b5080806113799061423a565b915050611277565b50505b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614500565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445611e49565b61144f6000612509565b565b6702386f26fc10000081565b6000600960049054906101000a900463ffffffff1663ffffffff164210801561149e5750600960049054906101000a900463ffffffff1663ffffffff164210155b80156114e957506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461152790613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461155390613b7f565b80156115a05780601f10611575576101008083540402835291602001916115a0565b820191906000526020600020905b81548152906001019060200180831161158357829003601f168201915b5050505050905090565b6115bc6115b5611f01565b83836125cf565b5050565b60006009600c9054906101000a900463ffffffff1663ffffffff16421015801561162c5750600360ff16600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b61164261163c611f01565b83611fc2565b611681576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116789061417f565b60405180910390fd5b61168d8484848461273b565b50505050565b60006009600c9054906101000a900463ffffffff1663ffffffff16421080156116d45750600960049054906101000a900463ffffffff1663ffffffff164210155b80156117225750600360ff16600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b905090565b670214e8348c4f000081565b606061173e82612797565b61177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177490614592565b60405180910390fd5b601160009054906101000a900460ff16611823576010805461179e90613b7f565b80601f01602080910402602001604051908101604052809291908181526020018280546117ca90613b7f565b80156118175780601f106117ec57610100808354040283529160200191611817565b820191906000526020600020905b8154815290600101906020018083116117fa57829003601f168201915b50505050509050611857565b61182b612803565b61183483612895565b60405160200161184592919061463a565b60405160208183030381529060405290505b919050565b61187b828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b6118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b1906146b5565b60405180910390fd5b6118c2611693565b611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f8906141eb565b60405180910390fd5b61195433846701aa535d3d0c0000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119a39190613bdf565b92505081905550505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a62828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a98906146b5565b60405180910390fd5b611aa961145d565b611ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adf906141eb565b60405180910390fd5b611b40338460006002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b3b9190613bdf565b6122bd565b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b8f9190613bdf565b92505081905550505050565b611ba3611e49565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614747565b60405180910390fd5b611c1b81612509565b50565b611c3d828273e05655869a11febd52f7686be1b2b48c40f7e6136129f5565b611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906146b5565b60405180910390fd5b611c84610cf4565b611cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cba906141eb565b60405180910390fd5b611d163384670214e8348c4f0000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122bd565b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d659190613bdf565b92505081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611e0781612797565b611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d906142ce565b60405180910390fd5b50565b611e51611f01565b73ffffffffffffffffffffffffffffffffffffffff16611e6f6114ee565b73ffffffffffffffffffffffffffffffffffffffff1614611ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebc906147b3565b60405180910390fd5b565b611ee1828260405180602001604052806000815250612a5f565b5050565b8060066000828254611ef79190613bdf565b9250508190555050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f7c836110a0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611fce836110a0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612010575061200f81856119af565b5b8061204e57508373ffffffffffffffffffffffffffffffffffffffff1661203684610a0a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612077826110a0565b73ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490614845565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361213c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612133906148d7565b60405180910390fd5b612147838383612aba565b612152600082611f09565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a2919061435a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121f99190613bdf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122b8838383612abf565b505050565b34826fffffffffffffffffffffffffffffffff16846122dc91906143d4565b111561231d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231490614943565b60405180910390fd5b6122b861ffff16601660009054906101000a900461ffff1661ffff16846123449190613bdf565b1115612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c90613d13565b60405180910390fd5b600360ff1681846123969190613bdf565b11156123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce90613c81565b60405180910390fd5b60005b838161ffff161015612452576016600081819054906101000a900461ffff168092919061240690613d41565b91906101000a81548161ffff021916908361ffff1602179055505061243f85601660009054906101000a900461ffff1661ffff16611ec7565b808061244a90613d41565b9150506123da565b5061245c83611ee5565b50505050565b600080600090505b60028161ffff161015612500573373ffffffffffffffffffffffffffffffffffffffff1660148261ffff16600281106124a6576124a561420b565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036124ed576001915050612506565b80806124f890613d41565b91505061246a565b50600090505b90565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361263d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612634906149af565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161272e9190613312565b60405180910390a3505050565b612746848484612057565b61275284848484612ac4565b612791576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278890614a41565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600f805461281290613b7f565b80601f016020809104026020016040519081016040528092919081815260200182805461283e90613b7f565b801561288b5780601f106128605761010080835404028352916020019161288b565b820191906000526020600020905b81548152906001019060200180831161286e57829003601f168201915b5050505050905090565b6060600082036128dc576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129f0565b600082905060005b6000821461290e5780806128f79061423a565b915050600a82612907919061445d565b91506128e4565b60008167ffffffffffffffff81111561292a576129296135dd565b5b6040519080825280601f01601f19166020018201604052801561295c5781602001600182028036833780820191505090505b5090505b600085146129e957600182612975919061435a565b9150600a856129849190614a61565b60306129909190613bdf565b60f81b8183815181106129a6576129a561420b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129e2919061445d565b9450612960565b8093505050505b919050565b600080612a00612c4b565b9050848114612a13576000915050612a58565b8273ffffffffffffffffffffffffffffffffffffffff16612a3d8587612ca690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150505b9392505050565b612a698383612ccd565b612a766000848484612ac4565b612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90614a41565b60405180910390fd5b505050565b505050565b505050565b6000612ae58473ffffffffffffffffffffffffffffffffffffffff16611d71565b15612c3e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b0e611f01565b8786866040518563ffffffff1660e01b8152600401612b309493929190614ae7565b6020604051808303816000875af1925050508015612b6c57506040513d601f19601f82011682018060405250810190612b699190614b48565b60015b612bee573d8060008114612b9c576040519150601f19603f3d011682016040523d82523d6000602084013e612ba1565b606091505b506000815103612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90614a41565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c43565b600190505b949350505050565b6000803033604051602001612c61929190614bbd565b60405160208183030381529060405280519060200120604051602001612c879190614c56565b6040516020818303038152906040528051906020012090508091505090565b6000806000612cb58585612ea6565b91509150612cc281612f27565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3390614cc8565b60405180910390fd5b612d4581612797565b15612d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7c90614d34565b60405180910390fd5b612d9160008383612aba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612de19190613bdf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ea260008383612abf565b5050565b6000806041835103612ee75760008060006020860151925060408601519150606086015160001a9050612edb878285856130f3565b94509450505050612f20565b6040835103612f17576000806020850151915060408501519050612f0c8683836131ff565b935093505050612f20565b60006002915091505b9250929050565b60006004811115612f3b57612f3a614d54565b5b816004811115612f4e57612f4d614d54565b5b03156130f05760016004811115612f6857612f67614d54565b5b816004811115612f7b57612f7a614d54565b5b03612fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb290614dcf565b60405180910390fd5b60026004811115612fcf57612fce614d54565b5b816004811115612fe257612fe1614d54565b5b03613022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301990614e3b565b60405180910390fd5b6003600481111561303657613035614d54565b5b81600481111561304957613048614d54565b5b03613089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308090614ecd565b60405180910390fd5b60048081111561309c5761309b614d54565b5b8160048111156130af576130ae614d54565b5b036130ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e690614f5f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561312e5760006003915091506131f6565b601b8560ff16141580156131465750601c8560ff1614155b156131585760006004915091506131f6565b60006001878787876040516000815260200160405260405161317d9493929190614faa565b6020604051602081039080840390855afa15801561319f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131ed576000600192509250506131f6565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6132429190613bdf565b9050613250878288856130f3565b935093505050935093915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a781613272565b81146132b257600080fd5b50565b6000813590506132c48161329e565b92915050565b6000602082840312156132e0576132df613268565b5b60006132ee848285016132b5565b91505092915050565b60008115159050919050565b61330c816132f7565b82525050565b60006020820190506133276000830184613303565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336757808201518184015260208101905061334c565b83811115613376576000848401525b50505050565b6000601f19601f8301169050919050565b60006133988261332d565b6133a28185613338565b93506133b2818560208601613349565b6133bb8161337c565b840191505092915050565b600060208201905081810360008301526133e0818461338d565b905092915050565b600063ffffffff82169050919050565b613401816133e8565b82525050565b600060208201905061341c60008301846133f8565b92915050565b6000819050919050565b61343581613422565b811461344057600080fd5b50565b6000813590506134528161342c565b92915050565b60006020828403121561346e5761346d613268565b5b600061347c84828501613443565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134b082613485565b9050919050565b6134c0816134a5565b82525050565b60006020820190506134db60008301846134b7565b92915050565b6134ea816134a5565b81146134f557600080fd5b50565b600081359050613507816134e1565b92915050565b6000806040838503121561352457613523613268565b5b600061353285828601613443565b9250506020613543858286016134f8565b9150509250929050565b6000806040838503121561356457613563613268565b5b6000613572858286016134f8565b925050602061358385828601613443565b9150509250929050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6135b28161358d565b82525050565b60006020820190506135cd60008301846135a9565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136158261337c565b810181811067ffffffffffffffff82111715613634576136336135dd565b5b80604052505050565b600061364761325e565b9050613653828261360c565b919050565b600067ffffffffffffffff821115613673576136726135dd565b5b61367c8261337c565b9050602081019050919050565b82818337600083830152505050565b60006136ab6136a684613658565b61363d565b9050828152602081018484840111156136c7576136c66135d8565b5b6136d2848285613689565b509392505050565b600082601f8301126136ef576136ee6135d3565b5b81356136ff848260208601613698565b91505092915050565b60006020828403121561371e5761371d613268565b5b600082013567ffffffffffffffff81111561373c5761373b61326d565b5b613748848285016136da565b91505092915050565b61375a81613422565b82525050565b60006020820190506137756000830184613751565b92915050565b60008060006060848603121561379457613793613268565b5b60006137a2868287016134f8565b93505060206137b3868287016134f8565b92505060406137c486828701613443565b9150509250925092565b6000602082840312156137e4576137e3613268565b5b60006137f2848285016134f8565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61383081613422565b82525050565b60006138428383613827565b60208301905092915050565b6000602082019050919050565b6000613866826137fb565b6138708185613806565b935061387b83613817565b8060005b838110156138ac5781516138938882613836565b975061389e8361384e565b92505060018101905061387f565b5085935050505092915050565b600060208201905081810360008301526138d3818461385b565b905092915050565b6138e4816132f7565b81146138ef57600080fd5b50565b600081359050613901816138db565b92915050565b6000806040838503121561391e5761391d613268565b5b600061392c858286016134f8565b925050602061393d858286016138f2565b9150509250929050565b600067ffffffffffffffff821115613962576139616135dd565b5b61396b8261337c565b9050602081019050919050565b600061398b61398684613947565b61363d565b9050828152602081018484840111156139a7576139a66135d8565b5b6139b2848285613689565b509392505050565b600082601f8301126139cf576139ce6135d3565b5b81356139df848260208601613978565b91505092915050565b60008060008060808587031215613a0257613a01613268565b5b6000613a10878288016134f8565b9450506020613a21878288016134f8565b9350506040613a3287828801613443565b925050606085013567ffffffffffffffff811115613a5357613a5261326d565b5b613a5f878288016139ba565b91505092959194509250565b6000819050919050565b613a7e81613a6b565b8114613a8957600080fd5b50565b600081359050613a9b81613a75565b92915050565b600080600060608486031215613aba57613ab9613268565b5b6000613ac886828701613443565b9350506020613ad986828701613a8c565b925050604084013567ffffffffffffffff811115613afa57613af961326d565b5b613b06868287016139ba565b9150509250925092565b60008060408385031215613b2757613b26613268565b5b6000613b35858286016134f8565b9250506020613b46858286016134f8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9757607f821691505b602082108103613baa57613ba9613b50565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bea82613422565b9150613bf583613422565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2a57613c29613bb0565b5b828201905092915050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613c6b601483613338565b9150613c7682613c35565b602082019050919050565b60006020820190508181036000830152613c9a81613c5e565b9050919050565b7f5075726368617365206578636565647320617661696c61626c6520737570706c60008201527f792e000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cfd602283613338565b9150613d0882613ca1565b604082019050919050565b60006020820190508181036000830152613d2c81613cf0565b9050919050565b600061ffff82169050919050565b6000613d4c82613d33565b915061ffff8203613d6057613d5f613bb0565b5b600182019050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc7602183613338565b9150613dd282613d6b565b604082019050919050565b60006020820190508181036000830152613df681613dba565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613e59603e83613338565b9150613e6482613dfd565b604082019050919050565b60006020820190508181036000830152613e8881613e4c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613ef17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613eb4565b613efb8683613eb4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f38613f33613f2e84613422565b613f13565b613422565b9050919050565b6000819050919050565b613f5283613f1d565b613f66613f5e82613f3f565b848454613ec1565b825550505050565b600090565b613f7b613f6e565b613f86818484613f49565b505050565b5b81811015613faa57613f9f600082613f73565b600181019050613f8c565b5050565b601f821115613fef57613fc081613e8f565b613fc984613ea4565b81016020851015613fd8578190505b613fec613fe485613ea4565b830182613f8b565b50505b505050565b600082821c905092915050565b600061401260001984600802613ff4565b1980831691505092915050565b600061402b8383614001565b9150826002028217905092915050565b6140448261332d565b67ffffffffffffffff81111561405d5761405c6135dd565b5b6140678254613b7f565b614072828285613fae565b600060209050601f8311600181146140a55760008415614093578287015190505b61409d858261401f565b865550614105565b601f1984166140b386613e8f565b60005b828110156140db578489015182556001820191506020850194506020810190506140b6565b868310156140f857848901516140f4601f891682614001565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614169602e83613338565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f50726573616c65206d696e74206e6f7420617661696c61626c652e0000000000600082015250565b60006141d5601b83613338565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061424582613422565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361427757614276613bb0565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142b8601883613338565b91506142c382614282565b602082019050919050565b600060208201905081810360008301526142e7816142ab565b9050919050565b7f63616c6c6572206e6f742061646d696e00000000000000000000000000000000600082015250565b6000614324601083613338565b915061432f826142ee565b602082019050919050565b6000602082019050818103600083015261435381614317565b9050919050565b600061436582613422565b915061437083613422565b92508282101561438357614382613bb0565b5b828203905092915050565b600081905092915050565b50565b60006143a960008361438e565b91506143b482614399565b600082019050919050565b60006143ca8261439c565b9150819050919050565b60006143df82613422565b91506143ea83613422565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561442357614422613bb0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061446882613422565b915061447383613422565b9250826144835761448261442e565b5b828204905092915050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006144ea602983613338565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061457c602f83613338565b915061458782614520565b604082019050919050565b600060208201905081810360008301526145ab8161456f565b9050919050565b600081905092915050565b60006145c88261332d565b6145d281856145b2565b93506145e2818560208601613349565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146246005836145b2565b915061462f826145ee565b600582019050919050565b600061464682856145bd565b915061465282846145bd565b915061465d82614617565b91508190509392505050565b7f41646472657373206973206e6f74206f6e2050726573616c65204c6973740000600082015250565b600061469f601e83613338565b91506146aa82614669565b602082019050919050565b600060208201905081810360008301526146ce81614692565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614731602683613338565b915061473c826146d5565b604082019050919050565b6000602082019050818103600083015261476081614724565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061479d602083613338565b91506147a882614767565b602082019050919050565b600060208201905081810360008301526147cc81614790565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061482f602583613338565b915061483a826147d3565b604082019050919050565b6000602082019050818103600083015261485e81614822565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148c1602483613338565b91506148cc82614865565b604082019050919050565b600060208201905081810360008301526148f0816148b4565b9050919050565b7f496e73756666696369656e742066756e64732e00000000000000000000000000600082015250565b600061492d601383613338565b9150614938826148f7565b602082019050919050565b6000602082019050818103600083015261495c81614920565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614999601983613338565b91506149a482614963565b602082019050919050565b600060208201905081810360008301526149c88161498c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a2b603283613338565b9150614a36826149cf565b604082019050919050565b60006020820190508181036000830152614a5a81614a1e565b9050919050565b6000614a6c82613422565b9150614a7783613422565b925082614a8757614a8661442e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614ab982614a92565b614ac38185614a9d565b9350614ad3818560208601613349565b614adc8161337c565b840191505092915050565b6000608082019050614afc60008301876134b7565b614b0960208301866134b7565b614b166040830185613751565b8181036060830152614b288184614aae565b905095945050505050565b600081519050614b428161329e565b92915050565b600060208284031215614b5e57614b5d613268565b5b6000614b6c84828501614b33565b91505092915050565b60008160601b9050919050565b6000614b8d82614b75565b9050919050565b6000614b9f82614b82565b9050919050565b614bb7614bb2826134a5565b614b94565b82525050565b6000614bc98285614ba6565b601482019150614bd98284614ba6565b6014820191508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614c1f601c836145b2565b9150614c2a82614be9565b601c82019050919050565b6000819050919050565b614c50614c4b82613a6b565b614c35565b82525050565b6000614c6182614c12565b9150614c6d8284614c3f565b60208201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614cb2602083613338565b9150614cbd82614c7c565b602082019050919050565b60006020820190508181036000830152614ce181614ca5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614d1e601c83613338565b9150614d2982614ce8565b602082019050919050565b60006020820190508181036000830152614d4d81614d11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000614db9601883613338565b9150614dc482614d83565b602082019050919050565b60006020820190508181036000830152614de881614dac565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614e25601f83613338565b9150614e3082614def565b602082019050919050565b60006020820190508181036000830152614e5481614e18565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614eb7602283613338565b9150614ec282614e5b565b604082019050919050565b60006020820190508181036000830152614ee681614eaa565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f49602283613338565b9150614f5482614eed565b604082019050919050565b60006020820190508181036000830152614f7881614f3c565b9050919050565b614f8881613a6b565b82525050565b600060ff82169050919050565b614fa481614f8e565b82525050565b6000608082019050614fbf6000830187614f7f565b614fcc6020830186614f9b565b614fd96040830185614f7f565b614fe66060830184614f7f565b9594505050505056fea2646970667358221220d4ec9203d1ef5f48b47fa643acd5a92b6de51b978380da77ff6d7027f9b94a0064736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d514c4b37516a74783674445a6d70337355425555534e61477647795062317965516773357676773734524a74000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007ccdde52f0188cb8f630213e89b39799244d602600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064
-----Decoded View---------------
Arg [0] : initialTokenId_ (uint16): 1
Arg [1] : projectURI_ (string): ipfs://QmQLK7Qjtx6tDZmp3sUBUUSNaGvGyPb1yeQgs5vvw74RJt
Arg [2] : payees_ (address[]): 0x7ccdDE52F0188cb8F630213E89b39799244d6026
Arg [3] : payeesShares_ (uint256[]): 100
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [5] : 697066733a2f2f516d514c4b37516a74783674445a6d70337355425555534e61
Arg [6] : 477647795062317965516773357676773734524a740000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000007ccdde52f0188cb8f630213e89b39799244d6026
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000064
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.