ERC-721
NFT
Overview
Max Total Supply
0 MB1
Holders
1,109
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MB1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NftSales
Compiler Version
v0.8.8+commit.dddeac2f
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.8; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract NftSales is ERC721, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; using SafeERC20 for IERC20; Counters.Counter public _tokenIds; address[] public Admins; mapping(address => bool) public AdminByAddr; uint256 public maxNftPerWalletAddress = 10; uint256 public maxNftPerWhitelistWalletAddress = 3; uint256 public staticPrice = 150000000000000000; // 0.15 ETH uint256 public maxNftsPerMint = 3; uint256 public maxWhiteSaleMints = 3500; uint256 public whiteSaleMints; mapping(address => bool) public isWhiteListed; uint public whitelistCount; address public treasuryAddress = 0xCCB346580Bcb2BE9bB9335f9e578aD1a8dee4b51; bool public whiteSaleActive; bool public publicSaleActive; uint public maxNfts = 10000; string public uri = "https://moonboots.mypinata.cloud/ipfs/QmQ8Ua8Jwa9KxjcHsDPQvx5yWnxKePYstqPq3DAox1bFab"; bool public usePlaceholderUri = true; modifier onlyAdmin() { require(AdminByAddr[_msgSender()] == true || _msgSender() == owner(), "onlyAdmin"); _; } constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_){ AdminByAddr[0x8425f3b97D528a2586275B4e18eaf6aDCd695158] = true; Admins = [0x8425f3b97D528a2586275B4e18eaf6aDCd695158]; } function setMaxNftPerWalletAddress(uint256 amount_) external onlyAdmin { require(amount_ > 0, "amount_ = 0"); maxNftPerWalletAddress = amount_; } function setMaxNftPerWhitelistWalletAddress(uint256 amount_) external onlyAdmin { require(amount_ > 0, "amount_ = 0"); maxNftPerWhitelistWalletAddress = amount_; } function setMaxNftsPerMint(uint256 _maxNftsPerMint) external onlyAdmin { maxNftsPerMint = _maxNftsPerMint; } function setMaxWhiteSaleMints(uint256 _maxWhiteSaleMints) external onlyAdmin { maxWhiteSaleMints = _maxWhiteSaleMints; } function setTreasuryAddress(address walletAddress_) external onlyOwner { require(walletAddress_ != address(0), "Error : treasury address set to 0"); treasuryAddress = walletAddress_; } function setStaticPrice(uint256 _price) external onlyAdmin { staticPrice = _price; } function setWhiteSaleActive(bool isActive_) external onlyAdmin { whiteSaleActive = isActive_; emit SetWhiteSaleActive(isActive_, block.timestamp); } function setPublicSaleActive(bool isActive_) external onlyAdmin { publicSaleActive = isActive_; whiteSaleActive = isActive_ ? false : whiteSaleActive; emit SetPublicSaleActive(isActive_, block.timestamp); } function addAddressTowhitelistAddress(address[] memory _addresses) external onlyAdmin { require(_addresses.length > 0, "No addresses"); for (uint256 i = 0; i < _addresses.length; i++) { isWhiteListed[_addresses[i]] = true; whitelistCount++; emit AddedToWhiteList(_addresses[i]); } } function removeAddressFromWhitelist(address _address) external onlyAdmin { require(isWhiteListed[_address] == true, "Address is not whitelisted"); isWhiteListed[_address] = false; whitelistCount--; emit RemovedFromWhiteList(_address); } function mintWhiteSale(uint amount_) public payable { require(isWhiteListed[_msgSender()] == true && whiteSaleActive == true,"Whitelist sales not active or address not whitelisted"); require(whiteSaleMints + amount_ <= maxWhiteSaleMints, "Max whitelist mints would be exceeded."); require(_tokenIds.current() + amount_ <= maxNfts, "Max NFTs would be exceeded"); require(msg.value >= amount_ * staticPrice, "ETH send is less then required"); require(amount_ <= maxNftsPerMint, "Max NFTs per mint would be exceeded"); require(balanceOf(_msgSender()) + amount_ <= maxNftPerWhitelistWalletAddress, "User cannot mint more NFTs to a whitelist wallet"); for (uint256 i = 0; i < amount_; i++) { _tokenIds.increment(); _mint(_msgSender(), _tokenIds.current()); } whiteSaleMints += amount_; emit MintWhiteSale(_msgSender(), amount_); } function mintPublicSale(uint amount_) public payable { require(publicSaleActive == true, "Public sale has not started"); require(msg.value >= amount_ * staticPrice, "ETH send is less then required"); require(_tokenIds.current() + amount_ <= maxNfts, "Max NFTs would be exceeded"); require(amount_ <= maxNftsPerMint, "Max NFTs per mint would be exceeded"); require(balanceOf(_msgSender()) + amount_ <= maxNftPerWalletAddress, "Max NFT wallet balance would be exceeded"); for (uint256 i = 0; i < amount_; i++) { _tokenIds.increment(); _mint(_msgSender(), _tokenIds.current()); } emit MintPublicSale(_msgSender(), amount_); } function safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) external { _safeTransfer(from, to, tokenId, _data); } function safeTransferFrom(address from, address to, uint256 tokenId) public override { _safeTransfer(from, to, tokenId, ""); } function burn(uint256 tokenId) external { _burn(tokenId); } //******************* //* GENERAL ADMIN * //******************* function setBaseUri(string memory uri_) external onlyAdmin { uri = uri_; } function revealNfts(string memory uri_) external onlyAdmin { uri = uri_; usePlaceholderUri = false; } function setUsePlaceholderUri(bool isActive_) external onlyAdmin { usePlaceholderUri = isActive_; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return usePlaceholderUri ? uri : bytes(uri).length > 0 ? string(abi.encodePacked(uri, tokenId.toString())) : ""; } function airdropNFT(address[] memory _recipients, uint256[] memory _amounts) external onlyAdmin { require(_recipients.length > 0, "no recipients"); require(_recipients.length == _amounts.length, "number of recipients and amounts do not match"); for(uint x = 0; x < _recipients.length; x++) { require(_tokenIds.current() + _amounts[x] <= maxNfts, "Max NFTs would be exceeded"); for (uint256 i = 0; i < _amounts[x]; i++) { _tokenIds.increment(); _mint(_recipients[x], _tokenIds.current()); } emit AirdropNFT(_msgSender(), _recipients[x], _amounts[x]); } } function withdrawFund() public onlyAdmin { require(treasuryAddress != address(0), "treasury address not set"); (bool sent, ) = treasuryAddress.call{value: address(this).balance}(""); require(sent, "failed to send funds"); } function withdraw(address _token) external onlyAdmin nonReentrant { require(treasuryAddress != address(0), "treasury address not set"); IERC20(_token).safeTransfer(treasuryAddress, IERC20(_token).balanceOf(address(this))); emit Withdraw(_msgSender(), _token); } function setAdmins(address[] memory _Admins) external onlyOwner { _setAdmins(_Admins); } function _setAdmins(address[] memory _Admins) internal { for (uint256 i = 0; i < Admins.length; i++) { AdminByAddr[Admins[i]] = false; } for (uint256 j = 0; j < _Admins.length; j++) { AdminByAddr[_Admins[j]] = true; } Admins = _Admins; emit SetAdmins(_Admins); } function getAdmins() external view returns (address[] memory) { return Admins; } //******************* //* EVENTS * //******************* event AddedToWhiteList(address indexed whitelistAddress); event RemovedFromWhiteList(address indexed removedAddress); event SetWhiteSaleActive(bool indexed whiteSaleActive, uint256 time); event SetPublicSaleActive(bool indexed hasPublicSaleStarted, uint256 time); event MintWhiteSale(address indexed sender, uint indexed amount); event MintPublicSale(address indexed sender, uint indexed amount); event AirdropNFT(address indexed sender, address indexed recipient, uint256 indexed amount); event Withdraw(address indexed msgSender, address indexed token); event SetAdmins(address[] Admins); }
// 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/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (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 (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/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "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":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"whitelistAddress","type":"address"}],"name":"AddedToWhiteList","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AirdropNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintPublicSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintWhiteSale","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":"removedAddress","type":"address"}],"name":"RemovedFromWhiteList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"Admins","type":"address[]"}],"name":"SetAdmins","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"hasPublicSaleStarted","type":"bool"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"SetPublicSaleActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"whiteSaleActive","type":"bool"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"SetWhiteSaleActive","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"msgSender","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"AdminByAddr","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Admins","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIds","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addAddressTowhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"airdropNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftPerWalletAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftPerWhitelistWalletAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNfts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNftsPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhiteSaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintPublicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintWhiteSale","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":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAddressFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"revealNfts","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":"safeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_Admins","type":"address[]"}],"name":"setAdmins","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":"uri_","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMaxNftPerWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMaxNftPerWhitelistWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxNftsPerMint","type":"uint256"}],"name":"setMaxNftsPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWhiteSaleMints","type":"uint256"}],"name":"setMaxWhiteSaleMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive_","type":"bool"}],"name":"setPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setStaticPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress_","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive_","type":"bool"}],"name":"setUsePlaceholderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive_","type":"bool"}],"name":"setWhiteSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staticPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usePlaceholderUri","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteSaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFund","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600a600b556003600c819055670214e8348c4f0000600d55600e55610dac600f55601380546001600160a01b03191673ccb346580bcb2be9bb9335f9e578ad1a8dee4b511790556127106014556101006040526054608081815290620048df60a03980516200007791601591602090910190620001ce565b506016805460ff191660011790553480156200009257600080fd5b506040516200493338038062004933833981016040819052620000b59162000399565b815182908290620000ce906000906020850190620001ce565b508051620000e4906001906020840190620001ce565b50505062000101620000fb6200017860201b60201c565b6200017c565b60016007819055738425f3b97d528a2586275b4e18eaf6adcd6951586000819052600a60209081527f1f8fade9698e9485f32ae6b36337eff4d4e086527b0391e53f2d35d5afbb74a5805460ff1916841790556040805191820190529081526200016f91600991906200025d565b50505062000440565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001dc9062000403565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b5062000259929150620002b5565b5090565b8280548282559060005260206000209081019282156200024b579160200282015b828111156200024b57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200027e565b5b80821115620002595760008155600101620002b6565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002f457600080fd5b81516001600160401b0380821115620003115762000311620002cc565b604051601f8301601f19908116603f011681019082821181831017156200033c576200033c620002cc565b816040528381526020925086838588010111156200035957600080fd5b600091505b838210156200037d57858201830151818301840152908201906200035e565b838211156200038f5760008385830101525b9695505050505050565b60008060408385031215620003ad57600080fd5b82516001600160401b0380821115620003c557600080fd5b620003d386838701620002e2565b93506020850151915080821115620003ea57600080fd5b50620003f985828601620002e2565b9150509250929050565b600181811c908216806200041857607f821691505b602082108114156200043a57634e487b7160e01b600052602260045260246000fd5b50919050565b61448f80620004506000396000f3fe6080604052600436106103605760003560e01c8063899fe6bc116101c6578063c5f956af116100f7578063e07fa3c111610095578063eac989f81161006f578063eac989f8146109ec578063f2624b5d14610a01578063f2fde38b14610a17578063f357b91314610a3757600080fd5b8063e07fa3c11461096e578063e2e06fa314610983578063e985e9c5146109a357600080fd5b8063ca343648116100d1578063ca3436481461090f578063ce75561614610925578063d596689214610945578063daf1dce61461095857600080fd5b8063c5f956af146108b5578063c634cee2146108d5578063c87b56dd146108ef57600080fd5b8063a0bcfc7f11610164578063aa46a4001161013e578063aa46a4001461082b578063accc1d5e14610842578063b88d4fde14610862578063bc8893b41461088257600080fd5b8063a0bcfc7f146107d5578063a1d5eae8146107f5578063a22cb4651461080b57600080fd5b806393f344c1116101a057806393f344c11461075a57806395d89b411461077057806398c032b1146107855780639f89a4b2146107b557600080fd5b8063899fe6bc146106fc5780638da5cb5b1461071c5780638f906bfc1461073a57600080fd5b80633fe7d355116102a0578063603353cc1161023e5780636f9170f6116102185780636f9170f61461067757806370a08231146106a7578063715018a6146106c757806376b82a91146106dc57600080fd5b8063603353cc146106175780636352211e146106375780636605bfda1461065757600080fd5b80634dd3a4f31161027a5780634dd3a4f3146105a457806351cff8d9146105c45780635736e065146105e45780635a5e5d581461060457600080fd5b80633fe7d3551461053257806342842e0e1461056457806342966c681461058457600080fd5b8063286dd3f51161030d57806333e39be1116102e757806333e39be1146104b85780633a638b4e146104dc5780633a860536146104fc5780633b41ca211461051257600080fd5b8063286dd3f51461045657806328a614b91461047657806331ae450b1461049657600080fd5b8063081812fc1161033e578063081812fc146103de578063095ea7b31461041657806323b872dd1461043657600080fd5b806301ffc9a714610365578063063bb6ad1461039a57806306fdde03146103bc575b600080fd5b34801561037157600080fd5b50610385610380366004613b72565b610a4d565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103ba6103b5366004613b8f565b610b32565b005b3480156103c857600080fd5b506103d1610c05565b6040516103919190613c1e565b3480156103ea57600080fd5b506103fe6103f9366004613b8f565b610c97565b6040516001600160a01b039091168152602001610391565b34801561042257600080fd5b506103ba610431366004613c4d565b610d3d565b34801561044257600080fd5b506103ba610451366004613c77565b610e6f565b34801561046257600080fd5b506103ba610471366004613cb3565b610ef6565b34801561048257600080fd5b506103ba610491366004613de2565b611046565b3480156104a257600080fd5b506104ab6111e1565b6040516103919190613e17565b3480156104c457600080fd5b506104ce600e5481565b604051908152602001610391565b3480156104e857600080fd5b506103ba6104f7366004613b8f565b611242565b34801561050857600080fd5b506104ce600f5481565b34801561051e57600080fd5b506103ba61052d366004613e72565b6112c0565b34801561053e57600080fd5b506013546103859074010000000000000000000000000000000000000000900460ff1681565b34801561057057600080fd5b506103ba61057f366004613c77565b61134c565b34801561059057600080fd5b506103ba61059f366004613b8f565b611367565b3480156105b057600080fd5b506103ba6105bf366004613e8f565b611373565b3480156105d057600080fd5b506103ba6105df366004613cb3565b611639565b3480156105f057600080fd5b506103ba6105ff366004613b8f565b61184d565b6103ba610612366004613b8f565b6118cb565b34801561062357600080fd5b506103ba610632366004613b8f565b611b68565b34801561064357600080fd5b506103fe610652366004613b8f565b611c36565b34801561066357600080fd5b506103ba610672366004613cb3565b611cc1565b34801561068357600080fd5b50610385610692366004613cb3565b60116020526000908152604090205460ff1681565b3480156106b357600080fd5b506104ce6106c2366004613cb3565b611dd1565b3480156106d357600080fd5b506103ba611e6b565b3480156106e857600080fd5b506103ba6106f7366004613fc0565b611ed1565b34801561070857600080fd5b506103ba61071736600461403c565b611ee3565b34801561072857600080fd5b506006546001600160a01b03166103fe565b34801561074657600080fd5b506103ba610755366004613b8f565b611f7d565b34801561076657600080fd5b506104ce60145481565b34801561077c57600080fd5b506103d1611ffb565b34801561079157600080fd5b506103856107a0366004613cb3565b600a6020526000908152604090205460ff1681565b3480156107c157600080fd5b506103fe6107d0366004613b8f565b61200a565b3480156107e157600080fd5b506103ba6107f036600461403c565b612034565b34801561080157600080fd5b506104ce60105481565b34801561081757600080fd5b506103ba610826366004614085565b6120c0565b34801561083757600080fd5b506008546104ce9081565b34801561084e57600080fd5b506103ba61085d366004613de2565b6120cb565b34801561086e57600080fd5b506103ba61087d366004613fc0565b61212e565b34801561088e57600080fd5b50601354610385907501000000000000000000000000000000000000000000900460ff1681565b3480156108c157600080fd5b506013546103fe906001600160a01b031681565b3480156108e157600080fd5b506016546103859060ff1681565b3480156108fb57600080fd5b506103d161090a366004613b8f565b6121aa565b34801561091b57600080fd5b506104ce600d5481565b34801561093157600080fd5b506103ba610940366004613e72565b61232d565b6103ba610953366004613b8f565b612426565b34801561096457600080fd5b506104ce600b5481565b34801561097a57600080fd5b506103ba6127a0565b34801561098f57600080fd5b506103ba61099e366004613e72565b612914565b3480156109af57600080fd5b506103856109be3660046140bc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109f857600080fd5b506103d1612a78565b348015610a0d57600080fd5b506104ce60125481565b348015610a2357600080fd5b506103ba610a32366004613cb3565b612b06565b348015610a4357600080fd5b506104ce600c5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ae057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b336000908152600a602052604090205460ff16151560011480610b5f57506006546001600160a01b031633145b610bb05760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60008111610c005760405162461bcd60e51b815260206004820152600b60248201527f616d6f756e745f203d20300000000000000000000000000000000000000000006044820152606401610ba7565b600b55565b606060008054610c14906140ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610c40906140ef565b8015610c8d5780601f10610c6257610100808354040283529160200191610c8d565b820191906000526020600020905b815481529060010190602001808311610c7057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ba7565b506000908152600460205260409020546001600160a01b031690565b6000610d4882611c36565b9050806001600160a01b0316836001600160a01b03161415610dd25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b336001600160a01b0382161480610dee5750610dee81336109be565b610e605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ba7565b610e6a8383612be5565b505050565b610e793382612c6b565b610eeb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ba7565b610e6a838383612d73565b336000908152600a602052604090205460ff16151560011480610f2357506006546001600160a01b031633145b610f6f5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6001600160a01b03811660009081526011602052604090205460ff161515600114610fdc5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c69737465640000000000006044820152606401610ba7565b6001600160a01b0381166000908152601160205260408120805460ff19169055601280549161100a83614172565b90915550506040516001600160a01b038216907f9354cd337eebad48c93d70f7321b188732c3061fa5c48fe32b8e6f9480c52fcc90600090a250565b336000908152600a602052604090205460ff1615156001148061107357506006546001600160a01b031633145b6110bf5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b60008151116111105760405162461bcd60e51b815260206004820152600c60248201527f4e6f2061646472657373657300000000000000000000000000000000000000006044820152606401610ba7565b60005b81518110156111dd57600160116000848481518110611134576111346141a7565b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff1916921515929092179091556012805491611177836141d6565b919050555081818151811061118e5761118e6141a7565b60200260200101516001600160a01b03167f8a3be376fdc726be3f3cee8e59ba5698a268a9b59f69cdabcf06d2ec2c90658f60405160405180910390a2806111d5816141d6565b915050611113565b5050565b60606009805480602002602001604051908101604052809291908181526020018280548015610c8d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161121b575050505050905090565b336000908152600a602052604090205460ff1615156001148061126f57506006546001600160a01b031633145b6112bb5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600f55565b336000908152600a602052604090205460ff161515600114806112ed57506006546001600160a01b031633145b6113395760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6016805460ff1916911515919091179055565b610e6a83838360405180602001604052806000815250612f58565b61137081612fe1565b50565b336000908152600a602052604090205460ff161515600114806113a057506006546001600160a01b031633145b6113ec5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600082511161143d5760405162461bcd60e51b815260206004820152600d60248201527f6e6f20726563697069656e7473000000000000000000000000000000000000006044820152606401610ba7565b80518251146114b45760405162461bcd60e51b815260206004820152602d60248201527f6e756d626572206f6620726563697069656e747320616e6420616d6f756e747360448201527f20646f206e6f74206d61746368000000000000000000000000000000000000006064820152608401610ba7565b60005b8251811015610e6a576014548282815181106114d5576114d56141a7565b60200260200101516114e660085490565b6114f0919061420f565b111561153e5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b60005b828281518110611553576115536141a7565b60200260200101518110156115ad57611570600880546001019055565b61159b848381518110611585576115856141a7565b602002602001015161159660085490565b613094565b806115a5816141d6565b915050611541565b508181815181106115c0576115c06141a7565b60200260200101518382815181106115da576115da6141a7565b60200260200101516001600160a01b03166115f23390565b6001600160a01b03167f030a1918b3fc5eb9fb5ce50bd3d053a00cb0ce88fe7b3fbc5baf4332c0e818f960405160405180910390a480611631816141d6565b9150506114b7565b336000908152600a602052604090205460ff1615156001148061166657506006546001600160a01b031633145b6116b25760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600260075414156117055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ba7565b60026007556013546001600160a01b03166117625760405162461bcd60e51b815260206004820152601860248201527f74726561737572792061646472657373206e6f742073657400000000000000006044820152606401610ba7565b6013546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261180f916001600160a01b0390811691908416906370a082319060240160206040518083038186803b1580156117c657600080fd5b505afa1580156117da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fe9190614227565b6001600160a01b03841691906131ee565b6040516001600160a01b0382169033907f34d58c18c6c1df2c698ccac556acea92941ca7b99d2fccf9e3ac1852d0dec36f90600090a3506001600755565b336000908152600a602052604090205460ff1615156001148061187a57506006546001600160a01b031633145b6118c65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600d55565b6013547501000000000000000000000000000000000000000000900460ff16151560011461193b5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610ba7565b600d546119489082614240565b3410156119975760405162461bcd60e51b815260206004820152601e60248201527f4554482073656e64206973206c657373207468656e20726571756972656400006044820152606401610ba7565b601454816119a460085490565b6119ae919061420f565b11156119fc5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b600e54811115611a745760405162461bcd60e51b815260206004820152602360248201527f4d6178204e46547320706572206d696e7420776f756c6420626520657863656560448201527f64656400000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b600b5481611a8133611dd1565b611a8b919061420f565b1115611aff5760405162461bcd60e51b815260206004820152602860248201527f4d6178204e46542077616c6c65742062616c616e636520776f756c642062652060448201527f65786365656465640000000000000000000000000000000000000000000000006064820152608401610ba7565b60005b81811015611b3757611b18600880546001019055565b611b25335b600854613094565b80611b2f816141d6565b915050611b02565b50604051819033907fe0e3b14a4f3f053af472cf2a7c31ae0e87fd170dbc7a89466d1c776952bd173790600090a350565b336000908152600a602052604090205460ff16151560011480611b9557506006546001600160a01b031633145b611be15760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b60008111611c315760405162461bcd60e51b815260206004820152600b60248201527f616d6f756e745f203d20300000000000000000000000000000000000000000006044820152606401610ba7565b600c55565b6000818152600260205260408120546001600160a01b031680610b2c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ba7565b6006546001600160a01b03163314611d1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b6001600160a01b038116611d975760405162461bcd60e51b815260206004820152602160248201527f4572726f72203a20747265617375727920616464726573732073657420746f2060448201527f30000000000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60006001600160a01b038216611e4f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ba7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611ec55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b611ecf600061326e565b565b611edd84848484612f58565b50505050565b336000908152600a602052604090205460ff16151560011480611f1057506006546001600160a01b031633145b611f5c5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b8051611f6f906015906020840190613a3e565b50506016805460ff19169055565b336000908152600a602052604090205460ff16151560011480611faa57506006546001600160a01b031633145b611ff65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600e55565b606060018054610c14906140ef565b6009818154811061201a57600080fd5b6000918252602090912001546001600160a01b0316905081565b336000908152600a602052604090205460ff1615156001148061206157506006546001600160a01b031633145b6120ad5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b80516111dd906015906020840190613a3e565b6111dd3383836132d8565b6006546001600160a01b031633146121255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b611370816133a7565b6121383383612c6b565b611ed15760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ba7565b6000818152600260205260409020546060906001600160a01b03166122375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610ba7565b60165460ff1661229c57600060158054612250906140ef565b90501161226c5760405180602001604052806000815250610b2c565b6015612277836134cb565b604051602001612288929190614299565b604051602081830303815290604052610b2c565b601580546122a9906140ef565b80601f01602080910402602001604051908101604052809291908181526020018280546122d5906140ef565b80156123225780601f106122f757610100808354040283529160200191612322565b820191906000526020600020905b81548152906001019060200180831161230557829003601f168201915b505050505092915050565b336000908152600a602052604090205460ff1615156001148061235a57506006546001600160a01b031633145b6123a65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b601380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000831515908102919091179091556040514281527f5931a26aea03b2c0e9a12fcf8531853b1cae4d054ea224f50dc5c6558f605dd8906020015b60405180910390a250565b3360009081526011602052604090205460ff1615156001148015612469575060135474010000000000000000000000000000000000000000900460ff1615156001145b6124db5760405162461bcd60e51b815260206004820152603560248201527f57686974656c6973742073616c6573206e6f7420616374697665206f7220616460448201527f6472657373206e6f742077686974656c697374656400000000000000000000006064820152608401610ba7565b600f54816010546124ec919061420f565b11156125605760405162461bcd60e51b815260206004820152602660248201527f4d61782077686974656c697374206d696e747320776f756c642062652065786360448201527f65656465642e00000000000000000000000000000000000000000000000000006064820152608401610ba7565b6014548161256d60085490565b612577919061420f565b11156125c55760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b600d546125d29082614240565b3410156126215760405162461bcd60e51b815260206004820152601e60248201527f4554482073656e64206973206c657373207468656e20726571756972656400006044820152606401610ba7565b600e548111156126995760405162461bcd60e51b815260206004820152602360248201527f4d6178204e46547320706572206d696e7420776f756c6420626520657863656560448201527f64656400000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b600c54816126a633611dd1565b6126b0919061420f565b11156127245760405162461bcd60e51b815260206004820152603060248201527f557365722063616e6e6f74206d696e74206d6f7265204e46547320746f20612060448201527f77686974656c6973742077616c6c6574000000000000000000000000000000006064820152608401610ba7565b60005b818110156127585761273d600880546001019055565b61274633611b1d565b80612750816141d6565b915050612727565b50806010600082825461276b919061420f565b9091555050604051819033907f6b3a85890afae3550ab2d5edd04261766ef970839d562a1369792ea3ef8ae63990600090a350565b336000908152600a602052604090205460ff161515600114806127cd57506006546001600160a01b031633145b6128195760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6013546001600160a01b03166128715760405162461bcd60e51b815260206004820152601860248201527f74726561737572792061646472657373206e6f742073657400000000000000006044820152606401610ba7565b6013546040516000916001600160a01b03169047908381818185875af1925050503d80600081146128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b50509050806113705760405162461bcd60e51b815260206004820152601460248201527f6661696c656420746f2073656e642066756e64730000000000000000000000006044820152606401610ba7565b336000908152600a602052604090205460ff1615156001148061294157506006546001600160a01b031633145b61298d5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b601380547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000083151502179055806129f95760135474010000000000000000000000000000000000000000900460ff166129fc565b60005b6013805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055604051428152811515907feefd74a96b697ba815ef7742c94c6aa0230fb441881b4ad5608fadabb5a52a969060200161241b565b60158054612a85906140ef565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab1906140ef565b8015612afe5780601f10612ad357610100808354040283529160200191612afe565b820191906000526020600020905b815481529060010190602001808311612ae157829003601f168201915b505050505081565b6006546001600160a01b03163314612b605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b6001600160a01b038116612bdc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ba7565b6113708161326e565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190612c3282611c36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612cf55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ba7565b6000612d0083611c36565b9050806001600160a01b0316846001600160a01b03161480612d3b5750836001600160a01b0316612d3084610c97565b6001600160a01b0316145b80612d6b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612d8682611c36565b6001600160a01b031614612e025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610ba7565b6001600160a01b038216612e7d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b612e88600082612be5565b6001600160a01b0383166000908152600360205260408120805460019290612eb1908490614359565b90915550506001600160a01b0382166000908152600360205260408120805460019290612edf90849061420f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612f63848484612d73565b612f6f848484846135fd565b611edd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ba7565b6000612fec82611c36565b9050612ff9600083612be5565b6001600160a01b0381166000908152600360205260408120805460019290613022908490614359565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166130ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ba7565b6000818152600260205260409020546001600160a01b03161561314f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ba7565b6001600160a01b038216600090815260036020526040812080546001929061317890849061420f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e6a9084906137c8565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561333a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ba7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60005b600954811015613413576000600a6000600984815481106133cd576133cd6141a7565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790558061340b816141d6565b9150506133aa565b5060005b815181101561347c576001600a6000848481518110613438576134386141a7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580613474816141d6565b915050613417565b508051613490906009906020840190613ac2565b507fc1ec6cf847d0d41c2be18f0fe55bd0e5b3346c5637fafc2814ee15359b68efe2816040516134c09190613e17565b60405180910390a150565b60608161350b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613535578061351f816141d6565b915061352e9050600a8361439f565b915061350f565b60008167ffffffffffffffff81111561355057613550613cce565b6040519080825280601f01601f19166020018201604052801561357a576020820181803683370190505b5090505b8415612d6b5761358f600183614359565b915061359c600a866143b3565b6135a790603061420f565b60f81b8183815181106135bc576135bc6141a7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506135f6600a8661439f565b945061357e565b60006001600160a01b0384163b156137bd576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061365a9033908990889088906004016143c7565b602060405180830381600087803b15801561367457600080fd5b505af19250505080156136c2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136bf91810190614403565b60015b613772573d8080156136f0576040519150601f19603f3d011682016040523d82523d6000602084013e6136f5565b606091505b50805161376a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ba7565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612d6b565b506001949350505050565b600061381d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166138ad9092919063ffffffff16565b805190915015610e6a578080602001905181019061383b9190614420565b610e6a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ba7565b60606138bc84846000856138c6565b90505b9392505050565b60608247101561393e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ba7565b843b61398c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ba7565b600080866001600160a01b031685876040516139a8919061443d565b60006040518083038185875af1925050503d80600081146139e5576040519150601f19603f3d011682016040523d82523d6000602084013e6139ea565b606091505b50915091506139fa828286613a05565b979650505050505050565b60608315613a145750816138bf565b825115613a245782518084602001fd5b8160405162461bcd60e51b8152600401610ba79190613c1e565b828054613a4a906140ef565b90600052602060002090601f016020900481019282613a6c5760008555613ab2565b82601f10613a8557805160ff1916838001178555613ab2565b82800160010185558215613ab2579182015b82811115613ab2578251825591602001919060010190613a97565b50613abe929150613b2f565b5090565b828054828255906000526020600020908101928215613ab2579160200282015b82811115613ab257825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190613ae2565b5b80821115613abe5760008155600101613b30565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461137057600080fd5b600060208284031215613b8457600080fd5b81356138bf81613b44565b600060208284031215613ba157600080fd5b5035919050565b60005b83811015613bc3578181015183820152602001613bab565b83811115611edd5750506000910152565b60008151808452613bec816020860160208601613ba8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138bf6020830184613bd4565b80356001600160a01b0381168114613c4857600080fd5b919050565b60008060408385031215613c6057600080fd5b613c6983613c31565b946020939093013593505050565b600080600060608486031215613c8c57600080fd5b613c9584613c31565b9250613ca360208501613c31565b9150604084013590509250925092565b600060208284031215613cc557600080fd5b6138bf82613c31565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d4457613d44613cce565b604052919050565b600067ffffffffffffffff821115613d6657613d66613cce565b5060051b60200190565b600082601f830112613d8157600080fd5b81356020613d96613d9183613d4c565b613cfd565b82815260059290921b84018101918181019086841115613db557600080fd5b8286015b84811015613dd757613dca81613c31565b8352918301918301613db9565b509695505050505050565b600060208284031215613df457600080fd5b813567ffffffffffffffff811115613e0b57600080fd5b612d6b84828501613d70565b6020808252825182820181905260009190848201906040850190845b81811015613e585783516001600160a01b031683529284019291840191600101613e33565b50909695505050505050565b801515811461137057600080fd5b600060208284031215613e8457600080fd5b81356138bf81613e64565b60008060408385031215613ea257600080fd5b823567ffffffffffffffff80821115613eba57600080fd5b613ec686838701613d70565b9350602091508185013581811115613edd57600080fd5b85019050601f81018613613ef057600080fd5b8035613efe613d9182613d4c565b81815260059190911b82018301908381019088831115613f1d57600080fd5b928401925b82841015613f3b57833582529284019290840190613f22565b80955050505050509250929050565b600067ffffffffffffffff831115613f6457613f64613cce565b613f9560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613cfd565b9050828152838383011115613fa957600080fd5b828260208301376000602084830101529392505050565b60008060008060808587031215613fd657600080fd5b613fdf85613c31565b9350613fed60208601613c31565b925060408501359150606085013567ffffffffffffffff81111561401057600080fd5b8501601f8101871361402157600080fd5b61403087823560208401613f4a565b91505092959194509250565b60006020828403121561404e57600080fd5b813567ffffffffffffffff81111561406557600080fd5b8201601f8101841361407657600080fd5b612d6b84823560208401613f4a565b6000806040838503121561409857600080fd5b6140a183613c31565b915060208301356140b181613e64565b809150509250929050565b600080604083850312156140cf57600080fd5b6140d883613c31565b91506140e660208401613c31565b90509250929050565b600181811c9082168061410357607f821691505b6020821081141561413d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008161418157614181614143565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561420857614208614143565b5060010190565b6000821982111561422257614222614143565b500190565b60006020828403121561423957600080fd5b5051919050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561427857614278614143565b500290565b6000815161428f818560208601613ba8565b9290920192915050565b600080845481600182811c9150808316806142b557607f831692505b60208084108214156142ee577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015614302576001811461431357614340565b60ff19861689528489019650614340565b60008b81526020902060005b868110156143385781548b82015290850190830161431f565b505084890196505b505050505050614350818561427d565b95945050505050565b60008282101561436b5761436b614143565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826143ae576143ae614370565b500490565b6000826143c2576143c2614370565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526143f96080830184613bd4565b9695505050505050565b60006020828403121561441557600080fd5b81516138bf81613b44565b60006020828403121561443257600080fd5b81516138bf81613e64565b6000825161444f818460208701613ba8565b919091019291505056fea2646970667358221220ac32932485931eaba6d7b63f9e363f2a419df3e67866ff9e59227f494cc1c96f64736f6c6343000808003368747470733a2f2f6d6f6f6e626f6f74732e6d7970696e6174612e636c6f75642f697066732f516d51385561384a7761394b786a63487344505176783579576e784b65505973747150713344416f78316246616200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b4d42312047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d42310000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103605760003560e01c8063899fe6bc116101c6578063c5f956af116100f7578063e07fa3c111610095578063eac989f81161006f578063eac989f8146109ec578063f2624b5d14610a01578063f2fde38b14610a17578063f357b91314610a3757600080fd5b8063e07fa3c11461096e578063e2e06fa314610983578063e985e9c5146109a357600080fd5b8063ca343648116100d1578063ca3436481461090f578063ce75561614610925578063d596689214610945578063daf1dce61461095857600080fd5b8063c5f956af146108b5578063c634cee2146108d5578063c87b56dd146108ef57600080fd5b8063a0bcfc7f11610164578063aa46a4001161013e578063aa46a4001461082b578063accc1d5e14610842578063b88d4fde14610862578063bc8893b41461088257600080fd5b8063a0bcfc7f146107d5578063a1d5eae8146107f5578063a22cb4651461080b57600080fd5b806393f344c1116101a057806393f344c11461075a57806395d89b411461077057806398c032b1146107855780639f89a4b2146107b557600080fd5b8063899fe6bc146106fc5780638da5cb5b1461071c5780638f906bfc1461073a57600080fd5b80633fe7d355116102a0578063603353cc1161023e5780636f9170f6116102185780636f9170f61461067757806370a08231146106a7578063715018a6146106c757806376b82a91146106dc57600080fd5b8063603353cc146106175780636352211e146106375780636605bfda1461065757600080fd5b80634dd3a4f31161027a5780634dd3a4f3146105a457806351cff8d9146105c45780635736e065146105e45780635a5e5d581461060457600080fd5b80633fe7d3551461053257806342842e0e1461056457806342966c681461058457600080fd5b8063286dd3f51161030d57806333e39be1116102e757806333e39be1146104b85780633a638b4e146104dc5780633a860536146104fc5780633b41ca211461051257600080fd5b8063286dd3f51461045657806328a614b91461047657806331ae450b1461049657600080fd5b8063081812fc1161033e578063081812fc146103de578063095ea7b31461041657806323b872dd1461043657600080fd5b806301ffc9a714610365578063063bb6ad1461039a57806306fdde03146103bc575b600080fd5b34801561037157600080fd5b50610385610380366004613b72565b610a4d565b60405190151581526020015b60405180910390f35b3480156103a657600080fd5b506103ba6103b5366004613b8f565b610b32565b005b3480156103c857600080fd5b506103d1610c05565b6040516103919190613c1e565b3480156103ea57600080fd5b506103fe6103f9366004613b8f565b610c97565b6040516001600160a01b039091168152602001610391565b34801561042257600080fd5b506103ba610431366004613c4d565b610d3d565b34801561044257600080fd5b506103ba610451366004613c77565b610e6f565b34801561046257600080fd5b506103ba610471366004613cb3565b610ef6565b34801561048257600080fd5b506103ba610491366004613de2565b611046565b3480156104a257600080fd5b506104ab6111e1565b6040516103919190613e17565b3480156104c457600080fd5b506104ce600e5481565b604051908152602001610391565b3480156104e857600080fd5b506103ba6104f7366004613b8f565b611242565b34801561050857600080fd5b506104ce600f5481565b34801561051e57600080fd5b506103ba61052d366004613e72565b6112c0565b34801561053e57600080fd5b506013546103859074010000000000000000000000000000000000000000900460ff1681565b34801561057057600080fd5b506103ba61057f366004613c77565b61134c565b34801561059057600080fd5b506103ba61059f366004613b8f565b611367565b3480156105b057600080fd5b506103ba6105bf366004613e8f565b611373565b3480156105d057600080fd5b506103ba6105df366004613cb3565b611639565b3480156105f057600080fd5b506103ba6105ff366004613b8f565b61184d565b6103ba610612366004613b8f565b6118cb565b34801561062357600080fd5b506103ba610632366004613b8f565b611b68565b34801561064357600080fd5b506103fe610652366004613b8f565b611c36565b34801561066357600080fd5b506103ba610672366004613cb3565b611cc1565b34801561068357600080fd5b50610385610692366004613cb3565b60116020526000908152604090205460ff1681565b3480156106b357600080fd5b506104ce6106c2366004613cb3565b611dd1565b3480156106d357600080fd5b506103ba611e6b565b3480156106e857600080fd5b506103ba6106f7366004613fc0565b611ed1565b34801561070857600080fd5b506103ba61071736600461403c565b611ee3565b34801561072857600080fd5b506006546001600160a01b03166103fe565b34801561074657600080fd5b506103ba610755366004613b8f565b611f7d565b34801561076657600080fd5b506104ce60145481565b34801561077c57600080fd5b506103d1611ffb565b34801561079157600080fd5b506103856107a0366004613cb3565b600a6020526000908152604090205460ff1681565b3480156107c157600080fd5b506103fe6107d0366004613b8f565b61200a565b3480156107e157600080fd5b506103ba6107f036600461403c565b612034565b34801561080157600080fd5b506104ce60105481565b34801561081757600080fd5b506103ba610826366004614085565b6120c0565b34801561083757600080fd5b506008546104ce9081565b34801561084e57600080fd5b506103ba61085d366004613de2565b6120cb565b34801561086e57600080fd5b506103ba61087d366004613fc0565b61212e565b34801561088e57600080fd5b50601354610385907501000000000000000000000000000000000000000000900460ff1681565b3480156108c157600080fd5b506013546103fe906001600160a01b031681565b3480156108e157600080fd5b506016546103859060ff1681565b3480156108fb57600080fd5b506103d161090a366004613b8f565b6121aa565b34801561091b57600080fd5b506104ce600d5481565b34801561093157600080fd5b506103ba610940366004613e72565b61232d565b6103ba610953366004613b8f565b612426565b34801561096457600080fd5b506104ce600b5481565b34801561097a57600080fd5b506103ba6127a0565b34801561098f57600080fd5b506103ba61099e366004613e72565b612914565b3480156109af57600080fd5b506103856109be3660046140bc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109f857600080fd5b506103d1612a78565b348015610a0d57600080fd5b506104ce60125481565b348015610a2357600080fd5b506103ba610a32366004613cb3565b612b06565b348015610a4357600080fd5b506104ce600c5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ae057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b336000908152600a602052604090205460ff16151560011480610b5f57506006546001600160a01b031633145b610bb05760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60008111610c005760405162461bcd60e51b815260206004820152600b60248201527f616d6f756e745f203d20300000000000000000000000000000000000000000006044820152606401610ba7565b600b55565b606060008054610c14906140ef565b80601f0160208091040260200160405190810160405280929190818152602001828054610c40906140ef565b8015610c8d5780601f10610c6257610100808354040283529160200191610c8d565b820191906000526020600020905b815481529060010190602001808311610c7057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ba7565b506000908152600460205260409020546001600160a01b031690565b6000610d4882611c36565b9050806001600160a01b0316836001600160a01b03161415610dd25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b336001600160a01b0382161480610dee5750610dee81336109be565b610e605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610ba7565b610e6a8383612be5565b505050565b610e793382612c6b565b610eeb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ba7565b610e6a838383612d73565b336000908152600a602052604090205460ff16151560011480610f2357506006546001600160a01b031633145b610f6f5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6001600160a01b03811660009081526011602052604090205460ff161515600114610fdc5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c69737465640000000000006044820152606401610ba7565b6001600160a01b0381166000908152601160205260408120805460ff19169055601280549161100a83614172565b90915550506040516001600160a01b038216907f9354cd337eebad48c93d70f7321b188732c3061fa5c48fe32b8e6f9480c52fcc90600090a250565b336000908152600a602052604090205460ff1615156001148061107357506006546001600160a01b031633145b6110bf5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b60008151116111105760405162461bcd60e51b815260206004820152600c60248201527f4e6f2061646472657373657300000000000000000000000000000000000000006044820152606401610ba7565b60005b81518110156111dd57600160116000848481518110611134576111346141a7565b6020908102919091018101516001600160a01b031682528101919091526040016000908120805460ff1916921515929092179091556012805491611177836141d6565b919050555081818151811061118e5761118e6141a7565b60200260200101516001600160a01b03167f8a3be376fdc726be3f3cee8e59ba5698a268a9b59f69cdabcf06d2ec2c90658f60405160405180910390a2806111d5816141d6565b915050611113565b5050565b60606009805480602002602001604051908101604052809291908181526020018280548015610c8d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161121b575050505050905090565b336000908152600a602052604090205460ff1615156001148061126f57506006546001600160a01b031633145b6112bb5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600f55565b336000908152600a602052604090205460ff161515600114806112ed57506006546001600160a01b031633145b6113395760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6016805460ff1916911515919091179055565b610e6a83838360405180602001604052806000815250612f58565b61137081612fe1565b50565b336000908152600a602052604090205460ff161515600114806113a057506006546001600160a01b031633145b6113ec5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600082511161143d5760405162461bcd60e51b815260206004820152600d60248201527f6e6f20726563697069656e7473000000000000000000000000000000000000006044820152606401610ba7565b80518251146114b45760405162461bcd60e51b815260206004820152602d60248201527f6e756d626572206f6620726563697069656e747320616e6420616d6f756e747360448201527f20646f206e6f74206d61746368000000000000000000000000000000000000006064820152608401610ba7565b60005b8251811015610e6a576014548282815181106114d5576114d56141a7565b60200260200101516114e660085490565b6114f0919061420f565b111561153e5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b60005b828281518110611553576115536141a7565b60200260200101518110156115ad57611570600880546001019055565b61159b848381518110611585576115856141a7565b602002602001015161159660085490565b613094565b806115a5816141d6565b915050611541565b508181815181106115c0576115c06141a7565b60200260200101518382815181106115da576115da6141a7565b60200260200101516001600160a01b03166115f23390565b6001600160a01b03167f030a1918b3fc5eb9fb5ce50bd3d053a00cb0ce88fe7b3fbc5baf4332c0e818f960405160405180910390a480611631816141d6565b9150506114b7565b336000908152600a602052604090205460ff1615156001148061166657506006546001600160a01b031633145b6116b25760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600260075414156117055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ba7565b60026007556013546001600160a01b03166117625760405162461bcd60e51b815260206004820152601860248201527f74726561737572792061646472657373206e6f742073657400000000000000006044820152606401610ba7565b6013546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261180f916001600160a01b0390811691908416906370a082319060240160206040518083038186803b1580156117c657600080fd5b505afa1580156117da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fe9190614227565b6001600160a01b03841691906131ee565b6040516001600160a01b0382169033907f34d58c18c6c1df2c698ccac556acea92941ca7b99d2fccf9e3ac1852d0dec36f90600090a3506001600755565b336000908152600a602052604090205460ff1615156001148061187a57506006546001600160a01b031633145b6118c65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600d55565b6013547501000000000000000000000000000000000000000000900460ff16151560011461193b5760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610ba7565b600d546119489082614240565b3410156119975760405162461bcd60e51b815260206004820152601e60248201527f4554482073656e64206973206c657373207468656e20726571756972656400006044820152606401610ba7565b601454816119a460085490565b6119ae919061420f565b11156119fc5760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b600e54811115611a745760405162461bcd60e51b815260206004820152602360248201527f4d6178204e46547320706572206d696e7420776f756c6420626520657863656560448201527f64656400000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b600b5481611a8133611dd1565b611a8b919061420f565b1115611aff5760405162461bcd60e51b815260206004820152602860248201527f4d6178204e46542077616c6c65742062616c616e636520776f756c642062652060448201527f65786365656465640000000000000000000000000000000000000000000000006064820152608401610ba7565b60005b81811015611b3757611b18600880546001019055565b611b25335b600854613094565b80611b2f816141d6565b915050611b02565b50604051819033907fe0e3b14a4f3f053af472cf2a7c31ae0e87fd170dbc7a89466d1c776952bd173790600090a350565b336000908152600a602052604090205460ff16151560011480611b9557506006546001600160a01b031633145b611be15760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b60008111611c315760405162461bcd60e51b815260206004820152600b60248201527f616d6f756e745f203d20300000000000000000000000000000000000000000006044820152606401610ba7565b600c55565b6000818152600260205260408120546001600160a01b031680610b2c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610ba7565b6006546001600160a01b03163314611d1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b6001600160a01b038116611d975760405162461bcd60e51b815260206004820152602160248201527f4572726f72203a20747265617375727920616464726573732073657420746f2060448201527f30000000000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60006001600160a01b038216611e4f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610ba7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611ec55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b611ecf600061326e565b565b611edd84848484612f58565b50505050565b336000908152600a602052604090205460ff16151560011480611f1057506006546001600160a01b031633145b611f5c5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b8051611f6f906015906020840190613a3e565b50506016805460ff19169055565b336000908152600a602052604090205460ff16151560011480611faa57506006546001600160a01b031633145b611ff65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b600e55565b606060018054610c14906140ef565b6009818154811061201a57600080fd5b6000918252602090912001546001600160a01b0316905081565b336000908152600a602052604090205460ff1615156001148061206157506006546001600160a01b031633145b6120ad5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b80516111dd906015906020840190613a3e565b6111dd3383836132d8565b6006546001600160a01b031633146121255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b611370816133a7565b6121383383612c6b565b611ed15760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610ba7565b6000818152600260205260409020546060906001600160a01b03166122375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610ba7565b60165460ff1661229c57600060158054612250906140ef565b90501161226c5760405180602001604052806000815250610b2c565b6015612277836134cb565b604051602001612288929190614299565b604051602081830303815290604052610b2c565b601580546122a9906140ef565b80601f01602080910402602001604051908101604052809291908181526020018280546122d5906140ef565b80156123225780601f106122f757610100808354040283529160200191612322565b820191906000526020600020905b81548152906001019060200180831161230557829003601f168201915b505050505092915050565b336000908152600a602052604090205460ff1615156001148061235a57506006546001600160a01b031633145b6123a65760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b601380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000831515908102919091179091556040514281527f5931a26aea03b2c0e9a12fcf8531853b1cae4d054ea224f50dc5c6558f605dd8906020015b60405180910390a250565b3360009081526011602052604090205460ff1615156001148015612469575060135474010000000000000000000000000000000000000000900460ff1615156001145b6124db5760405162461bcd60e51b815260206004820152603560248201527f57686974656c6973742073616c6573206e6f7420616374697665206f7220616460448201527f6472657373206e6f742077686974656c697374656400000000000000000000006064820152608401610ba7565b600f54816010546124ec919061420f565b11156125605760405162461bcd60e51b815260206004820152602660248201527f4d61782077686974656c697374206d696e747320776f756c642062652065786360448201527f65656465642e00000000000000000000000000000000000000000000000000006064820152608401610ba7565b6014548161256d60085490565b612577919061420f565b11156125c55760405162461bcd60e51b815260206004820152601a60248201527f4d6178204e46547320776f756c642062652065786365656465640000000000006044820152606401610ba7565b600d546125d29082614240565b3410156126215760405162461bcd60e51b815260206004820152601e60248201527f4554482073656e64206973206c657373207468656e20726571756972656400006044820152606401610ba7565b600e548111156126995760405162461bcd60e51b815260206004820152602360248201527f4d6178204e46547320706572206d696e7420776f756c6420626520657863656560448201527f64656400000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b600c54816126a633611dd1565b6126b0919061420f565b11156127245760405162461bcd60e51b815260206004820152603060248201527f557365722063616e6e6f74206d696e74206d6f7265204e46547320746f20612060448201527f77686974656c6973742077616c6c6574000000000000000000000000000000006064820152608401610ba7565b60005b818110156127585761273d600880546001019055565b61274633611b1d565b80612750816141d6565b915050612727565b50806010600082825461276b919061420f565b9091555050604051819033907f6b3a85890afae3550ab2d5edd04261766ef970839d562a1369792ea3ef8ae63990600090a350565b336000908152600a602052604090205460ff161515600114806127cd57506006546001600160a01b031633145b6128195760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b6013546001600160a01b03166128715760405162461bcd60e51b815260206004820152601860248201527f74726561737572792061646472657373206e6f742073657400000000000000006044820152606401610ba7565b6013546040516000916001600160a01b03169047908381818185875af1925050503d80600081146128be576040519150601f19603f3d011682016040523d82523d6000602084013e6128c3565b606091505b50509050806113705760405162461bcd60e51b815260206004820152601460248201527f6661696c656420746f2073656e642066756e64730000000000000000000000006044820152606401610ba7565b336000908152600a602052604090205460ff1615156001148061294157506006546001600160a01b031633145b61298d5760405162461bcd60e51b815260206004820152600960248201527f6f6e6c7941646d696e00000000000000000000000000000000000000000000006044820152606401610ba7565b601380547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000083151502179055806129f95760135474010000000000000000000000000000000000000000900460ff166129fc565b60005b6013805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055604051428152811515907feefd74a96b697ba815ef7742c94c6aa0230fb441881b4ad5608fadabb5a52a969060200161241b565b60158054612a85906140ef565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab1906140ef565b8015612afe5780601f10612ad357610100808354040283529160200191612afe565b820191906000526020600020905b815481529060010190602001808311612ae157829003601f168201915b505050505081565b6006546001600160a01b03163314612b605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ba7565b6001600160a01b038116612bdc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ba7565b6113708161326e565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190612c3282611c36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316612cf55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610ba7565b6000612d0083611c36565b9050806001600160a01b0316846001600160a01b03161480612d3b5750836001600160a01b0316612d3084610c97565b6001600160a01b0316145b80612d6b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612d8682611c36565b6001600160a01b031614612e025760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610ba7565b6001600160a01b038216612e7d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ba7565b612e88600082612be5565b6001600160a01b0383166000908152600360205260408120805460019290612eb1908490614359565b90915550506001600160a01b0382166000908152600360205260408120805460019290612edf90849061420f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612f63848484612d73565b612f6f848484846135fd565b611edd5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ba7565b6000612fec82611c36565b9050612ff9600083612be5565b6001600160a01b0381166000908152600360205260408120805460019290613022908490614359565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166130ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ba7565b6000818152600260205260409020546001600160a01b03161561314f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ba7565b6001600160a01b038216600090815260036020526040812080546001929061317890849061420f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e6a9084906137c8565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561333a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ba7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60005b600954811015613413576000600a6000600984815481106133cd576133cd6141a7565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790558061340b816141d6565b9150506133aa565b5060005b815181101561347c576001600a6000848481518110613438576134386141a7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580613474816141d6565b915050613417565b508051613490906009906020840190613ac2565b507fc1ec6cf847d0d41c2be18f0fe55bd0e5b3346c5637fafc2814ee15359b68efe2816040516134c09190613e17565b60405180910390a150565b60608161350b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613535578061351f816141d6565b915061352e9050600a8361439f565b915061350f565b60008167ffffffffffffffff81111561355057613550613cce565b6040519080825280601f01601f19166020018201604052801561357a576020820181803683370190505b5090505b8415612d6b5761358f600183614359565b915061359c600a866143b3565b6135a790603061420f565b60f81b8183815181106135bc576135bc6141a7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506135f6600a8661439f565b945061357e565b60006001600160a01b0384163b156137bd576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061365a9033908990889088906004016143c7565b602060405180830381600087803b15801561367457600080fd5b505af19250505080156136c2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136bf91810190614403565b60015b613772573d8080156136f0576040519150601f19603f3d011682016040523d82523d6000602084013e6136f5565b606091505b50805161376a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ba7565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612d6b565b506001949350505050565b600061381d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166138ad9092919063ffffffff16565b805190915015610e6a578080602001905181019061383b9190614420565b610e6a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ba7565b60606138bc84846000856138c6565b90505b9392505050565b60608247101561393e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ba7565b843b61398c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ba7565b600080866001600160a01b031685876040516139a8919061443d565b60006040518083038185875af1925050503d80600081146139e5576040519150601f19603f3d011682016040523d82523d6000602084013e6139ea565b606091505b50915091506139fa828286613a05565b979650505050505050565b60608315613a145750816138bf565b825115613a245782518084602001fd5b8160405162461bcd60e51b8152600401610ba79190613c1e565b828054613a4a906140ef565b90600052602060002090601f016020900481019282613a6c5760008555613ab2565b82601f10613a8557805160ff1916838001178555613ab2565b82800160010185558215613ab2579182015b82811115613ab2578251825591602001919060010190613a97565b50613abe929150613b2f565b5090565b828054828255906000526020600020908101928215613ab2579160200282015b82811115613ab257825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190613ae2565b5b80821115613abe5760008155600101613b30565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461137057600080fd5b600060208284031215613b8457600080fd5b81356138bf81613b44565b600060208284031215613ba157600080fd5b5035919050565b60005b83811015613bc3578181015183820152602001613bab565b83811115611edd5750506000910152565b60008151808452613bec816020860160208601613ba8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006138bf6020830184613bd4565b80356001600160a01b0381168114613c4857600080fd5b919050565b60008060408385031215613c6057600080fd5b613c6983613c31565b946020939093013593505050565b600080600060608486031215613c8c57600080fd5b613c9584613c31565b9250613ca360208501613c31565b9150604084013590509250925092565b600060208284031215613cc557600080fd5b6138bf82613c31565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613d4457613d44613cce565b604052919050565b600067ffffffffffffffff821115613d6657613d66613cce565b5060051b60200190565b600082601f830112613d8157600080fd5b81356020613d96613d9183613d4c565b613cfd565b82815260059290921b84018101918181019086841115613db557600080fd5b8286015b84811015613dd757613dca81613c31565b8352918301918301613db9565b509695505050505050565b600060208284031215613df457600080fd5b813567ffffffffffffffff811115613e0b57600080fd5b612d6b84828501613d70565b6020808252825182820181905260009190848201906040850190845b81811015613e585783516001600160a01b031683529284019291840191600101613e33565b50909695505050505050565b801515811461137057600080fd5b600060208284031215613e8457600080fd5b81356138bf81613e64565b60008060408385031215613ea257600080fd5b823567ffffffffffffffff80821115613eba57600080fd5b613ec686838701613d70565b9350602091508185013581811115613edd57600080fd5b85019050601f81018613613ef057600080fd5b8035613efe613d9182613d4c565b81815260059190911b82018301908381019088831115613f1d57600080fd5b928401925b82841015613f3b57833582529284019290840190613f22565b80955050505050509250929050565b600067ffffffffffffffff831115613f6457613f64613cce565b613f9560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613cfd565b9050828152838383011115613fa957600080fd5b828260208301376000602084830101529392505050565b60008060008060808587031215613fd657600080fd5b613fdf85613c31565b9350613fed60208601613c31565b925060408501359150606085013567ffffffffffffffff81111561401057600080fd5b8501601f8101871361402157600080fd5b61403087823560208401613f4a565b91505092959194509250565b60006020828403121561404e57600080fd5b813567ffffffffffffffff81111561406557600080fd5b8201601f8101841361407657600080fd5b612d6b84823560208401613f4a565b6000806040838503121561409857600080fd5b6140a183613c31565b915060208301356140b181613e64565b809150509250929050565b600080604083850312156140cf57600080fd5b6140d883613c31565b91506140e660208401613c31565b90509250929050565b600181811c9082168061410357607f821691505b6020821081141561413d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008161418157614181614143565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561420857614208614143565b5060010190565b6000821982111561422257614222614143565b500190565b60006020828403121561423957600080fd5b5051919050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561427857614278614143565b500290565b6000815161428f818560208601613ba8565b9290920192915050565b600080845481600182811c9150808316806142b557607f831692505b60208084108214156142ee577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015614302576001811461431357614340565b60ff19861689528489019650614340565b60008b81526020902060005b868110156143385781548b82015290850190830161431f565b505084890196505b505050505050614350818561427d565b95945050505050565b60008282101561436b5761436b614143565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826143ae576143ae614370565b500490565b6000826143c2576143c2614370565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526143f96080830184613bd4565b9695505050505050565b60006020828403121561441557600080fd5b81516138bf81613b44565b60006020828403121561443257600080fd5b81516138bf81613e64565b6000825161444f818460208701613ba8565b919091019291505056fea2646970667358221220ac32932485931eaba6d7b63f9e363f2a419df3e67866ff9e59227f494cc1c96f64736f6c63430008080033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b4d42312047656e6573697300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d42310000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): MB1 Genesis
Arg [1] : symbol_ (string): MB1
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [3] : 4d42312047656e65736973000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4d42310000000000000000000000000000000000000000000000000000000000
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.