ERC-721
Overview
Max Total Supply
25 WIND
Holders
20
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WINDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Project2
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../FormaBase.sol"; import "../features/BurnMergeable.sol"; contract Project2 is FormaBase, BurnMergeable { mapping(uint256 => bytes32) public tokenIdToHash; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _baseURI, uint64 _pricePerToken, uint64 _maxTokens ) FormaBase(_tokenName, _tokenSymbol, _baseURI, _pricePerToken, _maxTokens) { minTokensMerged = 2; maxTokensMerged = 2; } function _mintToken(address _toAddress) internal override returns (uint256 _tokenId) { uint256 tokenId = freshTokensMinted; freshTokensMinted = freshTokensMinted + 1; bytes32 hash = keccak256( abi.encodePacked(tokenId, block.number, blockhash(block.number - 1), _toAddress) ); _mint(_toAddress, tokenId); tokenIdToHash[tokenId] = hash; tokenIdToCount[tokenId] = 1; emit Mint(_toAddress, tokenId); if (msg.value > 0) { _splitFunds(); } return tokenId; } function _mintMergedToken(uint256[] memory _tokenIds, address _toAddress) internal override returns (uint256) { uint256 tokenId = maxTokens + mergeTokensMinted; mergeTokensMinted = mergeTokensMinted + 1; bytes32 hash = keccak256( abi.encodePacked(tokenId, block.number, blockhash(block.number - 1), _toAddress) ); _mint(_toAddress, tokenId); tokenIdToHash[tokenId] = hash; emit Merge(_tokenIds, _toAddress, tokenId); emit Mint(_toAddress, tokenId); return tokenId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract FormaBase is ERC721Enumerable, Ownable { event Mint(address indexed _to, uint256 indexed _tokenId); enum SalesState { Closed, PreSale, Active, Maintenance } mapping(address => bool) public admins; mapping(address => uint16) public presaleMintsLeft; mapping(address => uint16) public freePresaleMintsLeft; address public formaAddress; uint256 public formaPercentage = 10; address public artistAddress; uint256 public artistPercentage = 90; address public secondPayoutAddress; uint256 public secondPayoutSplit = 0; uint64 public freshTokensMinted = 0; uint64 public maxTokens; uint256 public pricePerToken; uint256 public minPricePerToken = 10000000000000000; bool public locked = false; SalesState public salesState = SalesState.Closed; bool public artistSet = false; bool public scriptSet = false; bool public salesStarted = false; string public baseURI; string public script; string public scriptType = "p5js"; string public licenseType = "NFT License"; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _baseURI, uint64 _pricePerToken, uint64 _maxTokens ) ERC721(_tokenName, _tokenSymbol) { admins[msg.sender] = true; formaAddress = msg.sender; baseURI = _baseURI; require(_pricePerToken >= minPricePerToken, "pricePerToken too low"); pricePerToken = _pricePerToken; maxTokens = _maxTokens; } modifier onlyAdmins() { require(admins[msg.sender], "Only admins"); _; } modifier onlyEditors() { require(admins[msg.sender] || msg.sender == artistAddress, "Only editors"); _; } function addAdmin(address _address) public onlyOwner { admins[_address] = true; } function removeAdmin(address _address) public onlyOwner { require(_address != owner(), "Can't remove owner from admins"); admins[_address] = false; } function addWhitelist(address[] memory _addresses, uint16 _presaleMints) public onlyAdmins { for (uint16 i = 0; i < _addresses.length; i++) { presaleMintsLeft[_addresses[i]] = _presaleMints; } } function removeWhitelist(address[] memory _addresses) public onlyAdmins { for (uint16 i = 0; i < _addresses.length; i++) { presaleMintsLeft[_addresses[i]] = 0; } } function addFreeWhitelist(address[] memory _addresses, uint16 _presaleMints) public onlyAdmins { for (uint16 i = 0; i < _addresses.length; i++) { freePresaleMintsLeft[_addresses[i]] = _presaleMints; } } function removeFreeWhitelist(address[] memory _addresses) public onlyAdmins { for (uint16 i = 0; i < _addresses.length; i++) { freePresaleMintsLeft[_addresses[i]] = 0; } } function updateArtist(address _artistAddress) public onlyAdmins { require(!locked, "Only unlocked"); artistSet = true; artistAddress = _artistAddress; } function updateSecondPayoutAddress(address _secondPayoutAddress) public onlyEditors { secondPayoutAddress = _secondPayoutAddress; } function updateSecondPayoutSplit(uint256 _secondPayoutSplit) public onlyEditors { require(_secondPayoutSplit <= 100, "Can't have more than 100% paid out"); secondPayoutSplit = _secondPayoutSplit; } function updateScript(string memory _script) public onlyEditors { require(!locked, "Only unlocked"); scriptSet = true; script = _script; } function updateScriptType(string memory _scriptType) public onlyEditors { require(!locked, "Only unlocked"); scriptType = _scriptType; } function updateMaxTokens(uint64 _maxTokens) public onlyAdmins { require(!locked, "Only unlocked"); maxTokens = _maxTokens; } function updatePricePerToken(uint256 _pricePerToken) public onlyAdmins { require( !locked || (locked && msg.sender == owner()), "Only owner can update price when locked" ); require(_pricePerToken >= minPricePerToken, "pricePerToken too low"); pricePerToken = _pricePerToken; } function updateBaseURI(string memory _baseURI) public onlyAdmins { baseURI = _baseURI; } function updateFormaAddress(address _formaAddress) public onlyOwner { formaAddress = _formaAddress; } function lockProject() public onlyEditors { require(!locked, "Contract already locked"); require(artistSet, "Can't lock contract without an artist set"); require(scriptSet, "Can't lock contract without a script set"); locked = true; } function unlockProject() public onlyEditors { require(locked, "Contract already unlocked"); require(salesState == SalesState.Closed, "Can only unlock Contract in Closed state"); require(!salesStarted, "Can't unlock contract after sales started"); locked = false; } function updateState(SalesState _state) public onlyAdmins { require(locked, "Can only change state for locked project"); salesState = _state; } function mintFreePresale() public payable virtual returns (uint256 _tokenId) { require( salesState == SalesState.PreSale || salesState == SalesState.Active, "Drop must be on Presale or Active" ); require(msg.value == 0, "Ether amount must be 0"); require(freshTokensMinted < maxTokens, "Must not exceed max tokens"); require(freePresaleMintsLeft[msg.sender] >= 1, "Sender not approved for free presale"); freePresaleMintsLeft[msg.sender] -= 1; salesStarted = true; return _mintToken(msg.sender); } function mintPresale() public payable virtual returns (uint256 _tokenId) { require( salesState == SalesState.PreSale || salesState == SalesState.Active, "Drop must be on Presale or Active" ); require(msg.value >= pricePerToken, "Ether amount is under set price"); require(freshTokensMinted < maxTokens, "Must not exceed max tokens"); if (salesState == SalesState.PreSale) { require(presaleMintsLeft[msg.sender] >= 1, "Sender not approved for presale"); presaleMintsLeft[msg.sender] -= 1; } salesStarted = true; return _mintToken(msg.sender); } function mint() public payable virtual returns (uint256 _tokenId) { require(salesState == SalesState.Active, "Drop must be active"); require(msg.value >= pricePerToken, "Ether amount is under set price"); require(freshTokensMinted < maxTokens, "Must not exceed max tokens"); salesStarted = true; return _mintToken(msg.sender); } function reserve(address _toAddress) public virtual onlyAdmins returns (uint256 _tokenId) { require(freshTokensMinted < maxTokens, "Must not exceed max tokens"); uint256 tokenId = _mintToken(_toAddress); return tokenId; } function _mintToken(address _toAddress) internal virtual returns (uint256 _tokenId); function _splitFunds() internal { uint256 refund = msg.value - pricePerToken; if (refund > 0) { payable(msg.sender).transfer(refund); } uint256 formaAmount = (pricePerToken / 100) * formaPercentage; if (formaAmount > 0) { payable(formaAddress).transfer(formaAmount); } uint256 totalArtistPayout = (pricePerToken / 100) * artistPercentage; uint256 artistPayout = (totalArtistPayout / 100) * (100 - secondPayoutSplit); if (artistPayout > 0) { payable(artistAddress).transfer(artistPayout); } uint256 secondPayout = (totalArtistPayout / 100) * secondPayoutSplit; if (secondPayout > 0) { payable(secondPayoutAddress).transfer(secondPayout); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseURI, Strings.toString(tokenId))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../FormaBase.sol"; abstract contract BurnMergeable is FormaBase { event Merge(uint256[] indexed _burned, address indexed _to, uint256 indexed _tokenId); uint8 public minTokensMerged = 2; uint8 public maxTokensMerged = 10; uint64 public mergeTokensMinted = 0; mapping(uint256 => uint32) public tokenIdToCount; mapping(uint256 => bool) public tokenIdToBurned; function merge(uint256[] memory _tokenIds) public returns (uint256 _tokenId) { require( salesState == SalesState.Active || salesState == SalesState.Maintenance, "Drop must be active or in maintenance" ); require(_tokenIds.length >= minTokensMerged, "Merging less tokens than allowed"); require(_tokenIds.length <= maxTokensMerged, "Merging more tokens than allowed"); uint32 totalMergedCount = 0; for (uint16 i = 0; i < _tokenIds.length; i++) { _tokenId = _tokenIds[i]; require( ERC721.ownerOf(_tokenId) == _msgSender(), "ERC721: Merging of token that is not own" ); totalMergedCount += tokenIdToCount[_tokenId]; _burn(_tokenId); tokenIdToBurned[_tokenId] = true; } uint256 mergedTokenId = _mintMergedToken(_tokenIds, msg.sender); tokenIdToCount[mergedTokenId] = totalMergedCount; return mergedTokenId; } function _mintMergedToken(uint256[] memory _tokenIds, address _toAddress) internal virtual returns (uint256 _tokenId); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev 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); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "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":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint64","name":"_pricePerToken","type":"uint64"},{"internalType":"uint64","name":"_maxTokens","type":"uint64"}],"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":"uint256[]","name":"_burned","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Merge","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint16","name":"_presaleMints","type":"uint16"}],"name":"addFreeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint16","name":"_presaleMints","type":"uint16"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"artistAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artistPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"artistSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"formaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"formaPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freePresaleMintsLeft","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freshTokensMinted","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"licenseType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensMerged","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"merge","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mergeTokensMinted","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokensMerged","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFreePresale","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPresale","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"payable","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":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMintsLeft","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFreeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"}],"name":"reserve","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"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":[],"name":"salesStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salesState","outputs":[{"internalType":"enum FormaBase.SalesState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"script","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scriptSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scriptType","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondPayoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondPayoutSplit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToCount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_artistAddress","type":"address"}],"name":"updateArtist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_formaAddress","type":"address"}],"name":"updateFormaAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_maxTokens","type":"uint64"}],"name":"updateMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerToken","type":"uint256"}],"name":"updatePricePerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_script","type":"string"}],"name":"updateScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_scriptType","type":"string"}],"name":"updateScriptType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_secondPayoutAddress","type":"address"}],"name":"updateSecondPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_secondPayoutSplit","type":"uint256"}],"name":"updateSecondPayoutSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum FormaBase.SalesState","name":"_state","type":"uint8"}],"name":"updateState","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a600f55605a6011556000601355601480546001600160401b0319169055662386f26fc100006016556017805464ffffffffff1916905560c0604052600460808190526370356a7360e01b60a09081526200005f91601a91906200027a565b5060408051808201909152600b8082526a4e4654204c6963656e736560a81b60209092019182526200009491601b916200027a565b50601c80546001600160501b031916610a02179055348015620000b657600080fd5b5060405162004ebd38038062004ebd833981016040819052620000d991620003f0565b848484848484848160009080519060200190620000f89291906200027a565b5080516200010e9060019060208401906200027a565b5050506200012b620001256200022460201b60201c565b62000228565b336000818152600b60209081526040909120805460ff19166001179055600e80546001600160a01b03191690921790915583516200017091601891908601906200027a565b50601654826001600160401b03161015620001d15760405162461bcd60e51b815260206004820152601560248201527f7072696365506572546f6b656e20746f6f206c6f770000000000000000000000604482015260640160405180910390fd5b6001600160401b0391821660155560148054919092166801000000000000000002600160401b600160801b03199091161790555050601c805461020261ffff1990911617905550620004f6945050505050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200028890620004a3565b90600052602060002090601f016020900481019282620002ac5760008555620002f7565b82601f10620002c757805160ff1916838001178555620002f7565b82800160010185558215620002f7579182015b82811115620002f7578251825591602001919060010190620002da565b506200030592915062000309565b5090565b5b808211156200030557600081556001016200030a565b600082601f83011262000331578081fd5b81516001600160401b03808211156200034e576200034e620004e0565b604051601f8301601f19908116603f01168101908282118183101715620003795762000379620004e0565b8160405283815260209250868385880101111562000395578485fd5b8491505b83821015620003b8578582018301518183018401529082019062000399565b83821115620003c957848385830101525b9695505050505050565b80516001600160401b0381168114620003eb57600080fd5b919050565b600080600080600060a0868803121562000408578081fd5b85516001600160401b03808211156200041f578283fd5b6200042d89838a0162000320565b9650602088015191508082111562000443578283fd5b6200045189838a0162000320565b9550604088015191508082111562000467578283fd5b50620004768882890162000320565b9350506200048760608701620003d3565b91506200049760808701620003d3565b90509295509295909350565b600181811c90821680620004b857607f821691505b60208210811415620004da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6149b780620005066000396000f3fe6080604052600436106104645760003560e01c80636993f61611610243578063b75ecf1311610143578063d7eb3f3a116100bb578063e83157421161008a578063ebe9eb9f1161006f578063ebe9eb9f14610cfc578063f2fde38b14610d11578063f9134e6814610d3157600080fd5b8063e831574214610c8b578063e985e9c514610cb357600080fd5b8063d7eb3f3a14610c23578063db59969814610c43578063de62d84214610c4b578063e75179a414610c6b57600080fd5b8063cc4f444911610112578063cf309012116100f7578063cf30901214610bc7578063d197224414610be1578063d7179f4c14610c0d57600080fd5b8063cc4f444914610b9c578063ccf24f8214610bb157600080fd5b8063b75ecf1314610b24578063b88d4fde14610b46578063be6b79da14610b66578063c87b56dd14610b7c57600080fd5b80638d027bdd116101d6578063931688cb116101a557806398815c7f1161018a57806398815c7f14610acf578063a22cb46514610ae4578063add7625c14610b0457600080fd5b8063931688cb14610a9a57806395d89b4114610aba57600080fd5b80638d027bdd14610a1c5780638da5cb5b14610a3c5780638ec294a014610a5a5780639028bf7014610a7a57600080fd5b806370a082311161021257806370a08231146109b1578063715018a6146109d15780637b1b1de6146109e6578063855765fe146109fc57600080fd5b80636993f6161461093b5780636c0360eb1461095c5780636efc076014610971578063704802751461099157600080fd5b8063251d640c11610369578063429b62e5116102e15780635fa4f345116102b0578063621a1f7411610295578063621a1f74146108ce5780636352211e146108fb57806364356ff81461091b57600080fd5b80635fa4f345146108985780635fff80d8146108b857600080fd5b8063429b62e5146108135780634f6ccce714610843578063519e90a6146108635780635d69dbdd1461088357600080fd5b806333d78c961161033857806336082b691161031d57806336082b69146107b357806340948b61146107d357806342842e0e146107f357600080fd5b806333d78c961461077a578063359100cb146107ab57600080fd5b8063251d640c146106e05780632c482b20146106fa5780632f745c591461071a578063325fbb6d1461073a57600080fd5b80630c4c8fa0116103fc5780631785f53c116103cb5780631f4a300b116103b05780631f4a300b1461067057806323245216146106a057806323b872dd146106c057600080fd5b80631785f53c1461063b57806318160ddd1461065b57600080fd5b80630c4c8fa0146105d05780631249c58b146105f057806314e6d3d41461060657806316d4e2b91461061b57600080fd5b8063081812fc11610438578063081812fc14610513578063095ea7b31461054b5780630b0386e71461056b5780630bad1aff1461058c57600080fd5b80626f70dd1461046957806301ffc9a71461049f5780630591d3ab146104cf57806306fdde03146104f1575b600080fd5b34801561047557600080fd5b50601c5461048890610100900460ff1681565b60405160ff90911681526020015b60405180910390f35b3480156104ab57600080fd5b506104bf6104ba3660046144d4565b610d79565b6040519015158152602001610496565b3480156104db57600080fd5b506104ef6104ea36600461450c565b610dbd565b005b3480156104fd57600080fd5b50610506610ebe565b6040516104969190614739565b34801561051f57600080fd5b5061053361052e366004614571565b610f50565b6040516001600160a01b039091168152602001610496565b34801561055757600080fd5b506104ef61056636600461439a565b610fe5565b34801561057757600080fd5b506017546104bf906301000000900460ff1681565b34801561059857600080fd5b506105bd6105a7366004614259565b600c6020526000908152604090205461ffff1681565b60405161ffff9091168152602001610496565b3480156105dc57600080fd5b50600e54610533906001600160a01b031681565b6105f8611117565b604051908152602001610496565b34801561061257600080fd5b506104ef61126b565b34801561062757600080fd5b506104ef6106363660046143c3565b61142d565b34801561064757600080fd5b506104ef610656366004614259565b61150d565b34801561066757600080fd5b506008546105f8565b34801561067c57600080fd5b506104bf61068b366004614571565b601e6020526000908152604090205460ff1681565b3480156106ac57600080fd5b506104ef6106bb3660046143c3565b6115e6565b3480156106cc57600080fd5b506104ef6106db3660046142ac565b6116c2565b3480156106ec57600080fd5b50601c546104889060ff1681565b34801561070657600080fd5b506104ef610715366004614259565b611749565b34801561072657600080fd5b506105f861073536600461439a565b61180d565b34801561074657600080fd5b50601c546107619062010000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610496565b34801561078657600080fd5b506105bd610795366004614259565b600d6020526000908152604090205461ffff1681565b6105f86118b5565b3480156107bf57600080fd5b506104ef6107ce3660046143f6565b611b0b565b3480156107df57600080fd5b506017546104bf9062010000900460ff1681565b3480156107ff57600080fd5b506104ef61080e3660046142ac565b611be6565b34801561081f57600080fd5b506104bf61082e366004614259565b600b6020526000908152604090205460ff1681565b34801561084f57600080fd5b506105f861085e366004614571565b611c01565b34801561086f57600080fd5b506104ef61087e366004614589565b611cb3565b34801561088f57600080fd5b50610506611d85565b3480156108a457600080fd5b506104ef6108b336600461452b565b611e13565b3480156108c457600080fd5b506105f8600f5481565b3480156108da57600080fd5b506105f86108e9366004614571565b601f6020526000908152604090205481565b34801561090757600080fd5b50610533610916366004614571565b611edf565b34801561092757600080fd5b506104ef6109363660046143f6565b611f6a565b34801561094757600080fd5b506014546107619067ffffffffffffffff1681565b34801561096857600080fd5b50610506612045565b34801561097d57600080fd5b506104ef61098c366004614571565b612052565b34801561099d57600080fd5b506104ef6109ac366004614259565b612131565b3480156109bd57600080fd5b506105f86109cc366004614259565b6121af565b3480156109dd57600080fd5b506104ef612249565b3480156109f257600080fd5b506105f860155481565b348015610a0857600080fd5b50601254610533906001600160a01b031681565b348015610a2857600080fd5b506104ef610a37366004614259565b6122af565b348015610a4857600080fd5b50600a546001600160a01b0316610533565b348015610a6657600080fd5b506104ef610a75366004614571565b61232b565b348015610a8657600080fd5b506104ef610a9536600461452b565b61246a565b348015610aa657600080fd5b506104ef610ab536600461452b565b612523565b348015610ac657600080fd5b50610506612583565b348015610adb57600080fd5b506104ef612592565b348015610af057600080fd5b506104ef610aff366004614360565b612773565b348015610b1057600080fd5b506104ef610b1f366004614259565b612838565b348015610b3057600080fd5b506017546104bf90640100000000900460ff1681565b348015610b5257600080fd5b506104ef610b613660046142e7565b6128bd565b348015610b7257600080fd5b506105f860165481565b348015610b8857600080fd5b50610506610b97366004614571565b61294b565b348015610ba857600080fd5b50610506612a0a565b348015610bbd57600080fd5b506105f860135481565b348015610bd357600080fd5b506017546104bf9060ff1681565b348015610bed57600080fd5b50601754610c0090610100900460ff1681565b6040516104969190614711565b348015610c1957600080fd5b506105f860115481565b348015610c2f57600080fd5b50601054610533906001600160a01b031681565b6105f8612a17565b348015610c5757600080fd5b506105f8610c66366004614441565b612c42565b348015610c7757600080fd5b506105f8610c86366004614259565b612f2f565b348015610c9757600080fd5b5060145461076190600160401b900467ffffffffffffffff1681565b348015610cbf57600080fd5b506104bf610cce36600461427a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610d0857600080fd5b50610506612ff4565b348015610d1d57600080fd5b506104ef610d2c366004614259565b613001565b348015610d3d57600080fd5b50610d64610d4c366004614571565b601d6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610496565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610db75750610db7826130e3565b92915050565b336000908152600b602052604090205460ff16610e0f5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b60448201526064015b60405180910390fd5b60175460ff16610e875760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c79206368616e676520737461746520666f72206c6f636b656460448201527f2070726f6a6563740000000000000000000000000000000000000000000000006064820152608401610e06565b6017805482919061ff001916610100836003811115610eb657634e487b7160e01b600052602160045260246000fd5b021790555050565b606060008054610ecd9061489d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef99061489d565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610fc95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e06565b506000908152600460205260409020546001600160a01b031690565b6000610ff082611edf565b9050806001600160a01b0316836001600160a01b0316141561107a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610e06565b336001600160a01b038216148061109657506110968133610cce565b6111085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e06565b611112838361317e565b505050565b60006002601754610100900460ff16600381111561114557634e487b7160e01b600052602160045260246000fd5b146111925760405162461bcd60e51b815260206004820152601360248201527f44726f70206d75737420626520616374697665000000000000000000000000006044820152606401610e06565b6015543410156111e45760405162461bcd60e51b815260206004820152601f60248201527f457468657220616d6f756e7420697320756e64657220736574207072696365006044820152606401610e06565b60145467ffffffffffffffff600160401b820481169116106112485760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6017805464ff000000001916640100000000179055611266336131ec565b905090565b336000908152600b602052604090205460ff168061129357506010546001600160a01b031633145b6112ce5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff16156113215760405162461bcd60e51b815260206004820152601760248201527f436f6e747261637420616c7265616479206c6f636b65640000000000000000006044820152606401610e06565b60175462010000900460ff1661139f5760405162461bcd60e51b815260206004820152602960248201527f43616e2774206c6f636b20636f6e747261637420776974686f757420616e206160448201527f72746973742073657400000000000000000000000000000000000000000000006064820152608401610e06565b6017546301000000900460ff1661141e5760405162461bcd60e51b815260206004820152602860248201527f43616e2774206c6f636b20636f6e747261637420776974686f7574206120736360448201527f72697074207365740000000000000000000000000000000000000000000000006064820152608401610e06565b6017805460ff19166001179055565b336000908152600b602052604090205460ff1661147a5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b81518161ffff161015611509576000600d6000848461ffff16815181106114b457634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080611501906148d8565b91505061147d565b5050565b600a546001600160a01b031633146115675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b600a546001600160a01b03828116911614156115c55760405162461bcd60e51b815260206004820152601e60248201527f43616e27742072656d6f7665206f776e65722066726f6d2061646d696e7300006044820152606401610e06565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b336000908152600b602052604090205460ff166116335760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b81518161ffff161015611509576000600c6000848461ffff168151811061166d57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555080806116ba906148d8565b915050611636565b6116cc3382613301565b61173e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610e06565b6111128383836133f8565b336000908152600b602052604090205460ff166117965760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff16156117d95760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6017805462ff0000191662010000179055601080546001600160a01b039092166001600160a01b0319909216919091179055565b6000611818836121af565b821061188c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610e06565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60006001601754610100900460ff1660038111156118e357634e487b7160e01b600052602160045260246000fd5b148061191857506002601754610100900460ff16600381111561191657634e487b7160e01b600052602160045260246000fd5b145b61196e5760405162461bcd60e51b815260206004820152602160248201527f44726f70206d757374206265206f6e2050726573616c65206f722041637469766044820152606560f81b6064820152608401610e06565b34156119bc5760405162461bcd60e51b815260206004820152601660248201527f457468657220616d6f756e74206d7573742062652030000000000000000000006044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610611a205760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b336000908152600d6020526040902054600161ffff9091161015611aab5760405162461bcd60e51b8152602060048201526024808201527f53656e646572206e6f7420617070726f76656420666f7220667265652070726560448201527f73616c65000000000000000000000000000000000000000000000000000000006064820152608401610e06565b336000908152600d60205260408120805460019290611acf90849061ffff16614837565b825461ffff9182166101009390930a9283029190920219909116179055506017805464ff000000001916640100000000179055611266336131ec565b336000908152600b602052604090205460ff16611b585760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b82518161ffff1610156111125781600c6000858461ffff1681518110611b9157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080611bde906148d8565b915050611b5b565b611112838383604051806020016040528060008152506128bd565b6000611c0c60085490565b8210611c805760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610e06565b60088281548110611ca157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152600b602052604090205460ff16611d005760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff1615611d435760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6014805467ffffffffffffffff909216600160401b027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff909216919091179055565b601a8054611d929061489d565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbe9061489d565b8015611e0b5780601f10611de057610100808354040283529160200191611e0b565b820191906000526020600020905b815481529060010190602001808311611dee57829003601f168201915b505050505081565b336000908152600b602052604090205460ff1680611e3b57506010546001600160a01b031633145b611e765760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff1615611eb95760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6017805463ff0000001916630100000017905580516115099060199060208401906140db565b6000818152600260205260408120546001600160a01b031680610db75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610e06565b336000908152600b602052604090205460ff16611fb75760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b82518161ffff1610156111125781600d6000858461ffff1681518110611ff057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061203d906148d8565b915050611fba565b60188054611d929061489d565b336000908152600b602052604090205460ff168061207a57506010546001600160a01b031633145b6120b55760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b606481111561212c5760405162461bcd60e51b815260206004820152602260248201527f43616e27742068617665206d6f7265207468616e20313030252070616964206f60448201527f75740000000000000000000000000000000000000000000000000000000000006064820152608401610e06565b601355565b600a546001600160a01b0316331461218b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60006001600160a01b03821661222d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610e06565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146122a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6122ad60006135d0565b565b600a546001600160a01b031633146123095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600b602052604090205460ff166123785760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff1615806123a1575060175460ff1680156123a15750600a546001600160a01b031633145b6124135760405162461bcd60e51b815260206004820152602760248201527f4f6e6c79206f776e65722063616e20757064617465207072696365207768656e60448201527f206c6f636b6564000000000000000000000000000000000000000000000000006064820152608401610e06565b6016548110156124655760405162461bcd60e51b815260206004820152601560248201527f7072696365506572546f6b656e20746f6f206c6f7700000000000000000000006044820152606401610e06565b601555565b336000908152600b602052604090205460ff168061249257506010546001600160a01b031633145b6124cd5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff16156125105760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b805161150990601a9060208401906140db565b336000908152600b602052604090205460ff166125705760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b80516115099060189060208401906140db565b606060018054610ecd9061489d565b336000908152600b602052604090205460ff16806125ba57506010546001600160a01b031633145b6125f55760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff166126475760405162461bcd60e51b815260206004820152601960248201527f436f6e747261637420616c726561647920756e6c6f636b6564000000000000006044820152606401610e06565b6000601754610100900460ff16600381111561267357634e487b7160e01b600052602160045260246000fd5b146126e65760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c7920756e6c6f636b20436f6e747261637420696e20436c6f7360448201527f65642073746174650000000000000000000000000000000000000000000000006064820152608401610e06565b601754640100000000900460ff16156127675760405162461bcd60e51b815260206004820152602960248201527f43616e277420756e6c6f636b20636f6e74726163742061667465722073616c6560448201527f73207374617274656400000000000000000000000000000000000000000000006064820152608401610e06565b6017805460ff19169055565b6001600160a01b0382163314156127cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e06565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600b602052604090205460ff168061286057506010546001600160a01b031633145b61289b5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6128c73383613301565b6129395760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610e06565b61294584848484613622565b50505050565b6000818152600260205260409020546060906001600160a01b03166129d85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610e06565b60186129e3836136ab565b6040516020016129f492919061462f565b6040516020818303038152906040529050919050565b601b8054611d929061489d565b60006001601754610100900460ff166003811115612a4557634e487b7160e01b600052602160045260246000fd5b1480612a7a57506002601754610100900460ff166003811115612a7857634e487b7160e01b600052602160045260246000fd5b145b612ad05760405162461bcd60e51b815260206004820152602160248201527f44726f70206d757374206265206f6e2050726573616c65206f722041637469766044820152606560f81b6064820152608401610e06565b601554341015612b225760405162461bcd60e51b815260206004820152601f60248201527f457468657220616d6f756e7420697320756e64657220736574207072696365006044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610612b865760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6001601754610100900460ff166003811115612bb257634e487b7160e01b600052602160045260246000fd5b141561124857336000908152600c6020526040902054600161ffff9091161015612c1e5760405162461bcd60e51b815260206004820152601f60248201527f53656e646572206e6f7420617070726f76656420666f722070726573616c65006044820152606401610e06565b336000908152600c60205260408120805460019290611acf90849061ffff16614837565b60006002601754610100900460ff166003811115612c7057634e487b7160e01b600052602160045260246000fd5b1480612ca557506003601754610100900460ff166003811115612ca357634e487b7160e01b600052602160045260246000fd5b145b612d175760405162461bcd60e51b815260206004820152602560248201527f44726f70206d75737420626520616374697665206f7220696e206d61696e746560448201527f6e616e63650000000000000000000000000000000000000000000000000000006064820152608401610e06565b601c54825160ff9091161115612d6f5760405162461bcd60e51b815260206004820181905260248201527f4d657267696e67206c65737320746f6b656e73207468616e20616c6c6f7765646044820152606401610e06565b601c54825161010090910460ff161015612dcb5760405162461bcd60e51b815260206004820181905260248201527f4d657267696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610e06565b6000805b83518161ffff161015612ef457838161ffff1681518110612e0057634e487b7160e01b600052603260045260246000fd5b60200260200101519250612e113390565b6001600160a01b0316612e2384611edf565b6001600160a01b031614612e9f5760405162461bcd60e51b815260206004820152602860248201527f4552433732313a204d657267696e67206f6620746f6b656e207468617420697360448201527f206e6f74206f776e0000000000000000000000000000000000000000000000006064820152608401610e06565b6000838152601d6020526040902054612ebe9063ffffffff16836147b9565b9150612ec9836137f9565b6000838152601e60205260409020805460ff1916600117905580612eec816148d8565b915050612dcf565b506000612f0184336138a0565b6000818152601d60205260409020805463ffffffff191663ffffffff94909416939093179092555092915050565b336000908152600b602052604081205460ff16612f7c5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610612fe05760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6000612feb836131ec565b9150505b919050565b60198054611d929061489d565b600a546001600160a01b0316331461305b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6001600160a01b0381166130d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e06565b6130e0816135d0565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061314657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610db757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610db7565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906131b382611edf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60145460009067ffffffffffffffff166132078160016147e1565b6014805467ffffffffffffffff191667ffffffffffffffff929092169190911790556000814361323860018261485a565b6040805160208101949094528301919091524060608083019190915285901b6bffffffffffffffffffffffff191660808201526094016040516020818303038152906040528051906020012090506132908483613a1f565b6000828152601f60209081526040808320849055601d909152808220805463ffffffff191660011790555183916001600160a01b038716917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859190a334156132fa576132fa613b6d565b5092915050565b6000818152600260205260408120546001600160a01b031661337a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e06565b600061338583611edf565b9050806001600160a01b0316846001600160a01b031614806133c05750836001600160a01b03166133b584610f50565b6001600160a01b0316145b806133f057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661340b82611edf565b6001600160a01b0316146134875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610e06565b6001600160a01b0382166135025760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610e06565b61350d838383613d06565b61351860008261317e565b6001600160a01b038316600090815260036020526040812080546001929061354190849061485a565b90915550506001600160a01b038216600090815260036020526040812080546001929061356f9084906147a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61362d8484846133f8565b61363984848484613dbe565b6129455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610e06565b6060816136eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561371557806136ff816148fa565b915061370e9050600a83614804565b91506136ef565b60008167ffffffffffffffff81111561373e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613768576020820181803683370190505b5090505b84156133f05761377d60018361485a565b915061378a600a86614915565b6137959060306147a1565b60f81b8183815181106137b857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137f2600a86614804565b945061376c565b600061380482611edf565b905061381281600084613d06565b61381d60008361317e565b6001600160a01b038116600090815260036020526040812080546001929061384690849061485a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b601c5460145460009182916138cf9167ffffffffffffffff62010000909104811691600160401b9004166147e1565b601c5467ffffffffffffffff91821692506138f391620100009091041660016147e1565b601c805467ffffffffffffffff92909216620100000269ffffffffffffffff0000199092169190911790556000814361392d60018261485a565b6040805160208101949094528301919091524060608083019190915285901b6bffffffffffffffffffffffff191660808201526094016040516020818303038152906040528051906020012090506139858483613a1f565b6000828152601f6020526040908190208290555182906001600160a01b038616906139b19088906145f9565b604051908190038120907fb041cb959b2abfd182c309507eb0427c81f7d7e48ad0ca71fa3fea97b40eb10a90600090a460405182906001600160a01b038616907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a3509392505050565b6001600160a01b038216613a755760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e06565b6000818152600260205260409020546001600160a01b031615613ada5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e06565b613ae660008383613d06565b6001600160a01b0382166000908152600360205260408120805460019290613b0f9084906147a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060155434613b7d919061485a565b90508015613bb457604051339082156108fc029083906000818181858888f19350505050158015613bb2573d6000803e3d6000fd5b505b6000600f546064601554613bc89190614804565b613bd29190614818565b90508015613c1657600e546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613c14573d6000803e3d6000fd5b505b60006011546064601554613c2a9190614804565b613c349190614818565b905060006013546064613c47919061485a565b613c52606484614804565b613c5c9190614818565b90508015613ca0576010546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613c9e573d6000803e3d6000fd5b505b601354600090613cb1606485614804565b613cbb9190614818565b90508015613cff576012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613cfd573d6000803e3d6000fd5b505b5050505050565b6001600160a01b038316613d6157613d5c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613d84565b816001600160a01b0316836001600160a01b031614613d8457613d848382613f21565b6001600160a01b038216613d9b5761111281613fbe565b826001600160a01b0316826001600160a01b031614611112576111128282614097565b60006001600160a01b0384163b15613f1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613e029033908990889088906004016146d5565b602060405180830381600087803b158015613e1c57600080fd5b505af1925050508015613e4c575060408051601f3d908101601f19168201909252613e49918101906144f0565b60015b613efc573d808015613e7a576040519150601f19603f3d011682016040523d82523d6000602084013e613e7f565b606091505b508051613ef45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610e06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506133f0565b506001949350505050565b60006001613f2e846121af565b613f38919061485a565b600083815260076020526040902054909150808214613f8b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613fd09060019061485a565b6000838152600960205260408120546008805493945090928490811061400657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061403557634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061407b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006140a2836121af565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546140e79061489d565b90600052602060002090601f016020900481019282614109576000855561414f565b82601f1061412257805160ff191683800117855561414f565b8280016001018555821561414f579182015b8281111561414f578251825591602001919060010190614134565b5061415b92915061415f565b5090565b5b8082111561415b5760008155600101614160565b600067ffffffffffffffff83111561418e5761418e614955565b6141a1601f8401601f191660200161474c565b90508281528383830111156141b557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612fef57600080fd5b600082601f8301126141f3578081fd5b813560206142086142038361477d565b61474c565b80838252828201915082860187848660051b8901011115614227578586fd5b855b8581101561424c5761423a826141cc565b84529284019290840190600101614229565b5090979650505050505050565b60006020828403121561426a578081fd5b614273826141cc565b9392505050565b6000806040838503121561428c578081fd5b614295836141cc565b91506142a3602084016141cc565b90509250929050565b6000806000606084860312156142c0578081fd5b6142c9846141cc565b92506142d7602085016141cc565b9150604084013590509250925092565b600080600080608085870312156142fc578081fd5b614305856141cc565b9350614313602086016141cc565b925060408501359150606085013567ffffffffffffffff811115614335578182fd5b8501601f81018713614345578182fd5b61435487823560208401614174565b91505092959194509250565b60008060408385031215614372578182fd5b61437b836141cc565b91506020830135801515811461438f578182fd5b809150509250929050565b600080604083850312156143ac578182fd5b6143b5836141cc565b946020939093013593505050565b6000602082840312156143d4578081fd5b813567ffffffffffffffff8111156143ea578182fd5b6133f0848285016141e3565b60008060408385031215614408578182fd5b823567ffffffffffffffff81111561441e578283fd5b61442a858286016141e3565b925050602083013561ffff8116811461438f578182fd5b60006020808385031215614453578182fd5b823567ffffffffffffffff811115614469578283fd5b8301601f81018513614479578283fd5b80356144876142038261477d565b80828252848201915084840188868560051b87010111156144a6578687fd5b8694505b838510156144c85780358352600194909401939185019185016144aa565b50979650505050505050565b6000602082840312156144e5578081fd5b81356142738161496b565b600060208284031215614501578081fd5b81516142738161496b565b60006020828403121561451d578081fd5b813560048110614273578182fd5b60006020828403121561453c578081fd5b813567ffffffffffffffff811115614552578182fd5b8201601f81018413614562578182fd5b6133f084823560208401614174565b600060208284031215614582578081fd5b5035919050565b60006020828403121561459a578081fd5b813567ffffffffffffffff81168114614273578182fd5b600081518084526145c9816020860160208601614871565b601f01601f19169290920160200192915050565b600081516145ef818560208601614871565b9290920192915050565b815160009082906020808601845b8381101561462357815185529382019390820190600101614607565b50929695505050505050565b600080845482600182811c91508083168061464b57607f831692505b602080841082141561466b57634e487b7160e01b87526022600452602487fd5b81801561467f5760018114614690576146bc565b60ff198616895284890196506146bc565b60008b815260209020885b868110156146b45781548b82015290850190830161469b565b505084890196505b5050505050506146cc81856145dd565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261470760808301846145b1565b9695505050505050565b602081016004831061473357634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061427360208301846145b1565b604051601f8201601f1916810167ffffffffffffffff8111828210171561477557614775614955565b604052919050565b600067ffffffffffffffff82111561479757614797614955565b5060051b60200190565b600082198211156147b4576147b4614929565b500190565b600063ffffffff8083168185168083038211156147d8576147d8614929565b01949350505050565b600067ffffffffffffffff8083168185168083038211156147d8576147d8614929565b6000826148135761481361493f565b500490565b600081600019048311821515161561483257614832614929565b500290565b600061ffff8381169083168181101561485257614852614929565b039392505050565b60008282101561486c5761486c614929565b500390565b60005b8381101561488c578181015183820152602001614874565b838111156129455750506000910152565b600181811c908216806148b157607f821691505b602082108114156148d257634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156148f0576148f0614929565b6001019392505050565b600060001982141561490e5761490e614929565b5060010190565b6000826149245761492461493f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146130e057600080fdfea26469706673582212206f39d4be7104691de3f87e7a7418e7c6e94be1d239a44a5603096a84ba16540f64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000000000000000000000000000000000000000015e000000000000000000000000000000000000000000000000000000000000000957696e6473776570740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000457494e4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f666f726d612d6172742e6865726f6b756170702e636f6d2f6170692f70726f6a656374732f6f70656e5365612f322f000000000000000000
Deployed Bytecode
0x6080604052600436106104645760003560e01c80636993f61611610243578063b75ecf1311610143578063d7eb3f3a116100bb578063e83157421161008a578063ebe9eb9f1161006f578063ebe9eb9f14610cfc578063f2fde38b14610d11578063f9134e6814610d3157600080fd5b8063e831574214610c8b578063e985e9c514610cb357600080fd5b8063d7eb3f3a14610c23578063db59969814610c43578063de62d84214610c4b578063e75179a414610c6b57600080fd5b8063cc4f444911610112578063cf309012116100f7578063cf30901214610bc7578063d197224414610be1578063d7179f4c14610c0d57600080fd5b8063cc4f444914610b9c578063ccf24f8214610bb157600080fd5b8063b75ecf1314610b24578063b88d4fde14610b46578063be6b79da14610b66578063c87b56dd14610b7c57600080fd5b80638d027bdd116101d6578063931688cb116101a557806398815c7f1161018a57806398815c7f14610acf578063a22cb46514610ae4578063add7625c14610b0457600080fd5b8063931688cb14610a9a57806395d89b4114610aba57600080fd5b80638d027bdd14610a1c5780638da5cb5b14610a3c5780638ec294a014610a5a5780639028bf7014610a7a57600080fd5b806370a082311161021257806370a08231146109b1578063715018a6146109d15780637b1b1de6146109e6578063855765fe146109fc57600080fd5b80636993f6161461093b5780636c0360eb1461095c5780636efc076014610971578063704802751461099157600080fd5b8063251d640c11610369578063429b62e5116102e15780635fa4f345116102b0578063621a1f7411610295578063621a1f74146108ce5780636352211e146108fb57806364356ff81461091b57600080fd5b80635fa4f345146108985780635fff80d8146108b857600080fd5b8063429b62e5146108135780634f6ccce714610843578063519e90a6146108635780635d69dbdd1461088357600080fd5b806333d78c961161033857806336082b691161031d57806336082b69146107b357806340948b61146107d357806342842e0e146107f357600080fd5b806333d78c961461077a578063359100cb146107ab57600080fd5b8063251d640c146106e05780632c482b20146106fa5780632f745c591461071a578063325fbb6d1461073a57600080fd5b80630c4c8fa0116103fc5780631785f53c116103cb5780631f4a300b116103b05780631f4a300b1461067057806323245216146106a057806323b872dd146106c057600080fd5b80631785f53c1461063b57806318160ddd1461065b57600080fd5b80630c4c8fa0146105d05780631249c58b146105f057806314e6d3d41461060657806316d4e2b91461061b57600080fd5b8063081812fc11610438578063081812fc14610513578063095ea7b31461054b5780630b0386e71461056b5780630bad1aff1461058c57600080fd5b80626f70dd1461046957806301ffc9a71461049f5780630591d3ab146104cf57806306fdde03146104f1575b600080fd5b34801561047557600080fd5b50601c5461048890610100900460ff1681565b60405160ff90911681526020015b60405180910390f35b3480156104ab57600080fd5b506104bf6104ba3660046144d4565b610d79565b6040519015158152602001610496565b3480156104db57600080fd5b506104ef6104ea36600461450c565b610dbd565b005b3480156104fd57600080fd5b50610506610ebe565b6040516104969190614739565b34801561051f57600080fd5b5061053361052e366004614571565b610f50565b6040516001600160a01b039091168152602001610496565b34801561055757600080fd5b506104ef61056636600461439a565b610fe5565b34801561057757600080fd5b506017546104bf906301000000900460ff1681565b34801561059857600080fd5b506105bd6105a7366004614259565b600c6020526000908152604090205461ffff1681565b60405161ffff9091168152602001610496565b3480156105dc57600080fd5b50600e54610533906001600160a01b031681565b6105f8611117565b604051908152602001610496565b34801561061257600080fd5b506104ef61126b565b34801561062757600080fd5b506104ef6106363660046143c3565b61142d565b34801561064757600080fd5b506104ef610656366004614259565b61150d565b34801561066757600080fd5b506008546105f8565b34801561067c57600080fd5b506104bf61068b366004614571565b601e6020526000908152604090205460ff1681565b3480156106ac57600080fd5b506104ef6106bb3660046143c3565b6115e6565b3480156106cc57600080fd5b506104ef6106db3660046142ac565b6116c2565b3480156106ec57600080fd5b50601c546104889060ff1681565b34801561070657600080fd5b506104ef610715366004614259565b611749565b34801561072657600080fd5b506105f861073536600461439a565b61180d565b34801561074657600080fd5b50601c546107619062010000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610496565b34801561078657600080fd5b506105bd610795366004614259565b600d6020526000908152604090205461ffff1681565b6105f86118b5565b3480156107bf57600080fd5b506104ef6107ce3660046143f6565b611b0b565b3480156107df57600080fd5b506017546104bf9062010000900460ff1681565b3480156107ff57600080fd5b506104ef61080e3660046142ac565b611be6565b34801561081f57600080fd5b506104bf61082e366004614259565b600b6020526000908152604090205460ff1681565b34801561084f57600080fd5b506105f861085e366004614571565b611c01565b34801561086f57600080fd5b506104ef61087e366004614589565b611cb3565b34801561088f57600080fd5b50610506611d85565b3480156108a457600080fd5b506104ef6108b336600461452b565b611e13565b3480156108c457600080fd5b506105f8600f5481565b3480156108da57600080fd5b506105f86108e9366004614571565b601f6020526000908152604090205481565b34801561090757600080fd5b50610533610916366004614571565b611edf565b34801561092757600080fd5b506104ef6109363660046143f6565b611f6a565b34801561094757600080fd5b506014546107619067ffffffffffffffff1681565b34801561096857600080fd5b50610506612045565b34801561097d57600080fd5b506104ef61098c366004614571565b612052565b34801561099d57600080fd5b506104ef6109ac366004614259565b612131565b3480156109bd57600080fd5b506105f86109cc366004614259565b6121af565b3480156109dd57600080fd5b506104ef612249565b3480156109f257600080fd5b506105f860155481565b348015610a0857600080fd5b50601254610533906001600160a01b031681565b348015610a2857600080fd5b506104ef610a37366004614259565b6122af565b348015610a4857600080fd5b50600a546001600160a01b0316610533565b348015610a6657600080fd5b506104ef610a75366004614571565b61232b565b348015610a8657600080fd5b506104ef610a9536600461452b565b61246a565b348015610aa657600080fd5b506104ef610ab536600461452b565b612523565b348015610ac657600080fd5b50610506612583565b348015610adb57600080fd5b506104ef612592565b348015610af057600080fd5b506104ef610aff366004614360565b612773565b348015610b1057600080fd5b506104ef610b1f366004614259565b612838565b348015610b3057600080fd5b506017546104bf90640100000000900460ff1681565b348015610b5257600080fd5b506104ef610b613660046142e7565b6128bd565b348015610b7257600080fd5b506105f860165481565b348015610b8857600080fd5b50610506610b97366004614571565b61294b565b348015610ba857600080fd5b50610506612a0a565b348015610bbd57600080fd5b506105f860135481565b348015610bd357600080fd5b506017546104bf9060ff1681565b348015610bed57600080fd5b50601754610c0090610100900460ff1681565b6040516104969190614711565b348015610c1957600080fd5b506105f860115481565b348015610c2f57600080fd5b50601054610533906001600160a01b031681565b6105f8612a17565b348015610c5757600080fd5b506105f8610c66366004614441565b612c42565b348015610c7757600080fd5b506105f8610c86366004614259565b612f2f565b348015610c9757600080fd5b5060145461076190600160401b900467ffffffffffffffff1681565b348015610cbf57600080fd5b506104bf610cce36600461427a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610d0857600080fd5b50610506612ff4565b348015610d1d57600080fd5b506104ef610d2c366004614259565b613001565b348015610d3d57600080fd5b50610d64610d4c366004614571565b601d6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610496565b60006001600160e01b031982167f780e9d63000000000000000000000000000000000000000000000000000000001480610db75750610db7826130e3565b92915050565b336000908152600b602052604090205460ff16610e0f5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b60448201526064015b60405180910390fd5b60175460ff16610e875760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c79206368616e676520737461746520666f72206c6f636b656460448201527f2070726f6a6563740000000000000000000000000000000000000000000000006064820152608401610e06565b6017805482919061ff001916610100836003811115610eb657634e487b7160e01b600052602160045260246000fd5b021790555050565b606060008054610ecd9061489d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef99061489d565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610fc95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e06565b506000908152600460205260409020546001600160a01b031690565b6000610ff082611edf565b9050806001600160a01b0316836001600160a01b0316141561107a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610e06565b336001600160a01b038216148061109657506110968133610cce565b6111085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e06565b611112838361317e565b505050565b60006002601754610100900460ff16600381111561114557634e487b7160e01b600052602160045260246000fd5b146111925760405162461bcd60e51b815260206004820152601360248201527f44726f70206d75737420626520616374697665000000000000000000000000006044820152606401610e06565b6015543410156111e45760405162461bcd60e51b815260206004820152601f60248201527f457468657220616d6f756e7420697320756e64657220736574207072696365006044820152606401610e06565b60145467ffffffffffffffff600160401b820481169116106112485760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6017805464ff000000001916640100000000179055611266336131ec565b905090565b336000908152600b602052604090205460ff168061129357506010546001600160a01b031633145b6112ce5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff16156113215760405162461bcd60e51b815260206004820152601760248201527f436f6e747261637420616c7265616479206c6f636b65640000000000000000006044820152606401610e06565b60175462010000900460ff1661139f5760405162461bcd60e51b815260206004820152602960248201527f43616e2774206c6f636b20636f6e747261637420776974686f757420616e206160448201527f72746973742073657400000000000000000000000000000000000000000000006064820152608401610e06565b6017546301000000900460ff1661141e5760405162461bcd60e51b815260206004820152602860248201527f43616e2774206c6f636b20636f6e747261637420776974686f7574206120736360448201527f72697074207365740000000000000000000000000000000000000000000000006064820152608401610e06565b6017805460ff19166001179055565b336000908152600b602052604090205460ff1661147a5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b81518161ffff161015611509576000600d6000848461ffff16815181106114b457634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080611501906148d8565b91505061147d565b5050565b600a546001600160a01b031633146115675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b600a546001600160a01b03828116911614156115c55760405162461bcd60e51b815260206004820152601e60248201527f43616e27742072656d6f7665206f776e65722066726f6d2061646d696e7300006044820152606401610e06565b6001600160a01b03166000908152600b60205260409020805460ff19169055565b336000908152600b602052604090205460ff166116335760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b81518161ffff161015611509576000600c6000848461ffff168151811061166d57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555080806116ba906148d8565b915050611636565b6116cc3382613301565b61173e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610e06565b6111128383836133f8565b336000908152600b602052604090205460ff166117965760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff16156117d95760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6017805462ff0000191662010000179055601080546001600160a01b039092166001600160a01b0319909216919091179055565b6000611818836121af565b821061188c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610e06565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60006001601754610100900460ff1660038111156118e357634e487b7160e01b600052602160045260246000fd5b148061191857506002601754610100900460ff16600381111561191657634e487b7160e01b600052602160045260246000fd5b145b61196e5760405162461bcd60e51b815260206004820152602160248201527f44726f70206d757374206265206f6e2050726573616c65206f722041637469766044820152606560f81b6064820152608401610e06565b34156119bc5760405162461bcd60e51b815260206004820152601660248201527f457468657220616d6f756e74206d7573742062652030000000000000000000006044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610611a205760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b336000908152600d6020526040902054600161ffff9091161015611aab5760405162461bcd60e51b8152602060048201526024808201527f53656e646572206e6f7420617070726f76656420666f7220667265652070726560448201527f73616c65000000000000000000000000000000000000000000000000000000006064820152608401610e06565b336000908152600d60205260408120805460019290611acf90849061ffff16614837565b825461ffff9182166101009390930a9283029190920219909116179055506017805464ff000000001916640100000000179055611266336131ec565b336000908152600b602052604090205460ff16611b585760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b82518161ffff1610156111125781600c6000858461ffff1681518110611b9157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055508080611bde906148d8565b915050611b5b565b611112838383604051806020016040528060008152506128bd565b6000611c0c60085490565b8210611c805760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610e06565b60088281548110611ca157634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b336000908152600b602052604090205460ff16611d005760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff1615611d435760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6014805467ffffffffffffffff909216600160401b027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff909216919091179055565b601a8054611d929061489d565b80601f0160208091040260200160405190810160405280929190818152602001828054611dbe9061489d565b8015611e0b5780601f10611de057610100808354040283529160200191611e0b565b820191906000526020600020905b815481529060010190602001808311611dee57829003601f168201915b505050505081565b336000908152600b602052604090205460ff1680611e3b57506010546001600160a01b031633145b611e765760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff1615611eb95760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b6017805463ff0000001916630100000017905580516115099060199060208401906140db565b6000818152600260205260408120546001600160a01b031680610db75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610e06565b336000908152600b602052604090205460ff16611fb75760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60005b82518161ffff1610156111125781600d6000858461ffff1681518110611ff057634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550808061203d906148d8565b915050611fba565b60188054611d929061489d565b336000908152600b602052604090205460ff168061207a57506010546001600160a01b031633145b6120b55760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b606481111561212c5760405162461bcd60e51b815260206004820152602260248201527f43616e27742068617665206d6f7265207468616e20313030252070616964206f60448201527f75740000000000000000000000000000000000000000000000000000000000006064820152608401610e06565b601355565b600a546001600160a01b0316331461218b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6001600160a01b03166000908152600b60205260409020805460ff19166001179055565b60006001600160a01b03821661222d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610e06565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146122a35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6122ad60006135d0565b565b600a546001600160a01b031633146123095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600b602052604090205460ff166123785760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60175460ff1615806123a1575060175460ff1680156123a15750600a546001600160a01b031633145b6124135760405162461bcd60e51b815260206004820152602760248201527f4f6e6c79206f776e65722063616e20757064617465207072696365207768656e60448201527f206c6f636b6564000000000000000000000000000000000000000000000000006064820152608401610e06565b6016548110156124655760405162461bcd60e51b815260206004820152601560248201527f7072696365506572546f6b656e20746f6f206c6f7700000000000000000000006044820152606401610e06565b601555565b336000908152600b602052604090205460ff168061249257506010546001600160a01b031633145b6124cd5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff16156125105760405162461bcd60e51b815260206004820152600d60248201526c13db9b1e481d5b9b1bd8dad959609a1b6044820152606401610e06565b805161150990601a9060208401906140db565b336000908152600b602052604090205460ff166125705760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b80516115099060189060208401906140db565b606060018054610ecd9061489d565b336000908152600b602052604090205460ff16806125ba57506010546001600160a01b031633145b6125f55760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b60175460ff166126475760405162461bcd60e51b815260206004820152601960248201527f436f6e747261637420616c726561647920756e6c6f636b6564000000000000006044820152606401610e06565b6000601754610100900460ff16600381111561267357634e487b7160e01b600052602160045260246000fd5b146126e65760405162461bcd60e51b815260206004820152602860248201527f43616e206f6e6c7920756e6c6f636b20436f6e747261637420696e20436c6f7360448201527f65642073746174650000000000000000000000000000000000000000000000006064820152608401610e06565b601754640100000000900460ff16156127675760405162461bcd60e51b815260206004820152602960248201527f43616e277420756e6c6f636b20636f6e74726163742061667465722073616c6560448201527f73207374617274656400000000000000000000000000000000000000000000006064820152608401610e06565b6017805460ff19169055565b6001600160a01b0382163314156127cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e06565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600b602052604090205460ff168061286057506010546001600160a01b031633145b61289b5760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c7920656469746f727360a01b6044820152606401610e06565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6128c73383613301565b6129395760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610e06565b61294584848484613622565b50505050565b6000818152600260205260409020546060906001600160a01b03166129d85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610e06565b60186129e3836136ab565b6040516020016129f492919061462f565b6040516020818303038152906040529050919050565b601b8054611d929061489d565b60006001601754610100900460ff166003811115612a4557634e487b7160e01b600052602160045260246000fd5b1480612a7a57506002601754610100900460ff166003811115612a7857634e487b7160e01b600052602160045260246000fd5b145b612ad05760405162461bcd60e51b815260206004820152602160248201527f44726f70206d757374206265206f6e2050726573616c65206f722041637469766044820152606560f81b6064820152608401610e06565b601554341015612b225760405162461bcd60e51b815260206004820152601f60248201527f457468657220616d6f756e7420697320756e64657220736574207072696365006044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610612b865760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6001601754610100900460ff166003811115612bb257634e487b7160e01b600052602160045260246000fd5b141561124857336000908152600c6020526040902054600161ffff9091161015612c1e5760405162461bcd60e51b815260206004820152601f60248201527f53656e646572206e6f7420617070726f76656420666f722070726573616c65006044820152606401610e06565b336000908152600c60205260408120805460019290611acf90849061ffff16614837565b60006002601754610100900460ff166003811115612c7057634e487b7160e01b600052602160045260246000fd5b1480612ca557506003601754610100900460ff166003811115612ca357634e487b7160e01b600052602160045260246000fd5b145b612d175760405162461bcd60e51b815260206004820152602560248201527f44726f70206d75737420626520616374697665206f7220696e206d61696e746560448201527f6e616e63650000000000000000000000000000000000000000000000000000006064820152608401610e06565b601c54825160ff9091161115612d6f5760405162461bcd60e51b815260206004820181905260248201527f4d657267696e67206c65737320746f6b656e73207468616e20616c6c6f7765646044820152606401610e06565b601c54825161010090910460ff161015612dcb5760405162461bcd60e51b815260206004820181905260248201527f4d657267696e67206d6f726520746f6b656e73207468616e20616c6c6f7765646044820152606401610e06565b6000805b83518161ffff161015612ef457838161ffff1681518110612e0057634e487b7160e01b600052603260045260246000fd5b60200260200101519250612e113390565b6001600160a01b0316612e2384611edf565b6001600160a01b031614612e9f5760405162461bcd60e51b815260206004820152602860248201527f4552433732313a204d657267696e67206f6620746f6b656e207468617420697360448201527f206e6f74206f776e0000000000000000000000000000000000000000000000006064820152608401610e06565b6000838152601d6020526040902054612ebe9063ffffffff16836147b9565b9150612ec9836137f9565b6000838152601e60205260409020805460ff1916600117905580612eec816148d8565b915050612dcf565b506000612f0184336138a0565b6000818152601d60205260409020805463ffffffff191663ffffffff94909416939093179092555092915050565b336000908152600b602052604081205460ff16612f7c5760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792061646d696e7360a81b6044820152606401610e06565b60145467ffffffffffffffff600160401b82048116911610612fe05760405162461bcd60e51b815260206004820152601a60248201527f4d757374206e6f7420657863656564206d617820746f6b656e730000000000006044820152606401610e06565b6000612feb836131ec565b9150505b919050565b60198054611d929061489d565b600a546001600160a01b0316331461305b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e06565b6001600160a01b0381166130d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610e06565b6130e0816135d0565b50565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061314657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610db757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610db7565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906131b382611edf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60145460009067ffffffffffffffff166132078160016147e1565b6014805467ffffffffffffffff191667ffffffffffffffff929092169190911790556000814361323860018261485a565b6040805160208101949094528301919091524060608083019190915285901b6bffffffffffffffffffffffff191660808201526094016040516020818303038152906040528051906020012090506132908483613a1f565b6000828152601f60209081526040808320849055601d909152808220805463ffffffff191660011790555183916001600160a01b038716917f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859190a334156132fa576132fa613b6d565b5092915050565b6000818152600260205260408120546001600160a01b031661337a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e06565b600061338583611edf565b9050806001600160a01b0316846001600160a01b031614806133c05750836001600160a01b03166133b584610f50565b6001600160a01b0316145b806133f057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661340b82611edf565b6001600160a01b0316146134875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610e06565b6001600160a01b0382166135025760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610e06565b61350d838383613d06565b61351860008261317e565b6001600160a01b038316600090815260036020526040812080546001929061354190849061485a565b90915550506001600160a01b038216600090815260036020526040812080546001929061356f9084906147a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61362d8484846133f8565b61363984848484613dbe565b6129455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610e06565b6060816136eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561371557806136ff816148fa565b915061370e9050600a83614804565b91506136ef565b60008167ffffffffffffffff81111561373e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613768576020820181803683370190505b5090505b84156133f05761377d60018361485a565b915061378a600a86614915565b6137959060306147a1565b60f81b8183815181106137b857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137f2600a86614804565b945061376c565b600061380482611edf565b905061381281600084613d06565b61381d60008361317e565b6001600160a01b038116600090815260036020526040812080546001929061384690849061485a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b601c5460145460009182916138cf9167ffffffffffffffff62010000909104811691600160401b9004166147e1565b601c5467ffffffffffffffff91821692506138f391620100009091041660016147e1565b601c805467ffffffffffffffff92909216620100000269ffffffffffffffff0000199092169190911790556000814361392d60018261485a565b6040805160208101949094528301919091524060608083019190915285901b6bffffffffffffffffffffffff191660808201526094016040516020818303038152906040528051906020012090506139858483613a1f565b6000828152601f6020526040908190208290555182906001600160a01b038616906139b19088906145f9565b604051908190038120907fb041cb959b2abfd182c309507eb0427c81f7d7e48ad0ca71fa3fea97b40eb10a90600090a460405182906001600160a01b038616907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a3509392505050565b6001600160a01b038216613a755760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e06565b6000818152600260205260409020546001600160a01b031615613ada5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e06565b613ae660008383613d06565b6001600160a01b0382166000908152600360205260408120805460019290613b0f9084906147a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060155434613b7d919061485a565b90508015613bb457604051339082156108fc029083906000818181858888f19350505050158015613bb2573d6000803e3d6000fd5b505b6000600f546064601554613bc89190614804565b613bd29190614818565b90508015613c1657600e546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613c14573d6000803e3d6000fd5b505b60006011546064601554613c2a9190614804565b613c349190614818565b905060006013546064613c47919061485a565b613c52606484614804565b613c5c9190614818565b90508015613ca0576010546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613c9e573d6000803e3d6000fd5b505b601354600090613cb1606485614804565b613cbb9190614818565b90508015613cff576012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015613cfd573d6000803e3d6000fd5b505b5050505050565b6001600160a01b038316613d6157613d5c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613d84565b816001600160a01b0316836001600160a01b031614613d8457613d848382613f21565b6001600160a01b038216613d9b5761111281613fbe565b826001600160a01b0316826001600160a01b031614611112576111128282614097565b60006001600160a01b0384163b15613f1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613e029033908990889088906004016146d5565b602060405180830381600087803b158015613e1c57600080fd5b505af1925050508015613e4c575060408051601f3d908101601f19168201909252613e49918101906144f0565b60015b613efc573d808015613e7a576040519150601f19603f3d011682016040523d82523d6000602084013e613e7f565b606091505b508051613ef45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610e06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506133f0565b506001949350505050565b60006001613f2e846121af565b613f38919061485a565b600083815260076020526040902054909150808214613f8b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613fd09060019061485a565b6000838152600960205260408120546008805493945090928490811061400657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061403557634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061407b57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006140a2836121af565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546140e79061489d565b90600052602060002090601f016020900481019282614109576000855561414f565b82601f1061412257805160ff191683800117855561414f565b8280016001018555821561414f579182015b8281111561414f578251825591602001919060010190614134565b5061415b92915061415f565b5090565b5b8082111561415b5760008155600101614160565b600067ffffffffffffffff83111561418e5761418e614955565b6141a1601f8401601f191660200161474c565b90508281528383830111156141b557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612fef57600080fd5b600082601f8301126141f3578081fd5b813560206142086142038361477d565b61474c565b80838252828201915082860187848660051b8901011115614227578586fd5b855b8581101561424c5761423a826141cc565b84529284019290840190600101614229565b5090979650505050505050565b60006020828403121561426a578081fd5b614273826141cc565b9392505050565b6000806040838503121561428c578081fd5b614295836141cc565b91506142a3602084016141cc565b90509250929050565b6000806000606084860312156142c0578081fd5b6142c9846141cc565b92506142d7602085016141cc565b9150604084013590509250925092565b600080600080608085870312156142fc578081fd5b614305856141cc565b9350614313602086016141cc565b925060408501359150606085013567ffffffffffffffff811115614335578182fd5b8501601f81018713614345578182fd5b61435487823560208401614174565b91505092959194509250565b60008060408385031215614372578182fd5b61437b836141cc565b91506020830135801515811461438f578182fd5b809150509250929050565b600080604083850312156143ac578182fd5b6143b5836141cc565b946020939093013593505050565b6000602082840312156143d4578081fd5b813567ffffffffffffffff8111156143ea578182fd5b6133f0848285016141e3565b60008060408385031215614408578182fd5b823567ffffffffffffffff81111561441e578283fd5b61442a858286016141e3565b925050602083013561ffff8116811461438f578182fd5b60006020808385031215614453578182fd5b823567ffffffffffffffff811115614469578283fd5b8301601f81018513614479578283fd5b80356144876142038261477d565b80828252848201915084840188868560051b87010111156144a6578687fd5b8694505b838510156144c85780358352600194909401939185019185016144aa565b50979650505050505050565b6000602082840312156144e5578081fd5b81356142738161496b565b600060208284031215614501578081fd5b81516142738161496b565b60006020828403121561451d578081fd5b813560048110614273578182fd5b60006020828403121561453c578081fd5b813567ffffffffffffffff811115614552578182fd5b8201601f81018413614562578182fd5b6133f084823560208401614174565b600060208284031215614582578081fd5b5035919050565b60006020828403121561459a578081fd5b813567ffffffffffffffff81168114614273578182fd5b600081518084526145c9816020860160208601614871565b601f01601f19169290920160200192915050565b600081516145ef818560208601614871565b9290920192915050565b815160009082906020808601845b8381101561462357815185529382019390820190600101614607565b50929695505050505050565b600080845482600182811c91508083168061464b57607f831692505b602080841082141561466b57634e487b7160e01b87526022600452602487fd5b81801561467f5760018114614690576146bc565b60ff198616895284890196506146bc565b60008b815260209020885b868110156146b45781548b82015290850190830161469b565b505084890196505b5050505050506146cc81856145dd565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261470760808301846145b1565b9695505050505050565b602081016004831061473357634e487b7160e01b600052602160045260246000fd5b91905290565b60208152600061427360208301846145b1565b604051601f8201601f1916810167ffffffffffffffff8111828210171561477557614775614955565b604052919050565b600067ffffffffffffffff82111561479757614797614955565b5060051b60200190565b600082198211156147b4576147b4614929565b500190565b600063ffffffff8083168185168083038211156147d8576147d8614929565b01949350505050565b600067ffffffffffffffff8083168185168083038211156147d8576147d8614929565b6000826148135761481361493f565b500490565b600081600019048311821515161561483257614832614929565b500290565b600061ffff8381169083168181101561485257614852614929565b039392505050565b60008282101561486c5761486c614929565b500390565b60005b8381101561488c578181015183820152602001614874565b838111156129455750506000910152565b600181811c908216806148b157607f821691505b602082108114156148d257634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156148f0576148f0614929565b6001019392505050565b600060001982141561490e5761490e614929565b5060010190565b6000826149245761492461493f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146130e057600080fdfea26469706673582212206f39d4be7104691de3f87e7a7418e7c6e94be1d239a44a5603096a84ba16540f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000f8b0a10e470000000000000000000000000000000000000000000000000000000000000000015e000000000000000000000000000000000000000000000000000000000000000957696e6473776570740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000457494e4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f666f726d612d6172742e6865726f6b756170702e636f6d2f6170692f70726f6a656374732f6f70656e5365612f322f000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Windswept
Arg [1] : _tokenSymbol (string): WIND
Arg [2] : _baseURI (string): https://forma-art.herokuapp.com/api/projects/openSea/2/
Arg [3] : _pricePerToken (uint64): 70000000000000000
Arg [4] : _maxTokens (uint64): 350
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000f8b0a10e470000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000015e
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 57696e6473776570740000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 57494e4400000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [10] : 68747470733a2f2f666f726d612d6172742e6865726f6b756170702e636f6d2f
Arg [11] : 6170692f70726f6a656374732f6f70656e5365612f322f000000000000000000
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.