ERC-721
Overview
Max Total Supply
70 VIOLET
Holders
67
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 VIOLETLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Violet
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * * -------------- ----------------- * | ARTIST | | DEVELOPER | * -------------- ----------------- * jadynviolet.eth nicoacosta.eth * @jadynviolet @0xnico_ * jadynviolet.xyz linktr.ee/nicoacosta.eth * * * * ------------- * | INDEX | * ------------- line * * VIOLET Contract ...................................... 57 * * 1. State variables .............................. 59 * * 2. Constructor .................................. 104 * * 3. ERC721 extensions ............................ 133 * * 4. Minting ...................................... 152 * * A. Public minting ....................... 157 * * B. Minting from Glass Token ............. 263 * * B. Internal minting ..................... 396 * * 5. Metadata ..................................... 321 * * A. Contract URI ......................... 326 * * B. Token URI ............................ 342 * * 6. Withdrawal ................................... 363 * */ /** * @title Violet * @author Nicolás Acosta (nicoacosta.eth) @0xnico_ * linktr.ee/nicoacosta.eth * @notice Jadyn Violet Genesis Collection * NFT ERC721. * @dev Inherits from @openzeppelin/contracts `ERC721` and `Ownable` */ contract Violet is ERC721, Ownable { /// --------------------- /// 1. State variables /// --------------------- /// @notice Artist address address private constant ARTIST = 0x94A8F46E3e05d8aB61Fb22eDc2893bE249C11D66; // jadynviolet.eth /// @notice Developer address address private constant DEV = 0xab468Aec9bB4b9bc59b2B2A5ce7F0B299293991f; // nicoacosta.eth /// @notice Public minting start date /// @return mintingStartDate Public minting start date uint256 public constant MINTING_START_DATE = 1649178000; // Tue Apr 05 17:00:00 2022 UTC /// @notice Maximum amount of tokens that can be publicly minted /// @return maxPublicMintingSupply Maximum amount of tokens that can be publicly minted uint256 public maxPublicMintingSupply; /// @notice Amount of tokens publicly minted so far /// @return publicMintingTokensMinted Amount of tokens publicly minted so far uint256 public publicMintingTokensMinted = 0; /// @notice Public minting price per token. 50% OFF during the first 11 days uint256 private _mintingPrice = 0.08 ether; /// @notice Music video glass contract /// @dev Used to verify if someone has minted a video token when trying to mint their free Violet token /// @return glassVideo Music video glass contract IERC721 public glassVideo; /// @notice Wheter some video token has been already used to mint a Violet first edition token /// @return bool wheter some video token has been already used to mint a Violet first edition token mapping(uint256 => bool) public usedGlassVideoTokenForMinting; /// @notice Last minted token id uint256 private _lastId; /// @notice Collection metadata IPFS URI string private _collectionURI; /// @notice Addresses for ETH and tokens withdrawal address private immutable _withdrawalAddress1; address private immutable _withdrawalAddress2; /// ----------------- /// 2. Constructor /// ----------------- constructor( string memory contractURI_, address withdrawalAddress1_, address withdrawalAddress2_ ) ERC721("Violet", "VIOLET") { // Mint first edition tokens for artist and dev _safeMint(ARTIST, 1); _safeMint(DEV, 2); _safeMint(ARTIST, 3); _safeMint(ARTIST, 4); // Set last id to #4. First public minting call will mint #5 _lastId = 4; // Set initial maxPublicMintingSupply to 60 maxPublicMintingSupply = 60; // Set initial collection metadata setContractURI(contractURI_); // Set withdrawal addresses _withdrawalAddress1 = withdrawalAddress1_; _withdrawalAddress2 = withdrawalAddress2_; } /// ----------------------- /// 3. ERC721 extensions /// ----------------------- /// @notice Total amount of tokens minted so far /// @return totalSupply Total amount of tokens minted so far function totalSupply() external view returns (uint256) { return _lastId; } /// @notice Checks if token has been minted. /// @dev Returns ERC721's internal `_exists` /// @param tokenId Token id /// @return Bool: whether the token has been minted or not function exists(uint256 tokenId) external view returns (bool) { return _exists(tokenId); } /// ------------- /// ------------- /// 4. Minting /// ------------- /// ------------- /// ------------------------ /// 4.A. Public minting /// ------------------------ /// @notice Verifies if public minting has already started modifier mintingStarted() { require( block.timestamp >= MINTING_START_DATE, "VioletFirstEdition: Public minting has not started yet" ); _; } /// @notice Checks if public minting first period (11 days) is active /// @return bool wheter public minting first period is active function isFirstMintingPeriodActive() public view returns (bool) { return block.timestamp < MINTING_START_DATE + 11 days; } /// @notice Returns current minting price depending on timestamp /// @return mintingPrice Current minting price function mintingPrice() external view returns (uint256) { if (isFirstMintingPeriodActive()) return _mintingPrice / 2; return _mintingPrice; } /// @notice Update public minting price /// @param newPrice New minting price per token function updateMintingPrice(uint256 newPrice) external onlyOwner { _mintingPrice = newPrice; } /// @notice Update maximum public minting supply /// @param newSupply a parameter just like in doxygen (must be followed by parameter name) function updateMaxPublicMintingSupply(uint256 newSupply) external onlyOwner { maxPublicMintingSupply = newSupply; } /// @notice Amount of tokens that still can be publicly minted /// @return tokensLeftToMint Amount of tokens that still can be publicly minted function tokensLeftToMint() external view returns (uint256) { return maxPublicMintingSupply - publicMintingTokensMinted; } /// @notice Mint first edition Violet token. If first period (11 days) is active minting price is 0.04 ETH; otherwise minting price is 0.08 ETH and maximum amount of tokens cannot be exceeded. /// @param to Token recipient function mintViolet(address to) external payable mintingStarted { uint256 currentMintingPrice; if (isFirstMintingPeriodActive()) { currentMintingPrice = _mintingPrice / 2; } else { currentMintingPrice = _mintingPrice; require( publicMintingTokensMinted < maxPublicMintingSupply, "VioletFirstEdition: Maximum amount of tokens already minted" ); } require( msg.value == currentMintingPrice, "VioletFirstEdition: Invalid ETH amount" ); publicMintingTokensMinted++; // Mint Violet token _mintOneToken(to); } /// @notice Mint first edition Violet tokens. If first period (11 days) is active minting price is 0.04 ETH; otherwise minting price is 0.08 ETH and maximum amount of tokens cannot be exceeded. /// @param to Token recipient /// @param amount Amount of tokens to be minted function mintViolets(address to, uint256 amount) external payable mintingStarted { uint256 currentMintingPrice; if (isFirstMintingPeriodActive()) { currentMintingPrice = _mintingPrice / 2; } else { currentMintingPrice = _mintingPrice; require( publicMintingTokensMinted + amount <= maxPublicMintingSupply, "VioletFirstEdition: Cannot mint that amount of tokens" ); } require( msg.value == currentMintingPrice * amount, "VioletFirstEdition: Invalid ETH amount" ); publicMintingTokensMinted += amount; // Mint Violet tokens _mintSeveralTokens(to, amount); } /// ---------------------------------- /// 4.B. Minting from Glass Token /// ---------------------------------- /// @notice Set glass music video contract address /// @param _contract Glass music video contract address function setGlassVideoContract(address _contract) public onlyOwner { glassVideo = IERC721(_contract); } /// @notice Mint one first edition Violet token for free if caller has minted Violet's first music video. /// @param videoTokenOwner Music video token owner and Violet token recipient /// @param videoTokenId Music video token ID function mintVioletFromGlassVideo( address videoTokenOwner, uint256 videoTokenId ) external { require( videoTokenOwner == glassVideo.ownerOf(videoTokenId), "VioletFirstEdition: Caller is not video token owner" ); require( !usedGlassVideoTokenForMinting[videoTokenId], "VioletFirstEdition: Video token has been already used to mint a Violet token" ); // Save that this video token has been used to mint a Violet token. usedGlassVideoTokenForMinting[videoTokenId] = true; // Mint Violet token _mintOneToken(videoTokenOwner); } /// -------------------------- /// 4.C. Internal minting /// -------------------------- /// @notice Mint next token id /// @param _to Token recipient function _mintOneToken(address _to) internal { _lastId++; _safeMint(_to, _lastId); } /// @notice Mint next token ids /// @param _to Token recipient function _mintSeveralTokens(address _to, uint256 _amount) internal { uint256 id = _lastId; for (uint256 i = 1; i <= _amount; i++) { _safeMint(_to, id + i); } _lastId = id + _amount; } /// -------------- /// -------------- /// 5. Metadata /// -------------- /// -------------- /// ---------------------- /// 5.A. Contract URI /// ---------------------- /// @notice Collection metadata IPFS URI /// @return string Collection metadata IPFS URI function contractURI() external view returns (string memory) { return _collectionURI; } /// @notice Set/update collection metadata IPFS URI /// @param newURI a parameter just like in doxygen (must be followed by parameter name) function setContractURI(string memory newURI) public onlyOwner { _collectionURI = newURI; } /// ------------------- /// 5.B. Token URI /// ------------------- /// @notice Returns a token metadata IPFS URI /// @dev Calls token's edition contract to get its metadata /// @param tokenId Token id /// @return string Token metadata IPFS URI function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Violet: URI query for nonexistent token"); return "https://ipfs.io/ipfs/bafybeiehchwkoo5lkfckp2nts2zdudvywb4z4ge36cu2y2wsgnnn4wbkya"; } /// ---------------- /// ---------------- /// 6. Withdrawal /// ---------------- /// ---------------- /// @notice Enable contract to receive ETH receive() external payable {} /// @notice Verifies if caller is authorized to withdraw funds modifier onlyWithdrawalAddresses() { require( msg.sender == owner() || msg.sender == _withdrawalAddress1 || msg.sender == _withdrawalAddress2, "Splitter: Caller cannot withdraw funds" ); _; } /// @notice Amount to be transfered to _withdrawalAddress1 /// @param _totalBalance Total balance to be withdrawn /// @return uint256 Amount to be transfered to _withdrawalAddress1 function _withdrawalAmountForWithdrawalAddress1(uint256 _totalBalance) private pure returns (uint256) { return (_totalBalance * 15) / 100; } /// @notice Withdraw contract's ETH balance to withdrawal addresses function withdrawETH() external onlyWithdrawalAddresses { uint256 _balance = address(this).balance; require(_balance > 0, "Splitter: No ETH balance to transfer"); uint256 _amount1 = _withdrawalAmountForWithdrawalAddress1(_balance); payable(_withdrawalAddress1).transfer(_amount1); payable(_withdrawalAddress2).transfer(_balance - _amount1); } /// @notice Withdraw contract's ERC20 balance to withdrawal addresses function withdrawERC20(address erc20) external onlyWithdrawalAddresses { IERC20 token = IERC20(erc20); uint256 _balance = token.balanceOf(address(this)); require(_balance > 0, "Splitter: No token balance to transfer"); uint256 _amount1 = _withdrawalAmountForWithdrawalAddress1(_balance); token.transfer(_withdrawalAddress1, _amount1); token.transfer(_withdrawalAddress2, _balance - _amount1); } }
// 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 (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"address","name":"withdrawalAddress1_","type":"address"},{"internalType":"address","name":"withdrawalAddress2_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MINTING_START_DATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"glassVideo","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFirstMintingPeriodActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintViolet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"videoTokenOwner","type":"address"},{"internalType":"uint256","name":"videoTokenId","type":"uint256"}],"name":"mintVioletFromGlassVideo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintViolets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintingTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setGlassVideoContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensLeftToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"updateMaxPublicMintingSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"updateMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedGlassVideoTokenForMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"erc20","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600060085567011c37937e0800006009553480156200002257600080fd5b506040516200556438038062005564833981810160405281019062000048919062000b6c565b6040518060400160405280600681526020017f56696f6c657400000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f56494f4c455400000000000000000000000000000000000000000000000000008152508160009080519060200190620000cc929190620008ba565b508060019080519060200190620000e5929190620008ba565b50505062000108620000fc6200023660201b60201c565b6200023e60201b60201c565b6200012f7394a8f46e3e05d8ab61fb22edc2893be249c11d6660016200030460201b60201c565b6200015673ab468aec9bb4b9bc59b2b2a5ce7f0b299293991f60026200030460201b60201c565b6200017d7394a8f46e3e05d8ab61fb22edc2893be249c11d6660036200030460201b60201c565b620001a47394a8f46e3e05d8ab61fb22edc2893be249c11d6660046200030460201b60201c565b6004600c81905550603c600781905550620001c5836200032a60201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505050505062001043565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000326828260405180602001604052806000815250620003d560201b60201c565b5050565b6200033a6200023660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003606200044360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b09062000c48565b60405180910390fd5b80600d9080519060200190620003d1929190620008ba565b5050565b620003e783836200046d60201b60201c565b620003fc60008484846200066760201b60201c565b6200043e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004359062000ce0565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004d79062000d52565b60405180910390fd5b620004f1816200082160201b60201c565b1562000534576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052b9062000dc4565b60405180910390fd5b62000548600083836200088d60201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200059a919062000e1f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000663600083836200089260201b60201c565b5050565b6000620006958473ffffffffffffffffffffffffffffffffffffffff166200089760201b62001ea21760201c565b1562000814578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006c76200023660201b60201c565b8786866040518563ffffffff1660e01b8152600401620006eb949392919062000efb565b602060405180830381600087803b1580156200070657600080fd5b505af19250505080156200073a57506040513d601f19601f8201168201806040525081019062000737919062000fac565b60015b620007c3573d80600081146200076d576040519150601f19603f3d011682016040523d82523d6000602084013e62000772565b606091505b50600081511415620007bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007b29062000ce0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000819565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054620008c8906200100d565b90600052602060002090601f016020900481019282620008ec576000855562000938565b82601f106200090757805160ff191683800117855562000938565b8280016001018555821562000938579182015b82811115620009375782518255916020019190600101906200091a565b5b5090506200094791906200094b565b5090565b5b80821115620009665760008160009055506001016200094c565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620009d38262000988565b810181811067ffffffffffffffff82111715620009f557620009f462000999565b5b80604052505050565b600062000a0a6200096a565b905062000a188282620009c8565b919050565b600067ffffffffffffffff82111562000a3b5762000a3a62000999565b5b62000a468262000988565b9050602081019050919050565b60005b8381101562000a7357808201518184015260208101905062000a56565b8381111562000a83576000848401525b50505050565b600062000aa062000a9a8462000a1d565b620009fe565b90508281526020810184848401111562000abf5762000abe62000983565b5b62000acc84828562000a53565b509392505050565b600082601f83011262000aec5762000aeb6200097e565b5b815162000afe84826020860162000a89565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b348262000b07565b9050919050565b62000b468162000b27565b811462000b5257600080fd5b50565b60008151905062000b668162000b3b565b92915050565b60008060006060848603121562000b885762000b8762000974565b5b600084015167ffffffffffffffff81111562000ba95762000ba862000979565b5b62000bb78682870162000ad4565b935050602062000bca8682870162000b55565b925050604062000bdd8682870162000b55565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000c3060208362000be7565b915062000c3d8262000bf8565b602082019050919050565b6000602082019050818103600083015262000c638162000c21565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062000cc860328362000be7565b915062000cd58262000c6a565b604082019050919050565b6000602082019050818103600083015262000cfb8162000cb9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000d3a60208362000be7565b915062000d478262000d02565b602082019050919050565b6000602082019050818103600083015262000d6d8162000d2b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000dac601c8362000be7565b915062000db98262000d74565b602082019050919050565b6000602082019050818103600083015262000ddf8162000d9d565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e2c8262000de6565b915062000e398362000de6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e715762000e7062000df0565b5b828201905092915050565b62000e878162000b27565b82525050565b62000e988162000de6565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000ec78262000e9e565b62000ed3818562000ea9565b935062000ee581856020860162000a53565b62000ef08162000988565b840191505092915050565b600060808201905062000f12600083018762000e7c565b62000f21602083018662000e7c565b62000f30604083018562000e8d565b818103606083015262000f44818462000eba565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000f868162000f4f565b811462000f9257600080fd5b50565b60008151905062000fa68162000f7b565b92915050565b60006020828403121562000fc55762000fc462000974565b5b600062000fd58482850162000f95565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200102657607f821691505b602082108114156200103d576200103c62000fde565b5b50919050565b60805160a0516144d1620010936000396000818161172f0152818161187a01528181611ba00152611ddb0152600081816116d90152818161181301528181611b4a0152611d2d01526144d16000f3fe6080604052600436106102135760003560e01c806370a0823111610118578063b88d4fde116100a0578063e8a3d4851161006f578063e8a3d48514610778578063e985e9c5146107a3578063f2fde38b146107e0578063f4f3b20014610809578063fd5ce2d7146108325761021a565b8063b88d4fde146106d2578063c87b56dd146106fb578063d673f7ce14610738578063e086e5ec146107615761021a565b806393f72f7a116100e757806393f72f7a146105ff57806395d89b411461062a578063a22cb46514610655578063ab6f8a5b1461067e578063b4b08798146106a95761021a565b806370a0823114610557578063715018a6146105945780638da5cb5b146105ab578063938e3d7b146105d65761021a565b806323b872dd1161019b578063460131ea1161016a578063460131ea1461046d5780634cd7ffd3146104895780634f558e79146104b45780635788ff36146104f15780636352211e1461051a5761021a565b806323b872dd146103d457806335db70b5146103fd57806342842e0e1461042857806342a5f606146104515761021a565b8063095ea7b3116101e2578063095ea7b3146102ef57806318160ddd14610318578063194da4b8146103435780631aba630e1461036e5780631cd4ae49146103ab5761021a565b806301ffc9a71461021f578063028733e71461025c57806306fdde0314610287578063081812fc146102b25761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612bd1565b61085d565b6040516102539190612c19565b60405180910390f35b34801561026857600080fd5b5061027161093f565b60405161027e9190612c4d565b60405180910390f35b34801561029357600080fd5b5061029c610947565b6040516102a99190612d01565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612d4f565b6109d9565b6040516102e69190612dbd565b60405180910390f35b3480156102fb57600080fd5b5061031660048036038101906103119190612e04565b610a5e565b005b34801561032457600080fd5b5061032d610b76565b60405161033a9190612c4d565b60405180910390f35b34801561034f57600080fd5b50610358610b80565b6040516103659190612c4d565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612d4f565b610b97565b6040516103a29190612c19565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190612e44565b610bb7565b005b3480156103e057600080fd5b506103fb60048036038101906103f69190612e71565b610c77565b005b34801561040957600080fd5b50610412610cd7565b60405161041f9190612c4d565b60405180910390f35b34801561043457600080fd5b5061044f600480360381019061044a9190612e71565b610d05565b005b61046b60048036038101906104669190612e04565b610d25565b005b61048760048036038101906104829190612e44565b610e5e565b005b34801561049557600080fd5b5061049e610f7d565b6040516104ab9190612c19565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d69190612d4f565b610f99565b6040516104e89190612c19565b60405180910390f35b3480156104fd57600080fd5b5061051860048036038101906105139190612d4f565b610fab565b005b34801561052657600080fd5b50610541600480360381019061053c9190612d4f565b611031565b60405161054e9190612dbd565b60405180910390f35b34801561056357600080fd5b5061057e60048036038101906105799190612e44565b6110e3565b60405161058b9190612c4d565b60405180910390f35b3480156105a057600080fd5b506105a961119b565b005b3480156105b757600080fd5b506105c0611223565b6040516105cd9190612dbd565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f89190612ff9565b61124d565b005b34801561060b57600080fd5b506106146112e3565b6040516106219190612c4d565b60405180910390f35b34801561063657600080fd5b5061063f6112e9565b60405161064c9190612d01565b60405180910390f35b34801561066157600080fd5b5061067c6004803603810190610677919061306e565b61137b565b005b34801561068a57600080fd5b50610693611391565b6040516106a09190612c4d565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612e04565b611397565b005b3480156106de57600080fd5b506106f960048036038101906106f4919061314f565b611549565b005b34801561070757600080fd5b50610722600480360381019061071d9190612d4f565b6115ab565b60405161072f9190612d01565b60405180910390f35b34801561074457600080fd5b5061075f600480360381019061075a9190612d4f565b611615565b005b34801561076d57600080fd5b5061077661169b565b005b34801561078457600080fd5b5061078d6118ee565b60405161079a9190612d01565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c591906131d2565b611980565b6040516107d79190612c19565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190612e44565b611a14565b005b34801561081557600080fd5b50610830600480360381019061082b9190612e44565b611b0c565b005b34801561083e57600080fd5b50610847611e7c565b6040516108549190613271565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610938575061093782611ec5565b5b9050919050565b63624c759081565b606060008054610956906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610982906132bb565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611f2f565b610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a9061335f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6982611031565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad1906133f1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af9611f9b565b73ffffffffffffffffffffffffffffffffffffffff161480610b285750610b2781610b22611f9b565b611980565b5b610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90613483565b60405180910390fd5b610b718383611fa3565b505050565b6000600c54905090565b6000600854600754610b9291906134d2565b905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b610bbf611f9b565b73ffffffffffffffffffffffffffffffffffffffff16610bdd611223565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90613552565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610c82611f9b565b8261205c565b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe906135e4565b60405180910390fd5b610cd283838361213a565b505050565b6000610ce1610f7d565b15610cfc576002600954610cf59190613633565b9050610d02565b60095490505b90565b610d2083838360405180602001604052806000815250611549565b505050565b63624c7590421015610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906136d6565b60405180910390fd5b6000610d76610f7d565b15610d91576002600954610d8a9190613633565b9050610de9565b600954905060075482600854610da791906136f6565b1115610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906137be565b60405180910390fd5b5b8181610df591906137de565b3414610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906138aa565b60405180910390fd5b8160086000828254610e4891906136f6565b92505081905550610e5983836123a1565b505050565b63624c7590421015610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c906136d6565b60405180910390fd5b6000610eaf610f7d565b15610eca576002600954610ec39190613633565b9050610f16565b600954905060075460085410610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c9061393c565b60405180910390fd5b5b803414610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f906138aa565b60405180910390fd5b60086000815480929190610f6b9061395c565b9190505550610f79826123f6565b5050565b6000620e808063624c7590610f9291906136f6565b4210905090565b6000610fa482611f2f565b9050919050565b610fb3611f9b565b73ffffffffffffffffffffffffffffffffffffffff16610fd1611223565b73ffffffffffffffffffffffffffffffffffffffff1614611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90613552565b60405180910390fd5b8060098190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613a17565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90613aa9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a3611f9b565b73ffffffffffffffffffffffffffffffffffffffff166111c1611223565b73ffffffffffffffffffffffffffffffffffffffff1614611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90613552565b60405180910390fd5b611221600061241d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611255611f9b565b73ffffffffffffffffffffffffffffffffffffffff16611273611223565b73ffffffffffffffffffffffffffffffffffffffff16146112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613552565b60405180910390fd5b80600d90805190602001906112df929190612ac2565b5050565b60075481565b6060600180546112f8906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611324906132bb565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b5050505050905090565b61138d611386611f9b565b83836124e3565b5050565b60085481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e826040518263ffffffff1660e01b81526004016113f29190612c4d565b60206040518083038186803b15801561140a57600080fd5b505afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613ade565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690613b7d565b60405180910390fd5b600b600082815260200190815260200160002060009054906101000a900460ff1615611510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150790613c35565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550611545826123f6565b5050565b61155a611554611f9b565b8361205c565b611599576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611590906135e4565b60405180910390fd5b6115a584848484612650565b50505050565b60606115b682611f2f565b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613cc7565b60405180910390fd5b60405180608001604052806050815260200161444c605091399050919050565b61161d611f9b565b73ffffffffffffffffffffffffffffffffffffffff1661163b611223565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890613552565b60405180910390fd5b8060078190555050565b6116a3611223565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061172757507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061177d57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613d59565b60405180910390fd5b600047905060008111611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90613deb565b60405180910390fd5b600061180f826126ac565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611877573d6000803e3d6000fd5b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc82846118be91906134d2565b9081150290604051600060405180830381858888f193505050501580156118e9573d6000803e3d6000fd5b505050565b6060600d80546118fd906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611929906132bb565b80156119765780601f1061194b57610100808354040283529160200191611976565b820191906000526020600020905b81548152906001019060200180831161195957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a1c611f9b565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611223565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8790613552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790613e7d565b60405180910390fd5b611b098161241d565b50565b611b14611223565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b9857507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611bee57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613d59565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c6d9190612dbd565b60206040518083038186803b158015611c8557600080fd5b505afa158015611c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613eb2565b905060008111611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990613f51565b60405180910390fd5b6000611d0d826126ac565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b8152600401611d6a929190613f71565b602060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbc9190613faf565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f00000000000000000000000000000000000000000000000000000000000000008385611e0691906134d2565b6040518363ffffffff1660e01b8152600401611e23929190613f71565b602060405180830381600087803b158015611e3d57600080fd5b505af1158015611e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e759190613faf565b5050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661201683611031565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061206782611f2f565b6120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d9061404e565b60405180910390fd5b60006120b183611031565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061212057508373ffffffffffffffffffffffffffffffffffffffff16612108846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061213157506121308185611980565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661215a82611031565b73ffffffffffffffffffffffffffffffffffffffff16146121b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a7906140e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790614172565b60405180910390fd5b61222b8383836126ce565b612236600082611fa3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228691906134d2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122dd91906136f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461239c8383836126d3565b505050565b6000600c5490506000600190505b8281116123de576123cb8482846123c691906136f6565b6126d8565b80806123d69061395c565b9150506123af565b5081816123eb91906136f6565b600c81905550505050565b600c60008154809291906124099061395c565b919050555061241a81600c546126d8565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612549906141de565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126439190612c19565b60405180910390a3505050565b61265b84848461213a565b612667848484846126f6565b6126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90614270565b60405180910390fd5b50505050565b60006064600f836126bd91906137de565b6126c79190613633565b9050919050565b505050565b505050565b6126f282826040518060200160405280600081525061288d565b5050565b60006127178473ffffffffffffffffffffffffffffffffffffffff16611ea2565b15612880578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612740611f9b565b8786866040518563ffffffff1660e01b815260040161276294939291906142e5565b602060405180830381600087803b15801561277c57600080fd5b505af19250505080156127ad57506040513d601f19601f820116820180604052508101906127aa9190614346565b60015b612830573d80600081146127dd576040519150601f19603f3d011682016040523d82523d6000602084013e6127e2565b606091505b50600081511415612828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281f90614270565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612885565b600190505b949350505050565b61289783836128e8565b6128a460008484846126f6565b6128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da90614270565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f906143bf565b60405180910390fd5b61296181611f2f565b156129a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129989061442b565b60405180910390fd5b6129ad600083836126ce565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129fd91906136f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612abe600083836126d3565b5050565b828054612ace906132bb565b90600052602060002090601f016020900481019282612af05760008555612b37565b82601f10612b0957805160ff1916838001178555612b37565b82800160010185558215612b37579182015b82811115612b36578251825591602001919060010190612b1b565b5b509050612b449190612b48565b5090565b5b80821115612b61576000816000905550600101612b49565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bae81612b79565b8114612bb957600080fd5b50565b600081359050612bcb81612ba5565b92915050565b600060208284031215612be757612be6612b6f565b5b6000612bf584828501612bbc565b91505092915050565b60008115159050919050565b612c1381612bfe565b82525050565b6000602082019050612c2e6000830184612c0a565b92915050565b6000819050919050565b612c4781612c34565b82525050565b6000602082019050612c626000830184612c3e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ca2578082015181840152602081019050612c87565b83811115612cb1576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cd382612c68565b612cdd8185612c73565b9350612ced818560208601612c84565b612cf681612cb7565b840191505092915050565b60006020820190508181036000830152612d1b8184612cc8565b905092915050565b612d2c81612c34565b8114612d3757600080fd5b50565b600081359050612d4981612d23565b92915050565b600060208284031215612d6557612d64612b6f565b5b6000612d7384828501612d3a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612da782612d7c565b9050919050565b612db781612d9c565b82525050565b6000602082019050612dd26000830184612dae565b92915050565b612de181612d9c565b8114612dec57600080fd5b50565b600081359050612dfe81612dd8565b92915050565b60008060408385031215612e1b57612e1a612b6f565b5b6000612e2985828601612def565b9250506020612e3a85828601612d3a565b9150509250929050565b600060208284031215612e5a57612e59612b6f565b5b6000612e6884828501612def565b91505092915050565b600080600060608486031215612e8a57612e89612b6f565b5b6000612e9886828701612def565b9350506020612ea986828701612def565b9250506040612eba86828701612d3a565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f0682612cb7565b810181811067ffffffffffffffff82111715612f2557612f24612ece565b5b80604052505050565b6000612f38612b65565b9050612f448282612efd565b919050565b600067ffffffffffffffff821115612f6457612f63612ece565b5b612f6d82612cb7565b9050602081019050919050565b82818337600083830152505050565b6000612f9c612f9784612f49565b612f2e565b905082815260208101848484011115612fb857612fb7612ec9565b5b612fc3848285612f7a565b509392505050565b600082601f830112612fe057612fdf612ec4565b5b8135612ff0848260208601612f89565b91505092915050565b60006020828403121561300f5761300e612b6f565b5b600082013567ffffffffffffffff81111561302d5761302c612b74565b5b61303984828501612fcb565b91505092915050565b61304b81612bfe565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b6000806040838503121561308557613084612b6f565b5b600061309385828601612def565b92505060206130a485828601613059565b9150509250929050565b600067ffffffffffffffff8211156130c9576130c8612ece565b5b6130d282612cb7565b9050602081019050919050565b60006130f26130ed846130ae565b612f2e565b90508281526020810184848401111561310e5761310d612ec9565b5b613119848285612f7a565b509392505050565b600082601f83011261313657613135612ec4565b5b81356131468482602086016130df565b91505092915050565b6000806000806080858703121561316957613168612b6f565b5b600061317787828801612def565b945050602061318887828801612def565b935050604061319987828801612d3a565b925050606085013567ffffffffffffffff8111156131ba576131b9612b74565b5b6131c687828801613121565b91505092959194509250565b600080604083850312156131e9576131e8612b6f565b5b60006131f785828601612def565b925050602061320885828601612def565b9150509250929050565b6000819050919050565b600061323761323261322d84612d7c565b613212565b612d7c565b9050919050565b60006132498261321c565b9050919050565b600061325b8261323e565b9050919050565b61326b81613250565b82525050565b60006020820190506132866000830184613262565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132d357607f821691505b602082108114156132e7576132e661328c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613349602c83612c73565b9150613354826132ed565b604082019050919050565b600060208201905081810360008301526133788161333c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133db602183612c73565b91506133e68261337f565b604082019050919050565b6000602082019050818103600083015261340a816133ce565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061346d603883612c73565b915061347882613411565b604082019050919050565b6000602082019050818103600083015261349c81613460565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134dd82612c34565b91506134e883612c34565b9250828210156134fb576134fa6134a3565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061353c602083612c73565b915061354782613506565b602082019050919050565b6000602082019050818103600083015261356b8161352f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006135ce603183612c73565b91506135d982613572565b604082019050919050565b600060208201905081810360008301526135fd816135c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061363e82612c34565b915061364983612c34565b92508261365957613658613604565b5b828204905092915050565b7f56696f6c6574466972737445646974696f6e3a205075626c6963206d696e746960008201527f6e6720686173206e6f7420737461727465642079657400000000000000000000602082015250565b60006136c0603683612c73565b91506136cb82613664565b604082019050919050565b600060208201905081810360008301526136ef816136b3565b9050919050565b600061370182612c34565b915061370c83612c34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613741576137406134a3565b5b828201905092915050565b7f56696f6c6574466972737445646974696f6e3a2043616e6e6f74206d696e742060008201527f7468617420616d6f756e74206f6620746f6b656e730000000000000000000000602082015250565b60006137a8603583612c73565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b60006137e982612c34565b91506137f483612c34565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561382d5761382c6134a3565b5b828202905092915050565b7f56696f6c6574466972737445646974696f6e3a20496e76616c6964204554482060008201527f616d6f756e740000000000000000000000000000000000000000000000000000602082015250565b6000613894602683612c73565b915061389f82613838565b604082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f56696f6c6574466972737445646974696f6e3a204d6178696d756d20616d6f7560008201527f6e74206f6620746f6b656e7320616c7265616479206d696e7465640000000000602082015250565b6000613926603b83612c73565b9150613931826138ca565b604082019050919050565b6000602082019050818103600083015261395581613919565b9050919050565b600061396782612c34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561399a576139996134a3565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613a01602983612c73565b9150613a0c826139a5565b604082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613a93602a83612c73565b9150613a9e82613a37565b604082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b600081519050613ad881612dd8565b92915050565b600060208284031215613af457613af3612b6f565b5b6000613b0284828501613ac9565b91505092915050565b7f56696f6c6574466972737445646974696f6e3a2043616c6c6572206973206e6f60008201527f7420766964656f20746f6b656e206f776e657200000000000000000000000000602082015250565b6000613b67603383612c73565b9150613b7282613b0b565b604082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b7f56696f6c6574466972737445646974696f6e3a20566964656f20746f6b656e2060008201527f686173206265656e20616c7265616479207573656420746f206d696e7420612060208201527f56696f6c657420746f6b656e0000000000000000000000000000000000000000604082015250565b6000613c1f604c83612c73565b9150613c2a82613b9d565b606082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f56696f6c65743a2055524920717565727920666f72206e6f6e6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b6000613cb1602783612c73565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b7f53706c69747465723a2043616c6c65722063616e6e6f7420776974686472617760008201527f2066756e64730000000000000000000000000000000000000000000000000000602082015250565b6000613d43602683612c73565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f53706c69747465723a204e6f204554482062616c616e636520746f207472616e60008201527f7366657200000000000000000000000000000000000000000000000000000000602082015250565b6000613dd5602483612c73565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e67602683612c73565b9150613e7282613e0b565b604082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b600081519050613eac81612d23565b92915050565b600060208284031215613ec857613ec7612b6f565b5b6000613ed684828501613e9d565b91505092915050565b7f53706c69747465723a204e6f20746f6b656e2062616c616e636520746f20747260008201527f616e736665720000000000000000000000000000000000000000000000000000602082015250565b6000613f3b602683612c73565b9150613f4682613edf565b604082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b6000604082019050613f866000830185612dae565b613f936020830184612c3e565b9392505050565b600081519050613fa981613042565b92915050565b600060208284031215613fc557613fc4612b6f565b5b6000613fd384828501613f9a565b91505092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614038602c83612c73565b915061404382613fdc565b604082019050919050565b600060208201905081810360008301526140678161402b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006140ca602583612c73565b91506140d58261406e565b604082019050919050565b600060208201905081810360008301526140f9816140bd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061415c602483612c73565b915061416782614100565b604082019050919050565b6000602082019050818103600083015261418b8161414f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006141c8601983612c73565b91506141d382614192565b602082019050919050565b600060208201905081810360008301526141f7816141bb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061425a603283612c73565b9150614265826141fe565b604082019050919050565b600060208201905081810360008301526142898161424d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142b782614290565b6142c1818561429b565b93506142d1818560208601612c84565b6142da81612cb7565b840191505092915050565b60006080820190506142fa6000830187612dae565b6143076020830186612dae565b6143146040830185612c3e565b818103606083015261432681846142ac565b905095945050505050565b60008151905061434081612ba5565b92915050565b60006020828403121561435c5761435b612b6f565b5b600061436a84828501614331565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006143a9602083612c73565b91506143b482614373565b602082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614415601c83612c73565b9150614420826143df565b602082019050919050565b6000602082019050818103600083015261444481614408565b905091905056fe68747470733a2f2f697066732e696f2f697066732f6261667962656965686368776b6f6f356c6b66636b70326e7473327a64756476797762347a346765333663753279327773676e6e6e3477626b7961a26469706673582212203b061c9ec6665efc039e9d871fc670ff4c5007ca5333aaf3d194ce1bc1c9f96f64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa1228723000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f62616679626569676c707975736e336737756d7173656d66796233657932626670616e7a75737670613373697277647434336b626d6f37746f666d00000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102135760003560e01c806370a0823111610118578063b88d4fde116100a0578063e8a3d4851161006f578063e8a3d48514610778578063e985e9c5146107a3578063f2fde38b146107e0578063f4f3b20014610809578063fd5ce2d7146108325761021a565b8063b88d4fde146106d2578063c87b56dd146106fb578063d673f7ce14610738578063e086e5ec146107615761021a565b806393f72f7a116100e757806393f72f7a146105ff57806395d89b411461062a578063a22cb46514610655578063ab6f8a5b1461067e578063b4b08798146106a95761021a565b806370a0823114610557578063715018a6146105945780638da5cb5b146105ab578063938e3d7b146105d65761021a565b806323b872dd1161019b578063460131ea1161016a578063460131ea1461046d5780634cd7ffd3146104895780634f558e79146104b45780635788ff36146104f15780636352211e1461051a5761021a565b806323b872dd146103d457806335db70b5146103fd57806342842e0e1461042857806342a5f606146104515761021a565b8063095ea7b3116101e2578063095ea7b3146102ef57806318160ddd14610318578063194da4b8146103435780631aba630e1461036e5780631cd4ae49146103ab5761021a565b806301ffc9a71461021f578063028733e71461025c57806306fdde0314610287578063081812fc146102b25761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612bd1565b61085d565b6040516102539190612c19565b60405180910390f35b34801561026857600080fd5b5061027161093f565b60405161027e9190612c4d565b60405180910390f35b34801561029357600080fd5b5061029c610947565b6040516102a99190612d01565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612d4f565b6109d9565b6040516102e69190612dbd565b60405180910390f35b3480156102fb57600080fd5b5061031660048036038101906103119190612e04565b610a5e565b005b34801561032457600080fd5b5061032d610b76565b60405161033a9190612c4d565b60405180910390f35b34801561034f57600080fd5b50610358610b80565b6040516103659190612c4d565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612d4f565b610b97565b6040516103a29190612c19565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190612e44565b610bb7565b005b3480156103e057600080fd5b506103fb60048036038101906103f69190612e71565b610c77565b005b34801561040957600080fd5b50610412610cd7565b60405161041f9190612c4d565b60405180910390f35b34801561043457600080fd5b5061044f600480360381019061044a9190612e71565b610d05565b005b61046b60048036038101906104669190612e04565b610d25565b005b61048760048036038101906104829190612e44565b610e5e565b005b34801561049557600080fd5b5061049e610f7d565b6040516104ab9190612c19565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d69190612d4f565b610f99565b6040516104e89190612c19565b60405180910390f35b3480156104fd57600080fd5b5061051860048036038101906105139190612d4f565b610fab565b005b34801561052657600080fd5b50610541600480360381019061053c9190612d4f565b611031565b60405161054e9190612dbd565b60405180910390f35b34801561056357600080fd5b5061057e60048036038101906105799190612e44565b6110e3565b60405161058b9190612c4d565b60405180910390f35b3480156105a057600080fd5b506105a961119b565b005b3480156105b757600080fd5b506105c0611223565b6040516105cd9190612dbd565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f89190612ff9565b61124d565b005b34801561060b57600080fd5b506106146112e3565b6040516106219190612c4d565b60405180910390f35b34801561063657600080fd5b5061063f6112e9565b60405161064c9190612d01565b60405180910390f35b34801561066157600080fd5b5061067c6004803603810190610677919061306e565b61137b565b005b34801561068a57600080fd5b50610693611391565b6040516106a09190612c4d565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190612e04565b611397565b005b3480156106de57600080fd5b506106f960048036038101906106f4919061314f565b611549565b005b34801561070757600080fd5b50610722600480360381019061071d9190612d4f565b6115ab565b60405161072f9190612d01565b60405180910390f35b34801561074457600080fd5b5061075f600480360381019061075a9190612d4f565b611615565b005b34801561076d57600080fd5b5061077661169b565b005b34801561078457600080fd5b5061078d6118ee565b60405161079a9190612d01565b60405180910390f35b3480156107af57600080fd5b506107ca60048036038101906107c591906131d2565b611980565b6040516107d79190612c19565b60405180910390f35b3480156107ec57600080fd5b5061080760048036038101906108029190612e44565b611a14565b005b34801561081557600080fd5b50610830600480360381019061082b9190612e44565b611b0c565b005b34801561083e57600080fd5b50610847611e7c565b6040516108549190613271565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610938575061093782611ec5565b5b9050919050565b63624c759081565b606060008054610956906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610982906132bb565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611f2f565b610a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1a9061335f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6982611031565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad1906133f1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af9611f9b565b73ffffffffffffffffffffffffffffffffffffffff161480610b285750610b2781610b22611f9b565b611980565b5b610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90613483565b60405180910390fd5b610b718383611fa3565b505050565b6000600c54905090565b6000600854600754610b9291906134d2565b905090565b600b6020528060005260406000206000915054906101000a900460ff1681565b610bbf611f9b565b73ffffffffffffffffffffffffffffffffffffffff16610bdd611223565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90613552565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610c82611f9b565b8261205c565b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe906135e4565b60405180910390fd5b610cd283838361213a565b505050565b6000610ce1610f7d565b15610cfc576002600954610cf59190613633565b9050610d02565b60095490505b90565b610d2083838360405180602001604052806000815250611549565b505050565b63624c7590421015610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906136d6565b60405180910390fd5b6000610d76610f7d565b15610d91576002600954610d8a9190613633565b9050610de9565b600954905060075482600854610da791906136f6565b1115610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906137be565b60405180910390fd5b5b8181610df591906137de565b3414610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d906138aa565b60405180910390fd5b8160086000828254610e4891906136f6565b92505081905550610e5983836123a1565b505050565b63624c7590421015610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c906136d6565b60405180910390fd5b6000610eaf610f7d565b15610eca576002600954610ec39190613633565b9050610f16565b600954905060075460085410610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c9061393c565b60405180910390fd5b5b803414610f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4f906138aa565b60405180910390fd5b60086000815480929190610f6b9061395c565b9190505550610f79826123f6565b5050565b6000620e808063624c7590610f9291906136f6565b4210905090565b6000610fa482611f2f565b9050919050565b610fb3611f9b565b73ffffffffffffffffffffffffffffffffffffffff16610fd1611223565b73ffffffffffffffffffffffffffffffffffffffff1614611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90613552565b60405180910390fd5b8060098190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613a17565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b90613aa9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111a3611f9b565b73ffffffffffffffffffffffffffffffffffffffff166111c1611223565b73ffffffffffffffffffffffffffffffffffffffff1614611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e90613552565b60405180910390fd5b611221600061241d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611255611f9b565b73ffffffffffffffffffffffffffffffffffffffff16611273611223565b73ffffffffffffffffffffffffffffffffffffffff16146112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613552565b60405180910390fd5b80600d90805190602001906112df929190612ac2565b5050565b60075481565b6060600180546112f8906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611324906132bb565b80156113715780601f1061134657610100808354040283529160200191611371565b820191906000526020600020905b81548152906001019060200180831161135457829003601f168201915b5050505050905090565b61138d611386611f9b565b83836124e3565b5050565b60085481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e826040518263ffffffff1660e01b81526004016113f29190612c4d565b60206040518083038186803b15801561140a57600080fd5b505afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613ade565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146114af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a690613b7d565b60405180910390fd5b600b600082815260200190815260200160002060009054906101000a900460ff1615611510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150790613c35565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff021916908315150217905550611545826123f6565b5050565b61155a611554611f9b565b8361205c565b611599576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611590906135e4565b60405180910390fd5b6115a584848484612650565b50505050565b60606115b682611f2f565b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613cc7565b60405180910390fd5b60405180608001604052806050815260200161444c605091399050919050565b61161d611f9b565b73ffffffffffffffffffffffffffffffffffffffff1661163b611223565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890613552565b60405180910390fd5b8060078190555050565b6116a3611223565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061172757507f0000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa122872373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061177d57507f000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613d59565b60405180910390fd5b600047905060008111611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90613deb565b60405180910390fd5b600061180f826126ac565b90507f0000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa122872373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611877573d6000803e3d6000fd5b507f000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c73ffffffffffffffffffffffffffffffffffffffff166108fc82846118be91906134d2565b9081150290604051600060405180830381858888f193505050501580156118e9573d6000803e3d6000fd5b505050565b6060600d80546118fd906132bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611929906132bb565b80156119765780601f1061194b57610100808354040283529160200191611976565b820191906000526020600020905b81548152906001019060200180831161195957829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a1c611f9b565b73ffffffffffffffffffffffffffffffffffffffff16611a3a611223565b73ffffffffffffffffffffffffffffffffffffffff1614611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8790613552565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790613e7d565b60405180910390fd5b611b098161241d565b50565b611b14611223565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b9857507f0000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa122872373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80611bee57507f000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613d59565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c6d9190612dbd565b60206040518083038186803b158015611c8557600080fd5b505afa158015611c99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbd9190613eb2565b905060008111611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf990613f51565b60405180910390fd5b6000611d0d826126ac565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa1228723836040518363ffffffff1660e01b8152600401611d6a929190613f71565b602060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbc9190613faf565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c8385611e0691906134d2565b6040518363ffffffff1660e01b8152600401611e23929190613f71565b602060405180830381600087803b158015611e3d57600080fd5b505af1158015611e51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e759190613faf565b5050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661201683611031565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061206782611f2f565b6120a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209d9061404e565b60405180910390fd5b60006120b183611031565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061212057508373ffffffffffffffffffffffffffffffffffffffff16612108846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b8061213157506121308185611980565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661215a82611031565b73ffffffffffffffffffffffffffffffffffffffff16146121b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a7906140e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790614172565b60405180910390fd5b61222b8383836126ce565b612236600082611fa3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228691906134d2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122dd91906136f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461239c8383836126d3565b505050565b6000600c5490506000600190505b8281116123de576123cb8482846123c691906136f6565b6126d8565b80806123d69061395c565b9150506123af565b5081816123eb91906136f6565b600c81905550505050565b600c60008154809291906124099061395c565b919050555061241a81600c546126d8565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612552576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612549906141de565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126439190612c19565b60405180910390a3505050565b61265b84848461213a565b612667848484846126f6565b6126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90614270565b60405180910390fd5b50505050565b60006064600f836126bd91906137de565b6126c79190613633565b9050919050565b505050565b505050565b6126f282826040518060200160405280600081525061288d565b5050565b60006127178473ffffffffffffffffffffffffffffffffffffffff16611ea2565b15612880578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612740611f9b565b8786866040518563ffffffff1660e01b815260040161276294939291906142e5565b602060405180830381600087803b15801561277c57600080fd5b505af19250505080156127ad57506040513d601f19601f820116820180604052508101906127aa9190614346565b60015b612830573d80600081146127dd576040519150601f19603f3d011682016040523d82523d6000602084013e6127e2565b606091505b50600081511415612828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281f90614270565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612885565b600190505b949350505050565b61289783836128e8565b6128a460008484846126f6565b6128e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128da90614270565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294f906143bf565b60405180910390fd5b61296181611f2f565b156129a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129989061442b565b60405180910390fd5b6129ad600083836126ce565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129fd91906136f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612abe600083836126d3565b5050565b828054612ace906132bb565b90600052602060002090601f016020900481019282612af05760008555612b37565b82601f10612b0957805160ff1916838001178555612b37565b82800160010185558215612b37579182015b82811115612b36578251825591602001919060010190612b1b565b5b509050612b449190612b48565b5090565b5b80821115612b61576000816000905550600101612b49565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bae81612b79565b8114612bb957600080fd5b50565b600081359050612bcb81612ba5565b92915050565b600060208284031215612be757612be6612b6f565b5b6000612bf584828501612bbc565b91505092915050565b60008115159050919050565b612c1381612bfe565b82525050565b6000602082019050612c2e6000830184612c0a565b92915050565b6000819050919050565b612c4781612c34565b82525050565b6000602082019050612c626000830184612c3e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ca2578082015181840152602081019050612c87565b83811115612cb1576000848401525b50505050565b6000601f19601f8301169050919050565b6000612cd382612c68565b612cdd8185612c73565b9350612ced818560208601612c84565b612cf681612cb7565b840191505092915050565b60006020820190508181036000830152612d1b8184612cc8565b905092915050565b612d2c81612c34565b8114612d3757600080fd5b50565b600081359050612d4981612d23565b92915050565b600060208284031215612d6557612d64612b6f565b5b6000612d7384828501612d3a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612da782612d7c565b9050919050565b612db781612d9c565b82525050565b6000602082019050612dd26000830184612dae565b92915050565b612de181612d9c565b8114612dec57600080fd5b50565b600081359050612dfe81612dd8565b92915050565b60008060408385031215612e1b57612e1a612b6f565b5b6000612e2985828601612def565b9250506020612e3a85828601612d3a565b9150509250929050565b600060208284031215612e5a57612e59612b6f565b5b6000612e6884828501612def565b91505092915050565b600080600060608486031215612e8a57612e89612b6f565b5b6000612e9886828701612def565b9350506020612ea986828701612def565b9250506040612eba86828701612d3a565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f0682612cb7565b810181811067ffffffffffffffff82111715612f2557612f24612ece565b5b80604052505050565b6000612f38612b65565b9050612f448282612efd565b919050565b600067ffffffffffffffff821115612f6457612f63612ece565b5b612f6d82612cb7565b9050602081019050919050565b82818337600083830152505050565b6000612f9c612f9784612f49565b612f2e565b905082815260208101848484011115612fb857612fb7612ec9565b5b612fc3848285612f7a565b509392505050565b600082601f830112612fe057612fdf612ec4565b5b8135612ff0848260208601612f89565b91505092915050565b60006020828403121561300f5761300e612b6f565b5b600082013567ffffffffffffffff81111561302d5761302c612b74565b5b61303984828501612fcb565b91505092915050565b61304b81612bfe565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b6000806040838503121561308557613084612b6f565b5b600061309385828601612def565b92505060206130a485828601613059565b9150509250929050565b600067ffffffffffffffff8211156130c9576130c8612ece565b5b6130d282612cb7565b9050602081019050919050565b60006130f26130ed846130ae565b612f2e565b90508281526020810184848401111561310e5761310d612ec9565b5b613119848285612f7a565b509392505050565b600082601f83011261313657613135612ec4565b5b81356131468482602086016130df565b91505092915050565b6000806000806080858703121561316957613168612b6f565b5b600061317787828801612def565b945050602061318887828801612def565b935050604061319987828801612d3a565b925050606085013567ffffffffffffffff8111156131ba576131b9612b74565b5b6131c687828801613121565b91505092959194509250565b600080604083850312156131e9576131e8612b6f565b5b60006131f785828601612def565b925050602061320885828601612def565b9150509250929050565b6000819050919050565b600061323761323261322d84612d7c565b613212565b612d7c565b9050919050565b60006132498261321c565b9050919050565b600061325b8261323e565b9050919050565b61326b81613250565b82525050565b60006020820190506132866000830184613262565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806132d357607f821691505b602082108114156132e7576132e661328c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613349602c83612c73565b9150613354826132ed565b604082019050919050565b600060208201905081810360008301526133788161333c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133db602183612c73565b91506133e68261337f565b604082019050919050565b6000602082019050818103600083015261340a816133ce565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061346d603883612c73565b915061347882613411565b604082019050919050565b6000602082019050818103600083015261349c81613460565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134dd82612c34565b91506134e883612c34565b9250828210156134fb576134fa6134a3565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061353c602083612c73565b915061354782613506565b602082019050919050565b6000602082019050818103600083015261356b8161352f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006135ce603183612c73565b91506135d982613572565b604082019050919050565b600060208201905081810360008301526135fd816135c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061363e82612c34565b915061364983612c34565b92508261365957613658613604565b5b828204905092915050565b7f56696f6c6574466972737445646974696f6e3a205075626c6963206d696e746960008201527f6e6720686173206e6f7420737461727465642079657400000000000000000000602082015250565b60006136c0603683612c73565b91506136cb82613664565b604082019050919050565b600060208201905081810360008301526136ef816136b3565b9050919050565b600061370182612c34565b915061370c83612c34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613741576137406134a3565b5b828201905092915050565b7f56696f6c6574466972737445646974696f6e3a2043616e6e6f74206d696e742060008201527f7468617420616d6f756e74206f6620746f6b656e730000000000000000000000602082015250565b60006137a8603583612c73565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b60006137e982612c34565b91506137f483612c34565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561382d5761382c6134a3565b5b828202905092915050565b7f56696f6c6574466972737445646974696f6e3a20496e76616c6964204554482060008201527f616d6f756e740000000000000000000000000000000000000000000000000000602082015250565b6000613894602683612c73565b915061389f82613838565b604082019050919050565b600060208201905081810360008301526138c381613887565b9050919050565b7f56696f6c6574466972737445646974696f6e3a204d6178696d756d20616d6f7560008201527f6e74206f6620746f6b656e7320616c7265616479206d696e7465640000000000602082015250565b6000613926603b83612c73565b9150613931826138ca565b604082019050919050565b6000602082019050818103600083015261395581613919565b9050919050565b600061396782612c34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561399a576139996134a3565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613a01602983612c73565b9150613a0c826139a5565b604082019050919050565b60006020820190508181036000830152613a30816139f4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613a93602a83612c73565b9150613a9e82613a37565b604082019050919050565b60006020820190508181036000830152613ac281613a86565b9050919050565b600081519050613ad881612dd8565b92915050565b600060208284031215613af457613af3612b6f565b5b6000613b0284828501613ac9565b91505092915050565b7f56696f6c6574466972737445646974696f6e3a2043616c6c6572206973206e6f60008201527f7420766964656f20746f6b656e206f776e657200000000000000000000000000602082015250565b6000613b67603383612c73565b9150613b7282613b0b565b604082019050919050565b60006020820190508181036000830152613b9681613b5a565b9050919050565b7f56696f6c6574466972737445646974696f6e3a20566964656f20746f6b656e2060008201527f686173206265656e20616c7265616479207573656420746f206d696e7420612060208201527f56696f6c657420746f6b656e0000000000000000000000000000000000000000604082015250565b6000613c1f604c83612c73565b9150613c2a82613b9d565b606082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f56696f6c65743a2055524920717565727920666f72206e6f6e6578697374656e60008201527f7420746f6b656e00000000000000000000000000000000000000000000000000602082015250565b6000613cb1602783612c73565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b7f53706c69747465723a2043616c6c65722063616e6e6f7420776974686472617760008201527f2066756e64730000000000000000000000000000000000000000000000000000602082015250565b6000613d43602683612c73565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f53706c69747465723a204e6f204554482062616c616e636520746f207472616e60008201527f7366657200000000000000000000000000000000000000000000000000000000602082015250565b6000613dd5602483612c73565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e67602683612c73565b9150613e7282613e0b565b604082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b600081519050613eac81612d23565b92915050565b600060208284031215613ec857613ec7612b6f565b5b6000613ed684828501613e9d565b91505092915050565b7f53706c69747465723a204e6f20746f6b656e2062616c616e636520746f20747260008201527f616e736665720000000000000000000000000000000000000000000000000000602082015250565b6000613f3b602683612c73565b9150613f4682613edf565b604082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b6000604082019050613f866000830185612dae565b613f936020830184612c3e565b9392505050565b600081519050613fa981613042565b92915050565b600060208284031215613fc557613fc4612b6f565b5b6000613fd384828501613f9a565b91505092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614038602c83612c73565b915061404382613fdc565b604082019050919050565b600060208201905081810360008301526140678161402b565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006140ca602583612c73565b91506140d58261406e565b604082019050919050565b600060208201905081810360008301526140f9816140bd565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061415c602483612c73565b915061416782614100565b604082019050919050565b6000602082019050818103600083015261418b8161414f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006141c8601983612c73565b91506141d382614192565b602082019050919050565b600060208201905081810360008301526141f7816141bb565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061425a603283612c73565b9150614265826141fe565b604082019050919050565b600060208201905081810360008301526142898161424d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142b782614290565b6142c1818561429b565b93506142d1818560208601612c84565b6142da81612cb7565b840191505092915050565b60006080820190506142fa6000830187612dae565b6143076020830186612dae565b6143146040830185612c3e565b818103606083015261432681846142ac565b905095945050505050565b60008151905061434081612ba5565b92915050565b60006020828403121561435c5761435b612b6f565b5b600061436a84828501614331565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006143a9602083612c73565b91506143b482614373565b602082019050919050565b600060208201905081810360008301526143d88161439c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614415601c83612c73565b9150614420826143df565b602082019050919050565b6000602082019050818103600083015261444481614408565b905091905056fe68747470733a2f2f697066732e696f2f697066732f6261667962656965686368776b6f6f356c6b66636b70326e7473327a64756476797762347a346765333663753279327773676e6e6e3477626b7961a26469706673582212203b061c9ec6665efc039e9d871fc670ff4c5007ca5333aaf3d194ce1bc1c9f96f64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000600000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa1228723000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f697066732e696f2f697066732f62616679626569676c707975736e336737756d7173656d66796233657932626670616e7a75737670613373697277647434336b626d6f37746f666d00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : contractURI_ (string): https://ipfs.io/ipfs/bafybeiglpyusn3g7umqsemfyb3ey2bfpanzusvpa3sirwdt43kbmo7tofm
Arg [1] : withdrawalAddress1_ (address): 0x7f958363402D19d6fE9DCF0d826BE3cFa1228723
Arg [2] : withdrawalAddress2_ (address): 0xf098233CD27aA3511A6E8Aef17849F127C16507C
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000007f958363402d19d6fe9dcf0d826be3cfa1228723
Arg [2] : 000000000000000000000000f098233cd27aa3511a6e8aef17849f127c16507c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [4] : 68747470733a2f2f697066732e696f2f697066732f62616679626569676c7079
Arg [5] : 75736e336737756d7173656d66796233657932626670616e7a75737670613373
Arg [6] : 697277647434336b626d6f37746f666d00000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.