Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
660 EWB
Holders
305
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 EWBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ExposedWallsBanksy
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * @title ExposedWallsBanksy * @author [email protected] * @notice Implements the Exposed Walls Banksy (EWB) collection contract. */ contract ExposedWallsBanksy is ERC721, Ownable, ReentrancyGuard { using Strings for uint256; string public baseURI; bytes32 public merkleRoot; uint256 public whitelistSales; uint256 public defaultSales; uint256 public tokenPrice = 0.3 ether; uint256 constant MAX_SUPPLY = 10000; uint256 constant WHITELIST_MAX = 4000; uint256 public whitelistTokensCount; uint16[] private tokenPool; address public shareholder1 = 0x5db8Bb85D6065f95350d8AE3934D72Ad0aB3Ae7E; address public shareholder2 = 0x04d59D5699E1B28161eA972fFD81a6705bFEB8A3; address public shareholder3 = 0x3C0EcBB13359F3Ae982853c0BEbd1747D97A3ca3; bool public paused; bool public revealed; bool public isPoolSet; bool public freezedMetadata; event Mint(uint256 indexed tokenId); event MintWhitelist(uint256 amount, address indexed to, uint256 addToWhitelistSales); event MintDefault(uint256 amount, address indexed to, uint256 addToDefaultSales); modifier onlyShareholder() { require( msg.sender == shareholder1 || msg.sender == shareholder2 || msg.sender == shareholder3, "The caller is not a shareholder" ); _; } modifier onlyCompletedPool() { require(isPoolSet, "Wait until all tokens are available"); _; } constructor(string memory baseURI_, bytes32 _merkleRoot) ERC721("Exposed Walls Banksy", "EWB") { baseURI = baseURI_; merkleRoot = _merkleRoot; } function mint( bytes32[] calldata _merkleProof, uint256 _mintAmount, uint256 _clientNumber ) public payable nonReentrant onlyCompletedPool { require(!paused, "Please wait until unpaused"); require(_mintAmount > 0, "Mint at least one token"); require( _mintAmount <= tokenPool.length, "Not enough tokens left to mint that many" ); require(msg.value == tokenPrice * _mintAmount, "Incorrect ether amount"); if ( whitelistTokensCount < WHITELIST_MAX && isWhitelisted(msg.sender, _merkleProof) ) { if(whitelistTokensCount + _mintAmount <= WHITELIST_MAX) { whitelistSales += msg.value; whitelistTokensCount += _mintAmount; emit MintWhitelist(_mintAmount, msg.sender, msg.value); } else { uint256 toDefault = whitelistTokensCount + _mintAmount - WHITELIST_MAX; uint256 toWhitelist = _mintAmount - toDefault; uint256 addToWhitelistSales = msg.value * toWhitelist / _mintAmount; uint256 addToDefaultSales = msg.value * toDefault / _mintAmount; emit MintDefault(toDefault, msg.sender, addToDefaultSales); emit MintWhitelist(toWhitelist, msg.sender, addToWhitelistSales); whitelistSales += addToWhitelistSales; defaultSales += addToDefaultSales; whitelistTokensCount = WHITELIST_MAX; } } else { defaultSales += msg.value; emit MintDefault(_mintAmount, msg.sender, msg.value); } for (uint256 i = 1; i <= _mintAmount; i++) { _mint(msg.sender, _clientNumber, i); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "tokenID does not exist"); string memory currentBaseURI = _baseURI(); return string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")); } function isWhitelisted(address _user, bytes32[] calldata _merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_user)); return MerkleProof.verify(_merkleProof, merkleRoot, leaf); } function totalSupply() external view returns (uint256) { return isPoolSet ? MAX_SUPPLY - tokenPool.length : 0; } ///@notice This function mint one token for each address of the given list. function airdropList(address[] memory _users, uint256 _clientNumber) external onlyOwner nonReentrant onlyCompletedPool { require(tokenPool.length - _users.length >= 0, "Not this many tokens left"); for (uint256 i = 0; i < _users.length; i++) { _mint(_users[i], _clientNumber, i); } } ///@notice This function mint _amount of token to the given address. function airdropUser( address _user, uint256 _amount, uint256 _clientNumber ) external onlyOwner nonReentrant onlyCompletedPool { require(tokenPool.length - _amount >= 0, "Not this many tokens left"); for (uint256 i = 0; i < _amount; i++) { _mint(_user, _clientNumber, i); } } function withdraw() external nonReentrant onlyShareholder { uint256 shareholder1Allowance = (5700 * whitelistSales) / 10000; // 57% uint256 shareholder2Allowance = (4000 * whitelistSales) / 10000; // 40% uint256 shareholder3Allowance = (300 * whitelistSales) / 10000; // 3% shareholder1Allowance += (8200 * defaultSales) / 10000; // 82% shareholder2Allowance += (1500 * defaultSales) / 10000; // 15% shareholder3Allowance += (300 * defaultSales) / 10000; // 3% (bool success, ) = payable(shareholder1).call{ value: shareholder1Allowance }(""); require(success); (success, ) = payable(shareholder2).call{ value: shareholder2Allowance }( "" ); require(success); (success, ) = payable(shareholder3).call{ value: shareholder3Allowance }( "" ); require(success); whitelistSales = 0; defaultSales = 0; } function setBaseURI(string memory _newURI) external onlyOwner { require(!freezedMetadata, "Metadata is frozen"); baseURI = _newURI; } function setPaused(bool _paused) external onlyOwner { paused = _paused; } function setWhitelist(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setPrice(uint256 _newPrice) external onlyOwner { tokenPrice = _newPrice; } function freezeMetadata() external onlyOwner { freezedMetadata = true; } function updateShareholder1(address _newWallet) external { require(msg.sender == shareholder1, "Only shareholder 1"); shareholder1 = _newWallet; } function updateShareholder2(address _newWallet) external { require(msg.sender == shareholder2, "Only shareholder 2"); shareholder2 = _newWallet; } function updateShareholder3(address _newWallet) external { require(msg.sender == shareholder3, "Only shareholder 3"); shareholder3 = _newWallet; } function pushTokenIds(uint16 _amount) external { require(!isPoolSet, "All tokens were added"); uint16 from = uint16(tokenPool.length); require(from + _amount <= MAX_SUPPLY, "Not enough slots in the tokenPool"); for (uint16 tokenId = from + 1; tokenId <= from + _amount; tokenId++) { tokenPool.push(tokenId); // token ids } if (tokenPool.length == MAX_SUPPLY) { isPoolSet = true; } } function _mint( address _user, uint256 _clientNumber, uint256 _iterator ) internal { uint256 index = _random(_clientNumber + _iterator); uint256 _tokenId = uint256(tokenPool[index]); _safeMint(_user, _tokenId); tokenPool[index] = tokenPool[tokenPool.length - 1]; tokenPool.pop(); emit Mint(_tokenId); } function _random(uint256 counter) internal view returns (uint256) { uint256 value = uint256( keccak256( abi.encode(block.difficulty, block.timestamp, counter, msg.sender) ) ); return (value % tokenPool.length); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenPoolCount() public view returns (uint256) { return tokenPool.length; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) 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) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { 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)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 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":"baseURI_","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"addToDefaultSales","type":"uint256"}],"name":"MintDefault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"addToWhitelistSales","type":"uint256"}],"name":"MintWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256","name":"_clientNumber","type":"uint256"}],"name":"airdropList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_clientNumber","type":"uint256"}],"name":"airdropUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultSales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezedMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPoolSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_clientNumber","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"pushTokenIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareholder1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shareholder2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shareholder3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"tokenPoolCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateShareholder1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateShareholder2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"updateShareholder3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSales","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistTokensCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052670429d069189e0000600c55600f80546001600160a01b0319908116735db8bb85d6065f95350d8ae3934d72ad0ab3ae7e179091556010805482167304d59d5699e1b28161ea972ffd81a6705bfeb8a317905560118054909116733c0ecbb13359f3ae982853c0bebd1747d97a3ca31790553480156200008357600080fd5b506040516200338038038062003380833981016040819052620000a6916200025a565b604080518082018252601481527f4578706f7365642057616c6c732042616e6b737900000000000000000000000060208083019182528351808501909452600384526222aba160e91b9084015281519192916200010691600091620001b4565b5080516200011c906001906020840190620001b4565b50505062000139620001336200015e60201b60201c565b62000162565b6001600755815162000153906008906020850190620001b4565b50600955506200038c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c29062000339565b90600052602060002090601f016020900481019282620001e6576000855562000231565b82601f106200020157805160ff191683800117855562000231565b8280016001018555821562000231579182015b828111156200023157825182559160200191906001019062000214565b506200023f92915062000243565b5090565b5b808211156200023f576000815560010162000244565b600080604083850312156200026d578182fd5b82516001600160401b038082111562000284578384fd5b818501915085601f83011262000298578384fd5b815181811115620002ad57620002ad62000376565b604051601f8201601f19908116603f01168101908382118183101715620002d857620002d862000376565b81604052828152602093508884848701011115620002f4578687fd5b8691505b82821015620003175784820184015181830185015290830190620002f8565b828211156200032857868484830101525b969092015195979596505050505050565b600181811c908216806200034e57607f821691505b602082108114156200037057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612fe4806200039c6000396000f3fe6080604052600436106102725760003560e01c80636c0360eb1161014f578063abbdba28116100c1578063e6635c321161007a578063e6635c321461072a578063e985e9c51461074b578063ebd4e1b414610794578063f168f08f146107a9578063f2fde38b146107bf578063fcc90a39146107df57600080fd5b8063abbdba281461067e578063b51cd3541461069f578063b88d4fde146106bf578063c87b56dd146106df578063d111515d146106ff578063e623f2d11461071457600080fd5b80638da5cb5b116101135780638da5cb5b146105cb57806391b7f5ed146105e9578063950f97811461060957806395d89b4114610629578063a22cb4651461063e578063a4620d671461065e57600080fd5b80636c0360eb1461054b57806370780a7a1461056057806370a0823114610580578063715018a6146105a05780637ff9b596146105b557600080fd5b80632eb4a7ab116101e857806351830227116101ac578063518302271461048957806355f804b3146104aa5780635a23dd99146104ca5780635c975abb146104ea5780635e1dca041461050b5780636352211e1461052b57600080fd5b80632eb4a7ab146103fe57806335f1db51146104145780633ccfd60b1461043457806342842e0e14610449578063440bc7f31461046957600080fd5b806315cf3bcf1161023a57806315cf3bcf1461033b57806316c38b3c1461035b57806318160ddd1461037b57806323b872dd1461039e5780632b14e077146103be5780632d1fd493146103de57600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806314bf9af614610328575b600080fd5b34801561028357600080fd5b50610297610292366004612b38565b6107f5565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610847565b6040516102a39190612c80565b3480156102da57600080fd5b506102ee6102e9366004612b20565b6108d9565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b506103266103213660046129a7565b610973565b005b610326610336366004612ab7565b610a89565b34801561034757600080fd5b50610326610356366004612a02565b610e7a565b34801561036757600080fd5b50610326610376366004612b06565b610faa565b34801561038757600080fd5b50610390610ff2565b6040519081526020016102a3565b3480156103aa57600080fd5b506103266103b9366004612879565b611020565b3480156103ca57600080fd5b506103266103d936600461282d565b611051565b3480156103ea57600080fd5b506103266103f936600461282d565b6110c2565b34801561040a57600080fd5b5061039060095481565b34801561042057600080fd5b5061032661042f366004612bb6565b611133565b34801561044057600080fd5b506103266112a8565b34801561045557600080fd5b50610326610464366004612879565b61156e565b34801561047557600080fd5b50610326610484366004612b20565b611589565b34801561049557600080fd5b5060115461029790600160a81b900460ff1681565b3480156104b657600080fd5b506103266104c5366004612b70565b6115b8565b3480156104d657600080fd5b506102976104e536600461292d565b611644565b3480156104f657600080fd5b5060115461029790600160a01b900460ff1681565b34801561051757600080fd5b50600f546102ee906001600160a01b031681565b34801561053757600080fd5b506102ee610546366004612b20565b6116ca565b34801561055757600080fd5b506102c1611741565b34801561056c57600080fd5b506010546102ee906001600160a01b031681565b34801561058c57600080fd5b5061039061059b36600461282d565b6117cf565b3480156105ac57600080fd5b50610326611856565b3480156105c157600080fd5b50610390600c5481565b3480156105d757600080fd5b506006546001600160a01b03166102ee565b3480156105f557600080fd5b50610326610604366004612b20565b61188c565b34801561061557600080fd5b506103266106243660046129d0565b6118bb565b34801561063557600080fd5b506102c16119c4565b34801561064a57600080fd5b5061032661065936600461297e565b6119d3565b34801561066a57600080fd5b506011546102ee906001600160a01b031681565b34801561068a57600080fd5b5060115461029790600160b01b900460ff1681565b3480156106ab57600080fd5b506103266106ba36600461282d565b6119de565b3480156106cb57600080fd5b506103266106da3660046128b4565b611a4f565b3480156106eb57600080fd5b506102c16106fa366004612b20565b611a87565b34801561070b57600080fd5b50610326611b25565b34801561072057600080fd5b50610390600a5481565b34801561073657600080fd5b5060115461029790600160b81b900460ff1681565b34801561075757600080fd5b50610297610766366004612847565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107a057600080fd5b50600e54610390565b3480156107b557600080fd5b50610390600b5481565b3480156107cb57600080fd5b506103266107da36600461282d565b611b64565b3480156107eb57600080fd5b50610390600d5481565b60006001600160e01b031982166380ac58cd60e01b148061082657506001600160e01b03198216635b5e139f60e01b145b8061084157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461085690612eca565b80601f016020809104026020016040519081016040528092919081815260200182805461088290612eca565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109575760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061097e826116ca565b9050806001600160a01b0316836001600160a01b031614156109ec5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161094e565b336001600160a01b0382161480610a085750610a088133610766565b610a7a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161094e565b610a848383611bff565b505050565b60026007541415610aac5760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff16610ada5760405162461bcd60e51b815260040161094e90612ce5565b601154600160a01b900460ff1615610b345760405162461bcd60e51b815260206004820152601a60248201527f506c65617365207761697420756e74696c20756e706175736564000000000000604482015260640161094e565b60008211610b845760405162461bcd60e51b815260206004820152601760248201527f4d696e74206174206c65617374206f6e6520746f6b656e000000000000000000604482015260640161094e565b600e54821115610be75760405162461bcd60e51b815260206004820152602860248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e742074604482015267686174206d616e7960c01b606482015260840161094e565b81600c54610bf59190612e68565b3414610c3c5760405162461bcd60e51b8152602060048201526016602482015275125b98dbdc9c9958dd08195d1a195c88185b5bdd5b9d60521b604482015260640161094e565b610fa0600d54108015610c555750610c55338585611644565b15610df557610fa082600d54610c6b9190612e3c565b11610cdf5734600a6000828254610c829190612e3c565b9250508190555081600d6000828254610c9b9190612e3c565b90915550506040805183815234602082015233917f52b0a763056934e033a6118fa95c30ad4ddf67f2915a28472800ee478fa528a2910160405180910390a2610e47565b6000610fa083600d54610cf29190612e3c565b610cfc9190612e87565b90506000610d0a8285612e87565b9050600084610d198334612e68565b610d239190612e54565b9050600085610d328534612e68565b610d3c9190612e54565b604080518681526020810183905291925033917fc690834f7cb6d11842bda61935101d8011f194dbf6aa8755d914078d4f9723ee910160405180910390a2604080518481526020810184905233917f52b0a763056934e033a6118fa95c30ad4ddf67f2915a28472800ee478fa528a2910160405180910390a281600a6000828254610dc79190612e3c565b9250508190555080600b6000828254610de09190612e3c565b9091555050610fa0600d5550610e4792505050565b34600b6000828254610e079190612e3c565b90915550506040805183815234602082015233917fc690834f7cb6d11842bda61935101d8011f194dbf6aa8755d914078d4f9723ee910160405180910390a25b60015b828111610e6e57610e5c338383611c6d565b80610e6681612f27565b915050610e4a565b50506001600755505050565b6006546001600160a01b03163314610ea45760405162461bcd60e51b815260040161094e90612d28565b60026007541415610ec75760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff16610ef55760405162461bcd60e51b815260040161094e90612ce5565b8151600e54600091610f0691612e87565b1015610f505760405162461bcd60e51b8152602060048201526019602482015278139bdd081d1a1a5cc81b585b9e481d1bdad95b9cc81b19599d603a1b604482015260640161094e565b60005b8251811015610fa057610f8e838281518110610f7f57634e487b7160e01b600052603260045260246000fd5b60200260200101518383611c6d565b80610f9881612f27565b915050610f53565b5050600160075550565b6006546001600160a01b03163314610fd45760405162461bcd60e51b815260040161094e90612d28565b60118054911515600160a01b0260ff60a01b19909216919091179055565b601154600090600160b01b900460ff1661100c5750600090565b600e5461101b90612710612e87565b905090565b61102a3382611df0565b6110465760405162461bcd60e51b815260040161094e90612d5d565b610a84838383611ee7565b6010546001600160a01b031633146110a05760405162461bcd60e51b815260206004820152601260248201527127b7363c9039b430b932b437b63232b9101960711b604482015260640161094e565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6011546001600160a01b031633146111115760405162461bcd60e51b81526020600482015260126024820152714f6e6c79207368617265686f6c646572203360701b604482015260640161094e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b601154600160b01b900460ff16156111855760405162461bcd60e51b8152602060048201526015602482015274105b1b081d1bdad95b9cc81dd95c99481859191959605a1b604482015260640161094e565b600e546127106111958383612e16565b61ffff1611156111f15760405162461bcd60e51b815260206004820152602160248201527f4e6f7420656e6f75676820736c6f747320696e2074686520746f6b656e506f6f6044820152601b60fa1b606482015260840161094e565b60006111fe826001612e16565b90505b61120b8383612e16565b61ffff168161ffff161161128357600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60108204018054600f9092166002026101000a61ffff81810219909316928416029190911790558061127b81612f05565b915050611201565b50600e5461271014156112a4576011805460ff60b01b1916600160b01b1790555b5050565b600260075414156112cb5760405162461bcd60e51b815260040161094e90612dae565b6002600755600f546001600160a01b03163314806112f357506010546001600160a01b031633145b8061130857506011546001600160a01b031633145b6113545760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c6572206973206e6f742061207368617265686f6c64657200604482015260640161094e565b6000612710600a546116446113699190612e68565b6113739190612e54565b90506000612710600a54610fa061138a9190612e68565b6113949190612e54565b90506000612710600a5461012c6113ab9190612e68565b6113b59190612e54565b9050612710600b546120086113ca9190612e68565b6113d49190612e54565b6113de9084612e3c565b9250612710600b546105dc6113f39190612e68565b6113fd9190612e54565b6114079083612e3c565b9150612710600b5461012c61141c9190612e68565b6114269190612e54565b6114309082612e3c565b600f546040519192506000916001600160a01b039091169085908381818185875af1925050503d8060008114611482576040519150601f19603f3d011682016040523d82523d6000602084013e611487565b606091505b505090508061149557600080fd5b6010546040516001600160a01b03909116908490600081818185875af1925050503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b505080915050806114f757600080fd5b6011546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611544576040519150601f19603f3d011682016040523d82523d6000602084013e611549565b606091505b5050809150508061155957600080fd5b50506000600a819055600b5550506001600755565b610a8483838360405180602001604052806000815250611a4f565b6006546001600160a01b031633146115b35760405162461bcd60e51b815260040161094e90612d28565b600955565b6006546001600160a01b031633146115e25760405162461bcd60e51b815260040161094e90612d28565b601154600160b81b900460ff16156116315760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161094e565b80516112a49060089060208401906126c6565b6040516bffffffffffffffffffffffff19606085901b16602082015260009081906034016040516020818303038152906040528051906020012090506116c1848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050612087565b95945050505050565b6000818152600260205260408120546001600160a01b0316806108415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161094e565b6008805461174e90612eca565b80601f016020809104026020016040519081016040528092919081815260200182805461177a90612eca565b80156117c75780601f1061179c576101008083540402835291602001916117c7565b820191906000526020600020905b8154815290600101906020018083116117aa57829003601f168201915b505050505081565b60006001600160a01b03821661183a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161094e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146118805760405162461bcd60e51b815260040161094e90612d28565b61188a600061209d565b565b6006546001600160a01b031633146118b65760405162461bcd60e51b815260040161094e90612d28565b600c55565b6006546001600160a01b031633146118e55760405162461bcd60e51b815260040161094e90612d28565b600260075414156119085760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff166119365760405162461bcd60e51b815260040161094e90612ce5565b600e54600090611947908490612e87565b10156119915760405162461bcd60e51b8152602060048201526019602482015278139bdd081d1a1a5cc81b585b9e481d1bdad95b9cc81b19599d603a1b604482015260640161094e565b60005b828110156119b9576119a7848383611c6d565b806119b181612f27565b915050611994565b505060016007555050565b60606001805461085690612eca565b6112a43383836120ef565b600f546001600160a01b03163314611a2d5760405162461bcd60e51b81526020600482015260126024820152714f6e6c79207368617265686f6c646572203160701b604482015260640161094e565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611a593383611df0565b611a755760405162461bcd60e51b815260040161094e90612d5d565b611a81848484846121be565b50505050565b6000818152600260205260409020546060906001600160a01b0316611ae75760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b604482015260640161094e565b6000611af16121f1565b905080611afd84612200565b604051602001611b0e929190612c04565b604051602081830303815290604052915050919050565b6006546001600160a01b03163314611b4f5760405162461bcd60e51b815260040161094e90612d28565b6011805460ff60b81b1916600160b81b179055565b6006546001600160a01b03163314611b8e5760405162461bcd60e51b815260040161094e90612d28565b6001600160a01b038116611bf35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094e565b611bfc8161209d565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c34826116ca565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c81611c7c8385612e3c565b61231a565b90506000600e8281548110611ca657634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff169050611cd48582612370565b600e8054611ce490600190612e87565b81548110611d0257634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff16600e8381548110611d4757634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600e805480611d9557634e487b7160e01b600052603160045260246000fd5b600082815260208120601060001990930192830401805461ffff6002600f8616026101000a0219169055915560405182917f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466591a25050505050565b6000818152600260205260408120546001600160a01b0316611e695760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161094e565b6000611e74836116ca565b9050806001600160a01b0316846001600160a01b03161480611eaf5750836001600160a01b0316611ea4846108d9565b6001600160a01b0316145b80611edf57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611efa826116ca565b6001600160a01b031614611f625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161094e565b6001600160a01b038216611fc45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161094e565b611fcf600082611bff565b6001600160a01b0383166000908152600360205260408120805460019290611ff8908490612e87565b90915550506001600160a01b0382166000908152600360205260408120805460019290612026908490612e3c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082612094858461238a565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121515760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161094e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121c9848484611ee7565b6121d584848484612444565b611a815760405162461bcd60e51b815260040161094e90612c93565b60606008805461085690612eca565b6060816122245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561224e578061223881612f27565b91506122479050600a83612e54565b9150612228565b60008167ffffffffffffffff81111561227757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122a1576020820181803683370190505b5090505b8415611edf576122b6600183612e87565b91506122c3600a86612f42565b6122ce906030612e3c565b60f81b8183815181106122f157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612313600a86612e54565b94506122a5565b60408051446020820152429181019190915260608101829052336080820152600090819060a00160408051601f198184030181529190528051602090910120600e549091506123699082612f42565b9392505050565b6112a4828260405180602001604052806000815250612551565b600081815b845181101561243c5760008582815181106123ba57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116123fc576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612429565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061243481612f27565b91505061238f565b509392505050565b60006001600160a01b0384163b1561254657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612488903390899088908890600401612c43565b602060405180830381600087803b1580156124a257600080fd5b505af19250505080156124d2575060408051601f3d908101601f191682019092526124cf91810190612b54565b60015b61252c573d808015612500576040519150601f19603f3d011682016040523d82523d6000602084013e612505565b606091505b5080516125245760405162461bcd60e51b815260040161094e90612c93565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611edf565b506001949350505050565b61255b8383612584565b6125686000848484612444565b610a845760405162461bcd60e51b815260040161094e90612c93565b6001600160a01b0382166125da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161094e565b6000818152600260205260409020546001600160a01b03161561263f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161094e565b6001600160a01b0382166000908152600360205260408120805460019290612668908490612e3c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126d290612eca565b90600052602060002090601f0160209004810192826126f4576000855561273a565b82601f1061270d57805160ff191683800117855561273a565b8280016001018555821561273a579182015b8281111561273a57825182559160200191906001019061271f565b5061274692915061274a565b5090565b5b80821115612746576000815560010161274b565b600067ffffffffffffffff83111561277957612779612f82565b61278c601f8401601f1916602001612de5565b90508281528383830111156127a057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127ce57600080fd5b919050565b60008083601f8401126127e4578182fd5b50813567ffffffffffffffff8111156127fb578182fd5b6020830191508360208260051b850101111561281657600080fd5b9250929050565b803580151581146127ce57600080fd5b60006020828403121561283e578081fd5b612369826127b7565b60008060408385031215612859578081fd5b612862836127b7565b9150612870602084016127b7565b90509250929050565b60008060006060848603121561288d578081fd5b612896846127b7565b92506128a4602085016127b7565b9150604084013590509250925092565b600080600080608085870312156128c9578081fd5b6128d2856127b7565b93506128e0602086016127b7565b925060408501359150606085013567ffffffffffffffff811115612902578182fd5b8501601f81018713612912578182fd5b6129218782356020840161275f565b91505092959194509250565b600080600060408486031215612941578283fd5b61294a846127b7565b9250602084013567ffffffffffffffff811115612965578283fd5b612971868287016127d3565b9497909650939450505050565b60008060408385031215612990578182fd5b612999836127b7565b91506128706020840161281d565b600080604083850312156129b9578182fd5b6129c2836127b7565b946020939093013593505050565b6000806000606084860312156129e4578283fd5b6129ed846127b7565b95602085013595506040909401359392505050565b60008060408385031215612a14578182fd5b823567ffffffffffffffff80821115612a2b578384fd5b818501915085601f830112612a3e578384fd5b8135602082821115612a5257612a52612f82565b8160051b9250612a63818401612de5565b8281528181019085830185870184018b1015612a7d578889fd5b8896505b84871015612aa657612a92816127b7565b835260019690960195918301918301612a81565b509997909101359750505050505050565b60008060008060608587031215612acc578182fd5b843567ffffffffffffffff811115612ae2578283fd5b612aee878288016127d3565b90989097506020870135966040013595509350505050565b600060208284031215612b17578081fd5b6123698261281d565b600060208284031215612b31578081fd5b5035919050565b600060208284031215612b49578081fd5b813561236981612f98565b600060208284031215612b65578081fd5b815161236981612f98565b600060208284031215612b81578081fd5b813567ffffffffffffffff811115612b97578182fd5b8201601f81018413612ba7578182fd5b611edf8482356020840161275f565b600060208284031215612bc7578081fd5b813561ffff81168114612369578182fd5b60008151808452612bf0816020860160208601612e9e565b601f01601f19169290920160200192915050565b60008351612c16818460208801612e9e565b835190830190612c2a818360208801612e9e565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7690830184612bd8565b9695505050505050565b6020815260006123696020830184612bd8565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f5761697420756e74696c20616c6c20746f6b656e732061726520617661696c61604082015262626c6560e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0e57612e0e612f82565b604052919050565b600061ffff808316818516808303821115612e3357612e33612f56565b01949350505050565b60008219821115612e4f57612e4f612f56565b500190565b600082612e6357612e63612f6c565b500490565b6000816000190483118215151615612e8257612e82612f56565b500290565b600082821015612e9957612e99612f56565b500390565b60005b83811015612eb9578181015183820152602001612ea1565b83811115611a815750506000910152565b600181811c90821680612ede57607f821691505b60208210811415612eff57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612f1d57612f1d612f56565b6001019392505050565b6000600019821415612f3b57612f3b612f56565b5060010190565b600082612f5157612f51612f6c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611bfc57600080fdfea2646970667358221220327f05f41e31063c5eb6317b2f9227f6e01aa2e721410b37790e74fd3f554b5f64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000406ac0886b4fde6c805064c866abbc48d190deb5e8b19103bfdc5f0fa14520bc87000000000000000000000000000000000000000000000000000000000000006268747470733a2f2f676f72696c6c612d696e2d612d70696e6b2d6d61736b2e6d7970696e6174612e636c6f75642f697066732f516d51356d6d6e477065386f37685445466b6942316d477a7655715444444c51697170445a317679664c4874664c2f000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102725760003560e01c80636c0360eb1161014f578063abbdba28116100c1578063e6635c321161007a578063e6635c321461072a578063e985e9c51461074b578063ebd4e1b414610794578063f168f08f146107a9578063f2fde38b146107bf578063fcc90a39146107df57600080fd5b8063abbdba281461067e578063b51cd3541461069f578063b88d4fde146106bf578063c87b56dd146106df578063d111515d146106ff578063e623f2d11461071457600080fd5b80638da5cb5b116101135780638da5cb5b146105cb57806391b7f5ed146105e9578063950f97811461060957806395d89b4114610629578063a22cb4651461063e578063a4620d671461065e57600080fd5b80636c0360eb1461054b57806370780a7a1461056057806370a0823114610580578063715018a6146105a05780637ff9b596146105b557600080fd5b80632eb4a7ab116101e857806351830227116101ac578063518302271461048957806355f804b3146104aa5780635a23dd99146104ca5780635c975abb146104ea5780635e1dca041461050b5780636352211e1461052b57600080fd5b80632eb4a7ab146103fe57806335f1db51146104145780633ccfd60b1461043457806342842e0e14610449578063440bc7f31461046957600080fd5b806315cf3bcf1161023a57806315cf3bcf1461033b57806316c38b3c1461035b57806318160ddd1461037b57806323b872dd1461039e5780632b14e077146103be5780632d1fd493146103de57600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806314bf9af614610328575b600080fd5b34801561028357600080fd5b50610297610292366004612b38565b6107f5565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610847565b6040516102a39190612c80565b3480156102da57600080fd5b506102ee6102e9366004612b20565b6108d9565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b506103266103213660046129a7565b610973565b005b610326610336366004612ab7565b610a89565b34801561034757600080fd5b50610326610356366004612a02565b610e7a565b34801561036757600080fd5b50610326610376366004612b06565b610faa565b34801561038757600080fd5b50610390610ff2565b6040519081526020016102a3565b3480156103aa57600080fd5b506103266103b9366004612879565b611020565b3480156103ca57600080fd5b506103266103d936600461282d565b611051565b3480156103ea57600080fd5b506103266103f936600461282d565b6110c2565b34801561040a57600080fd5b5061039060095481565b34801561042057600080fd5b5061032661042f366004612bb6565b611133565b34801561044057600080fd5b506103266112a8565b34801561045557600080fd5b50610326610464366004612879565b61156e565b34801561047557600080fd5b50610326610484366004612b20565b611589565b34801561049557600080fd5b5060115461029790600160a81b900460ff1681565b3480156104b657600080fd5b506103266104c5366004612b70565b6115b8565b3480156104d657600080fd5b506102976104e536600461292d565b611644565b3480156104f657600080fd5b5060115461029790600160a01b900460ff1681565b34801561051757600080fd5b50600f546102ee906001600160a01b031681565b34801561053757600080fd5b506102ee610546366004612b20565b6116ca565b34801561055757600080fd5b506102c1611741565b34801561056c57600080fd5b506010546102ee906001600160a01b031681565b34801561058c57600080fd5b5061039061059b36600461282d565b6117cf565b3480156105ac57600080fd5b50610326611856565b3480156105c157600080fd5b50610390600c5481565b3480156105d757600080fd5b506006546001600160a01b03166102ee565b3480156105f557600080fd5b50610326610604366004612b20565b61188c565b34801561061557600080fd5b506103266106243660046129d0565b6118bb565b34801561063557600080fd5b506102c16119c4565b34801561064a57600080fd5b5061032661065936600461297e565b6119d3565b34801561066a57600080fd5b506011546102ee906001600160a01b031681565b34801561068a57600080fd5b5060115461029790600160b01b900460ff1681565b3480156106ab57600080fd5b506103266106ba36600461282d565b6119de565b3480156106cb57600080fd5b506103266106da3660046128b4565b611a4f565b3480156106eb57600080fd5b506102c16106fa366004612b20565b611a87565b34801561070b57600080fd5b50610326611b25565b34801561072057600080fd5b50610390600a5481565b34801561073657600080fd5b5060115461029790600160b81b900460ff1681565b34801561075757600080fd5b50610297610766366004612847565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107a057600080fd5b50600e54610390565b3480156107b557600080fd5b50610390600b5481565b3480156107cb57600080fd5b506103266107da36600461282d565b611b64565b3480156107eb57600080fd5b50610390600d5481565b60006001600160e01b031982166380ac58cd60e01b148061082657506001600160e01b03198216635b5e139f60e01b145b8061084157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461085690612eca565b80601f016020809104026020016040519081016040528092919081815260200182805461088290612eca565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109575760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061097e826116ca565b9050806001600160a01b0316836001600160a01b031614156109ec5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161094e565b336001600160a01b0382161480610a085750610a088133610766565b610a7a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161094e565b610a848383611bff565b505050565b60026007541415610aac5760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff16610ada5760405162461bcd60e51b815260040161094e90612ce5565b601154600160a01b900460ff1615610b345760405162461bcd60e51b815260206004820152601a60248201527f506c65617365207761697420756e74696c20756e706175736564000000000000604482015260640161094e565b60008211610b845760405162461bcd60e51b815260206004820152601760248201527f4d696e74206174206c65617374206f6e6520746f6b656e000000000000000000604482015260640161094e565b600e54821115610be75760405162461bcd60e51b815260206004820152602860248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e742074604482015267686174206d616e7960c01b606482015260840161094e565b81600c54610bf59190612e68565b3414610c3c5760405162461bcd60e51b8152602060048201526016602482015275125b98dbdc9c9958dd08195d1a195c88185b5bdd5b9d60521b604482015260640161094e565b610fa0600d54108015610c555750610c55338585611644565b15610df557610fa082600d54610c6b9190612e3c565b11610cdf5734600a6000828254610c829190612e3c565b9250508190555081600d6000828254610c9b9190612e3c565b90915550506040805183815234602082015233917f52b0a763056934e033a6118fa95c30ad4ddf67f2915a28472800ee478fa528a2910160405180910390a2610e47565b6000610fa083600d54610cf29190612e3c565b610cfc9190612e87565b90506000610d0a8285612e87565b9050600084610d198334612e68565b610d239190612e54565b9050600085610d328534612e68565b610d3c9190612e54565b604080518681526020810183905291925033917fc690834f7cb6d11842bda61935101d8011f194dbf6aa8755d914078d4f9723ee910160405180910390a2604080518481526020810184905233917f52b0a763056934e033a6118fa95c30ad4ddf67f2915a28472800ee478fa528a2910160405180910390a281600a6000828254610dc79190612e3c565b9250508190555080600b6000828254610de09190612e3c565b9091555050610fa0600d5550610e4792505050565b34600b6000828254610e079190612e3c565b90915550506040805183815234602082015233917fc690834f7cb6d11842bda61935101d8011f194dbf6aa8755d914078d4f9723ee910160405180910390a25b60015b828111610e6e57610e5c338383611c6d565b80610e6681612f27565b915050610e4a565b50506001600755505050565b6006546001600160a01b03163314610ea45760405162461bcd60e51b815260040161094e90612d28565b60026007541415610ec75760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff16610ef55760405162461bcd60e51b815260040161094e90612ce5565b8151600e54600091610f0691612e87565b1015610f505760405162461bcd60e51b8152602060048201526019602482015278139bdd081d1a1a5cc81b585b9e481d1bdad95b9cc81b19599d603a1b604482015260640161094e565b60005b8251811015610fa057610f8e838281518110610f7f57634e487b7160e01b600052603260045260246000fd5b60200260200101518383611c6d565b80610f9881612f27565b915050610f53565b5050600160075550565b6006546001600160a01b03163314610fd45760405162461bcd60e51b815260040161094e90612d28565b60118054911515600160a01b0260ff60a01b19909216919091179055565b601154600090600160b01b900460ff1661100c5750600090565b600e5461101b90612710612e87565b905090565b61102a3382611df0565b6110465760405162461bcd60e51b815260040161094e90612d5d565b610a84838383611ee7565b6010546001600160a01b031633146110a05760405162461bcd60e51b815260206004820152601260248201527127b7363c9039b430b932b437b63232b9101960711b604482015260640161094e565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b6011546001600160a01b031633146111115760405162461bcd60e51b81526020600482015260126024820152714f6e6c79207368617265686f6c646572203360701b604482015260640161094e565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b601154600160b01b900460ff16156111855760405162461bcd60e51b8152602060048201526015602482015274105b1b081d1bdad95b9cc81dd95c99481859191959605a1b604482015260640161094e565b600e546127106111958383612e16565b61ffff1611156111f15760405162461bcd60e51b815260206004820152602160248201527f4e6f7420656e6f75676820736c6f747320696e2074686520746f6b656e506f6f6044820152601b60fa1b606482015260840161094e565b60006111fe826001612e16565b90505b61120b8383612e16565b61ffff168161ffff161161128357600e80546001810182556000919091527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd60108204018054600f9092166002026101000a61ffff81810219909316928416029190911790558061127b81612f05565b915050611201565b50600e5461271014156112a4576011805460ff60b01b1916600160b01b1790555b5050565b600260075414156112cb5760405162461bcd60e51b815260040161094e90612dae565b6002600755600f546001600160a01b03163314806112f357506010546001600160a01b031633145b8061130857506011546001600160a01b031633145b6113545760405162461bcd60e51b815260206004820152601f60248201527f5468652063616c6c6572206973206e6f742061207368617265686f6c64657200604482015260640161094e565b6000612710600a546116446113699190612e68565b6113739190612e54565b90506000612710600a54610fa061138a9190612e68565b6113949190612e54565b90506000612710600a5461012c6113ab9190612e68565b6113b59190612e54565b9050612710600b546120086113ca9190612e68565b6113d49190612e54565b6113de9084612e3c565b9250612710600b546105dc6113f39190612e68565b6113fd9190612e54565b6114079083612e3c565b9150612710600b5461012c61141c9190612e68565b6114269190612e54565b6114309082612e3c565b600f546040519192506000916001600160a01b039091169085908381818185875af1925050503d8060008114611482576040519150601f19603f3d011682016040523d82523d6000602084013e611487565b606091505b505090508061149557600080fd5b6010546040516001600160a01b03909116908490600081818185875af1925050503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b505080915050806114f757600080fd5b6011546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611544576040519150601f19603f3d011682016040523d82523d6000602084013e611549565b606091505b5050809150508061155957600080fd5b50506000600a819055600b5550506001600755565b610a8483838360405180602001604052806000815250611a4f565b6006546001600160a01b031633146115b35760405162461bcd60e51b815260040161094e90612d28565b600955565b6006546001600160a01b031633146115e25760405162461bcd60e51b815260040161094e90612d28565b601154600160b81b900460ff16156116315760405162461bcd60e51b815260206004820152601260248201527126b2ba30b230ba309034b990333937bd32b760711b604482015260640161094e565b80516112a49060089060208401906126c6565b6040516bffffffffffffffffffffffff19606085901b16602082015260009081906034016040516020818303038152906040528051906020012090506116c1848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050612087565b95945050505050565b6000818152600260205260408120546001600160a01b0316806108415760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161094e565b6008805461174e90612eca565b80601f016020809104026020016040519081016040528092919081815260200182805461177a90612eca565b80156117c75780601f1061179c576101008083540402835291602001916117c7565b820191906000526020600020905b8154815290600101906020018083116117aa57829003601f168201915b505050505081565b60006001600160a01b03821661183a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161094e565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146118805760405162461bcd60e51b815260040161094e90612d28565b61188a600061209d565b565b6006546001600160a01b031633146118b65760405162461bcd60e51b815260040161094e90612d28565b600c55565b6006546001600160a01b031633146118e55760405162461bcd60e51b815260040161094e90612d28565b600260075414156119085760405162461bcd60e51b815260040161094e90612dae565b6002600755601154600160b01b900460ff166119365760405162461bcd60e51b815260040161094e90612ce5565b600e54600090611947908490612e87565b10156119915760405162461bcd60e51b8152602060048201526019602482015278139bdd081d1a1a5cc81b585b9e481d1bdad95b9cc81b19599d603a1b604482015260640161094e565b60005b828110156119b9576119a7848383611c6d565b806119b181612f27565b915050611994565b505060016007555050565b60606001805461085690612eca565b6112a43383836120ef565b600f546001600160a01b03163314611a2d5760405162461bcd60e51b81526020600482015260126024820152714f6e6c79207368617265686f6c646572203160701b604482015260640161094e565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b611a593383611df0565b611a755760405162461bcd60e51b815260040161094e90612d5d565b611a81848484846121be565b50505050565b6000818152600260205260409020546060906001600160a01b0316611ae75760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b604482015260640161094e565b6000611af16121f1565b905080611afd84612200565b604051602001611b0e929190612c04565b604051602081830303815290604052915050919050565b6006546001600160a01b03163314611b4f5760405162461bcd60e51b815260040161094e90612d28565b6011805460ff60b81b1916600160b81b179055565b6006546001600160a01b03163314611b8e5760405162461bcd60e51b815260040161094e90612d28565b6001600160a01b038116611bf35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161094e565b611bfc8161209d565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c34826116ca565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c81611c7c8385612e3c565b61231a565b90506000600e8281548110611ca657634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff169050611cd48582612370565b600e8054611ce490600190612e87565b81548110611d0257634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff16600e8381548110611d4757634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600e805480611d9557634e487b7160e01b600052603160045260246000fd5b600082815260208120601060001990930192830401805461ffff6002600f8616026101000a0219169055915560405182917f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466591a25050505050565b6000818152600260205260408120546001600160a01b0316611e695760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161094e565b6000611e74836116ca565b9050806001600160a01b0316846001600160a01b03161480611eaf5750836001600160a01b0316611ea4846108d9565b6001600160a01b0316145b80611edf57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611efa826116ca565b6001600160a01b031614611f625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161094e565b6001600160a01b038216611fc45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161094e565b611fcf600082611bff565b6001600160a01b0383166000908152600360205260408120805460019290611ff8908490612e87565b90915550506001600160a01b0382166000908152600360205260408120805460019290612026908490612e3c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082612094858461238a565b14949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121515760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161094e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121c9848484611ee7565b6121d584848484612444565b611a815760405162461bcd60e51b815260040161094e90612c93565b60606008805461085690612eca565b6060816122245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561224e578061223881612f27565b91506122479050600a83612e54565b9150612228565b60008167ffffffffffffffff81111561227757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122a1576020820181803683370190505b5090505b8415611edf576122b6600183612e87565b91506122c3600a86612f42565b6122ce906030612e3c565b60f81b8183815181106122f157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612313600a86612e54565b94506122a5565b60408051446020820152429181019190915260608101829052336080820152600090819060a00160408051601f198184030181529190528051602090910120600e549091506123699082612f42565b9392505050565b6112a4828260405180602001604052806000815250612551565b600081815b845181101561243c5760008582815181106123ba57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116123fc576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612429565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061243481612f27565b91505061238f565b509392505050565b60006001600160a01b0384163b1561254657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612488903390899088908890600401612c43565b602060405180830381600087803b1580156124a257600080fd5b505af19250505080156124d2575060408051601f3d908101601f191682019092526124cf91810190612b54565b60015b61252c573d808015612500576040519150601f19603f3d011682016040523d82523d6000602084013e612505565b606091505b5080516125245760405162461bcd60e51b815260040161094e90612c93565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611edf565b506001949350505050565b61255b8383612584565b6125686000848484612444565b610a845760405162461bcd60e51b815260040161094e90612c93565b6001600160a01b0382166125da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161094e565b6000818152600260205260409020546001600160a01b03161561263f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161094e565b6001600160a01b0382166000908152600360205260408120805460019290612668908490612e3c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126d290612eca565b90600052602060002090601f0160209004810192826126f4576000855561273a565b82601f1061270d57805160ff191683800117855561273a565b8280016001018555821561273a579182015b8281111561273a57825182559160200191906001019061271f565b5061274692915061274a565b5090565b5b80821115612746576000815560010161274b565b600067ffffffffffffffff83111561277957612779612f82565b61278c601f8401601f1916602001612de5565b90508281528383830111156127a057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146127ce57600080fd5b919050565b60008083601f8401126127e4578182fd5b50813567ffffffffffffffff8111156127fb578182fd5b6020830191508360208260051b850101111561281657600080fd5b9250929050565b803580151581146127ce57600080fd5b60006020828403121561283e578081fd5b612369826127b7565b60008060408385031215612859578081fd5b612862836127b7565b9150612870602084016127b7565b90509250929050565b60008060006060848603121561288d578081fd5b612896846127b7565b92506128a4602085016127b7565b9150604084013590509250925092565b600080600080608085870312156128c9578081fd5b6128d2856127b7565b93506128e0602086016127b7565b925060408501359150606085013567ffffffffffffffff811115612902578182fd5b8501601f81018713612912578182fd5b6129218782356020840161275f565b91505092959194509250565b600080600060408486031215612941578283fd5b61294a846127b7565b9250602084013567ffffffffffffffff811115612965578283fd5b612971868287016127d3565b9497909650939450505050565b60008060408385031215612990578182fd5b612999836127b7565b91506128706020840161281d565b600080604083850312156129b9578182fd5b6129c2836127b7565b946020939093013593505050565b6000806000606084860312156129e4578283fd5b6129ed846127b7565b95602085013595506040909401359392505050565b60008060408385031215612a14578182fd5b823567ffffffffffffffff80821115612a2b578384fd5b818501915085601f830112612a3e578384fd5b8135602082821115612a5257612a52612f82565b8160051b9250612a63818401612de5565b8281528181019085830185870184018b1015612a7d578889fd5b8896505b84871015612aa657612a92816127b7565b835260019690960195918301918301612a81565b509997909101359750505050505050565b60008060008060608587031215612acc578182fd5b843567ffffffffffffffff811115612ae2578283fd5b612aee878288016127d3565b90989097506020870135966040013595509350505050565b600060208284031215612b17578081fd5b6123698261281d565b600060208284031215612b31578081fd5b5035919050565b600060208284031215612b49578081fd5b813561236981612f98565b600060208284031215612b65578081fd5b815161236981612f98565b600060208284031215612b81578081fd5b813567ffffffffffffffff811115612b97578182fd5b8201601f81018413612ba7578182fd5b611edf8482356020840161275f565b600060208284031215612bc7578081fd5b813561ffff81168114612369578182fd5b60008151808452612bf0816020860160208601612e9e565b601f01601f19169290920160200192915050565b60008351612c16818460208801612e9e565b835190830190612c2a818360208801612e9e565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7690830184612bd8565b9695505050505050565b6020815260006123696020830184612bd8565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f5761697420756e74696c20616c6c20746f6b656e732061726520617661696c61604082015262626c6560e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612e0e57612e0e612f82565b604052919050565b600061ffff808316818516808303821115612e3357612e33612f56565b01949350505050565b60008219821115612e4f57612e4f612f56565b500190565b600082612e6357612e63612f6c565b500490565b6000816000190483118215151615612e8257612e82612f56565b500290565b600082821015612e9957612e99612f56565b500390565b60005b83811015612eb9578181015183820152602001612ea1565b83811115611a815750506000910152565b600181811c90821680612ede57607f821691505b60208210811415612eff57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612f1d57612f1d612f56565b6001019392505050565b6000600019821415612f3b57612f3b612f56565b5060010190565b600082612f5157612f51612f6c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611bfc57600080fdfea2646970667358221220327f05f41e31063c5eb6317b2f9227f6e01aa2e721410b37790e74fd3f554b5f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000406ac0886b4fde6c805064c866abbc48d190deb5e8b19103bfdc5f0fa14520bc87000000000000000000000000000000000000000000000000000000000000006268747470733a2f2f676f72696c6c612d696e2d612d70696e6b2d6d61736b2e6d7970696e6174612e636c6f75642f697066732f516d51356d6d6e477065386f37685445466b6942316d477a7655715444444c51697170445a317679664c4874664c2f000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://gorilla-in-a-pink-mask.mypinata.cloud/ipfs/QmQ5mmnGpe8o7hTEFkiB1mGzvUqTDDLQiqpDZ1vyfLHtfL/
Arg [1] : _merkleRoot (bytes32): 0x6ac0886b4fde6c805064c866abbc48d190deb5e8b19103bfdc5f0fa14520bc87
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 6ac0886b4fde6c805064c866abbc48d190deb5e8b19103bfdc5f0fa14520bc87
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000062
Arg [3] : 68747470733a2f2f676f72696c6c612d696e2d612d70696e6b2d6d61736b2e6d
Arg [4] : 7970696e6174612e636c6f75642f697066732f516d51356d6d6e477065386f37
Arg [5] : 685445466b6942316d477a7655715444444c51697170445a317679664c487466
Arg [6] : 4c2f000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.