Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 26 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 19145578 | 304 days ago | IN | 0 ETH | 0.00111619 | ||||
Safe Transfer Fr... | 16608235 | 660 days ago | IN | 0 ETH | 0.00127564 | ||||
Transfer From | 15744485 | 781 days ago | IN | 0 ETH | 0.00068566 | ||||
Safe Transfer Fr... | 15487246 | 818 days ago | IN | 0 ETH | 0.00135537 | ||||
Transfer From | 14618979 | 958 days ago | IN | 0 ETH | 0.00157576 | ||||
Set Approval For... | 14575183 | 965 days ago | IN | 0 ETH | 0.00217737 | ||||
Safe Transfer Fr... | 14569201 | 966 days ago | IN | 0 ETH | 0.00326884 | ||||
Set Approval For... | 14442860 | 985 days ago | IN | 0 ETH | 0.00075682 | ||||
Set Approval For... | 13898303 | 1070 days ago | IN | 0 ETH | 0.00348732 | ||||
Set Approval For... | 13873316 | 1073 days ago | IN | 0 ETH | 0.00173471 | ||||
Set Approval For... | 13873314 | 1073 days ago | IN | 0 ETH | 0.00285205 | ||||
Safe Transfer Fr... | 13873292 | 1073 days ago | IN | 0 ETH | 0.00502286 | ||||
Transfer From | 13852869 | 1077 days ago | IN | 0 ETH | 0.00242333 | ||||
Safe Transfer Fr... | 13681259 | 1104 days ago | IN | 0 ETH | 0.00694298 | ||||
Transfer From | 12726632 | 1253 days ago | IN | 0 ETH | 0.0006047 | ||||
Transfer From | 12726630 | 1253 days ago | IN | 0 ETH | 0.00079077 | ||||
Transfer From | 12726628 | 1253 days ago | IN | 0 ETH | 0.00069977 | ||||
Mass Mint NF Ts | 12680824 | 1260 days ago | IN | 0 ETH | 0.03230325 | ||||
Set Num Nifty Pe... | 12680821 | 1260 days ago | IN | 0 ETH | 0.005037 | ||||
Mass Mint NF Ts | 12680820 | 1260 days ago | IN | 0 ETH | 0.0329415 | ||||
Set Num Nifty Pe... | 12680819 | 1260 days ago | IN | 0 ETH | 0.005037 | ||||
Mass Mint NF Ts | 12680819 | 1260 days ago | IN | 0 ETH | 0.0257984 | ||||
Set Num Nifty Pe... | 12680817 | 1260 days ago | IN | 0 ETH | 0.00523848 | ||||
Set Nifty IPFS H... | 12680633 | 1260 days ago | IN | 0 ETH | 0.00716283 | ||||
Set Nifty IPFS H... | 12680633 | 1260 days ago | IN | 0 ETH | 0.00716283 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12680626 | 1260 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
NiftyBuilderInstance
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-10 */ // File: contracts/api/NiftyRegistryAPI.sol abstract contract NiftyRegistryAPI { function isValidNiftySender(address sending_key) public view virtual returns (bool); function isOwner(address owner_key) public view virtual returns (bool); } // File: contracts/NiftyEntity.sol contract NiftyEntity { address internal immutable masterBuilderContract; address internal immutable niftyRegistryContract; modifier onlyValidSender() { NiftyRegistryAPI nftg_registry = NiftyRegistryAPI(niftyRegistryContract); bool is_valid = nftg_registry.isValidNiftySender(msg.sender); require(is_valid, "NiftyEntity: Invalid msg.sender"); _; } constructor(address _masterBuilderContract, address _niftyRegistryContract) { masterBuilderContract = _masterBuilderContract; niftyRegistryContract = _niftyRegistryContract; } } // File: contracts/api/BuilderMasterAPI.sol abstract contract BuilderMasterAPI { function getNiftyTypeId(uint tokenId) public view virtual returns (uint); function encodeTokenId(uint contractId, uint niftyType, uint specificNiftyNum) public view virtual returns (uint); } // File: contracts/util/Counters.sol /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } } // File: contracts/interface/IERC165.sol /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is specified in ERC-165. This function * uses less than 30,000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: contracts/interface/IERC721.sol /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: contracts/interface/IERC721Receiver.sol /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: contracts/interface/IERC721Metadata.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); } // File: contracts/util/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/util/Context.sol /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: contracts/util/Strings.sol /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: contracts/ERC165.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; } } // File: contracts/ERC721.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 NiftyEntity, Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from Nifty type to name of token mapping(uint256 => string) private _niftyTypeName; // Mapping from Nifty type to IPFS hash of canonical image file mapping(uint256 => string) private _niftyTypeIPFSHashes; // 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_, address masterBuilderContract_, address niftyRegistryContract_) NiftyEntity(masterBuilderContract_, niftyRegistryContract_) { _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: balance query for the zero address"); 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: owner query for nonexistent token"); 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 Returns an URI for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenURI(uint256 tokenId) external view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory tokenIdStr = Strings.toString(tokenId); return string(abi.encodePacked(_baseURI(), tokenIdStr)); } /** * @dev Returns an IPFS hash for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenIPFSHash(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: IPFS hash query for nonexistent token"); BuilderMasterAPI bm = BuilderMasterAPI(masterBuilderContract); uint nifty_type = bm.getNiftyTypeId(tokenId); return _niftyTypeIPFSHashes[nifty_type]; } /** * @dev Returns the Name for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenName(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Name query for nonexistent token"); BuilderMasterAPI bm = BuilderMasterAPI(masterBuilderContract); uint nifty_type = bm.getNiftyTypeId(tokenId); return _niftyTypeName[nifty_type]; } /** * @dev Internal function to set the token IPFS hash for a nifty type. * @param nifty_type uint256 ID component of the token to set its IPFS hash * @param ipfs_hash string IPFS link to assign */ function _setTokenIPFSHashNiftyType(uint256 nifty_type, string memory ipfs_hash) internal { require(bytes(_niftyTypeIPFSHashes[nifty_type]).length == 0, "ERC721Metadata: IPFS hash already set"); _niftyTypeIPFSHashes[nifty_type] = ipfs_hash; } /** * @dev Internal function to set the name for a nifty type. * @param nifty_type uint256 of nifty type name to be set * @param nifty_type_name name of nifty type */ function _setNiftyTypeName(uint256 nifty_type, string memory nifty_type_name) internal { _niftyTypeName[nifty_type] = nifty_type_name; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) {} /** * @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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not 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: transfer caller is not 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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-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 { } } // File: contracts/ERC721Burnable.sol /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } } // File: contracts/NiftyBuilderInstance.sol contract NiftyBuilderInstance is ERC721, ERC721Burnable { using Counters for Counters.Counter; string public creator; string public _baseTokenURI; uint immutable public id; uint immutable public countType; mapping (uint => uint) public _numNiftyPermitted; mapping (uint => Counters.Counter) public _numNiftyMinted; constructor( string memory name, string memory symbol, uint _id, uint _countType, string memory base_uri, string memory _creator, address masterBuilderContract, address niftyRegistryContract) ERC721(name, symbol, masterBuilderContract, niftyRegistryContract) { id = _id; countType = _countType; creator = _creator; _setBaseURIParent(base_uri); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return super.supportsInterface(interfaceId); } function _setBaseURIParent(string memory newBaseURI) internal { _baseTokenURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** * @dev Allow owner to change nifty name. */ function setNiftyName(uint nifty_type, string memory nifty_name) onlyValidSender public { _setNiftyTypeName(nifty_type, nifty_name); } function setNiftyIPFSHash(uint nifty_type, string memory ipfs_hash) onlyValidSender public { _setTokenIPFSHashNiftyType(nifty_type, ipfs_hash); } function isGiftNiftyPermitted(uint nifty_type) private view returns (bool) { if (_numNiftyMinted[nifty_type].current() >= _numNiftyPermitted[nifty_type]) { return false; } return true; } function giftNifty(address collector_address, uint nifty_type) onlyValidSender public { require(isGiftNiftyPermitted(nifty_type) == true, "NiftyBuilderInstance: Nifty sold out!"); BuilderMasterAPI bm = BuilderMasterAPI(masterBuilderContract); _numNiftyMinted[nifty_type].increment(); uint specificTokenId = _numNiftyMinted[nifty_type].current(); uint tokenId = bm.encodeTokenId(id, nifty_type, specificTokenId); _mint(collector_address, tokenId); } /** * @dev Loop through array and create nifties. */ function massMintNFTs(address collector_address, uint num_to_mint, uint nifty_type) onlyValidSender public { for (uint i = 0; i < num_to_mint; i++) { giftNifty(collector_address, nifty_type); } } /** * @dev Facilitates spawning of pack/standard/open drop types from a single BuilderShop */ function setNumNiftyPermitted(uint nifty_type, uint256 num_nifty_permitted) onlyValidSender public { require(_numNiftyPermitted[nifty_type] == 0, "NiftyBuilderInstance: Permitted number already set for this NFT"); require(num_nifty_permitted < 9999 && num_nifty_permitted != 0, "NiftyBuilderInstance: Illegal argument"); _numNiftyPermitted[nifty_type] = num_nifty_permitted; } } // File: contracts/BuilderShop.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract BuilderShop is NiftyEntity { uint private id; mapping (address => bool) private ValidBuilderInstance; event BuilderInstanceCreated(address instanceAddress, uint id); constructor(address _masterBuilderContract, address _niftyRegistryContract) NiftyEntity(_masterBuilderContract, _niftyRegistryContract) { id = 0; } /** * Allow anyone to check if a contract address is a valid nifty gateway contract */ function isValidBuilderInstance(address instanceAddress) public view returns (bool) { return(ValidBuilderInstance[instanceAddress]); } function createNewBuilderInstance( string memory _name, string memory _symbol, uint num_nifties, string memory token_base_uri, string memory creator_name) public onlyValidSender returns (NiftyBuilderInstance) { id += 1; NiftyBuilderInstance instance = new NiftyBuilderInstance( _name, _symbol, id, num_nifties, token_base_uri, creator_name, masterBuilderContract, niftyRegistryContract ); address instanceAddress = address(instance); ValidBuilderInstance[instanceAddress] = true; emit BuilderInstanceCreated(instanceAddress, id); return (instance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_countType","type":"uint256"},{"internalType":"string","name":"base_uri","type":"string"},{"internalType":"string","name":"_creator","type":"string"},{"internalType":"address","name":"masterBuilderContract","type":"address"},{"internalType":"address","name":"niftyRegistryContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_numNiftyMinted","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_numNiftyPermitted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"countType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"collector_address","type":"address"},{"internalType":"uint256","name":"nifty_type","type":"uint256"}],"name":"giftNifty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"id","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"collector_address","type":"address"},{"internalType":"uint256","name":"num_to_mint","type":"uint256"},{"internalType":"uint256","name":"nifty_type","type":"uint256"}],"name":"massMintNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nifty_type","type":"uint256"},{"internalType":"string","name":"ipfs_hash","type":"string"}],"name":"setNiftyIPFSHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nifty_type","type":"uint256"},{"internalType":"string","name":"nifty_name","type":"string"}],"name":"setNiftyName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nifty_type","type":"uint256"},{"internalType":"uint256","name":"num_nifty_permitted","type":"uint256"}],"name":"setNumNiftyPermitted","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":"tokenIPFSHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenName","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":[{"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"}]
Contract Creation Code
6101006040523480156200001257600080fd5b506040516200457e3803806200457e833981810160405281019062000038919062000298565b8787838381818173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050508360009080519060200190620000c692919062000148565b508260019080519060200190620000df92919062000148565b50505050508560c081815250508460e0818152505082600890805190602001906200010c92919062000148565b506200011e846200012c60201b60201c565b5050505050505050620005a1565b80600990805190602001906200014492919062000148565b5050565b828054620001569062000492565b90600052602060002090601f0160209004810192826200017a5760008555620001c6565b82601f106200019557805160ff1916838001178555620001c6565b82800160010185558215620001c6579182015b82811115620001c5578251825591602001919060010190620001a8565b5b509050620001d59190620001d9565b5090565b5b80821115620001f4576000816000905550600101620001da565b5090565b60006200020f6200020984620003e8565b620003bf565b9050828152602081018484840111156200022857600080fd5b620002358482856200045c565b509392505050565b6000815190506200024e816200056d565b92915050565b600082601f8301126200026657600080fd5b815162000278848260208601620001f8565b91505092915050565b600081519050620002928162000587565b92915050565b600080600080600080600080610100898b031215620002b657600080fd5b600089015167ffffffffffffffff811115620002d157600080fd5b620002df8b828c0162000254565b985050602089015167ffffffffffffffff811115620002fd57600080fd5b6200030b8b828c0162000254565b97505060406200031e8b828c0162000281565b9650506060620003318b828c0162000281565b955050608089015167ffffffffffffffff8111156200034f57600080fd5b6200035d8b828c0162000254565b94505060a089015167ffffffffffffffff8111156200037b57600080fd5b620003898b828c0162000254565b93505060c06200039c8b828c016200023d565b92505060e0620003af8b828c016200023d565b9150509295985092959890939650565b6000620003cb620003de565b9050620003d98282620004c8565b919050565b6000604051905090565b600067ffffffffffffffff8211156200040657620004056200052d565b5b62000411826200055c565b9050602081019050919050565b60006200042b8262000432565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200047c5780820151818401526020810190506200045f565b838111156200048c576000848401525b50505050565b60006002820490506001821680620004ab57607f821691505b60208210811415620004c257620004c1620004fe565b5b50919050565b620004d3826200055c565b810181811067ffffffffffffffff82111715620004f557620004f46200052d565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000578816200041e565b81146200058457600080fd5b50565b620005928162000452565b81146200059e57600080fd5b50565b60805160601c60a05160601c60c05160e051613f6c620006126000396000610df3015260008181610be301526110420152600081816108a901528181610a27015281816110ca015281816114a301526117f8015260008181610b680152818161134c01526115ef0152613f6c6000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806372ba8c09116100f9578063cfc86f7b11610097578063e725f87711610071578063e725f877146104ca578063e9437537146104fa578063e985e9c51461052a578063eea46c0a1461055a576101a9565b8063cfc86f7b14610460578063d37166301461047e578063d7a853be146104ae576101a9565b8063af640d0f116100d3578063af640d0f146103da578063b88d4fde146103f8578063ba653ab414610414578063c87b56dd14610430576101a9565b806372ba8c091461037057806395d89b41146103a0578063a22cb465146103be576101a9565b80632b6db055116101665780634f1d4832116101405780634f1d4832146102d65780636352211e146102f257806370a082311461032257806371d2cecb14610352576101a9565b80632b6db0551461028257806342842e0e1461029e57806342966c68146102ba576101a9565b806301ffc9a7146101ae57806302d05d3f146101de57806306fdde03146101fc578063081812fc1461021a578063095ea7b31461024a57806323b872dd14610266575b600080fd5b6101c860048036038101906101c39190612be3565b610576565b6040516101d59190613174565b60405180910390f35b6101e6610588565b6040516101f3919061318f565b60405180910390f35b610204610616565b604051610211919061318f565b60405180910390f35b610234600480360381019061022f9190612c35565b6106a8565b604051610241919061310d565b60405180910390f35b610264600480360381019061025f9190612b2f565b61072d565b005b610280600480360381019061027b9190612a29565b610845565b005b61029c60048036038101906102979190612c87565b6108a5565b005b6102b860048036038101906102b39190612a29565b6109a7565b005b6102d460048036038101906102cf9190612c35565b6109c7565b005b6102f060048036038101906102eb9190612b2f565b610a23565b005b61030c60048036038101906103079190612c35565b610c87565b604051610319919061310d565b60405180910390f35b61033c600480360381019061033791906129c4565b610d39565b6040516103499190613471565b60405180910390f35b61035a610df1565b6040516103679190613471565b60405180910390f35b61038a60048036038101906103859190612c35565b610e15565b6040516103979190613471565b60405180910390f35b6103a8610e2d565b6040516103b5919061318f565b60405180910390f35b6103d860048036038101906103d39190612af3565b610ebf565b005b6103e2611040565b6040516103ef9190613471565b60405180910390f35b610412600480360381019061040d9190612a78565b611064565b005b61042e60048036038101906104299190612b6b565b6110c6565b005b61044a60048036038101906104459190612c35565b6111e8565b604051610457919061318f565b60405180910390f35b610468611270565b604051610475919061318f565b60405180910390f35b61049860048036038101906104939190612c35565b6112fe565b6040516104a5919061318f565b60405180910390f35b6104c860048036038101906104c39190612c87565b61149f565b005b6104e460048036038101906104df9190612c35565b6115a1565b6040516104f1919061318f565b60405180910390f35b610514600480360381019061050f9190612c35565b611742565b6040516105219190613471565b60405180910390f35b610544600480360381019061053f91906129ed565b611760565b6040516105519190613174565b60405180910390f35b610574600480360381019061056f9190612cdb565b6117f4565b005b6000610581826119ab565b9050919050565b60088054610595906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546105c1906136fe565b801561060e5780601f106105e35761010080835404028352916020019161060e565b820191906000526020600020905b8154815290600101906020018083116105f157829003601f168201915b505050505081565b606060008054610625906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610651906136fe565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b60006106b382611a8d565b6106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e990613331565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073882610c87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a0906133d1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c8611af9565b73ffffffffffffffffffffffffffffffffffffffff1614806107f757506107f6816107f1611af9565b611760565b5b610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d90613291565b60405180910390fd5b6108408383611b01565b505050565b610856610850611af9565b82611bba565b610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c906133f1565b60405180910390fd5b6108a0838383611c98565b505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401610905919061310d565b60206040518083038186803b15801561091d57600080fd5b505afa158015610931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109559190612bba565b905080610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906133b1565b60405180910390fd5b6109a18484611ef4565b50505050565b6109c283838360405180602001604052806000815250611064565b505050565b6109d86109d2611af9565b82611bba565b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90613431565b60405180910390fd5b610a2081611f82565b50565b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401610a83919061310d565b60206040518083038186803b158015610a9b57600080fd5b505afa158015610aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad39190612bba565b905080610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906133b1565b60405180910390fd5b60011515610b2284612093565b151514610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b90613391565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000009050610ba4600b60008681526020019081526020016000206120dc565b6000610bc1600b60008781526020019081526020016000206120f2565b905060008273ffffffffffffffffffffffffffffffffffffffff1663959c45b77f000000000000000000000000000000000000000000000000000000000000000088856040518463ffffffff1660e01b8152600401610c229392919061348c565b60206040518083038186803b158015610c3a57600080fd5b505afa158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c729190612c5e565b9050610c7e8782612100565b50505050505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d27906132d1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da1906132b1565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a6020528060005260406000206000915090505481565b606060018054610e3c906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610e68906136fe565b8015610eb55780601f10610e8a57610100808354040283529160200191610eb5565b820191906000526020600020905b815481529060010190602001808311610e9857829003601f168201915b5050505050905090565b610ec7611af9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90613251565b60405180910390fd5b8060076000610f42611af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fef611af9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110349190613174565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61107561106f611af9565b83611bba565b6110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab906133f1565b60405180910390fd5b6110c0848484846122ce565b50505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401611126919061310d565b60206040518083038186803b15801561113e57600080fd5b505afa158015611152573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111769190612bba565b9050806111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906133b1565b60405180910390fd5b60005b848110156111e0576111cd8685610a23565b80806111d890613761565b9150506111bb565b505050505050565b60606111f382611a8d565b611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122990613371565b60405180910390fd5b600061123d8361232a565b90506112476124d7565b816040516020016112599291906130e9565b604051602081830303815290604052915050919050565b6009805461127d906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546112a9906136fe565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b505050505081565b606061130982611a8d565b611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f906131b1565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b81526004016113a89190613471565b60206040518083038186803b1580156113c057600080fd5b505afa1580156113d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f89190612c5e565b9050600360008281526020019081526020016000208054611418906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611444906136fe565b80156114915780601f1061146657610100808354040283529160200191611491565b820191906000526020600020905b81548152906001019060200180831161147457829003601f168201915b505050505092505050919050565b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b81526004016114ff919061310d565b60206040518083038186803b15801561151757600080fd5b505afa15801561152b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154f9190612bba565b905080611591576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611588906133b1565b60405180910390fd5b61159b8484612569565b50505050565b60606115ac82611a8d565b6115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290613451565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b815260040161164b9190613471565b60206040518083038186803b15801561166357600080fd5b505afa158015611677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169b9190612c5e565b90506002600082815260200190815260200160002080546116bb906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546116e7906136fe565b80156117345780601f1061170957610100808354040283529160200191611734565b820191906000526020600020905b81548152906001019060200180831161171757829003601f168201915b505050505092505050919050565b600b6020528060005260406000206000915090508060000154905081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f0000000000000000000000000000000000000000000000000000000000000000905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401611854919061310d565b60206040518083038186803b15801561186c57600080fd5b505afa158015611880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a49190612bba565b9050806118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906133b1565b60405180910390fd5b6000600a6000868152602001908152602001600020541461193c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611933906131f1565b60405180910390fd5b61270f8310801561194e575060008314155b61198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490613411565b60405180910390fd5b82600a60008681526020019081526020016000208190555050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a865750611a8582612595565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b7483610c87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bc582611a8d565b611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90613271565b60405180910390fd5b6000611c0f83610c87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c7e57508373ffffffffffffffffffffffffffffffffffffffff16611c66846106a8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c8f5750611c8e8185611760565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cb882610c87565b73ffffffffffffffffffffffffffffffffffffffff1614611d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0590613351565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590613231565b60405180910390fd5b611d898383836125ff565b611d94600082611b01565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de49190613614565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3b919061358d565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600360008481526020019081526020016000208054611f14906136fe565b905014611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d906132f1565b60405180910390fd5b80600360008481526020019081526020016000209080519060200190611f7d9291906127be565b505050565b6000611f8d82610c87565b9050611f9b816000846125ff565b611fa6600083611b01565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff69190613614565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a6000838152602001908152602001600020546120c4600b60008581526020019081526020016000206120f2565b106120d257600090506120d7565b600190505b919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216790613311565b60405180910390fd5b61217981611a8d565b156121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090613211565b60405180910390fd5b6121c5600083836125ff565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612215919061358d565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6122d9848484611c98565b6122e58484848461260f565b612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b906131d1565b60405180910390fd5b50505050565b60606000821415612372576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124d2565b600082905060005b600082146123a457808061238d90613761565b915050600a8261239d91906135e3565b915061237a565b60008167ffffffffffffffff8111156123e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124185781602001600182028036833780820191505090505b5090505b600085146124cb576001826124319190613614565b9150600a8561244091906137aa565b603061244c919061358d565b60f81b818381518110612488577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124c491906135e3565b945061241c565b8093505050505b919050565b6060600980546124e6906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054612512906136fe565b801561255f5780601f106125345761010080835404028352916020019161255f565b820191906000526020600020905b81548152906001019060200180831161254257829003601f168201915b5050505050905090565b806002600084815260200190815260200160002090805190602001906125909291906127be565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61260a8383836127a6565b505050565b60006126308473ffffffffffffffffffffffffffffffffffffffff166127ab565b15612799578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612659611af9565b8786866040518563ffffffff1660e01b815260040161267b9493929190613128565b602060405180830381600087803b15801561269557600080fd5b505af19250505080156126c657506040513d601f19601f820116820180604052508101906126c39190612c0c565b60015b612749573d80600081146126f6576040519150601f19603f3d011682016040523d82523d6000602084013e6126fb565b606091505b50600081511415612741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612738906131d1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061279e565b600190505b949350505050565b505050565b600080823b905060008111915050919050565b8280546127ca906136fe565b90600052602060002090601f0160209004810192826127ec5760008555612833565b82601f1061280557805160ff1916838001178555612833565b82800160010185558215612833579182015b82811115612832578251825591602001919060010190612817565b5b5090506128409190612844565b5090565b5b8082111561285d576000816000905550600101612845565b5090565b600061287461286f846134e8565b6134c3565b90508281526020810184848401111561288c57600080fd5b6128978482856136bc565b509392505050565b60006128b26128ad84613519565b6134c3565b9050828152602081018484840111156128ca57600080fd5b6128d58482856136bc565b509392505050565b6000813590506128ec81613eda565b92915050565b60008135905061290181613ef1565b92915050565b60008151905061291681613ef1565b92915050565b60008135905061292b81613f08565b92915050565b60008151905061294081613f08565b92915050565b600082601f83011261295757600080fd5b8135612967848260208601612861565b91505092915050565b600082601f83011261298157600080fd5b813561299184826020860161289f565b91505092915050565b6000813590506129a981613f1f565b92915050565b6000815190506129be81613f1f565b92915050565b6000602082840312156129d657600080fd5b60006129e4848285016128dd565b91505092915050565b60008060408385031215612a0057600080fd5b6000612a0e858286016128dd565b9250506020612a1f858286016128dd565b9150509250929050565b600080600060608486031215612a3e57600080fd5b6000612a4c868287016128dd565b9350506020612a5d868287016128dd565b9250506040612a6e8682870161299a565b9150509250925092565b60008060008060808587031215612a8e57600080fd5b6000612a9c878288016128dd565b9450506020612aad878288016128dd565b9350506040612abe8782880161299a565b925050606085013567ffffffffffffffff811115612adb57600080fd5b612ae787828801612946565b91505092959194509250565b60008060408385031215612b0657600080fd5b6000612b14858286016128dd565b9250506020612b25858286016128f2565b9150509250929050565b60008060408385031215612b4257600080fd5b6000612b50858286016128dd565b9250506020612b618582860161299a565b9150509250929050565b600080600060608486031215612b8057600080fd5b6000612b8e868287016128dd565b9350506020612b9f8682870161299a565b9250506040612bb08682870161299a565b9150509250925092565b600060208284031215612bcc57600080fd5b6000612bda84828501612907565b91505092915050565b600060208284031215612bf557600080fd5b6000612c038482850161291c565b91505092915050565b600060208284031215612c1e57600080fd5b6000612c2c84828501612931565b91505092915050565b600060208284031215612c4757600080fd5b6000612c558482850161299a565b91505092915050565b600060208284031215612c7057600080fd5b6000612c7e848285016129af565b91505092915050565b60008060408385031215612c9a57600080fd5b6000612ca88582860161299a565b925050602083013567ffffffffffffffff811115612cc557600080fd5b612cd185828601612970565b9150509250929050565b60008060408385031215612cee57600080fd5b6000612cfc8582860161299a565b9250506020612d0d8582860161299a565b9150509250929050565b612d2081613648565b82525050565b612d2f8161365a565b82525050565b6000612d408261354a565b612d4a8185613560565b9350612d5a8185602086016136cb565b612d6381613897565b840191505092915050565b6000612d7982613555565b612d838185613571565b9350612d938185602086016136cb565b612d9c81613897565b840191505092915050565b6000612db282613555565b612dbc8185613582565b9350612dcc8185602086016136cb565b80840191505092915050565b6000612de5603583613571565b9150612df0826138a8565b604082019050919050565b6000612e08603283613571565b9150612e13826138f7565b604082019050919050565b6000612e2b603f83613571565b9150612e3682613946565b604082019050919050565b6000612e4e601c83613571565b9150612e5982613995565b602082019050919050565b6000612e71602483613571565b9150612e7c826139be565b604082019050919050565b6000612e94601983613571565b9150612e9f82613a0d565b602082019050919050565b6000612eb7602c83613571565b9150612ec282613a36565b604082019050919050565b6000612eda603883613571565b9150612ee582613a85565b604082019050919050565b6000612efd602a83613571565b9150612f0882613ad4565b604082019050919050565b6000612f20602983613571565b9150612f2b82613b23565b604082019050919050565b6000612f43602583613571565b9150612f4e82613b72565b604082019050919050565b6000612f66602083613571565b9150612f7182613bc1565b602082019050919050565b6000612f89602c83613571565b9150612f9482613bea565b604082019050919050565b6000612fac602983613571565b9150612fb782613c39565b604082019050919050565b6000612fcf602f83613571565b9150612fda82613c88565b604082019050919050565b6000612ff2602583613571565b9150612ffd82613cd7565b604082019050919050565b6000613015601f83613571565b915061302082613d26565b602082019050919050565b6000613038602183613571565b915061304382613d4f565b604082019050919050565b600061305b603183613571565b915061306682613d9e565b604082019050919050565b600061307e602683613571565b915061308982613ded565b604082019050919050565b60006130a1603083613571565b91506130ac82613e3c565b604082019050919050565b60006130c4603083613571565b91506130cf82613e8b565b604082019050919050565b6130e3816136b2565b82525050565b60006130f58285612da7565b91506131018284612da7565b91508190509392505050565b60006020820190506131226000830184612d17565b92915050565b600060808201905061313d6000830187612d17565b61314a6020830186612d17565b61315760408301856130da565b81810360608301526131698184612d35565b905095945050505050565b60006020820190506131896000830184612d26565b92915050565b600060208201905081810360008301526131a98184612d6e565b905092915050565b600060208201905081810360008301526131ca81612dd8565b9050919050565b600060208201905081810360008301526131ea81612dfb565b9050919050565b6000602082019050818103600083015261320a81612e1e565b9050919050565b6000602082019050818103600083015261322a81612e41565b9050919050565b6000602082019050818103600083015261324a81612e64565b9050919050565b6000602082019050818103600083015261326a81612e87565b9050919050565b6000602082019050818103600083015261328a81612eaa565b9050919050565b600060208201905081810360008301526132aa81612ecd565b9050919050565b600060208201905081810360008301526132ca81612ef0565b9050919050565b600060208201905081810360008301526132ea81612f13565b9050919050565b6000602082019050818103600083015261330a81612f36565b9050919050565b6000602082019050818103600083015261332a81612f59565b9050919050565b6000602082019050818103600083015261334a81612f7c565b9050919050565b6000602082019050818103600083015261336a81612f9f565b9050919050565b6000602082019050818103600083015261338a81612fc2565b9050919050565b600060208201905081810360008301526133aa81612fe5565b9050919050565b600060208201905081810360008301526133ca81613008565b9050919050565b600060208201905081810360008301526133ea8161302b565b9050919050565b6000602082019050818103600083015261340a8161304e565b9050919050565b6000602082019050818103600083015261342a81613071565b9050919050565b6000602082019050818103600083015261344a81613094565b9050919050565b6000602082019050818103600083015261346a816130b7565b9050919050565b600060208201905061348660008301846130da565b92915050565b60006060820190506134a160008301866130da565b6134ae60208301856130da565b6134bb60408301846130da565b949350505050565b60006134cd6134de565b90506134d98282613730565b919050565b6000604051905090565b600067ffffffffffffffff82111561350357613502613868565b5b61350c82613897565b9050602081019050919050565b600067ffffffffffffffff82111561353457613533613868565b5b61353d82613897565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613598826136b2565b91506135a3836136b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135d8576135d76137db565b5b828201905092915050565b60006135ee826136b2565b91506135f9836136b2565b9250826136095761360861380a565b5b828204905092915050565b600061361f826136b2565b915061362a836136b2565b92508282101561363d5761363c6137db565b5b828203905092915050565b600061365382613692565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156136e95780820151818401526020810190506136ce565b838111156136f8576000848401525b50505050565b6000600282049050600182168061371657607f821691505b6020821081141561372a57613729613839565b5b50919050565b61373982613897565b810181811067ffffffffffffffff8211171561375857613757613868565b5b80604052505050565b600061376c826136b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561379f5761379e6137db565b5b600182019050919050565b60006137b5826136b2565b91506137c0836136b2565b9250826137d0576137cf61380a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732314d657461646174613a204950465320686173682071756572792060008201527f666f72206e6f6e6578697374656e7420746f6b656e0000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a205065726d69747465642060008201527f6e756d62657220616c72656164792073657420666f722074686973204e465400602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2049504653206861736820616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a204e6966747920736f6c6460008201527f206f757421000000000000000000000000000000000000000000000000000000602082015250565b7f4e69667479456e746974793a20496e76616c6964206d73672e73656e64657200600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a20496c6c6567616c20617260008201527f67756d656e740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a204e616d6520717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b613ee381613648565b8114613eee57600080fd5b50565b613efa8161365a565b8114613f0557600080fd5b50565b613f1181613666565b8114613f1c57600080fd5b50565b613f28816136b2565b8114613f3357600080fd5b5056fea2646970667358221220e430aa778a3d1355b721cb91d2a04b4740b58a14d236c44e28863e650b8d446e64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb01920000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106000000000000000000000000000000000000000000000000000000000000002f4d4554412d4d4f5250484f534553204f70656e2045646974696f6e73206279204d69737320416c2053696d70736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000284d4554414d4f5250484f5345534f50454e45444954494f4e5342594d495353414c53494d50534f4e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e6e69667479676174657761792e636f6d2f6d61736d6574616f70656e2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4d69737320414c2053696d70736f6e0000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806372ba8c09116100f9578063cfc86f7b11610097578063e725f87711610071578063e725f877146104ca578063e9437537146104fa578063e985e9c51461052a578063eea46c0a1461055a576101a9565b8063cfc86f7b14610460578063d37166301461047e578063d7a853be146104ae576101a9565b8063af640d0f116100d3578063af640d0f146103da578063b88d4fde146103f8578063ba653ab414610414578063c87b56dd14610430576101a9565b806372ba8c091461037057806395d89b41146103a0578063a22cb465146103be576101a9565b80632b6db055116101665780634f1d4832116101405780634f1d4832146102d65780636352211e146102f257806370a082311461032257806371d2cecb14610352576101a9565b80632b6db0551461028257806342842e0e1461029e57806342966c68146102ba576101a9565b806301ffc9a7146101ae57806302d05d3f146101de57806306fdde03146101fc578063081812fc1461021a578063095ea7b31461024a57806323b872dd14610266575b600080fd5b6101c860048036038101906101c39190612be3565b610576565b6040516101d59190613174565b60405180910390f35b6101e6610588565b6040516101f3919061318f565b60405180910390f35b610204610616565b604051610211919061318f565b60405180910390f35b610234600480360381019061022f9190612c35565b6106a8565b604051610241919061310d565b60405180910390f35b610264600480360381019061025f9190612b2f565b61072d565b005b610280600480360381019061027b9190612a29565b610845565b005b61029c60048036038101906102979190612c87565b6108a5565b005b6102b860048036038101906102b39190612a29565b6109a7565b005b6102d460048036038101906102cf9190612c35565b6109c7565b005b6102f060048036038101906102eb9190612b2f565b610a23565b005b61030c60048036038101906103079190612c35565b610c87565b604051610319919061310d565b60405180910390f35b61033c600480360381019061033791906129c4565b610d39565b6040516103499190613471565b60405180910390f35b61035a610df1565b6040516103679190613471565b60405180910390f35b61038a60048036038101906103859190612c35565b610e15565b6040516103979190613471565b60405180910390f35b6103a8610e2d565b6040516103b5919061318f565b60405180910390f35b6103d860048036038101906103d39190612af3565b610ebf565b005b6103e2611040565b6040516103ef9190613471565b60405180910390f35b610412600480360381019061040d9190612a78565b611064565b005b61042e60048036038101906104299190612b6b565b6110c6565b005b61044a60048036038101906104459190612c35565b6111e8565b604051610457919061318f565b60405180910390f35b610468611270565b604051610475919061318f565b60405180910390f35b61049860048036038101906104939190612c35565b6112fe565b6040516104a5919061318f565b60405180910390f35b6104c860048036038101906104c39190612c87565b61149f565b005b6104e460048036038101906104df9190612c35565b6115a1565b6040516104f1919061318f565b60405180910390f35b610514600480360381019061050f9190612c35565b611742565b6040516105219190613471565b60405180910390f35b610544600480360381019061053f91906129ed565b611760565b6040516105519190613174565b60405180910390f35b610574600480360381019061056f9190612cdb565b6117f4565b005b6000610581826119ab565b9050919050565b60088054610595906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546105c1906136fe565b801561060e5780601f106105e35761010080835404028352916020019161060e565b820191906000526020600020905b8154815290600101906020018083116105f157829003601f168201915b505050505081565b606060008054610625906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610651906136fe565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905090565b60006106b382611a8d565b6106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e990613331565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073882610c87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a0906133d1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c8611af9565b73ffffffffffffffffffffffffffffffffffffffff1614806107f757506107f6816107f1611af9565b611760565b5b610836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082d90613291565b60405180910390fd5b6108408383611b01565b505050565b610856610850611af9565b82611bba565b610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c906133f1565b60405180910390fd5b6108a0838383611c98565b505050565b60007f0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401610905919061310d565b60206040518083038186803b15801561091d57600080fd5b505afa158015610931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109559190612bba565b905080610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906133b1565b60405180910390fd5b6109a18484611ef4565b50505050565b6109c283838360405180602001604052806000815250611064565b505050565b6109d86109d2611af9565b82611bba565b610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e90613431565b60405180910390fd5b610a2081611f82565b50565b60007f0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401610a83919061310d565b60206040518083038186803b158015610a9b57600080fd5b505afa158015610aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad39190612bba565b905080610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906133b1565b60405180910390fd5b60011515610b2284612093565b151514610b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5b90613391565b60405180910390fd5b60007f0000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb01929050610ba4600b60008681526020019081526020016000206120dc565b6000610bc1600b60008781526020019081526020016000206120f2565b905060008273ffffffffffffffffffffffffffffffffffffffff1663959c45b77f000000000000000000000000000000000000000000000000000000000000000288856040518463ffffffff1660e01b8152600401610c229392919061348c565b60206040518083038186803b158015610c3a57600080fd5b505afa158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c729190612c5e565b9050610c7e8782612100565b50505050505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d27906132d1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da1906132b1565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f000000000000000000000000000000000000000000000000000000000000000381565b600a6020528060005260406000206000915090505481565b606060018054610e3c906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054610e68906136fe565b8015610eb55780601f10610e8a57610100808354040283529160200191610eb5565b820191906000526020600020905b815481529060010190602001808311610e9857829003601f168201915b5050505050905090565b610ec7611af9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90613251565b60405180910390fd5b8060076000610f42611af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fef611af9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110349190613174565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000281565b61107561106f611af9565b83611bba565b6110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab906133f1565b60405180910390fd5b6110c0848484846122ce565b50505050565b60007f0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401611126919061310d565b60206040518083038186803b15801561113e57600080fd5b505afa158015611152573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111769190612bba565b9050806111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906133b1565b60405180910390fd5b60005b848110156111e0576111cd8685610a23565b80806111d890613761565b9150506111bb565b505050505050565b60606111f382611a8d565b611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122990613371565b60405180910390fd5b600061123d8361232a565b90506112476124d7565b816040516020016112599291906130e9565b604051602081830303815290604052915050919050565b6009805461127d906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546112a9906136fe565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b505050505081565b606061130982611a8d565b611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f906131b1565b60405180910390fd5b60007f0000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb0192905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b81526004016113a89190613471565b60206040518083038186803b1580156113c057600080fd5b505afa1580156113d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f89190612c5e565b9050600360008281526020019081526020016000208054611418906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611444906136fe565b80156114915780601f1061146657610100808354040283529160200191611491565b820191906000526020600020905b81548152906001019060200180831161147457829003601f168201915b505050505092505050919050565b60007f0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b81526004016114ff919061310d565b60206040518083038186803b15801561151757600080fd5b505afa15801561152b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154f9190612bba565b905080611591576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611588906133b1565b60405180910390fd5b61159b8484612569565b50505050565b60606115ac82611a8d565b6115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290613451565b60405180910390fd5b60007f0000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb0192905060008173ffffffffffffffffffffffffffffffffffffffff1663a9d659c2856040518263ffffffff1660e01b815260040161164b9190613471565b60206040518083038186803b15801561166357600080fd5b505afa158015611677573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169b9190612c5e565b90506002600082815260200190815260200160002080546116bb906136fe565b80601f01602080910402602001604051908101604052809291908181526020018280546116e7906136fe565b80156117345780601f1061170957610100808354040283529160200191611734565b820191906000526020600020905b81548152906001019060200180831161171757829003601f168201915b505050505092505050919050565b600b6020528060005260406000206000915090508060000154905081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106905060008173ffffffffffffffffffffffffffffffffffffffff1663e37ce6fa336040518263ffffffff1660e01b8152600401611854919061310d565b60206040518083038186803b15801561186c57600080fd5b505afa158015611880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a49190612bba565b9050806118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd906133b1565b60405180910390fd5b6000600a6000868152602001908152602001600020541461193c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611933906131f1565b60405180910390fd5b61270f8310801561194e575060008314155b61198d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198490613411565b60405180910390fd5b82600a60008681526020019081526020016000208190555050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a865750611a8582612595565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b7483610c87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611bc582611a8d565b611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90613271565b60405180910390fd5b6000611c0f83610c87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c7e57508373ffffffffffffffffffffffffffffffffffffffff16611c66846106a8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c8f5750611c8e8185611760565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cb882610c87565b73ffffffffffffffffffffffffffffffffffffffff1614611d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0590613351565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7590613231565b60405180910390fd5b611d898383836125ff565b611d94600082611b01565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de49190613614565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3b919061358d565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600360008481526020019081526020016000208054611f14906136fe565b905014611f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4d906132f1565b60405180910390fd5b80600360008481526020019081526020016000209080519060200190611f7d9291906127be565b505050565b6000611f8d82610c87565b9050611f9b816000846125ff565b611fa6600083611b01565b6001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff69190613614565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a6000838152602001908152602001600020546120c4600b60008581526020019081526020016000206120f2565b106120d257600090506120d7565b600190505b919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216790613311565b60405180910390fd5b61217981611a8d565b156121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090613211565b60405180910390fd5b6121c5600083836125ff565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612215919061358d565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6122d9848484611c98565b6122e58484848461260f565b612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b906131d1565b60405180910390fd5b50505050565b60606000821415612372576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124d2565b600082905060005b600082146123a457808061238d90613761565b915050600a8261239d91906135e3565b915061237a565b60008167ffffffffffffffff8111156123e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124185781602001600182028036833780820191505090505b5090505b600085146124cb576001826124319190613614565b9150600a8561244091906137aa565b603061244c919061358d565b60f81b818381518110612488577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124c491906135e3565b945061241c565b8093505050505b919050565b6060600980546124e6906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054612512906136fe565b801561255f5780601f106125345761010080835404028352916020019161255f565b820191906000526020600020905b81548152906001019060200180831161254257829003601f168201915b5050505050905090565b806002600084815260200190815260200160002090805190602001906125909291906127be565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61260a8383836127a6565b505050565b60006126308473ffffffffffffffffffffffffffffffffffffffff166127ab565b15612799578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612659611af9565b8786866040518563ffffffff1660e01b815260040161267b9493929190613128565b602060405180830381600087803b15801561269557600080fd5b505af19250505080156126c657506040513d601f19601f820116820180604052508101906126c39190612c0c565b60015b612749573d80600081146126f6576040519150601f19603f3d011682016040523d82523d6000602084013e6126fb565b606091505b50600081511415612741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612738906131d1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061279e565b600190505b949350505050565b505050565b600080823b905060008111915050919050565b8280546127ca906136fe565b90600052602060002090601f0160209004810192826127ec5760008555612833565b82601f1061280557805160ff1916838001178555612833565b82800160010185558215612833579182015b82811115612832578251825591602001919060010190612817565b5b5090506128409190612844565b5090565b5b8082111561285d576000816000905550600101612845565b5090565b600061287461286f846134e8565b6134c3565b90508281526020810184848401111561288c57600080fd5b6128978482856136bc565b509392505050565b60006128b26128ad84613519565b6134c3565b9050828152602081018484840111156128ca57600080fd5b6128d58482856136bc565b509392505050565b6000813590506128ec81613eda565b92915050565b60008135905061290181613ef1565b92915050565b60008151905061291681613ef1565b92915050565b60008135905061292b81613f08565b92915050565b60008151905061294081613f08565b92915050565b600082601f83011261295757600080fd5b8135612967848260208601612861565b91505092915050565b600082601f83011261298157600080fd5b813561299184826020860161289f565b91505092915050565b6000813590506129a981613f1f565b92915050565b6000815190506129be81613f1f565b92915050565b6000602082840312156129d657600080fd5b60006129e4848285016128dd565b91505092915050565b60008060408385031215612a0057600080fd5b6000612a0e858286016128dd565b9250506020612a1f858286016128dd565b9150509250929050565b600080600060608486031215612a3e57600080fd5b6000612a4c868287016128dd565b9350506020612a5d868287016128dd565b9250506040612a6e8682870161299a565b9150509250925092565b60008060008060808587031215612a8e57600080fd5b6000612a9c878288016128dd565b9450506020612aad878288016128dd565b9350506040612abe8782880161299a565b925050606085013567ffffffffffffffff811115612adb57600080fd5b612ae787828801612946565b91505092959194509250565b60008060408385031215612b0657600080fd5b6000612b14858286016128dd565b9250506020612b25858286016128f2565b9150509250929050565b60008060408385031215612b4257600080fd5b6000612b50858286016128dd565b9250506020612b618582860161299a565b9150509250929050565b600080600060608486031215612b8057600080fd5b6000612b8e868287016128dd565b9350506020612b9f8682870161299a565b9250506040612bb08682870161299a565b9150509250925092565b600060208284031215612bcc57600080fd5b6000612bda84828501612907565b91505092915050565b600060208284031215612bf557600080fd5b6000612c038482850161291c565b91505092915050565b600060208284031215612c1e57600080fd5b6000612c2c84828501612931565b91505092915050565b600060208284031215612c4757600080fd5b6000612c558482850161299a565b91505092915050565b600060208284031215612c7057600080fd5b6000612c7e848285016129af565b91505092915050565b60008060408385031215612c9a57600080fd5b6000612ca88582860161299a565b925050602083013567ffffffffffffffff811115612cc557600080fd5b612cd185828601612970565b9150509250929050565b60008060408385031215612cee57600080fd5b6000612cfc8582860161299a565b9250506020612d0d8582860161299a565b9150509250929050565b612d2081613648565b82525050565b612d2f8161365a565b82525050565b6000612d408261354a565b612d4a8185613560565b9350612d5a8185602086016136cb565b612d6381613897565b840191505092915050565b6000612d7982613555565b612d838185613571565b9350612d938185602086016136cb565b612d9c81613897565b840191505092915050565b6000612db282613555565b612dbc8185613582565b9350612dcc8185602086016136cb565b80840191505092915050565b6000612de5603583613571565b9150612df0826138a8565b604082019050919050565b6000612e08603283613571565b9150612e13826138f7565b604082019050919050565b6000612e2b603f83613571565b9150612e3682613946565b604082019050919050565b6000612e4e601c83613571565b9150612e5982613995565b602082019050919050565b6000612e71602483613571565b9150612e7c826139be565b604082019050919050565b6000612e94601983613571565b9150612e9f82613a0d565b602082019050919050565b6000612eb7602c83613571565b9150612ec282613a36565b604082019050919050565b6000612eda603883613571565b9150612ee582613a85565b604082019050919050565b6000612efd602a83613571565b9150612f0882613ad4565b604082019050919050565b6000612f20602983613571565b9150612f2b82613b23565b604082019050919050565b6000612f43602583613571565b9150612f4e82613b72565b604082019050919050565b6000612f66602083613571565b9150612f7182613bc1565b602082019050919050565b6000612f89602c83613571565b9150612f9482613bea565b604082019050919050565b6000612fac602983613571565b9150612fb782613c39565b604082019050919050565b6000612fcf602f83613571565b9150612fda82613c88565b604082019050919050565b6000612ff2602583613571565b9150612ffd82613cd7565b604082019050919050565b6000613015601f83613571565b915061302082613d26565b602082019050919050565b6000613038602183613571565b915061304382613d4f565b604082019050919050565b600061305b603183613571565b915061306682613d9e565b604082019050919050565b600061307e602683613571565b915061308982613ded565b604082019050919050565b60006130a1603083613571565b91506130ac82613e3c565b604082019050919050565b60006130c4603083613571565b91506130cf82613e8b565b604082019050919050565b6130e3816136b2565b82525050565b60006130f58285612da7565b91506131018284612da7565b91508190509392505050565b60006020820190506131226000830184612d17565b92915050565b600060808201905061313d6000830187612d17565b61314a6020830186612d17565b61315760408301856130da565b81810360608301526131698184612d35565b905095945050505050565b60006020820190506131896000830184612d26565b92915050565b600060208201905081810360008301526131a98184612d6e565b905092915050565b600060208201905081810360008301526131ca81612dd8565b9050919050565b600060208201905081810360008301526131ea81612dfb565b9050919050565b6000602082019050818103600083015261320a81612e1e565b9050919050565b6000602082019050818103600083015261322a81612e41565b9050919050565b6000602082019050818103600083015261324a81612e64565b9050919050565b6000602082019050818103600083015261326a81612e87565b9050919050565b6000602082019050818103600083015261328a81612eaa565b9050919050565b600060208201905081810360008301526132aa81612ecd565b9050919050565b600060208201905081810360008301526132ca81612ef0565b9050919050565b600060208201905081810360008301526132ea81612f13565b9050919050565b6000602082019050818103600083015261330a81612f36565b9050919050565b6000602082019050818103600083015261332a81612f59565b9050919050565b6000602082019050818103600083015261334a81612f7c565b9050919050565b6000602082019050818103600083015261336a81612f9f565b9050919050565b6000602082019050818103600083015261338a81612fc2565b9050919050565b600060208201905081810360008301526133aa81612fe5565b9050919050565b600060208201905081810360008301526133ca81613008565b9050919050565b600060208201905081810360008301526133ea8161302b565b9050919050565b6000602082019050818103600083015261340a8161304e565b9050919050565b6000602082019050818103600083015261342a81613071565b9050919050565b6000602082019050818103600083015261344a81613094565b9050919050565b6000602082019050818103600083015261346a816130b7565b9050919050565b600060208201905061348660008301846130da565b92915050565b60006060820190506134a160008301866130da565b6134ae60208301856130da565b6134bb60408301846130da565b949350505050565b60006134cd6134de565b90506134d98282613730565b919050565b6000604051905090565b600067ffffffffffffffff82111561350357613502613868565b5b61350c82613897565b9050602081019050919050565b600067ffffffffffffffff82111561353457613533613868565b5b61353d82613897565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613598826136b2565b91506135a3836136b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135d8576135d76137db565b5b828201905092915050565b60006135ee826136b2565b91506135f9836136b2565b9250826136095761360861380a565b5b828204905092915050565b600061361f826136b2565b915061362a836136b2565b92508282101561363d5761363c6137db565b5b828203905092915050565b600061365382613692565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156136e95780820151818401526020810190506136ce565b838111156136f8576000848401525b50505050565b6000600282049050600182168061371657607f821691505b6020821081141561372a57613729613839565b5b50919050565b61373982613897565b810181811067ffffffffffffffff8211171561375857613757613868565b5b80604052505050565b600061376c826136b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561379f5761379e6137db565b5b600182019050919050565b60006137b5826136b2565b91506137c0836136b2565b9250826137d0576137cf61380a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732314d657461646174613a204950465320686173682071756572792060008201527f666f72206e6f6e6578697374656e7420746f6b656e0000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a205065726d69747465642060008201527f6e756d62657220616c72656164792073657420666f722074686973204e465400602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2049504653206861736820616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a204e6966747920736f6c6460008201527f206f757421000000000000000000000000000000000000000000000000000000602082015250565b7f4e69667479456e746974793a20496e76616c6964206d73672e73656e64657200600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e696674794275696c646572496e7374616e63653a20496c6c6567616c20617260008201527f67756d656e740000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a204e616d6520717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b613ee381613648565b8114613eee57600080fd5b50565b613efa8161365a565b8114613f0557600080fd5b50565b613f1181613666565b8114613f1c57600080fd5b50565b613f28816136b2565b8114613f3357600080fd5b5056fea2646970667358221220e430aa778a3d1355b721cb91d2a04b4740b58a14d236c44e28863e650b8d446e64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb01920000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106000000000000000000000000000000000000000000000000000000000000002f4d4554412d4d4f5250484f534553204f70656e2045646974696f6e73206279204d69737320416c2053696d70736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000284d4554414d4f5250484f5345534f50454e45444954494f4e5342594d495353414c53494d50534f4e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e6e69667479676174657761792e636f6d2f6d61736d6574616f70656e2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4d69737320414c2053696d70736f6e0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): META-MORPHOSES Open Editions by Miss Al Simpson
Arg [1] : symbol (string): METAMORPHOSESOPENEDITIONSBYMISSALSIMPSON
Arg [2] : _id (uint256): 2
Arg [3] : _countType (uint256): 3
Arg [4] : base_uri (string): https://api.niftygateway.com/masmetaopen/
Arg [5] : _creator (string): Miss AL Simpson
Arg [6] : masterBuilderContract (address): 0x6EFB06cF568253a53C7511BD3c31AB28BecB0192
Arg [7] : niftyRegistryContract (address): 0x6e53130dDfF21E3BC963Ee902005223b9A202106
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [6] : 0000000000000000000000006efb06cf568253a53c7511bd3c31ab28becb0192
Arg [7] : 0000000000000000000000006e53130ddff21e3bc963ee902005223b9a202106
Arg [8] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [9] : 4d4554412d4d4f5250484f534553204f70656e2045646974696f6e7320627920
Arg [10] : 4d69737320416c2053696d70736f6e0000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [12] : 4d4554414d4f5250484f5345534f50454e45444954494f4e5342594d49535341
Arg [13] : 4c53494d50534f4e000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [15] : 68747470733a2f2f6170692e6e69667479676174657761792e636f6d2f6d6173
Arg [16] : 6d6574616f70656e2f0000000000000000000000000000000000000000000000
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [18] : 4d69737320414c2053696d70736f6e0000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.