Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
nftmint2
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BSL pragma solidity ^0.8.17; /** /// [BSL License] /// @title CryptoMarry NFT Certificate Factory /// @notice This ERC721 contract mints NFT certificates. /// @author Ismailov Altynbek <[email protected]> */ import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; /*A struct that has NFT certificate attributes*/ struct CertificateAttributes { address proposer; //Address of the proposer address proposed; //Address of the proposed string Status; //Marriage status - Established, Terminated. uint8 hasensWaver; //If a proposer has opted in to show ENS within the Certificate uint8 hasensProposed; //If a proposed has opted in to show ENS within the Certificate uint256 stake; //Current balance of the proxy contract uint256 id; //ID of the marriage uint256 blockNumber; //BlockNumber when the NFT was created uint256 heartPatternsID; //ID of NFT element uint256 certBackgroundID; //ID of NFT element uint256 additionalGraphicsID; //ID of NFT element } error CONTRACT_NOT_AUTHORIZED(address contractAddress); /*A separate contract for getting NFT URI*/ abstract contract NftviewC { function getURI(CertificateAttributes memory) public view virtual returns (string memory); } contract nftmint2 is ERC721 { using Counters for Counters.Counter; //counting NFT IDs address public owner; //owner of the contract address internal mainAddress; //Address of the main contract address internal nftViewAddress; //Address of the contract for viewing NFTs Counters.Counter private _tokenIds; //Tracking NFT ids mapping(uint256 => CertificateAttributes) internal nftHolderAttributes; //Storage of NFT attributes mapping(address => uint256) public nftHolder; //Storage of NFT holders mapping(uint256 => mapping(uint256 => mapping(uint256 => uint256))) public nftLeft; //tracks a cap for a particular type of NFT certificate /*A contract address for viewing URI should be passed to this contract*/ constructor(address _nftViewAddress) ERC721("CryptoMarry", "LOVE") { _tokenIds.increment(); owner = msg.sender; nftViewAddress = _nftViewAddress; nftLeft[0][0][0] = 1e6; nftLeft[101][0][0] = 1e3; nftLeft[101][1001][0] = 1e2; } /** * @notice Changing the owner of this contract * @param _addAddresses an Address to which the owner is being changed. */ function changeOwner(address _addAddresses) external { owner = _addAddresses; } /** * @notice A Sales Cap for NFT types. A combination of IDs create a unique NFT type * @param logoID the ID of logo to be minted. * @param backgroundID the ID of Background to be minted. * @param mainID the ID of other details to be minted. * @param cap uint cap for a set of IDs. */ function addNftCap( uint256 logoID, uint256 backgroundID, uint256 mainID, uint256 cap ) external { if (owner != msg.sender) {revert CONTRACT_NOT_AUTHORIZED(msg.sender);} nftLeft[logoID][backgroundID][mainID] = cap; } /** * @notice Changing the main address; * @param _mainAddress an Address of the main contract that mints NFTs */ function changeMainAddress(address _mainAddress) external { if (owner != msg.sender) {revert CONTRACT_NOT_AUTHORIZED(msg.sender);} mainAddress = _mainAddress; } /** * @notice NFT certificates are minted through this function. * @dev Two nfts are minted for eah partner. * @param _proposer Address of the proposer * @param _hasensWaver If a proposer has opted in to show ENS within the Certificate * @param _proposed Address of the proposed * @param _hasensProposed If a proposed has opted in to show ENS within the Certificate. * @param _marriageContract Marriage Contract Address to where the NFT will be minted. * @param _heartPatternsID ID of NFT element * @param _certBackgroundID ID of NFT element * @param _additionalGraphicsID ID of NFT element */ function mintCertificate( address _proposer, uint8 _hasensWaver, address _proposed, uint8 _hasensProposed, address _marriageContract, uint256 _id, uint256 _heartPatternsID, uint256 _certBackgroundID, uint256 _additionalGraphicsID ) external { if (mainAddress != msg.sender) {revert CONTRACT_NOT_AUTHORIZED(msg.sender);} uint256 newItemId = _tokenIds.current(); nftLeft[_heartPatternsID][_certBackgroundID][_additionalGraphicsID] -= 1; _safeMint(_marriageContract, newItemId); nftHolderAttributes[newItemId] = CertificateAttributes({ proposer: _proposer, proposed: _proposed, Status: "Established", hasensWaver: _hasensWaver, hasensProposed: _hasensProposed, stake: _marriageContract.balance, id: _id, blockNumber: block.number, heartPatternsID: _heartPatternsID, certBackgroundID: _certBackgroundID, additionalGraphicsID: _additionalGraphicsID }); nftHolder[_marriageContract] = newItemId; _tokenIds.increment(); } /** * @notice If partners divorce, this function will change the status of the NFT. * @dev Both NFTs change status. Main contract can call this function. * @param _marriageContract Address of the contract * @param _status Status of the marriage */ function changeStatus( address _marriageContract, bool _status ) external { if (mainAddress != msg.sender) {revert CONTRACT_NOT_AUTHORIZED(msg.sender);} uint256 nftTokenId = nftHolder[_marriageContract]; CertificateAttributes storage certificate = nftHolderAttributes[ nftTokenId ]; if (_status == false) { certificate.Status = "Terminated"; } } /** * @notice This function returns string token URI * @dev URI string is generated by a separate contract with given attributes. * @param _tokenId The ID of the NFT. */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { CertificateAttributes memory charAttributes = nftHolderAttributes[ _tokenId ]; NftviewC _nftview = NftviewC(nftViewAddress); string memory output = _nftview.getURI(charAttributes); return output; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. 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; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 100, "details": { "yul": false } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_nftViewAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"CONTRACT_NOT_AUTHORIZED","type":"error"},{"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":[{"internalType":"uint256","name":"logoID","type":"uint256"},{"internalType":"uint256","name":"backgroundID","type":"uint256"},{"internalType":"uint256","name":"mainID","type":"uint256"},{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"addNftCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_mainAddress","type":"address"}],"name":"changeMainAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addAddresses","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marriageContract","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"changeStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_proposer","type":"address"},{"internalType":"uint8","name":"_hasensWaver","type":"uint8"},{"internalType":"address","name":"_proposed","type":"address"},{"internalType":"uint8","name":"_hasensProposed","type":"uint8"},{"internalType":"address","name":"_marriageContract","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_heartPatternsID","type":"uint256"},{"internalType":"uint256","name":"_certBackgroundID","type":"uint256"},{"internalType":"uint256","name":"_additionalGraphicsID","type":"uint256"}],"name":"mintCertificate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftHolder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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
60806040523480156200001157600080fd5b5060405162002239380380620022398339810160408190526200003491620001bd565b6040518060400160405280600b81526020016a43727970746f4d6172727960a81b815250604051806040016040528060048152602001634c4f564560e01b8152508160009081620000869190620002fd565b506001620000958282620002fd565b505050620000af60096200017a60201b62000b531760201c565b60068054336001600160a01b031991821617909155600880549091166001600160a01b0392909216919091179055620f42407f6916144cd0d0e819e730eaf75206e883ffb7e5375c82988bfd04822a1db999aa556103e87ffbe22206d3b53b4b6e32bd6d387ec480ab480bfd57604b712e371bc7c6f361a655600080527f3317ef9da11da0caa15b555f88c250a014715b42fc3941b87864735fcc7bc16160205260647f333be3af399753493c8eda7d85112eeaac9c35ae82a4012759437c8d3d7efaf255620003cd565b80546001019055565b60006001600160a01b0382165b92915050565b620001a18162000183565b8114620001ad57600080fd5b50565b8051620001908162000196565b600060208284031215620001d457620001d4600080fd5b6000620001e28484620001b0565b949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200022b57607f821691505b60208210810362000240576200024062000200565b50919050565b600062000190620002548381565b90565b620002628362000246565b81546008840282811b60001990911b908116901990911617825550505050565b60006200029181848462000257565b505050565b81811015620002b557620002ac60008262000282565b60010162000296565b5050565b601f82111562000291576000818152602090206020601f85010481016020851015620002e25750805b620002f66020601f86010483018262000296565b5050505050565b81516001600160401b03811115620003195762000319620001ea565b62000325825462000216565b62000332828285620002b9565b6020601f831160018114620003695760008415620003505750858201515b600019600886021c1981166002860217865550620003c5565b600085815260208120601f198616915b828110156200039b578885015182556020948501946001909201910162000379565b86831015620003b85784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b611e5c80620003dd6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b88d4fde1161007c578063b88d4fde146102bd578063be92e995146102d0578063c14c7978146102e3578063c87b56dd146102f6578063e985e9c514610309578063ea3b4d1a1461031c57600080fd5b806370a082311461024c5780638da5cb5b1461025f57806395d89b4114610272578063a22cb4651461027a578063a6f9dae11461028d57600080fd5b806323b872dd116100ff57806323b872dd146101c257806332608777146101d557806342842e0e146102135780635d521221146102265780636352211e1461023957600080fd5b806301ffc9a71461013c578063037777341461016557806306fdde031461017a578063081812fc1461018f578063095ea7b3146101af575b600080fd5b61014f61014a3660046110a9565b61033c565b60405161015c91906110d4565b60405180910390f35b610178610173366004611107565b61038e565b005b6101826103e6565b60405161015c919061118a565b6101a261019d3660046111b3565b610478565b60405161015c91906111dd565b6101786101bd3660046111eb565b6104bb565b6101786101d0366004611228565b610540565b6102066101e3366004611278565b600c60209081526000938452604080852082529284528284209052825290205481565b60405161015c91906112b3565b610178610221366004611228565b610571565b6101786102343660046112c1565b61058c565b6101a26102473660046111b3565b6105df565b61020661025a366004611107565b610614565b6006546101a2906001600160a01b031681565b610182610658565b610178610288366004611338565b610667565b61017861029b366004611107565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6101786102cb366004611468565b610676565b6101786102de366004611338565b6106ae565b6101786102f13660046114ef565b610743565b6101826103043660046111b3565b610972565b61014f6103173660046115b6565b610b25565b61020661032a366004611107565b600b6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b148061036d57506001600160e01b03198216635b5e139f60e01b145b8061038857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146103c45733604051637b7d071760e11b81526004016103bb91906111dd565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080546103f5906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610421906115ff565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600061048382610b5c565b61049f5760405162461bcd60e51b81526004016103bb90611677565b506000908152600460205260409020546001600160a01b031690565b60006104c6826105df565b9050806001600160a01b0316836001600160a01b0316036104f95760405162461bcd60e51b81526004016103bb906116c5565b336001600160a01b038216148061051557506105158133610b25565b6105315760405162461bcd60e51b81526004016103bb9061172a565b61053b8383610b79565b505050565b61054a3382610be7565b6105665760405162461bcd60e51b81526004016103bb90611788565b61053b838383610c6c565b61053b83838360405180602001604052806000815250610676565b6006546001600160a01b031633146105b95733604051637b7d071760e11b81526004016103bb91906111dd565b6000938452600c6020908152604080862094865293815283852092855291909152912055565b6000818152600260205260408120546001600160a01b0316806103885760405162461bcd60e51b81526004016103bb906117de565b60006001600160a01b03821661063c5760405162461bcd60e51b81526004016103bb90611835565b506001600160a01b031660009081526003602052604090205490565b6060600180546103f5906115ff565b610672338383610d8e565b5050565b6106803383610be7565b61069c5760405162461bcd60e51b81526004016103bb90611788565b6106a884848484610e30565b50505050565b6007546001600160a01b031633146106db5733604051637b7d071760e11b81526004016103bb91906111dd565b6001600160a01b0382166000908152600b6020908152604080832054808452600a9092528220909183151590036106a85760408051808201909152600a81526915195c9b5a5b985d195960b21b6020820152600282019061073c908261190a565b5050505050565b6007546001600160a01b031633146107705733604051637b7d071760e11b81526004016103bb91906111dd565b600061077b60095490565b6000858152600c602090815260408083208784528252808320868452909152812080549293506001929091906107b29084906119df565b909155506107c290508682610e63565b6040518061016001604052808b6001600160a01b03168152602001896001600160a01b031681526020016040518060400160405280600b81526020016a115cdd18589b1a5cda195960aa1b81525081526020018a60ff1681526020018860ff168152602001876001600160a01b031631815260200186815260200143815260200185815260200184815260200183815250600a600083815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020190816108d5919061190a565b506060820151600382018054608085015160ff90811661010090810261ffff19909316919094161717905560a0830151600483015560c0830151600583015560e0830151600683015582015160078201556101208201516008820155610140909101516009918201556001600160a01b0387166000908152600b602052604090208290556109669080546001019055565b50505050505050505050565b6000818152600a6020908152604080832081516101608101835281546001600160a01b039081168252600183015416938101939093526002810180546060959493840191906109c0906115ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109ec906115ff565b8015610a395780601f10610a0e57610100808354040283529160200191610a39565b820191906000526020600020905b815481529060010190602001808311610a1c57829003601f168201915b5050509183525050600382015460ff80821660208401526101009182900416604080840191909152600480850154606085015260058501546080850152600685015460a0850152600785015460c085015260088086015460e0860152600990950154929093019190915291549151630fda06fb60e21b81529293506001600160a01b03909116916000918391633f681bec91610ad791879101611adb565b600060405180830381865afa158015610af4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1c9190810190611b44565b95945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b80546001019055565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bae826105df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610bf282610b5c565b610c0e5760405162461bcd60e51b81526004016103bb90611bc8565b6000610c19836105df565b9050806001600160a01b0316846001600160a01b03161480610c545750836001600160a01b0316610c4984610478565b6001600160a01b0316145b80610c645750610c648185610b25565b949350505050565b826001600160a01b0316610c7f826105df565b6001600160a01b031614610ca55760405162461bcd60e51b81526004016103bb90611c1a565b6001600160a01b038216610ccb5760405162461bcd60e51b81526004016103bb90611c6b565b610cd6600082610b79565b6001600160a01b0383166000908152600360205260408120805460019290610cff9084906119df565b90915550506001600160a01b0382166000908152600360205260408120805460019290610d2d908490611c7b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610dbf5760405162461bcd60e51b81526004016103bb90611cc1565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610e239085906110d4565b60405180910390a3505050565b610e3b848484610c6c565b610e4784848484610e7d565b6106a85760405162461bcd60e51b81526004016103bb90611d20565b610672828260405180602001604052806000815250610f7e565b60006001600160a01b0384163b15610f7357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610ec1903390899088908890600401611d30565b6020604051808303816000875af1925050508015610efc575060408051601f3d908101601f19168201909252610ef991810190611d7f565b60015b610f59573d808015610f2a576040519150601f19603f3d011682016040523d82523d6000602084013e610f2f565b606091505b508051600003610f515760405162461bcd60e51b81526004016103bb90611d20565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c64565b506001949350505050565b610f888383610fb1565b610f956000848484610e7d565b61053b5760405162461bcd60e51b81526004016103bb90611d20565b6001600160a01b038216610fd75760405162461bcd60e51b81526004016103bb90611dd2565b610fe081610b5c565b15610ffd5760405162461bcd60e51b81526004016103bb90611e16565b6001600160a01b0382166000908152600360205260408120805460019290611026908490611c7b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b811461109b57600080fd5b50565b803561038881611084565b6000602082840312156110be576110be600080fd5b6000610c64848461109e565b8015155b82525050565b6020810161038882846110ca565b60006001600160a01b038216610388565b611090816110e2565b8035610388816110f3565b60006020828403121561111c5761111c600080fd5b6000610c6484846110fc565b60005b8381101561114357818101518382015260200161112b565b50506000910152565b601f01601f191690565b6000611160825190565b808452602084019350611177818560208601611128565b6111808161114c565b9093019392505050565b6020808252810161119b8184611156565b9392505050565b80611090565b8035610388816111a2565b6000602082840312156111c8576111c8600080fd5b6000610c6484846111a8565b6110ce816110e2565b6020810161038882846111d4565b6000806040838503121561120157611201600080fd5b600061120d85856110fc565b925050602061121e858286016111a8565b9150509250929050565b60008060006060848603121561124057611240600080fd5b600061124c86866110fc565b935050602061125d868287016110fc565b925050604061126e868287016111a8565b9150509250925092565b60008060006060848603121561129057611290600080fd5b600061129c86866111a8565b935050602061125d868287016111a8565b806110ce565b6020810161038882846112ad565b600080600080608085870312156112da576112da600080fd5b60006112e687876111a8565b94505060206112f7878288016111a8565b9350506040611308878288016111a8565b9250506060611319878288016111a8565b91505092959194509250565b801515611090565b803561038881611325565b6000806040838503121561134e5761134e600080fd5b600061135a85856110fc565b925050602061121e8582860161132d565b634e487b7160e01b600052604160045260246000fd5b61138a8261114c565b810181811067ffffffffffffffff821117156113a8576113a861136b565b6040525050565b60006113ba60405190565b90506113c68282611381565b919050565b600067ffffffffffffffff8211156113e5576113e561136b565b6113ee8261114c565b60200192915050565b82818337506000910152565b6000611416611411846113cb565b6113af565b90508281526020810184848401111561143157611431600080fd5b61143c8482856113f7565b509392505050565b600082601f83011261145857611458600080fd5b8135610c64848260208601611403565b6000806000806080858703121561148157611481600080fd5b600061148d87876110fc565b945050602061149e878288016110fc565b93505060406114af878288016111a8565b925050606085013567ffffffffffffffff8111156114cf576114cf600080fd5b61131987828801611444565b60ff8116611090565b8035610388816114db565b60008060008060008060008060006101208a8c03121561151157611511600080fd5b600061151d8c8c6110fc565b995050602061152e8c828d016114e4565b985050604061153f8c828d016110fc565b97505060606115508c828d016114e4565b96505060806115618c828d016110fc565b95505060a06115728c828d016111a8565b94505060c06115838c828d016111a8565b93505060e06115948c828d016111a8565b9250506101006115a68c828d016111a8565b9150509295985092959850929598565b600080604083850312156115cc576115cc600080fd5b60006115d885856110fc565b925050602061121e858286016110fc565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061161357607f821691505b602082108103611625576116256115e9565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016103888161162b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150611670565b6020808252810161038881611687565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f778152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60208201529150611670565b60208082528101610388816116d5565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150611670565b602080825281016103888161173a565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150611670565b6020808252810161038881611798565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150611670565b60208082528101610388816117ee565b60006103886118518381565b90565b61185d83611845565b81546008840282811b60001990911b908116901990911617825550505050565b600061053b818484611854565b818110156106725761189d60008261187d565b60010161188a565b601f82111561053b576000818152602090206020601f850104810160208510156118cc5750805b61073c6020601f86010483018261188a565b6000196008929092029190911c191690565b60006118fc83836118de565b600290930290921792915050565b815167ffffffffffffffff8111156119245761192461136b565b61192e82546115ff565b6119398282856118a5565b6020601f83116001811461196757600084156119555750858201515b61195f85826118f0565b8655506119c1565b600085815260208120601f198616915b828110156119975788850151825560209485019460019092019101611977565b868310156119b457848901516119b0601f8916826118de565b8355505b6001600288020188555050505b505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610388576103886119c9565b60ff81166110ce565b8051600090610160840190611a1085826111d4565b506020830151611a2360208601826111d4565b5060408301518482036040860152611a3b8282611156565b9150506060830151611a5060608601826119f2565b506080830151611a6360808601826119f2565b5060a0830151611a7660a08601826112ad565b5060c0830151611a8960c08601826112ad565b5060e0830151611a9c60e08601826112ad565b50610100830151611ab16101008601826112ad565b50610120830151611ac66101208601826112ad565b5061014083015161143c6101408601826112ad565b6020808252810161119b81846119fb565b6000611afa611411846113cb565b905082815260208101848484011115611b1557611b15600080fd5b61143c848285611128565b600082601f830112611b3457611b34600080fd5b8151610c64848260208601611aec565b600060208284031215611b5957611b59600080fd5b815167ffffffffffffffff811115611b7357611b73600080fd5b610c6484828501611b20565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611670565b6020808252810161038881611b7f565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150611670565b6020808252810161038881611bd8565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611670565b6020808252810161038881611c2a565b80820180821115610388576103886119c9565b601981526000602082017822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b815291505b5060200190565b6020808252810161038881611c8e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611670565b6020808252810161038881611cd1565b60808101611d3e82876111d4565b611d4b60208301866111d4565b611d5860408301856112ad565b8181036060830152611d6a8184611156565b9695505050505050565b805161038881611084565b600060208284031215611d9457611d94600080fd5b6000610c648484611d74565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611cba565b6020808252810161038881611da0565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150611cba565b6020808252810161038881611de256fea264697066735822122033e9b34ad10fc4a371ebbbe9633f8de4aec0d64ebfbb893005db1a4e900e03b664736f6c63430008110033000000000000000000000000b440d33067e6305192f4bf220c8f802790d5d46c
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b88d4fde1161007c578063b88d4fde146102bd578063be92e995146102d0578063c14c7978146102e3578063c87b56dd146102f6578063e985e9c514610309578063ea3b4d1a1461031c57600080fd5b806370a082311461024c5780638da5cb5b1461025f57806395d89b4114610272578063a22cb4651461027a578063a6f9dae11461028d57600080fd5b806323b872dd116100ff57806323b872dd146101c257806332608777146101d557806342842e0e146102135780635d521221146102265780636352211e1461023957600080fd5b806301ffc9a71461013c578063037777341461016557806306fdde031461017a578063081812fc1461018f578063095ea7b3146101af575b600080fd5b61014f61014a3660046110a9565b61033c565b60405161015c91906110d4565b60405180910390f35b610178610173366004611107565b61038e565b005b6101826103e6565b60405161015c919061118a565b6101a261019d3660046111b3565b610478565b60405161015c91906111dd565b6101786101bd3660046111eb565b6104bb565b6101786101d0366004611228565b610540565b6102066101e3366004611278565b600c60209081526000938452604080852082529284528284209052825290205481565b60405161015c91906112b3565b610178610221366004611228565b610571565b6101786102343660046112c1565b61058c565b6101a26102473660046111b3565b6105df565b61020661025a366004611107565b610614565b6006546101a2906001600160a01b031681565b610182610658565b610178610288366004611338565b610667565b61017861029b366004611107565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6101786102cb366004611468565b610676565b6101786102de366004611338565b6106ae565b6101786102f13660046114ef565b610743565b6101826103043660046111b3565b610972565b61014f6103173660046115b6565b610b25565b61020661032a366004611107565b600b6020526000908152604090205481565b60006001600160e01b031982166380ac58cd60e01b148061036d57506001600160e01b03198216635b5e139f60e01b145b8061038857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146103c45733604051637b7d071760e11b81526004016103bb91906111dd565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080546103f5906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610421906115ff565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600061048382610b5c565b61049f5760405162461bcd60e51b81526004016103bb90611677565b506000908152600460205260409020546001600160a01b031690565b60006104c6826105df565b9050806001600160a01b0316836001600160a01b0316036104f95760405162461bcd60e51b81526004016103bb906116c5565b336001600160a01b038216148061051557506105158133610b25565b6105315760405162461bcd60e51b81526004016103bb9061172a565b61053b8383610b79565b505050565b61054a3382610be7565b6105665760405162461bcd60e51b81526004016103bb90611788565b61053b838383610c6c565b61053b83838360405180602001604052806000815250610676565b6006546001600160a01b031633146105b95733604051637b7d071760e11b81526004016103bb91906111dd565b6000938452600c6020908152604080862094865293815283852092855291909152912055565b6000818152600260205260408120546001600160a01b0316806103885760405162461bcd60e51b81526004016103bb906117de565b60006001600160a01b03821661063c5760405162461bcd60e51b81526004016103bb90611835565b506001600160a01b031660009081526003602052604090205490565b6060600180546103f5906115ff565b610672338383610d8e565b5050565b6106803383610be7565b61069c5760405162461bcd60e51b81526004016103bb90611788565b6106a884848484610e30565b50505050565b6007546001600160a01b031633146106db5733604051637b7d071760e11b81526004016103bb91906111dd565b6001600160a01b0382166000908152600b6020908152604080832054808452600a9092528220909183151590036106a85760408051808201909152600a81526915195c9b5a5b985d195960b21b6020820152600282019061073c908261190a565b5050505050565b6007546001600160a01b031633146107705733604051637b7d071760e11b81526004016103bb91906111dd565b600061077b60095490565b6000858152600c602090815260408083208784528252808320868452909152812080549293506001929091906107b29084906119df565b909155506107c290508682610e63565b6040518061016001604052808b6001600160a01b03168152602001896001600160a01b031681526020016040518060400160405280600b81526020016a115cdd18589b1a5cda195960aa1b81525081526020018a60ff1681526020018860ff168152602001876001600160a01b031631815260200186815260200143815260200185815260200184815260200183815250600a600083815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020190816108d5919061190a565b506060820151600382018054608085015160ff90811661010090810261ffff19909316919094161717905560a0830151600483015560c0830151600583015560e0830151600683015582015160078201556101208201516008820155610140909101516009918201556001600160a01b0387166000908152600b602052604090208290556109669080546001019055565b50505050505050505050565b6000818152600a6020908152604080832081516101608101835281546001600160a01b039081168252600183015416938101939093526002810180546060959493840191906109c0906115ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109ec906115ff565b8015610a395780601f10610a0e57610100808354040283529160200191610a39565b820191906000526020600020905b815481529060010190602001808311610a1c57829003601f168201915b5050509183525050600382015460ff80821660208401526101009182900416604080840191909152600480850154606085015260058501546080850152600685015460a0850152600785015460c085015260088086015460e0860152600990950154929093019190915291549151630fda06fb60e21b81529293506001600160a01b03909116916000918391633f681bec91610ad791879101611adb565b600060405180830381865afa158015610af4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1c9190810190611b44565b95945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b80546001019055565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bae826105df565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610bf282610b5c565b610c0e5760405162461bcd60e51b81526004016103bb90611bc8565b6000610c19836105df565b9050806001600160a01b0316846001600160a01b03161480610c545750836001600160a01b0316610c4984610478565b6001600160a01b0316145b80610c645750610c648185610b25565b949350505050565b826001600160a01b0316610c7f826105df565b6001600160a01b031614610ca55760405162461bcd60e51b81526004016103bb90611c1a565b6001600160a01b038216610ccb5760405162461bcd60e51b81526004016103bb90611c6b565b610cd6600082610b79565b6001600160a01b0383166000908152600360205260408120805460019290610cff9084906119df565b90915550506001600160a01b0382166000908152600360205260408120805460019290610d2d908490611c7b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610dbf5760405162461bcd60e51b81526004016103bb90611cc1565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610e239085906110d4565b60405180910390a3505050565b610e3b848484610c6c565b610e4784848484610e7d565b6106a85760405162461bcd60e51b81526004016103bb90611d20565b610672828260405180602001604052806000815250610f7e565b60006001600160a01b0384163b15610f7357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610ec1903390899088908890600401611d30565b6020604051808303816000875af1925050508015610efc575060408051601f3d908101601f19168201909252610ef991810190611d7f565b60015b610f59573d808015610f2a576040519150601f19603f3d011682016040523d82523d6000602084013e610f2f565b606091505b508051600003610f515760405162461bcd60e51b81526004016103bb90611d20565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c64565b506001949350505050565b610f888383610fb1565b610f956000848484610e7d565b61053b5760405162461bcd60e51b81526004016103bb90611d20565b6001600160a01b038216610fd75760405162461bcd60e51b81526004016103bb90611dd2565b610fe081610b5c565b15610ffd5760405162461bcd60e51b81526004016103bb90611e16565b6001600160a01b0382166000908152600360205260408120805460019290611026908490611c7b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b811461109b57600080fd5b50565b803561038881611084565b6000602082840312156110be576110be600080fd5b6000610c64848461109e565b8015155b82525050565b6020810161038882846110ca565b60006001600160a01b038216610388565b611090816110e2565b8035610388816110f3565b60006020828403121561111c5761111c600080fd5b6000610c6484846110fc565b60005b8381101561114357818101518382015260200161112b565b50506000910152565b601f01601f191690565b6000611160825190565b808452602084019350611177818560208601611128565b6111808161114c565b9093019392505050565b6020808252810161119b8184611156565b9392505050565b80611090565b8035610388816111a2565b6000602082840312156111c8576111c8600080fd5b6000610c6484846111a8565b6110ce816110e2565b6020810161038882846111d4565b6000806040838503121561120157611201600080fd5b600061120d85856110fc565b925050602061121e858286016111a8565b9150509250929050565b60008060006060848603121561124057611240600080fd5b600061124c86866110fc565b935050602061125d868287016110fc565b925050604061126e868287016111a8565b9150509250925092565b60008060006060848603121561129057611290600080fd5b600061129c86866111a8565b935050602061125d868287016111a8565b806110ce565b6020810161038882846112ad565b600080600080608085870312156112da576112da600080fd5b60006112e687876111a8565b94505060206112f7878288016111a8565b9350506040611308878288016111a8565b9250506060611319878288016111a8565b91505092959194509250565b801515611090565b803561038881611325565b6000806040838503121561134e5761134e600080fd5b600061135a85856110fc565b925050602061121e8582860161132d565b634e487b7160e01b600052604160045260246000fd5b61138a8261114c565b810181811067ffffffffffffffff821117156113a8576113a861136b565b6040525050565b60006113ba60405190565b90506113c68282611381565b919050565b600067ffffffffffffffff8211156113e5576113e561136b565b6113ee8261114c565b60200192915050565b82818337506000910152565b6000611416611411846113cb565b6113af565b90508281526020810184848401111561143157611431600080fd5b61143c8482856113f7565b509392505050565b600082601f83011261145857611458600080fd5b8135610c64848260208601611403565b6000806000806080858703121561148157611481600080fd5b600061148d87876110fc565b945050602061149e878288016110fc565b93505060406114af878288016111a8565b925050606085013567ffffffffffffffff8111156114cf576114cf600080fd5b61131987828801611444565b60ff8116611090565b8035610388816114db565b60008060008060008060008060006101208a8c03121561151157611511600080fd5b600061151d8c8c6110fc565b995050602061152e8c828d016114e4565b985050604061153f8c828d016110fc565b97505060606115508c828d016114e4565b96505060806115618c828d016110fc565b95505060a06115728c828d016111a8565b94505060c06115838c828d016111a8565b93505060e06115948c828d016111a8565b9250506101006115a68c828d016111a8565b9150509295985092959850929598565b600080604083850312156115cc576115cc600080fd5b60006115d885856110fc565b925050602061121e858286016110fc565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061161357607f821691505b602082108103611625576116256115e9565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b602080825281016103888161162b565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150611670565b6020808252810161038881611687565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f778152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60208201529150611670565b60208082528101610388816116d5565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150611670565b602080825281016103888161173a565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150611670565b6020808252810161038881611798565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150611670565b60208082528101610388816117ee565b60006103886118518381565b90565b61185d83611845565b81546008840282811b60001990911b908116901990911617825550505050565b600061053b818484611854565b818110156106725761189d60008261187d565b60010161188a565b601f82111561053b576000818152602090206020601f850104810160208510156118cc5750805b61073c6020601f86010483018261188a565b6000196008929092029190911c191690565b60006118fc83836118de565b600290930290921792915050565b815167ffffffffffffffff8111156119245761192461136b565b61192e82546115ff565b6119398282856118a5565b6020601f83116001811461196757600084156119555750858201515b61195f85826118f0565b8655506119c1565b600085815260208120601f198616915b828110156119975788850151825560209485019460019092019101611977565b868310156119b457848901516119b0601f8916826118de565b8355505b6001600288020188555050505b505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610388576103886119c9565b60ff81166110ce565b8051600090610160840190611a1085826111d4565b506020830151611a2360208601826111d4565b5060408301518482036040860152611a3b8282611156565b9150506060830151611a5060608601826119f2565b506080830151611a6360808601826119f2565b5060a0830151611a7660a08601826112ad565b5060c0830151611a8960c08601826112ad565b5060e0830151611a9c60e08601826112ad565b50610100830151611ab16101008601826112ad565b50610120830151611ac66101208601826112ad565b5061014083015161143c6101408601826112ad565b6020808252810161119b81846119fb565b6000611afa611411846113cb565b905082815260208101848484011115611b1557611b15600080fd5b61143c848285611128565b600082601f830112611b3457611b34600080fd5b8151610c64848260208601611aec565b600060208284031215611b5957611b59600080fd5b815167ffffffffffffffff811115611b7357611b73600080fd5b610c6484828501611b20565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611670565b6020808252810161038881611b7f565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150611670565b6020808252810161038881611bd8565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611670565b6020808252810161038881611c2a565b80820180821115610388576103886119c9565b601981526000602082017822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b815291505b5060200190565b6020808252810161038881611c8e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611670565b6020808252810161038881611cd1565b60808101611d3e82876111d4565b611d4b60208301866111d4565b611d5860408301856112ad565b8181036060830152611d6a8184611156565b9695505050505050565b805161038881611084565b600060208284031215611d9457611d94600080fd5b6000610c648484611d74565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611cba565b6020808252810161038881611da0565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150611cba565b6020808252810161038881611de256fea264697066735822122033e9b34ad10fc4a371ebbbe9633f8de4aec0d64ebfbb893005db1a4e900e03b664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b440d33067e6305192f4bf220c8f802790d5d46c
-----Decoded View---------------
Arg [0] : _nftViewAddress (address): 0xB440d33067e6305192F4bF220C8f802790D5d46c
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b440d33067e6305192f4bf220c8f802790d5d46c
Loading...
Loading
Loading...
Loading
OVERVIEW
CryptoMarry is a Web3 platform that rediscovers how marriage partners accumulate and manage their joint crypto assets. Register your Family Account on-chain, create your own family DAO and make collaborative financial decisions.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.