NFT
Overview
TokenID
3580
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WallStBulls
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /**** __ __ _ _ _____ _ _ ____ _ _ \ \ / / | | | / ____| | | | | _ \ | | | \ \ /\ / /_ _| | | | (___ | |_ _ __ ___ ___| |_ | |_) |_ _| | |___ \ \/ \/ / _` | | | \___ \| __| '__/ _ \/ _ \ __| | _ <| | | | | / __| \ /\ / (_| | | | ____) | |_| | | __/ __/ |_ | |_) | |_| | | \__ \ \/ \/ \__,_|_|_| |_____/ \__|_| \___|\___|\__| |____/ \__,_|_|_|___/ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXXKK0KKKXXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNX0OOkkxxxxxxkkOO0OONMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0kkxxxkOO000KKXXNNNNXk0MMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKOOKKdcokOOO00KKXXNNNNXXK0kKMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOxxkOKKkccdkOOKXNNNNNXK00O00KNMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0xxkO000KKKkoodOXNNNNXK0OOkkkO0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKxdOKK000000XXXXXNNXKK0OOkkkkxddoOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXKO0XXXK0KKXXNNWWWKOxdxkkkkkkkxdocoKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0kO000KNWWK0XXNNXKKKKXXNWWNNNX0xc:lxxxkkxdoolckWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOl;coxxxOXN0xkxdx0KKXXXNNNNXXK0OOOkoccc:loollc:xNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0o;;okO000KOooxxolcdKXXXXKKKKKOdooodkOxoloool,,;dNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKd:;cdOOOO00xclk0Okxxod0K0OOOOOxlldoc:llcooxOOd;;kNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOololdOOOxdxxloOXNNK0klclkOkkkkocod;. .:oodocl0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKO00kdkOOxoxOdlkXNNXOkdlc;;oxkkd:co,. ..,cllc:dXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWNXOolooookNXdckKKOxolc;;:llldxl;lo' ..',;:::co0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX0KKOxddxOOxxkkl,,cdoc,'.':okkddkxc;:ol,;lc;;;:d0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXdldxOKNWN0ddOKKd;;;;'..coxOOkkkkkdll:;,;;;;;lxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWkoOXWMWXkxdkKXNXk:'..'';cloddddddoccc:,'.',lONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNNMMWXOdx0XXNN0o,';cc:,,',,,,,,,;;:::ccccoONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0xdxOKXNN0l;:dOXN0xoc;,:oxc;ldxkOKXNKKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKX0od0KKKKOdloOXNNNNXK0xddO0OxdO0000XX0KNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0ooold0K0xodkKXNNNXX0kkk00Odok00000000kd0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOkxlcx0KK0OOKKKKKKK0xokXWWx:cdO000OOOkxldXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKOo:dOKKKKKKKKKKKOddkKWMWOc:ldxxxdooc:cdKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOllok0KKK0kxxxkxdokNMMMWXOxxddoc:;:ldOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOcokOOkxxxdl:okkO0XWMMWXkddolc:cldOKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKllkkkxl:cdod0NMMMMMMMNOl;:codxOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk:cllc:cxXNOkXMMMMMMMMNOdk0NWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXxodddxOXWMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM *****/ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract WallStBulls is ERC721Enumerable, Ownable { uint256 public constant MAX_BULLS = 10000; uint256 public constant PRICE = 0.069 ether; uint256 public constant RESERVED_BULLS = 300; uint256 public constant MAX_MINT = 10; mapping(address => uint256) public totalMinted; string public baseURI; bool public baseURIFinal; bool public publicSaleActive; bool public presaleActive; bytes32 private _presaleMerkleRoot; event BaseURIChanged(string baseURI); event BullMint(address minter, uint256 mintCount); constructor(string memory _initialBaseURI) ERC721("Wall Street Bulls", "WSB") { baseURI = _initialBaseURI; } function setBaseURI(string memory _newBaseURI) external onlyOwner { require(!baseURIFinal, "Base URL is unchangeable"); baseURI = _newBaseURI; emit BaseURIChanged(baseURI); } function finalizeBaseURI() external onlyOwner { baseURIFinal = true; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function togglePresaleActive() external onlyOwner { presaleActive = !presaleActive; } function togglePublicSaleActive() external onlyOwner { publicSaleActive = !publicSaleActive; } function setPresaleMerkleRoot(bytes32 _merkleRoot) external onlyOwner { _presaleMerkleRoot = _merkleRoot; } function withdraw(address _to, uint256 _amount) external onlyOwner { (bool success, ) = _to.call{ value: _amount }(""); require(success, "Failed to withdraw Ether"); } function mintReserved(address _to, uint256 _bullCount) external onlyOwner { require(totalMinted[msg.sender] + _bullCount <= RESERVED_BULLS, "All Reserved Bulls have been minted"); _mintBull(_to, _bullCount); } function _verifyPresaleEligible(address _account, uint8 _maxAllowed, bytes32[] calldata _merkleProof) private view returns (bool) { bytes32 node = keccak256(abi.encodePacked(_account, _maxAllowed)); return MerkleProof.verify(_merkleProof, _presaleMerkleRoot, node); } function mintBullPresale(uint256 _bullCount, uint8 _maxAllowed, bytes32[] calldata _merkleProof) external payable { require(presaleActive && !publicSaleActive, "Presale sale is not active"); require(_verifyPresaleEligible(msg.sender, _maxAllowed, _merkleProof), "Address not found in presale allow list"); require(totalMinted[msg.sender] + _bullCount <= uint256(_maxAllowed), "Purchase exceeds max presale mint count"); require(PRICE * _bullCount == msg.value, "ETH amount is incorrect"); _mintBull(msg.sender, _bullCount); } function mintBull(uint256 _bullCount) external payable { require(publicSaleActive, "Public sale is not active"); require(totalMinted[msg.sender] + _bullCount <= MAX_MINT, "Purchase exceeds max mint count"); require(PRICE * _bullCount == msg.value, "ETH amount is incorrect"); _mintBull(msg.sender, _bullCount); } function _mintBull(address _to, uint256 _bullCount) private { uint256 totalSupply = totalSupply(); require(totalSupply + _bullCount <= MAX_BULLS, "All Bulls have been minted. Hit the trading floor"); require(_bullCount > 0, "Must mint at least one bull"); for (uint256 i = 1; i <= _bullCount; i++) { totalMinted[msg.sender] += 1; _safeMint(_to, totalSupply + i); } emit BullMint(_to, _bullCount); } }
// 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 "../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; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// 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); }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initialBaseURI","type":"string"}],"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":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"BullMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_BULLS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_BULLS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bullCount","type":"uint256"}],"name":"mintBull","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bullCount","type":"uint256"},{"internalType":"uint8","name":"_maxAllowed","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintBullPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_bullCount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","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":[],"name":"togglePresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620053a4380380620053a4833981810160405281019062000037919062000307565b6040518060400160405280601181526020017f57616c6c205374726565742042756c6c730000000000000000000000000000008152506040518060400160405280600381526020017f57534200000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001e5565b508060019080519060200190620000d4929190620001e5565b505050620000f7620000eb6200011760201b60201c565b6200011f60201b60201c565b80600c90805190602001906200010f929190620001e5565b5050620004bc565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f390620003e1565b90600052602060002090601f01602090048101928262000217576000855562000263565b82601f106200023257805160ff191683800117855562000263565b8280016001018555821562000263579182015b828111156200026257825182559160200191906001019062000245565b5b50905062000272919062000276565b5090565b5b808211156200029157600081600090555060010162000277565b5090565b6000620002ac620002a68462000375565b6200034c565b905082815260208101848484011115620002c557600080fd5b620002d2848285620003ab565b509392505050565b600082601f830112620002ec57600080fd5b8151620002fe84826020860162000295565b91505092915050565b6000602082840312156200031a57600080fd5b600082015167ffffffffffffffff8111156200033557600080fd5b6200034384828501620002da565b91505092915050565b6000620003586200036b565b905062000366828262000417565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039357620003926200047c565b5b6200039e82620004ab565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b60006002820490506001821680620003fa57607f821691505b602082108114156200041157620004106200044d565b5b50919050565b6200042282620004ab565b810181811067ffffffffffffffff821117156200044457620004436200047c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614ed880620004cc6000396000f3fe6080604052600436106102195760003560e01c80636352211e1161012357806395d89b41116100ab578063e2d803281161006f578063e2d8032814610790578063e985e9c5146107bb578063f0292a03146107f8578063f2fde38b14610823578063f3fef3a31461084c57610219565b806395d89b41146106ab578063a22cb465146106d6578063b88d4fde146106ff578063bc8893b414610728578063c87b56dd1461075357610219565b80637a55deae116100f25780637a55deae146105ea5780637de55fe11461061557806389b0649b1461063e5780638d859f3e146106555780638da5cb5b1461068057610219565b80636352211e1461052e5780636c0360eb1461056b57806370a0823114610596578063715018a6146105d357610219565b806328d7b276116101a657806342842e0e1161017557806342842e0e146104585780634f6ccce71461048157806353135ca0146104be57806355f804b3146104e957806359f69c5b1461051257610219565b806328d7b276146103b05780632962d485146103d95780632f745c591461040457806337c3fdbc1461044157610219565b8063081812fc116101ed578063081812fc146102df578063095ea7b31461031c5780630c894cfe1461034557806318160ddd1461035c57806323b872dd1461038757610219565b80623d47901461021e57806301ffc9a71461025b57806303ff8e9b1461029857806306fdde03146102b4575b600080fd5b34801561022a57600080fd5b5061024560048036038101906102409190613412565b610875565b60405161025291906141d9565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906135e2565b61088d565b60405161028f9190613dda565b60405180910390f35b6102b260048036038101906102ad9190613675565b610907565b005b3480156102c057600080fd5b506102c9610a45565b6040516102d69190613df5565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613675565b610ad7565b6040516103139190613d4a565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061357d565b610b5c565b005b34801561035157600080fd5b5061035a610c74565b005b34801561036857600080fd5b50610371610d1c565b60405161037e91906141d9565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190613477565b610d29565b005b3480156103bc57600080fd5b506103d760048036038101906103d291906135b9565b610d89565b005b3480156103e557600080fd5b506103ee610e0f565b6040516103fb91906141d9565b60405180910390f35b34801561041057600080fd5b5061042b6004803603810190610426919061357d565b610e15565b60405161043891906141d9565b60405180910390f35b34801561044d57600080fd5b50610456610eba565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613477565b610f53565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613675565b610f73565b6040516104b591906141d9565b60405180910390f35b3480156104ca57600080fd5b506104d361100a565b6040516104e09190613dda565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b9190613634565b61101d565b005b61052c6004803603810190610527919061369e565b61113b565b005b34801561053a57600080fd5b5061055560048036038101906105509190613675565b6112e2565b6040516105629190613d4a565b60405180910390f35b34801561057757600080fd5b50610580611394565b60405161058d9190613df5565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613412565b611422565b6040516105ca91906141d9565b60405180910390f35b3480156105df57600080fd5b506105e86114da565b005b3480156105f657600080fd5b506105ff611562565b60405161060c9190613dda565b60405180910390f35b34801561062157600080fd5b5061063c6004803603810190610637919061357d565b611575565b005b34801561064a57600080fd5b5061065361168e565b005b34801561066157600080fd5b5061066a611736565b60405161067791906141d9565b60405180910390f35b34801561068c57600080fd5b50610695611741565b6040516106a29190613d4a565b60405180910390f35b3480156106b757600080fd5b506106c061176b565b6040516106cd9190613df5565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190613541565b6117fd565b005b34801561070b57600080fd5b50610726600480360381019061072191906134c6565b61197e565b005b34801561073457600080fd5b5061073d6119e0565b60405161074a9190613dda565b60405180910390f35b34801561075f57600080fd5b5061077a60048036038101906107759190613675565b6119f3565b6040516107879190613df5565b60405180910390f35b34801561079c57600080fd5b506107a5611a9a565b6040516107b291906141d9565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd919061343b565b611aa0565b6040516107ef9190613dda565b60405180910390f35b34801561080457600080fd5b5061080d611b34565b60405161081a91906141d9565b60405180910390f35b34801561082f57600080fd5b5061084a60048036038101906108459190613412565b611b39565b005b34801561085857600080fd5b50610873600480360381019061086e919061357d565b611c31565b005b600b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090057506108ff82611d5e565b5b9050919050565b600d60019054906101000a900460ff16610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d90613ff9565b60405180910390fd5b600a81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109a391906142de565b11156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90613e39565b60405180910390fd5b348166f52322698080006109f89190614365565b14610a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2f90614059565b60405180910390fd5b610a423382611e40565b50565b606060008054610a54906144c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a80906144c0565b8015610acd5780601f10610aa257610100808354040283529160200191610acd565b820191906000526020600020905b815481529060010190602001808311610ab057829003601f168201915b5050505050905090565b6000610ae282611fab565b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1890614079565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b67826112e2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90614119565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf7612017565b73ffffffffffffffffffffffffffffffffffffffff161480610c265750610c2581610c20612017565b611aa0565b5b610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c90613f99565b60405180910390fd5b610c6f838361201f565b505050565b610c7c612017565b73ffffffffffffffffffffffffffffffffffffffff16610c9a611741565b73ffffffffffffffffffffffffffffffffffffffff1614610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790614099565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6000600880549050905090565b610d3a610d34612017565b826120d8565b610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090614139565b60405180910390fd5b610d848383836121b6565b505050565b610d91612017565b73ffffffffffffffffffffffffffffffffffffffff16610daf611741565b73ffffffffffffffffffffffffffffffffffffffff1614610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc90614099565b60405180910390fd5b80600e8190555050565b61271081565b6000610e2083611422565b8210610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613e59565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ec2612017565b73ffffffffffffffffffffffffffffffffffffffff16610ee0611741565b73ffffffffffffffffffffffffffffffffffffffff1614610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90614099565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b610f6e8383836040518060200160405280600081525061197e565b505050565b6000610f7d610d1c565b8210610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614179565b60405180910390fd5b60088281548110610ff8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b611025612017565b73ffffffffffffffffffffffffffffffffffffffff16611043611741565b73ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614099565b60405180910390fd5b600d60009054906101000a900460ff16156110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090613ed9565b60405180910390fd5b80600c90805190602001906110ff9291906131c2565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600c6040516111309190613e17565b60405180910390a150565b600d60029054906101000a900460ff1680156111645750600d60019054906101000a900460ff16155b6111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90614019565b60405180910390fd5b6111af33848484612412565b6111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590614199565b60405180910390fd5b8260ff1684600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461123d91906142de565b111561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614159565b60405180910390fd5b348466f52322698080006112929190614365565b146112d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c990614059565b60405180910390fd5b6112dc3385611e40565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613fd9565b60405180910390fd5b80915050919050565b600c80546113a1906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546113cd906144c0565b801561141a5780601f106113ef5761010080835404028352916020019161141a565b820191906000526020600020905b8154815290600101906020018083116113fd57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90613fb9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e2612017565b73ffffffffffffffffffffffffffffffffffffffff16611500611741565b73ffffffffffffffffffffffffffffffffffffffff1614611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d90614099565b60405180910390fd5b6115606000612499565b565b600d60009054906101000a900460ff1681565b61157d612017565b73ffffffffffffffffffffffffffffffffffffffff1661159b611741565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614099565b60405180910390fd5b61012c81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461163f91906142de565b1115611680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611677906141b9565b60405180910390fd5b61168a8282611e40565b5050565b611696612017565b73ffffffffffffffffffffffffffffffffffffffff166116b4611741565b73ffffffffffffffffffffffffffffffffffffffff161461170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190614099565b60405180910390fd5b600d60029054906101000a900460ff1615600d60026101000a81548160ff021916908315150217905550565b66f523226980800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461177a906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546117a6906144c0565b80156117f35780601f106117c8576101008083540402835291602001916117f3565b820191906000526020600020905b8154815290600101906020018083116117d657829003601f168201915b5050505050905090565b611805612017565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90613f19565b60405180910390fd5b8060056000611880612017565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661192d612017565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119729190613dda565b60405180910390a35050565b61198f611989612017565b836120d8565b6119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614139565b60405180910390fd5b6119da8484848461255f565b50505050565b600d60019054906101000a900460ff1681565b60606119fe82611fab565b611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906140d9565b60405180910390fd5b6000611a476125bb565b90506000815111611a675760405180602001604052806000815250611a92565b80611a718461264d565b604051602001611a82929190613d11565b6040516020818303038152906040525b915050919050565b61012c81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b611b41612017565b73ffffffffffffffffffffffffffffffffffffffff16611b5f611741565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614099565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613e99565b60405180910390fd5b611c2e81612499565b50565b611c39612017565b73ffffffffffffffffffffffffffffffffffffffff16611c57611741565b73ffffffffffffffffffffffffffffffffffffffff1614611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614099565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611cd390613d35565b60006040518083038185875af1925050503d8060008114611d10576040519150601f19603f3d011682016040523d82523d6000602084013e611d15565b606091505b5050905080611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d50906140f9565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e2957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e395750611e38826127fa565b5b9050919050565b6000611e4a610d1c565b90506127108282611e5b91906142de565b1115611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9390613f59565b60405180910390fd5b60008211611edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed690613f79565b60405180910390fd5b6000600190505b828111611f6c576001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3d91906142de565b92505081905550611f59848284611f5491906142de565b612864565b8080611f6490614523565b915050611ee6565b507f7d3bd82c1e93c5ae506ed68433ffb2aea37cb8e79f110e5f552a3012654bbd248383604051611f9e929190613db1565b60405180910390a1505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612092836112e2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e382611fab565b612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211990613f39565b60405180910390fd5b600061212d836112e2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061219c57508373ffffffffffffffffffffffffffffffffffffffff1661218484610ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b806121ad57506121ac8185611aa0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121d6826112e2565b73ffffffffffffffffffffffffffffffffffffffff161461222c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612223906140b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390613ef9565b60405180910390fd5b6122a7838383612882565b6122b260008261201f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230291906143bf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235991906142de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808585604051602001612428929190613cb9565b60405160208183030381529060405280519060200120905061248e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612996565b915050949350505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61256a8484846121b6565b61257684848484612a72565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90613e79565b60405180910390fd5b50505050565b6060600c80546125ca906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546125f6906144c0565b80156126435780601f1061261857610100808354040283529160200191612643565b820191906000526020600020905b81548152906001019060200180831161262657829003601f168201915b5050505050905090565b60606000821415612695576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127f5565b600082905060005b600082146126c75780806126b090614523565b915050600a826126c09190614334565b915061269d565b60008167ffffffffffffffff811115612709577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561273b5781602001600182028036833780820191505090505b5090505b600085146127ee5760018261275491906143bf565b9150600a8561276391906145ac565b603061276f91906142de565b60f81b8183815181106127ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e79190614334565b945061273f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61287e828260405180602001604052806000815250612c09565b5050565b61288d838383612c64565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128d0576128cb81612c69565b61290f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461290e5761290d8382612cb2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129525761294d81612e1f565b612991565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129905761298f8282612f62565b5b5b505050565b60008082905060005b8551811015612a645760008682815181106129e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612a24578281604051602001612a07929190613ce5565b604051602081830303815290604052805190602001209250612a50565b8083604051602001612a37929190613ce5565b6040516020818303038152906040528051906020012092505b508080612a5c90614523565b91505061299f565b508381149150509392505050565b6000612a938473ffffffffffffffffffffffffffffffffffffffff16612fe1565b15612bfc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612abc612017565b8786866040518563ffffffff1660e01b8152600401612ade9493929190613d65565b602060405180830381600087803b158015612af857600080fd5b505af1925050508015612b2957506040513d601f19601f82011682018060405250810190612b26919061360b565b60015b612bac573d8060008114612b59576040519150601f19603f3d011682016040523d82523d6000602084013e612b5e565b606091505b50600081511415612ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9b90613e79565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c01565b600190505b949350505050565b612c138383612ff4565b612c206000848484612a72565b612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690613e79565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612cbf84611422565b612cc991906143bf565b9050600060076000848152602001908152602001600020549050818114612dae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e3391906143bf565b9050600060096000848152602001908152602001600020549050600060088381548110612e89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612ed1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f6d83611422565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305b90614039565b60405180910390fd5b61306d81611fab565b156130ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a490613eb9565b60405180910390fd5b6130b960008383612882565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310991906142de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546131ce906144c0565b90600052602060002090601f0160209004810192826131f05760008555613237565b82601f1061320957805160ff1916838001178555613237565b82800160010185558215613237579182015b8281111561323657825182559160200191906001019061321b565b5b5090506132449190613248565b5090565b5b80821115613261576000816000905550600101613249565b5090565b600061327861327384614219565b6141f4565b90508281526020810184848401111561329057600080fd5b61329b84828561447e565b509392505050565b60006132b66132b18461424a565b6141f4565b9050828152602081018484840111156132ce57600080fd5b6132d984828561447e565b509392505050565b6000813590506132f081614e18565b92915050565b60008083601f84011261330857600080fd5b8235905067ffffffffffffffff81111561332157600080fd5b60208301915083602082028301111561333957600080fd5b9250929050565b60008135905061334f81614e2f565b92915050565b60008135905061336481614e46565b92915050565b60008135905061337981614e5d565b92915050565b60008151905061338e81614e5d565b92915050565b600082601f8301126133a557600080fd5b81356133b5848260208601613265565b91505092915050565b600082601f8301126133cf57600080fd5b81356133df8482602086016132a3565b91505092915050565b6000813590506133f781614e74565b92915050565b60008135905061340c81614e8b565b92915050565b60006020828403121561342457600080fd5b6000613432848285016132e1565b91505092915050565b6000806040838503121561344e57600080fd5b600061345c858286016132e1565b925050602061346d858286016132e1565b9150509250929050565b60008060006060848603121561348c57600080fd5b600061349a868287016132e1565b93505060206134ab868287016132e1565b92505060406134bc868287016133e8565b9150509250925092565b600080600080608085870312156134dc57600080fd5b60006134ea878288016132e1565b94505060206134fb878288016132e1565b935050604061350c878288016133e8565b925050606085013567ffffffffffffffff81111561352957600080fd5b61353587828801613394565b91505092959194509250565b6000806040838503121561355457600080fd5b6000613562858286016132e1565b925050602061357385828601613340565b9150509250929050565b6000806040838503121561359057600080fd5b600061359e858286016132e1565b92505060206135af858286016133e8565b9150509250929050565b6000602082840312156135cb57600080fd5b60006135d984828501613355565b91505092915050565b6000602082840312156135f457600080fd5b60006136028482850161336a565b91505092915050565b60006020828403121561361d57600080fd5b600061362b8482850161337f565b91505092915050565b60006020828403121561364657600080fd5b600082013567ffffffffffffffff81111561366057600080fd5b61366c848285016133be565b91505092915050565b60006020828403121561368757600080fd5b6000613695848285016133e8565b91505092915050565b600080600080606085870312156136b457600080fd5b60006136c2878288016133e8565b94505060206136d3878288016133fd565b935050604085013567ffffffffffffffff8111156136f057600080fd5b6136fc878288016132f6565b925092505092959194509250565b613713816143f3565b82525050565b61372a613725826143f3565b61456c565b82525050565b61373981614405565b82525050565b61375061374b82614411565b61457e565b82525050565b600061376182614290565b61376b81856142a6565b935061377b81856020860161448d565b61378481614699565b840191505092915050565b600061379a8261429b565b6137a481856142c2565b93506137b481856020860161448d565b6137bd81614699565b840191505092915050565b60006137d38261429b565b6137dd81856142d3565b93506137ed81856020860161448d565b80840191505092915050565b60008154613806816144c0565b61381081866142c2565b9450600182166000811461382b576001811461383d57613870565b60ff1983168652602086019350613870565b6138468561427b565b60005b8381101561386857815481890152600182019150602081019050613849565b808801955050505b50505092915050565b6000613886601f836142c2565b9150613891826146c4565b602082019050919050565b60006138a9602b836142c2565b91506138b4826146ed565b604082019050919050565b60006138cc6032836142c2565b91506138d78261473c565b604082019050919050565b60006138ef6026836142c2565b91506138fa8261478b565b604082019050919050565b6000613912601c836142c2565b915061391d826147da565b602082019050919050565b60006139356018836142c2565b915061394082614803565b602082019050919050565b60006139586024836142c2565b91506139638261482c565b604082019050919050565b600061397b6019836142c2565b91506139868261487b565b602082019050919050565b600061399e602c836142c2565b91506139a9826148a4565b604082019050919050565b60006139c16031836142c2565b91506139cc826148f3565b604082019050919050565b60006139e4601b836142c2565b91506139ef82614942565b602082019050919050565b6000613a076038836142c2565b9150613a128261496b565b604082019050919050565b6000613a2a602a836142c2565b9150613a35826149ba565b604082019050919050565b6000613a4d6029836142c2565b9150613a5882614a09565b604082019050919050565b6000613a706019836142c2565b9150613a7b82614a58565b602082019050919050565b6000613a93601a836142c2565b9150613a9e82614a81565b602082019050919050565b6000613ab66020836142c2565b9150613ac182614aaa565b602082019050919050565b6000613ad96017836142c2565b9150613ae482614ad3565b602082019050919050565b6000613afc602c836142c2565b9150613b0782614afc565b604082019050919050565b6000613b1f6020836142c2565b9150613b2a82614b4b565b602082019050919050565b6000613b426029836142c2565b9150613b4d82614b74565b604082019050919050565b6000613b65602f836142c2565b9150613b7082614bc3565b604082019050919050565b6000613b886018836142c2565b9150613b9382614c12565b602082019050919050565b6000613bab6021836142c2565b9150613bb682614c3b565b604082019050919050565b6000613bce6000836142b7565b9150613bd982614c8a565b600082019050919050565b6000613bf16031836142c2565b9150613bfc82614c8d565b604082019050919050565b6000613c146027836142c2565b9150613c1f82614cdc565b604082019050919050565b6000613c37602c836142c2565b9150613c4282614d2b565b604082019050919050565b6000613c5a6027836142c2565b9150613c6582614d7a565b604082019050919050565b6000613c7d6023836142c2565b9150613c8882614dc9565b604082019050919050565b613c9c81614467565b82525050565b613cb3613cae82614471565b61459a565b82525050565b6000613cc58285613719565b601482019150613cd58284613ca2565b6001820191508190509392505050565b6000613cf1828561373f565b602082019150613d01828461373f565b6020820191508190509392505050565b6000613d1d82856137c8565b9150613d2982846137c8565b91508190509392505050565b6000613d4082613bc1565b9150819050919050565b6000602082019050613d5f600083018461370a565b92915050565b6000608082019050613d7a600083018761370a565b613d87602083018661370a565b613d946040830185613c93565b8181036060830152613da68184613756565b905095945050505050565b6000604082019050613dc6600083018561370a565b613dd36020830184613c93565b9392505050565b6000602082019050613def6000830184613730565b92915050565b60006020820190508181036000830152613e0f818461378f565b905092915050565b60006020820190508181036000830152613e3181846137f9565b905092915050565b60006020820190508181036000830152613e5281613879565b9050919050565b60006020820190508181036000830152613e728161389c565b9050919050565b60006020820190508181036000830152613e92816138bf565b9050919050565b60006020820190508181036000830152613eb2816138e2565b9050919050565b60006020820190508181036000830152613ed281613905565b9050919050565b60006020820190508181036000830152613ef281613928565b9050919050565b60006020820190508181036000830152613f128161394b565b9050919050565b60006020820190508181036000830152613f328161396e565b9050919050565b60006020820190508181036000830152613f5281613991565b9050919050565b60006020820190508181036000830152613f72816139b4565b9050919050565b60006020820190508181036000830152613f92816139d7565b9050919050565b60006020820190508181036000830152613fb2816139fa565b9050919050565b60006020820190508181036000830152613fd281613a1d565b9050919050565b60006020820190508181036000830152613ff281613a40565b9050919050565b6000602082019050818103600083015261401281613a63565b9050919050565b6000602082019050818103600083015261403281613a86565b9050919050565b6000602082019050818103600083015261405281613aa9565b9050919050565b6000602082019050818103600083015261407281613acc565b9050919050565b6000602082019050818103600083015261409281613aef565b9050919050565b600060208201905081810360008301526140b281613b12565b9050919050565b600060208201905081810360008301526140d281613b35565b9050919050565b600060208201905081810360008301526140f281613b58565b9050919050565b6000602082019050818103600083015261411281613b7b565b9050919050565b6000602082019050818103600083015261413281613b9e565b9050919050565b6000602082019050818103600083015261415281613be4565b9050919050565b6000602082019050818103600083015261417281613c07565b9050919050565b6000602082019050818103600083015261419281613c2a565b9050919050565b600060208201905081810360008301526141b281613c4d565b9050919050565b600060208201905081810360008301526141d281613c70565b9050919050565b60006020820190506141ee6000830184613c93565b92915050565b60006141fe61420f565b905061420a82826144f2565b919050565b6000604051905090565b600067ffffffffffffffff8211156142345761423361466a565b5b61423d82614699565b9050602081019050919050565b600067ffffffffffffffff8211156142655761426461466a565b5b61426e82614699565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142e982614467565b91506142f483614467565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614329576143286145dd565b5b828201905092915050565b600061433f82614467565b915061434a83614467565b92508261435a5761435961460c565b5b828204905092915050565b600061437082614467565b915061437b83614467565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143b4576143b36145dd565b5b828202905092915050565b60006143ca82614467565b91506143d583614467565b9250828210156143e8576143e76145dd565b5b828203905092915050565b60006143fe82614447565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156144ab578082015181840152602081019050614490565b838111156144ba576000848401525b50505050565b600060028204905060018216806144d857607f821691505b602082108114156144ec576144eb61463b565b5b50919050565b6144fb82614699565b810181811067ffffffffffffffff8211171561451a5761451961466a565b5b80604052505050565b600061452e82614467565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614561576145606145dd565b5b600182019050919050565b600061457782614588565b9050919050565b6000819050919050565b6000614593826146b7565b9050919050565b60006145a5826146aa565b9050919050565b60006145b782614467565b91506145c283614467565b9250826145d2576145d161460c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c6c2042756c6c732068617665206265656e206d696e7465642e204869742060008201527f7468652074726164696e6720666c6f6f72000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e652062756c6c0000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50757263686173652065786365656473206d61782070726573616c65206d696e60008201527f7420636f756e7400000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f7420666f756e6420696e2070726573616c6520616c6c60008201527f6f77206c69737400000000000000000000000000000000000000000000000000602082015250565b7f416c6c2052657365727665642042756c6c732068617665206265656e206d696e60008201527f7465640000000000000000000000000000000000000000000000000000000000602082015250565b614e21816143f3565b8114614e2c57600080fd5b50565b614e3881614405565b8114614e4357600080fd5b50565b614e4f81614411565b8114614e5a57600080fd5b50565b614e668161441b565b8114614e7157600080fd5b50565b614e7d81614467565b8114614e8857600080fd5b50565b614e9481614471565b8114614e9f57600080fd5b5056fea264697066735822122094755552531a91800cd282ca84c3a1f4b99131365711f13d643f383bc78c2faf64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f77616c6c73747265657462756c6c732e696f2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102195760003560e01c80636352211e1161012357806395d89b41116100ab578063e2d803281161006f578063e2d8032814610790578063e985e9c5146107bb578063f0292a03146107f8578063f2fde38b14610823578063f3fef3a31461084c57610219565b806395d89b41146106ab578063a22cb465146106d6578063b88d4fde146106ff578063bc8893b414610728578063c87b56dd1461075357610219565b80637a55deae116100f25780637a55deae146105ea5780637de55fe11461061557806389b0649b1461063e5780638d859f3e146106555780638da5cb5b1461068057610219565b80636352211e1461052e5780636c0360eb1461056b57806370a0823114610596578063715018a6146105d357610219565b806328d7b276116101a657806342842e0e1161017557806342842e0e146104585780634f6ccce71461048157806353135ca0146104be57806355f804b3146104e957806359f69c5b1461051257610219565b806328d7b276146103b05780632962d485146103d95780632f745c591461040457806337c3fdbc1461044157610219565b8063081812fc116101ed578063081812fc146102df578063095ea7b31461031c5780630c894cfe1461034557806318160ddd1461035c57806323b872dd1461038757610219565b80623d47901461021e57806301ffc9a71461025b57806303ff8e9b1461029857806306fdde03146102b4575b600080fd5b34801561022a57600080fd5b5061024560048036038101906102409190613412565b610875565b60405161025291906141d9565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906135e2565b61088d565b60405161028f9190613dda565b60405180910390f35b6102b260048036038101906102ad9190613675565b610907565b005b3480156102c057600080fd5b506102c9610a45565b6040516102d69190613df5565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613675565b610ad7565b6040516103139190613d4a565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061357d565b610b5c565b005b34801561035157600080fd5b5061035a610c74565b005b34801561036857600080fd5b50610371610d1c565b60405161037e91906141d9565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190613477565b610d29565b005b3480156103bc57600080fd5b506103d760048036038101906103d291906135b9565b610d89565b005b3480156103e557600080fd5b506103ee610e0f565b6040516103fb91906141d9565b60405180910390f35b34801561041057600080fd5b5061042b6004803603810190610426919061357d565b610e15565b60405161043891906141d9565b60405180910390f35b34801561044d57600080fd5b50610456610eba565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613477565b610f53565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613675565b610f73565b6040516104b591906141d9565b60405180910390f35b3480156104ca57600080fd5b506104d361100a565b6040516104e09190613dda565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b9190613634565b61101d565b005b61052c6004803603810190610527919061369e565b61113b565b005b34801561053a57600080fd5b5061055560048036038101906105509190613675565b6112e2565b6040516105629190613d4a565b60405180910390f35b34801561057757600080fd5b50610580611394565b60405161058d9190613df5565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613412565b611422565b6040516105ca91906141d9565b60405180910390f35b3480156105df57600080fd5b506105e86114da565b005b3480156105f657600080fd5b506105ff611562565b60405161060c9190613dda565b60405180910390f35b34801561062157600080fd5b5061063c6004803603810190610637919061357d565b611575565b005b34801561064a57600080fd5b5061065361168e565b005b34801561066157600080fd5b5061066a611736565b60405161067791906141d9565b60405180910390f35b34801561068c57600080fd5b50610695611741565b6040516106a29190613d4a565b60405180910390f35b3480156106b757600080fd5b506106c061176b565b6040516106cd9190613df5565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190613541565b6117fd565b005b34801561070b57600080fd5b50610726600480360381019061072191906134c6565b61197e565b005b34801561073457600080fd5b5061073d6119e0565b60405161074a9190613dda565b60405180910390f35b34801561075f57600080fd5b5061077a60048036038101906107759190613675565b6119f3565b6040516107879190613df5565b60405180910390f35b34801561079c57600080fd5b506107a5611a9a565b6040516107b291906141d9565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd919061343b565b611aa0565b6040516107ef9190613dda565b60405180910390f35b34801561080457600080fd5b5061080d611b34565b60405161081a91906141d9565b60405180910390f35b34801561082f57600080fd5b5061084a60048036038101906108459190613412565b611b39565b005b34801561085857600080fd5b50610873600480360381019061086e919061357d565b611c31565b005b600b6020528060005260406000206000915090505481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090057506108ff82611d5e565b5b9050919050565b600d60019054906101000a900460ff16610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d90613ff9565b60405180910390fd5b600a81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109a391906142de565b11156109e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109db90613e39565b60405180910390fd5b348166f52322698080006109f89190614365565b14610a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2f90614059565b60405180910390fd5b610a423382611e40565b50565b606060008054610a54906144c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a80906144c0565b8015610acd5780601f10610aa257610100808354040283529160200191610acd565b820191906000526020600020905b815481529060010190602001808311610ab057829003601f168201915b5050505050905090565b6000610ae282611fab565b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1890614079565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b67826112e2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf90614119565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf7612017565b73ffffffffffffffffffffffffffffffffffffffff161480610c265750610c2581610c20612017565b611aa0565b5b610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c90613f99565b60405180910390fd5b610c6f838361201f565b505050565b610c7c612017565b73ffffffffffffffffffffffffffffffffffffffff16610c9a611741565b73ffffffffffffffffffffffffffffffffffffffff1614610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790614099565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6000600880549050905090565b610d3a610d34612017565b826120d8565b610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090614139565b60405180910390fd5b610d848383836121b6565b505050565b610d91612017565b73ffffffffffffffffffffffffffffffffffffffff16610daf611741565b73ffffffffffffffffffffffffffffffffffffffff1614610e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfc90614099565b60405180910390fd5b80600e8190555050565b61271081565b6000610e2083611422565b8210610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890613e59565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ec2612017565b73ffffffffffffffffffffffffffffffffffffffff16610ee0611741565b73ffffffffffffffffffffffffffffffffffffffff1614610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d90614099565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b610f6e8383836040518060200160405280600081525061197e565b505050565b6000610f7d610d1c565b8210610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614179565b60405180910390fd5b60088281548110610ff8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b611025612017565b73ffffffffffffffffffffffffffffffffffffffff16611043611741565b73ffffffffffffffffffffffffffffffffffffffff1614611099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109090614099565b60405180910390fd5b600d60009054906101000a900460ff16156110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e090613ed9565b60405180910390fd5b80600c90805190602001906110ff9291906131c2565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6600c6040516111309190613e17565b60405180910390a150565b600d60029054906101000a900460ff1680156111645750600d60019054906101000a900460ff16155b6111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90614019565b60405180910390fd5b6111af33848484612412565b6111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590614199565b60405180910390fd5b8260ff1684600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461123d91906142de565b111561127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614159565b60405180910390fd5b348466f52322698080006112929190614365565b146112d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c990614059565b60405180910390fd5b6112dc3385611e40565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561138b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138290613fd9565b60405180910390fd5b80915050919050565b600c80546113a1906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546113cd906144c0565b801561141a5780601f106113ef5761010080835404028352916020019161141a565b820191906000526020600020905b8154815290600101906020018083116113fd57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90613fb9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114e2612017565b73ffffffffffffffffffffffffffffffffffffffff16611500611741565b73ffffffffffffffffffffffffffffffffffffffff1614611556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154d90614099565b60405180910390fd5b6115606000612499565b565b600d60009054906101000a900460ff1681565b61157d612017565b73ffffffffffffffffffffffffffffffffffffffff1661159b611741565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614099565b60405180910390fd5b61012c81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461163f91906142de565b1115611680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611677906141b9565b60405180910390fd5b61168a8282611e40565b5050565b611696612017565b73ffffffffffffffffffffffffffffffffffffffff166116b4611741565b73ffffffffffffffffffffffffffffffffffffffff161461170a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170190614099565b60405180910390fd5b600d60029054906101000a900460ff1615600d60026101000a81548160ff021916908315150217905550565b66f523226980800081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461177a906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546117a6906144c0565b80156117f35780601f106117c8576101008083540402835291602001916117f3565b820191906000526020600020905b8154815290600101906020018083116117d657829003601f168201915b5050505050905090565b611805612017565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186a90613f19565b60405180910390fd5b8060056000611880612017565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661192d612017565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119729190613dda565b60405180910390a35050565b61198f611989612017565b836120d8565b6119ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c590614139565b60405180910390fd5b6119da8484848461255f565b50505050565b600d60019054906101000a900460ff1681565b60606119fe82611fab565b611a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a34906140d9565b60405180910390fd5b6000611a476125bb565b90506000815111611a675760405180602001604052806000815250611a92565b80611a718461264d565b604051602001611a82929190613d11565b6040516020818303038152906040525b915050919050565b61012c81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b611b41612017565b73ffffffffffffffffffffffffffffffffffffffff16611b5f611741565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90614099565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613e99565b60405180910390fd5b611c2e81612499565b50565b611c39612017565b73ffffffffffffffffffffffffffffffffffffffff16611c57611741565b73ffffffffffffffffffffffffffffffffffffffff1614611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614099565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611cd390613d35565b60006040518083038185875af1925050503d8060008114611d10576040519150601f19603f3d011682016040523d82523d6000602084013e611d15565b606091505b5050905080611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d50906140f9565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e2957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e395750611e38826127fa565b5b9050919050565b6000611e4a610d1c565b90506127108282611e5b91906142de565b1115611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9390613f59565b60405180910390fd5b60008211611edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed690613f79565b60405180910390fd5b6000600190505b828111611f6c576001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3d91906142de565b92505081905550611f59848284611f5491906142de565b612864565b8080611f6490614523565b915050611ee6565b507f7d3bd82c1e93c5ae506ed68433ffb2aea37cb8e79f110e5f552a3012654bbd248383604051611f9e929190613db1565b60405180910390a1505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612092836112e2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e382611fab565b612122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211990613f39565b60405180910390fd5b600061212d836112e2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061219c57508373ffffffffffffffffffffffffffffffffffffffff1661218484610ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b806121ad57506121ac8185611aa0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121d6826112e2565b73ffffffffffffffffffffffffffffffffffffffff161461222c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612223906140b9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390613ef9565b60405180910390fd5b6122a7838383612882565b6122b260008261201f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230291906143bf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235991906142de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000808585604051602001612428929190613cb9565b60405160208183030381529060405280519060200120905061248e848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612996565b915050949350505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61256a8484846121b6565b61257684848484612a72565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90613e79565b60405180910390fd5b50505050565b6060600c80546125ca906144c0565b80601f01602080910402602001604051908101604052809291908181526020018280546125f6906144c0565b80156126435780601f1061261857610100808354040283529160200191612643565b820191906000526020600020905b81548152906001019060200180831161262657829003601f168201915b5050505050905090565b60606000821415612695576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127f5565b600082905060005b600082146126c75780806126b090614523565b915050600a826126c09190614334565b915061269d565b60008167ffffffffffffffff811115612709577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561273b5781602001600182028036833780820191505090505b5090505b600085146127ee5760018261275491906143bf565b9150600a8561276391906145ac565b603061276f91906142de565b60f81b8183815181106127ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127e79190614334565b945061273f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61287e828260405180602001604052806000815250612c09565b5050565b61288d838383612c64565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128d0576128cb81612c69565b61290f565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461290e5761290d8382612cb2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129525761294d81612e1f565b612991565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129905761298f8282612f62565b5b5b505050565b60008082905060005b8551811015612a645760008682815181106129e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612a24578281604051602001612a07929190613ce5565b604051602081830303815290604052805190602001209250612a50565b8083604051602001612a37929190613ce5565b6040516020818303038152906040528051906020012092505b508080612a5c90614523565b91505061299f565b508381149150509392505050565b6000612a938473ffffffffffffffffffffffffffffffffffffffff16612fe1565b15612bfc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612abc612017565b8786866040518563ffffffff1660e01b8152600401612ade9493929190613d65565b602060405180830381600087803b158015612af857600080fd5b505af1925050508015612b2957506040513d601f19601f82011682018060405250810190612b26919061360b565b60015b612bac573d8060008114612b59576040519150601f19603f3d011682016040523d82523d6000602084013e612b5e565b606091505b50600081511415612ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9b90613e79565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c01565b600190505b949350505050565b612c138383612ff4565b612c206000848484612a72565b612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690613e79565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612cbf84611422565b612cc991906143bf565b9050600060076000848152602001908152602001600020549050818114612dae576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e3391906143bf565b9050600060096000848152602001908152602001600020549050600060088381548110612e89577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612ed1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f6d83611422565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305b90614039565b60405180910390fd5b61306d81611fab565b156130ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a490613eb9565b60405180910390fd5b6130b960008383612882565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461310991906142de565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546131ce906144c0565b90600052602060002090601f0160209004810192826131f05760008555613237565b82601f1061320957805160ff1916838001178555613237565b82800160010185558215613237579182015b8281111561323657825182559160200191906001019061321b565b5b5090506132449190613248565b5090565b5b80821115613261576000816000905550600101613249565b5090565b600061327861327384614219565b6141f4565b90508281526020810184848401111561329057600080fd5b61329b84828561447e565b509392505050565b60006132b66132b18461424a565b6141f4565b9050828152602081018484840111156132ce57600080fd5b6132d984828561447e565b509392505050565b6000813590506132f081614e18565b92915050565b60008083601f84011261330857600080fd5b8235905067ffffffffffffffff81111561332157600080fd5b60208301915083602082028301111561333957600080fd5b9250929050565b60008135905061334f81614e2f565b92915050565b60008135905061336481614e46565b92915050565b60008135905061337981614e5d565b92915050565b60008151905061338e81614e5d565b92915050565b600082601f8301126133a557600080fd5b81356133b5848260208601613265565b91505092915050565b600082601f8301126133cf57600080fd5b81356133df8482602086016132a3565b91505092915050565b6000813590506133f781614e74565b92915050565b60008135905061340c81614e8b565b92915050565b60006020828403121561342457600080fd5b6000613432848285016132e1565b91505092915050565b6000806040838503121561344e57600080fd5b600061345c858286016132e1565b925050602061346d858286016132e1565b9150509250929050565b60008060006060848603121561348c57600080fd5b600061349a868287016132e1565b93505060206134ab868287016132e1565b92505060406134bc868287016133e8565b9150509250925092565b600080600080608085870312156134dc57600080fd5b60006134ea878288016132e1565b94505060206134fb878288016132e1565b935050604061350c878288016133e8565b925050606085013567ffffffffffffffff81111561352957600080fd5b61353587828801613394565b91505092959194509250565b6000806040838503121561355457600080fd5b6000613562858286016132e1565b925050602061357385828601613340565b9150509250929050565b6000806040838503121561359057600080fd5b600061359e858286016132e1565b92505060206135af858286016133e8565b9150509250929050565b6000602082840312156135cb57600080fd5b60006135d984828501613355565b91505092915050565b6000602082840312156135f457600080fd5b60006136028482850161336a565b91505092915050565b60006020828403121561361d57600080fd5b600061362b8482850161337f565b91505092915050565b60006020828403121561364657600080fd5b600082013567ffffffffffffffff81111561366057600080fd5b61366c848285016133be565b91505092915050565b60006020828403121561368757600080fd5b6000613695848285016133e8565b91505092915050565b600080600080606085870312156136b457600080fd5b60006136c2878288016133e8565b94505060206136d3878288016133fd565b935050604085013567ffffffffffffffff8111156136f057600080fd5b6136fc878288016132f6565b925092505092959194509250565b613713816143f3565b82525050565b61372a613725826143f3565b61456c565b82525050565b61373981614405565b82525050565b61375061374b82614411565b61457e565b82525050565b600061376182614290565b61376b81856142a6565b935061377b81856020860161448d565b61378481614699565b840191505092915050565b600061379a8261429b565b6137a481856142c2565b93506137b481856020860161448d565b6137bd81614699565b840191505092915050565b60006137d38261429b565b6137dd81856142d3565b93506137ed81856020860161448d565b80840191505092915050565b60008154613806816144c0565b61381081866142c2565b9450600182166000811461382b576001811461383d57613870565b60ff1983168652602086019350613870565b6138468561427b565b60005b8381101561386857815481890152600182019150602081019050613849565b808801955050505b50505092915050565b6000613886601f836142c2565b9150613891826146c4565b602082019050919050565b60006138a9602b836142c2565b91506138b4826146ed565b604082019050919050565b60006138cc6032836142c2565b91506138d78261473c565b604082019050919050565b60006138ef6026836142c2565b91506138fa8261478b565b604082019050919050565b6000613912601c836142c2565b915061391d826147da565b602082019050919050565b60006139356018836142c2565b915061394082614803565b602082019050919050565b60006139586024836142c2565b91506139638261482c565b604082019050919050565b600061397b6019836142c2565b91506139868261487b565b602082019050919050565b600061399e602c836142c2565b91506139a9826148a4565b604082019050919050565b60006139c16031836142c2565b91506139cc826148f3565b604082019050919050565b60006139e4601b836142c2565b91506139ef82614942565b602082019050919050565b6000613a076038836142c2565b9150613a128261496b565b604082019050919050565b6000613a2a602a836142c2565b9150613a35826149ba565b604082019050919050565b6000613a4d6029836142c2565b9150613a5882614a09565b604082019050919050565b6000613a706019836142c2565b9150613a7b82614a58565b602082019050919050565b6000613a93601a836142c2565b9150613a9e82614a81565b602082019050919050565b6000613ab66020836142c2565b9150613ac182614aaa565b602082019050919050565b6000613ad96017836142c2565b9150613ae482614ad3565b602082019050919050565b6000613afc602c836142c2565b9150613b0782614afc565b604082019050919050565b6000613b1f6020836142c2565b9150613b2a82614b4b565b602082019050919050565b6000613b426029836142c2565b9150613b4d82614b74565b604082019050919050565b6000613b65602f836142c2565b9150613b7082614bc3565b604082019050919050565b6000613b886018836142c2565b9150613b9382614c12565b602082019050919050565b6000613bab6021836142c2565b9150613bb682614c3b565b604082019050919050565b6000613bce6000836142b7565b9150613bd982614c8a565b600082019050919050565b6000613bf16031836142c2565b9150613bfc82614c8d565b604082019050919050565b6000613c146027836142c2565b9150613c1f82614cdc565b604082019050919050565b6000613c37602c836142c2565b9150613c4282614d2b565b604082019050919050565b6000613c5a6027836142c2565b9150613c6582614d7a565b604082019050919050565b6000613c7d6023836142c2565b9150613c8882614dc9565b604082019050919050565b613c9c81614467565b82525050565b613cb3613cae82614471565b61459a565b82525050565b6000613cc58285613719565b601482019150613cd58284613ca2565b6001820191508190509392505050565b6000613cf1828561373f565b602082019150613d01828461373f565b6020820191508190509392505050565b6000613d1d82856137c8565b9150613d2982846137c8565b91508190509392505050565b6000613d4082613bc1565b9150819050919050565b6000602082019050613d5f600083018461370a565b92915050565b6000608082019050613d7a600083018761370a565b613d87602083018661370a565b613d946040830185613c93565b8181036060830152613da68184613756565b905095945050505050565b6000604082019050613dc6600083018561370a565b613dd36020830184613c93565b9392505050565b6000602082019050613def6000830184613730565b92915050565b60006020820190508181036000830152613e0f818461378f565b905092915050565b60006020820190508181036000830152613e3181846137f9565b905092915050565b60006020820190508181036000830152613e5281613879565b9050919050565b60006020820190508181036000830152613e728161389c565b9050919050565b60006020820190508181036000830152613e92816138bf565b9050919050565b60006020820190508181036000830152613eb2816138e2565b9050919050565b60006020820190508181036000830152613ed281613905565b9050919050565b60006020820190508181036000830152613ef281613928565b9050919050565b60006020820190508181036000830152613f128161394b565b9050919050565b60006020820190508181036000830152613f328161396e565b9050919050565b60006020820190508181036000830152613f5281613991565b9050919050565b60006020820190508181036000830152613f72816139b4565b9050919050565b60006020820190508181036000830152613f92816139d7565b9050919050565b60006020820190508181036000830152613fb2816139fa565b9050919050565b60006020820190508181036000830152613fd281613a1d565b9050919050565b60006020820190508181036000830152613ff281613a40565b9050919050565b6000602082019050818103600083015261401281613a63565b9050919050565b6000602082019050818103600083015261403281613a86565b9050919050565b6000602082019050818103600083015261405281613aa9565b9050919050565b6000602082019050818103600083015261407281613acc565b9050919050565b6000602082019050818103600083015261409281613aef565b9050919050565b600060208201905081810360008301526140b281613b12565b9050919050565b600060208201905081810360008301526140d281613b35565b9050919050565b600060208201905081810360008301526140f281613b58565b9050919050565b6000602082019050818103600083015261411281613b7b565b9050919050565b6000602082019050818103600083015261413281613b9e565b9050919050565b6000602082019050818103600083015261415281613be4565b9050919050565b6000602082019050818103600083015261417281613c07565b9050919050565b6000602082019050818103600083015261419281613c2a565b9050919050565b600060208201905081810360008301526141b281613c4d565b9050919050565b600060208201905081810360008301526141d281613c70565b9050919050565b60006020820190506141ee6000830184613c93565b92915050565b60006141fe61420f565b905061420a82826144f2565b919050565b6000604051905090565b600067ffffffffffffffff8211156142345761423361466a565b5b61423d82614699565b9050602081019050919050565b600067ffffffffffffffff8211156142655761426461466a565b5b61426e82614699565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142e982614467565b91506142f483614467565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614329576143286145dd565b5b828201905092915050565b600061433f82614467565b915061434a83614467565b92508261435a5761435961460c565b5b828204905092915050565b600061437082614467565b915061437b83614467565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143b4576143b36145dd565b5b828202905092915050565b60006143ca82614467565b91506143d583614467565b9250828210156143e8576143e76145dd565b5b828203905092915050565b60006143fe82614447565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156144ab578082015181840152602081019050614490565b838111156144ba576000848401525b50505050565b600060028204905060018216806144d857607f821691505b602082108114156144ec576144eb61463b565b5b50919050565b6144fb82614699565b810181811067ffffffffffffffff8211171561451a5761451961466a565b5b80604052505050565b600061452e82614467565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614561576145606145dd565b5b600182019050919050565b600061457782614588565b9050919050565b6000819050919050565b6000614593826146b7565b9050919050565b60006145a5826146aa565b9050919050565b60006145b782614467565b91506145c283614467565b9250826145d2576145d161460c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f81b9050919050565b60008160601b9050919050565b7f50757263686173652065786365656473206d6178206d696e7420636f756e7400600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f426173652055524c20697320756e6368616e676561626c650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f416c6c2042756c6c732068617665206265656e206d696e7465642e204869742060008201527f7468652074726164696e6720666c6f6f72000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e652062756c6c0000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f50726573616c652073616c65206973206e6f7420616374697665000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f50757263686173652065786365656473206d61782070726573616c65206d696e60008201527f7420636f756e7400000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f7420666f756e6420696e2070726573616c6520616c6c60008201527f6f77206c69737400000000000000000000000000000000000000000000000000602082015250565b7f416c6c2052657365727665642042756c6c732068617665206265656e206d696e60008201527f7465640000000000000000000000000000000000000000000000000000000000602082015250565b614e21816143f3565b8114614e2c57600080fd5b50565b614e3881614405565b8114614e4357600080fd5b50565b614e4f81614411565b8114614e5a57600080fd5b50565b614e668161441b565b8114614e7157600080fd5b50565b614e7d81614467565b8114614e8857600080fd5b50565b614e9481614471565b8114614e9f57600080fd5b5056fea264697066735822122094755552531a91800cd282ca84c3a1f4b99131365711f13d643f383bc78c2faf64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f77616c6c73747265657462756c6c732e696f2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://wallstreetbulls.io/token/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [2] : 68747470733a2f2f77616c6c73747265657462756c6c732e696f2f746f6b656e
Arg [3] : 2f00000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.