Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
2,500 BAPE
Holders
770
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BAPELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BapesClan
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract BapesClan is ERC721, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; Counters.Counter private supply; uint256 private maxSupplyTotal = 10000; uint256 private maxSupplyPrivate = 8000; uint256 private constant price = 0.3 ether; uint256 private constant maxPerMint = 1; uint256 private maxPerWallet = 1; bool private paused = true; bool private revealed = false; string private uriPrefix; string private hiddenMetadataURI; mapping(address => bool) private whitelistedWallets; mapping(address => uint256) private mintedWallets; address private withdrawWallet; constructor(string memory _hiddenMetadataURI) ERC721("Bapes Clan", "BAPE") { setHiddenMetadataURI(_hiddenMetadataURI); withdrawWallet = address(0x4Fc034B5C673d59887eDA707ae2ca2446067890F); } function setHiddenMetadataURI(string memory _hiddenMetadataURI) private { hiddenMetadataURI = _hiddenMetadataURI; } function totalSupply() public view returns (uint256) { return supply.current(); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "No data exists for provided tokenId.`"); if (revealed == false) { return hiddenMetadataURI; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")) : ""; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function mintBape() public payable { uint256 totalMinted = totalSupply(); // checks require(whitelistedWallets[msg.sender], "This wallet is not authorized to mint."); require(!paused, "Minting is paused."); require((totalMinted + maxPerMint) <= maxSupplyPrivate, "Not enough Bapes."); require(msg.value >= price, "Insufficient balance to mint."); require( mintedWallets[msg.sender] < maxPerWallet, "The number of minted Bapes will exceed the maximum amount of allowed per wallet." ); // update mapping uint256 minted = mintedWallets[msg.sender]; mintedWallets[msg.sender] = minted + 1; // mint mintSingle(); } function mintSingle() private { uint256 newTokenID = totalSupply(); _safeMint(msg.sender, newTokenID); supply.increment(); } function isWhitelisted(address _wallet) external view returns (bool) { return whitelistedWallets[_wallet]; } function getBalanceOf(address _wallet) external view returns (uint256) { return mintedWallets[_wallet]; } function getMaxAllowed() external view returns (uint256) { return maxPerWallet; } // only owner function whitelistWallets(address[] calldata _wallets) public onlyOwner { require(_wallets.length <= maxSupplyTotal, "Limit exceeded, use lesser number of wallets."); for (uint256 i = 0; i < _wallets.length; i++) { whitelistedWallets[_wallets[i]] = true; } } function blacklistWallets(address[] calldata _wallets) public onlyOwner { require(_wallets.length <= maxSupplyTotal, "Limit exceeded, use lesser number of wallets."); for (uint256 i = 0; i < _wallets.length; i++) { whitelistedWallets[_wallets[i]] = false; } } function reserveBapes(uint256 _count) public onlyOwner { uint256 totalMinted = totalSupply(); require((totalMinted + _count) <= maxSupplyTotal, "Not enough Bapes."); for (uint256 i = 0; i < _count; i++) { mintSingle(); } } function withdraw() public onlyOwner nonReentrant { (bool success, ) = payable(withdrawWallet).call{value: address(this).balance}(""); require(success, "Withdraw failed."); } function updateWithdrawWallet(address _withdrawWallet) public onlyOwner { withdrawWallet = _withdrawWallet; } function updateMaxSupplyTotal(uint256 _number) public onlyOwner { maxSupplyTotal = _number; } function updateMaxSupplyPrivate(uint256 _number) public onlyOwner { require(_number <= maxSupplyTotal, "Private supply can not exceed total supply."); maxSupplyPrivate = _number; } function updateMaxPerWallet(uint256 _number) public onlyOwner { maxPerWallet = _number; } function pause(bool _state) public onlyOwner { paused = _state; } function reveal() public onlyOwner { revealed = true; } function updateURIPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } }
// 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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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 (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/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 (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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_hiddenMetadataURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"address[]","name":"_wallets","type":"address[]"}],"name":"blacklistWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"getBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_wallet","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintBape","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserveBapes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"updateMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"updateMaxSupplyPrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_number","type":"uint256"}],"name":"updateMaxSupplyTotal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"updateURIPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawWallet","type":"address"}],"name":"updateWithdrawWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"whitelistWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052612710600955611f40600a556001600b556001600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055503480156200005857600080fd5b50604051620049003803806200490083398181016040528101906200007e9190620003bf565b6040518060400160405280600a81526020017f426170657320436c616e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42415045000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001029291906200029d565b5080600190805190602001906200011b9291906200029d565b5050506200013e62000132620001b360201b60201c565b620001bb60201b60201c565b600160078190555062000157816200028160201b60201c565b734fc034b5c673d59887eda707ae2ca2446067890f601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000535565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600e9080519060200190620002999291906200029d565b5050565b828054620002ab90620004a1565b90600052602060002090601f016020900481019282620002cf57600085556200031b565b82601f10620002ea57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031a578251825591602001919060010190620002fd565b5b5090506200032a91906200032e565b5090565b5b80821115620003495760008160009055506001016200032f565b5090565b6000620003646200035e8462000438565b62000404565b9050828152602081018484840111156200037d57600080fd5b6200038a8482856200046b565b509392505050565b600082601f830112620003a457600080fd5b8151620003b68482602086016200034d565b91505092915050565b600060208284031215620003d257600080fd5b600082015167ffffffffffffffff811115620003ed57600080fd5b620003fb8482850162000392565b91505092915050565b6000604051905081810181811067ffffffffffffffff821117156200042e576200042d62000506565b5b8060405250919050565b600067ffffffffffffffff82111562000456576200045562000506565b5b601f19601f8301169050602081019050919050565b60005b838110156200048b5780820151818401526020810190506200046e565b838111156200049b576000848401525b50505050565b60006002820490506001821680620004ba57607f821691505b60208210811415620004d157620004d0620004d7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143bb80620005456000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063b350ebb811610095578063cf20aaee11610064578063cf20aaee146106a5578063e985e9c5146106ce578063f2fde38b1461070b578063fecfda4914610734576101e3565b8063b350ebb8146105ed578063b88d4fde14610616578063bceb2a221461063f578063c87b56dd14610668576101e3565b806395d89b41116100d157806395d89b41146105455780639b96eece14610570578063a22cb465146105ad578063a475b5dd146105d6576101e3565b806370a082311461049d578063715018a6146104da5780638da5cb5b146104f157806392e323331461051c576101e3565b80632d0a913e1161017a57806342842e0e1161014957806342842e0e146104045780635c3e29d41461042d5780635feba37d146104565780636352211e14610460576101e3565b80632d0a913e1461035c578063319e551a146103855780633af32abf146103b05780633ccfd60b146103ed576101e3565b8063095ea7b3116101b6578063095ea7b3146102b657806318160ddd146102df57806319d3df941461030a57806323b872dd14610333576101e3565b806301ffc9a7146101e857806302329a291461022557806306fdde031461024e578063081812fc14610279575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190613091565b61075d565b60405161021c9190613be8565b60405180910390f35b34801561023157600080fd5b5061024c60048036038101906102479190613068565b61083f565b005b34801561025a57600080fd5b506102636108d8565b6040516102709190613c03565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613124565b61096a565b6040516102ad9190613b81565b60405180910390f35b3480156102c257600080fd5b506102dd60048036038101906102d89190612fe7565b6109ef565b005b3480156102eb57600080fd5b506102f4610b07565b6040516103019190613f45565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190613124565b610b18565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612ee1565b610b9e565b005b34801561036857600080fd5b50610383600480360381019061037e9190613023565b610bfe565b005b34801561039157600080fd5b5061039a610d8d565b6040516103a79190613f45565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190612e7c565b610d97565b6040516103e49190613be8565b60405180910390f35b3480156103f957600080fd5b50610402610ded565b005b34801561041057600080fd5b5061042b60048036038101906104269190612ee1565b610f90565b005b34801561043957600080fd5b50610454600480360381019061044f9190613124565b610fb0565b005b61045e6110b3565b005b34801561046c57600080fd5b5061048760048036038101906104829190613124565b61135a565b6040516104949190613b81565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf9190612e7c565b61140c565b6040516104d19190613f45565b60405180910390f35b3480156104e657600080fd5b506104ef6114c4565b005b3480156104fd57600080fd5b5061050661154c565b6040516105139190613b81565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e9190612e7c565b611576565b005b34801561055157600080fd5b5061055a611636565b6040516105679190613c03565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190612e7c565b6116c8565b6040516105a49190613f45565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612fab565b611711565b005b3480156105e257600080fd5b506105eb611727565b005b3480156105f957600080fd5b50610614600480360381019061060f9190613124565b6117c0565b005b34801561062257600080fd5b5061063d60048036038101906106389190612f30565b61188b565b005b34801561064b57600080fd5b50610666600480360381019061066191906130e3565b6118ed565b005b34801561067457600080fd5b5061068f600480360381019061068a9190613124565b611983565b60405161069c9190613c03565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190613023565b611ad9565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612ea5565b611c68565b6040516107029190613be8565b60405180910390f35b34801561071757600080fd5b50610732600480360381019061072d9190612e7c565b611cfc565b005b34801561074057600080fd5b5061075b60048036038101906107569190613124565b611df4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610838575061083782611e7a565b5b9050919050565b610847611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661086561154c565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290613e45565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6060600080546108e7906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610913906141b0565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b600061097582611eec565b6109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90613e25565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109fa8261135a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6290613e85565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a8a611ee4565b73ffffffffffffffffffffffffffffffffffffffff161480610ab95750610ab881610ab3611ee4565b611c68565b5b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef90613d85565b60405180910390fd5b610b028383611f58565b505050565b6000610b136008612011565b905090565b610b20611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610b3e61154c565b73ffffffffffffffffffffffffffffffffffffffff1614610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b90613e45565b60405180910390fd5b8060098190555050565b610baf610ba9611ee4565b8261201f565b610bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be590613ec5565b60405180910390fd5b610bf98383836120fd565b505050565b610c06611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610c2461154c565b73ffffffffffffffffffffffffffffffffffffffff1614610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613e45565b60405180910390fd5b600954828290501115610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613f05565b60405180910390fd5b60005b82829050811015610d88576001600f6000858585818110610d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d249190612e7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d80906141e2565b915050610cc5565b505050565b6000600b54905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610df5611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610e1361154c565b73ffffffffffffffffffffffffffffffffffffffff1614610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090613e45565b60405180910390fd5b60026007541415610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea690613f25565b60405180910390fd5b60026007819055506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610eff90613b6c565b60006040518083038185875af1925050503d8060008114610f3c576040519150601f19603f3d011682016040523d82523d6000602084013e610f41565b606091505b5050905080610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c90613d65565b60405180910390fd5b506001600781905550565b610fab8383836040518060200160405280600081525061188b565b505050565b610fb8611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610fd661154c565b73ffffffffffffffffffffffffffffffffffffffff161461102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390613e45565b60405180910390fd5b6000611036610b07565b90506009548282611047919061403f565b1115611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f90613ee5565b60405180910390fd5b60005b828110156110ae5761109b612359565b80806110a6906141e2565b91505061108b565b505050565b60006110bd610b07565b9050600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290613d25565b60405180910390fd5b600c60009054906101000a900460ff161561119b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119290613c45565b60405180910390fd5b600a546001826111ab919061403f565b11156111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613ee5565b60405180910390fd5b670429d069189e0000341015611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e90613da5565b60405180910390fd5b600b54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190613ea5565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161130b919061403f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611356612359565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa90613de5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490613dc5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114cc611ee4565b73ffffffffffffffffffffffffffffffffffffffff166114ea61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790613e45565b60405180910390fd5b61154a600061237c565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61157e611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661159c61154c565b73ffffffffffffffffffffffffffffffffffffffff16146115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990613e45565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060018054611645906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611671906141b0565b80156116be5780601f10611693576101008083540402835291602001916116be565b820191906000526020600020905b8154815290600101906020018083116116a157829003601f168201915b5050505050905090565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172361171c611ee4565b8383612442565b5050565b61172f611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661174d61154c565b73ffffffffffffffffffffffffffffffffffffffff16146117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90613e45565b60405180910390fd5b6001600c60016101000a81548160ff021916908315150217905550565b6117c8611ee4565b73ffffffffffffffffffffffffffffffffffffffff166117e661154c565b73ffffffffffffffffffffffffffffffffffffffff161461183c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183390613e45565b60405180910390fd5b600954811115611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613c25565b60405180910390fd5b80600a8190555050565b61189c611896611ee4565b8361201f565b6118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290613ec5565b60405180910390fd5b6118e7848484846125af565b50505050565b6118f5611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661191361154c565b73ffffffffffffffffffffffffffffffffffffffff1614611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090613e45565b60405180910390fd5b80600d908051906020019061197f929190612c56565b5050565b606061198e82611eec565b6119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c490613cc5565b60405180910390fd5b60001515600c60019054906101000a900460ff1615151415611a7b57600e80546119f6906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a22906141b0565b8015611a6f5780601f10611a4457610100808354040283529160200191611a6f565b820191906000526020600020905b815481529060010190602001808311611a5257829003601f168201915b50505050509050611ad4565b6000611a8561260b565b90506000815111611aa55760405180602001604052806000815250611ad0565b80611aaf8461269d565b604051602001611ac0929190613b3d565b6040516020818303038152906040525b9150505b919050565b611ae1611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611aff61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90613e45565b60405180910390fd5b600954828290501115611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490613f05565b60405180910390fd5b60005b82829050811015611c63576000600f6000858585818110611bea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611bff9190612e7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611c5b906141e2565b915050611ba0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d04611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611d2261154c565b73ffffffffffffffffffffffffffffffffffffffff1614611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613e45565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613c85565b60405180910390fd5b611df18161237c565b50565b611dfc611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611e1a61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6790613e45565b60405180910390fd5b80600b8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611fcb8361135a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061202a82611eec565b612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090613d45565b60405180910390fd5b60006120748361135a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120e357508373ffffffffffffffffffffffffffffffffffffffff166120cb8461096a565b73ffffffffffffffffffffffffffffffffffffffff16145b806120f457506120f38185611c68565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661211d8261135a565b73ffffffffffffffffffffffffffffffffffffffff1614612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a90613e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121da90613ce5565b60405180910390fd5b6121ee83838361284a565b6121f9600082611f58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461224991906140c6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122a0919061403f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612363610b07565b905061236f338261284f565b612379600861286d565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a890613d05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a29190613be8565b60405180910390a3505050565b6125ba8484846120fd565b6125c684848484612883565b612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fc90613c65565b60405180910390fd5b50505050565b6060600d805461261a906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612646906141b0565b80156126935780601f1061266857610100808354040283529160200191612693565b820191906000526020600020905b81548152906001019060200180831161267657829003601f168201915b5050505050905090565b606060008214156126e5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612845565b600082905060005b60008214612717578080612700906141e2565b915050600a826127109190614095565b91506126ed565b60008167ffffffffffffffff811115612759577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561278b5781602001600182028036833780820191505090505b5090505b6000851461283e576001826127a491906140c6565b9150600a856127b3919061422b565b60306127bf919061403f565b60f81b8183815181106127fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128379190614095565b945061278f565b8093505050505b919050565b505050565b612869828260405180602001604052806000815250612a1a565b5050565b6001816000016000828254019250508190555050565b60006128a48473ffffffffffffffffffffffffffffffffffffffff16612a75565b15612a0d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128cd611ee4565b8786866040518563ffffffff1660e01b81526004016128ef9493929190613b9c565b602060405180830381600087803b15801561290957600080fd5b505af192505050801561293a57506040513d601f19601f8201168201806040525081019061293791906130ba565b60015b6129bd573d806000811461296a576040519150601f19603f3d011682016040523d82523d6000602084013e61296f565b606091505b506000815114156129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ac90613c65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a12565b600190505b949350505050565b612a248383612a88565b612a316000848484612883565b612a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6790613c65565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aef90613e05565b60405180910390fd5b612b0181611eec565b15612b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3890613ca5565b60405180910390fd5b612b4d6000838361284a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9d919061403f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612c62906141b0565b90600052602060002090601f016020900481019282612c845760008555612ccb565b82601f10612c9d57805160ff1916838001178555612ccb565b82800160010185558215612ccb579182015b82811115612cca578251825591602001919060010190612caf565b5b509050612cd89190612cdc565b5090565b5b80821115612cf5576000816000905550600101612cdd565b5090565b6000612d0c612d0784613f91565b613f60565b905082815260208101848484011115612d2457600080fd5b612d2f84828561416e565b509392505050565b6000612d4a612d4584613fc1565b613f60565b905082815260208101848484011115612d6257600080fd5b612d6d84828561416e565b509392505050565b600081359050612d8481614329565b92915050565b60008083601f840112612d9c57600080fd5b8235905067ffffffffffffffff811115612db557600080fd5b602083019150836020820283011115612dcd57600080fd5b9250929050565b600081359050612de381614340565b92915050565b600081359050612df881614357565b92915050565b600081519050612e0d81614357565b92915050565b600082601f830112612e2457600080fd5b8135612e34848260208601612cf9565b91505092915050565b600082601f830112612e4e57600080fd5b8135612e5e848260208601612d37565b91505092915050565b600081359050612e768161436e565b92915050565b600060208284031215612e8e57600080fd5b6000612e9c84828501612d75565b91505092915050565b60008060408385031215612eb857600080fd5b6000612ec685828601612d75565b9250506020612ed785828601612d75565b9150509250929050565b600080600060608486031215612ef657600080fd5b6000612f0486828701612d75565b9350506020612f1586828701612d75565b9250506040612f2686828701612e67565b9150509250925092565b60008060008060808587031215612f4657600080fd5b6000612f5487828801612d75565b9450506020612f6587828801612d75565b9350506040612f7687828801612e67565b925050606085013567ffffffffffffffff811115612f9357600080fd5b612f9f87828801612e13565b91505092959194509250565b60008060408385031215612fbe57600080fd5b6000612fcc85828601612d75565b9250506020612fdd85828601612dd4565b9150509250929050565b60008060408385031215612ffa57600080fd5b600061300885828601612d75565b925050602061301985828601612e67565b9150509250929050565b6000806020838503121561303657600080fd5b600083013567ffffffffffffffff81111561305057600080fd5b61305c85828601612d8a565b92509250509250929050565b60006020828403121561307a57600080fd5b600061308884828501612dd4565b91505092915050565b6000602082840312156130a357600080fd5b60006130b184828501612de9565b91505092915050565b6000602082840312156130cc57600080fd5b60006130da84828501612dfe565b91505092915050565b6000602082840312156130f557600080fd5b600082013567ffffffffffffffff81111561310f57600080fd5b61311b84828501612e3d565b91505092915050565b60006020828403121561313657600080fd5b600061314484828501612e67565b91505092915050565b613156816140fa565b82525050565b6131658161410c565b82525050565b600061317682613ff1565b6131808185614007565b935061319081856020860161417d565b61319981614318565b840191505092915050565b60006131af82613ffc565b6131b98185614023565b93506131c981856020860161417d565b6131d281614318565b840191505092915050565b60006131e882613ffc565b6131f28185614034565b935061320281856020860161417d565b80840191505092915050565b600061321b602b83614023565b91507f5072697661746520737570706c792063616e206e6f742065786365656420746f60008301527f74616c20737570706c792e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613281601283614023565b91507f4d696e74696e67206973207061757365642e00000000000000000000000000006000830152602082019050919050565b60006132c1603283614023565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613327602683614023565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061338d601c83614023565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006133cd602583614023565b91507f4e6f20646174612065786973747320666f722070726f766964656420746f6b6560008301527f6e49642e600000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613433602483614023565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613499601983614023565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006134d9602683614023565b91507f546869732077616c6c6574206973206e6f7420617574686f72697a656420746f60008301527f206d696e742e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061353f602c83614023565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006135a5601083614023565b91507f5769746864726177206661696c65642e000000000000000000000000000000006000830152602082019050919050565b60006135e5603883614023565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061364b601d83614023565b91507f496e73756666696369656e742062616c616e636520746f206d696e742e0000006000830152602082019050919050565b600061368b602a83614023565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006136f1602983614023565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613757602083614023565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613797602c83614023565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137fd600583614034565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061383d602083614023565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061387d602983614023565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138e3602183614023565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613949605083614023565b91507f546865206e756d626572206f66206d696e7465642042617065732077696c6c2060008301527f65786365656420746865206d6178696d756d20616d6f756e74206f6620616c6c60208301527f6f776564207065722077616c6c65742e000000000000000000000000000000006040830152606082019050919050565b60006139d5600083614018565b9150600082019050919050565b60006139ef603183614023565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613a55601183614023565b91507f4e6f7420656e6f7567682042617065732e0000000000000000000000000000006000830152602082019050919050565b6000613a95602d83614023565b91507f4c696d69742065786365656465642c20757365206c6573736572206e756d626560008301527f72206f662077616c6c6574732e000000000000000000000000000000000000006020830152604082019050919050565b6000613afb601f83614023565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613b3781614164565b82525050565b6000613b4982856131dd565b9150613b5582846131dd565b9150613b60826137f0565b91508190509392505050565b6000613b77826139c8565b9150819050919050565b6000602082019050613b96600083018461314d565b92915050565b6000608082019050613bb1600083018761314d565b613bbe602083018661314d565b613bcb6040830185613b2e565b8181036060830152613bdd818461316b565b905095945050505050565b6000602082019050613bfd600083018461315c565b92915050565b60006020820190508181036000830152613c1d81846131a4565b905092915050565b60006020820190508181036000830152613c3e8161320e565b9050919050565b60006020820190508181036000830152613c5e81613274565b9050919050565b60006020820190508181036000830152613c7e816132b4565b9050919050565b60006020820190508181036000830152613c9e8161331a565b9050919050565b60006020820190508181036000830152613cbe81613380565b9050919050565b60006020820190508181036000830152613cde816133c0565b9050919050565b60006020820190508181036000830152613cfe81613426565b9050919050565b60006020820190508181036000830152613d1e8161348c565b9050919050565b60006020820190508181036000830152613d3e816134cc565b9050919050565b60006020820190508181036000830152613d5e81613532565b9050919050565b60006020820190508181036000830152613d7e81613598565b9050919050565b60006020820190508181036000830152613d9e816135d8565b9050919050565b60006020820190508181036000830152613dbe8161363e565b9050919050565b60006020820190508181036000830152613dde8161367e565b9050919050565b60006020820190508181036000830152613dfe816136e4565b9050919050565b60006020820190508181036000830152613e1e8161374a565b9050919050565b60006020820190508181036000830152613e3e8161378a565b9050919050565b60006020820190508181036000830152613e5e81613830565b9050919050565b60006020820190508181036000830152613e7e81613870565b9050919050565b60006020820190508181036000830152613e9e816138d6565b9050919050565b60006020820190508181036000830152613ebe8161393c565b9050919050565b60006020820190508181036000830152613ede816139e2565b9050919050565b60006020820190508181036000830152613efe81613a48565b9050919050565b60006020820190508181036000830152613f1e81613a88565b9050919050565b60006020820190508181036000830152613f3e81613aee565b9050919050565b6000602082019050613f5a6000830184613b2e565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f8757613f866142e9565b5b8060405250919050565b600067ffffffffffffffff821115613fac57613fab6142e9565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fdc57613fdb6142e9565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061404a82614164565b915061405583614164565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561408a5761408961425c565b5b828201905092915050565b60006140a082614164565b91506140ab83614164565b9250826140bb576140ba61428b565b5b828204905092915050565b60006140d182614164565b91506140dc83614164565b9250828210156140ef576140ee61425c565b5b828203905092915050565b600061410582614144565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561419b578082015181840152602081019050614180565b838111156141aa576000848401525b50505050565b600060028204905060018216806141c857607f821691505b602082108114156141dc576141db6142ba565b5b50919050565b60006141ed82614164565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142205761421f61425c565b5b600182019050919050565b600061423682614164565b915061424183614164565b9250826142515761425061428b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614332816140fa565b811461433d57600080fd5b50565b6143498161410c565b811461435457600080fd5b50565b61436081614118565b811461436b57600080fd5b50565b61437781614164565b811461438257600080fd5b5056fea26469706673582212208356d5b46720ef07e4823a377ed389fb31c5892af97fc40189945bd5a41ed3bc64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6261706573636c616e2e6d7970696e6174612e636c6f75642f697066732f516d4e72664337724667485331316234336133785469646b6631477443633261595563736d773743384e3344446b000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806370a0823111610102578063b350ebb811610095578063cf20aaee11610064578063cf20aaee146106a5578063e985e9c5146106ce578063f2fde38b1461070b578063fecfda4914610734576101e3565b8063b350ebb8146105ed578063b88d4fde14610616578063bceb2a221461063f578063c87b56dd14610668576101e3565b806395d89b41116100d157806395d89b41146105455780639b96eece14610570578063a22cb465146105ad578063a475b5dd146105d6576101e3565b806370a082311461049d578063715018a6146104da5780638da5cb5b146104f157806392e323331461051c576101e3565b80632d0a913e1161017a57806342842e0e1161014957806342842e0e146104045780635c3e29d41461042d5780635feba37d146104565780636352211e14610460576101e3565b80632d0a913e1461035c578063319e551a146103855780633af32abf146103b05780633ccfd60b146103ed576101e3565b8063095ea7b3116101b6578063095ea7b3146102b657806318160ddd146102df57806319d3df941461030a57806323b872dd14610333576101e3565b806301ffc9a7146101e857806302329a291461022557806306fdde031461024e578063081812fc14610279575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190613091565b61075d565b60405161021c9190613be8565b60405180910390f35b34801561023157600080fd5b5061024c60048036038101906102479190613068565b61083f565b005b34801561025a57600080fd5b506102636108d8565b6040516102709190613c03565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613124565b61096a565b6040516102ad9190613b81565b60405180910390f35b3480156102c257600080fd5b506102dd60048036038101906102d89190612fe7565b6109ef565b005b3480156102eb57600080fd5b506102f4610b07565b6040516103019190613f45565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190613124565b610b18565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612ee1565b610b9e565b005b34801561036857600080fd5b50610383600480360381019061037e9190613023565b610bfe565b005b34801561039157600080fd5b5061039a610d8d565b6040516103a79190613f45565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190612e7c565b610d97565b6040516103e49190613be8565b60405180910390f35b3480156103f957600080fd5b50610402610ded565b005b34801561041057600080fd5b5061042b60048036038101906104269190612ee1565b610f90565b005b34801561043957600080fd5b50610454600480360381019061044f9190613124565b610fb0565b005b61045e6110b3565b005b34801561046c57600080fd5b5061048760048036038101906104829190613124565b61135a565b6040516104949190613b81565b60405180910390f35b3480156104a957600080fd5b506104c460048036038101906104bf9190612e7c565b61140c565b6040516104d19190613f45565b60405180910390f35b3480156104e657600080fd5b506104ef6114c4565b005b3480156104fd57600080fd5b5061050661154c565b6040516105139190613b81565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e9190612e7c565b611576565b005b34801561055157600080fd5b5061055a611636565b6040516105679190613c03565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190612e7c565b6116c8565b6040516105a49190613f45565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612fab565b611711565b005b3480156105e257600080fd5b506105eb611727565b005b3480156105f957600080fd5b50610614600480360381019061060f9190613124565b6117c0565b005b34801561062257600080fd5b5061063d60048036038101906106389190612f30565b61188b565b005b34801561064b57600080fd5b50610666600480360381019061066191906130e3565b6118ed565b005b34801561067457600080fd5b5061068f600480360381019061068a9190613124565b611983565b60405161069c9190613c03565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190613023565b611ad9565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612ea5565b611c68565b6040516107029190613be8565b60405180910390f35b34801561071757600080fd5b50610732600480360381019061072d9190612e7c565b611cfc565b005b34801561074057600080fd5b5061075b60048036038101906107569190613124565b611df4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610838575061083782611e7a565b5b9050919050565b610847611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661086561154c565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290613e45565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6060600080546108e7906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610913906141b0565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b600061097582611eec565b6109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90613e25565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109fa8261135a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6290613e85565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a8a611ee4565b73ffffffffffffffffffffffffffffffffffffffff161480610ab95750610ab881610ab3611ee4565b611c68565b5b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef90613d85565b60405180910390fd5b610b028383611f58565b505050565b6000610b136008612011565b905090565b610b20611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610b3e61154c565b73ffffffffffffffffffffffffffffffffffffffff1614610b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8b90613e45565b60405180910390fd5b8060098190555050565b610baf610ba9611ee4565b8261201f565b610bee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be590613ec5565b60405180910390fd5b610bf98383836120fd565b505050565b610c06611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610c2461154c565b73ffffffffffffffffffffffffffffffffffffffff1614610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613e45565b60405180910390fd5b600954828290501115610cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb990613f05565b60405180910390fd5b60005b82829050811015610d88576001600f6000858585818110610d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d249190612e7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d80906141e2565b915050610cc5565b505050565b6000600b54905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610df5611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610e1361154c565b73ffffffffffffffffffffffffffffffffffffffff1614610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090613e45565b60405180910390fd5b60026007541415610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea690613f25565b60405180910390fd5b60026007819055506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610eff90613b6c565b60006040518083038185875af1925050503d8060008114610f3c576040519150601f19603f3d011682016040523d82523d6000602084013e610f41565b606091505b5050905080610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c90613d65565b60405180910390fd5b506001600781905550565b610fab8383836040518060200160405280600081525061188b565b505050565b610fb8611ee4565b73ffffffffffffffffffffffffffffffffffffffff16610fd661154c565b73ffffffffffffffffffffffffffffffffffffffff161461102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390613e45565b60405180910390fd5b6000611036610b07565b90506009548282611047919061403f565b1115611088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107f90613ee5565b60405180910390fd5b60005b828110156110ae5761109b612359565b80806110a6906141e2565b91505061108b565b505050565b60006110bd610b07565b9050600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290613d25565b60405180910390fd5b600c60009054906101000a900460ff161561119b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119290613c45565b60405180910390fd5b600a546001826111ab919061403f565b11156111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390613ee5565b60405180910390fd5b670429d069189e0000341015611237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122e90613da5565b60405180910390fd5b600b54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190613ea5565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161130b919061403f565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611356612359565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa90613de5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490613dc5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114cc611ee4565b73ffffffffffffffffffffffffffffffffffffffff166114ea61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153790613e45565b60405180910390fd5b61154a600061237c565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61157e611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661159c61154c565b73ffffffffffffffffffffffffffffffffffffffff16146115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990613e45565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060018054611645906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611671906141b0565b80156116be5780601f10611693576101008083540402835291602001916116be565b820191906000526020600020905b8154815290600101906020018083116116a157829003601f168201915b5050505050905090565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172361171c611ee4565b8383612442565b5050565b61172f611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661174d61154c565b73ffffffffffffffffffffffffffffffffffffffff16146117a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179a90613e45565b60405180910390fd5b6001600c60016101000a81548160ff021916908315150217905550565b6117c8611ee4565b73ffffffffffffffffffffffffffffffffffffffff166117e661154c565b73ffffffffffffffffffffffffffffffffffffffff161461183c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183390613e45565b60405180910390fd5b600954811115611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613c25565b60405180910390fd5b80600a8190555050565b61189c611896611ee4565b8361201f565b6118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290613ec5565b60405180910390fd5b6118e7848484846125af565b50505050565b6118f5611ee4565b73ffffffffffffffffffffffffffffffffffffffff1661191361154c565b73ffffffffffffffffffffffffffffffffffffffff1614611969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196090613e45565b60405180910390fd5b80600d908051906020019061197f929190612c56565b5050565b606061198e82611eec565b6119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c490613cc5565b60405180910390fd5b60001515600c60019054906101000a900460ff1615151415611a7b57600e80546119f6906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054611a22906141b0565b8015611a6f5780601f10611a4457610100808354040283529160200191611a6f565b820191906000526020600020905b815481529060010190602001808311611a5257829003601f168201915b50505050509050611ad4565b6000611a8561260b565b90506000815111611aa55760405180602001604052806000815250611ad0565b80611aaf8461269d565b604051602001611ac0929190613b3d565b6040516020818303038152906040525b9150505b919050565b611ae1611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611aff61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90613e45565b60405180910390fd5b600954828290501115611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490613f05565b60405180910390fd5b60005b82829050811015611c63576000600f6000858585818110611bea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611bff9190612e7c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611c5b906141e2565b915050611ba0565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d04611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611d2261154c565b73ffffffffffffffffffffffffffffffffffffffff1614611d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6f90613e45565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613c85565b60405180910390fd5b611df18161237c565b50565b611dfc611ee4565b73ffffffffffffffffffffffffffffffffffffffff16611e1a61154c565b73ffffffffffffffffffffffffffffffffffffffff1614611e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6790613e45565b60405180910390fd5b80600b8190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611fcb8361135a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600061202a82611eec565b612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090613d45565b60405180910390fd5b60006120748361135a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120e357508373ffffffffffffffffffffffffffffffffffffffff166120cb8461096a565b73ffffffffffffffffffffffffffffffffffffffff16145b806120f457506120f38185611c68565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661211d8261135a565b73ffffffffffffffffffffffffffffffffffffffff1614612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a90613e65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121da90613ce5565b60405180910390fd5b6121ee83838361284a565b6121f9600082611f58565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461224991906140c6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122a0919061403f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612363610b07565b905061236f338261284f565b612379600861286d565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a890613d05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a29190613be8565b60405180910390a3505050565b6125ba8484846120fd565b6125c684848484612883565b612605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fc90613c65565b60405180910390fd5b50505050565b6060600d805461261a906141b0565b80601f0160208091040260200160405190810160405280929190818152602001828054612646906141b0565b80156126935780601f1061266857610100808354040283529160200191612693565b820191906000526020600020905b81548152906001019060200180831161267657829003601f168201915b5050505050905090565b606060008214156126e5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612845565b600082905060005b60008214612717578080612700906141e2565b915050600a826127109190614095565b91506126ed565b60008167ffffffffffffffff811115612759577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561278b5781602001600182028036833780820191505090505b5090505b6000851461283e576001826127a491906140c6565b9150600a856127b3919061422b565b60306127bf919061403f565b60f81b8183815181106127fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128379190614095565b945061278f565b8093505050505b919050565b505050565b612869828260405180602001604052806000815250612a1a565b5050565b6001816000016000828254019250508190555050565b60006128a48473ffffffffffffffffffffffffffffffffffffffff16612a75565b15612a0d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128cd611ee4565b8786866040518563ffffffff1660e01b81526004016128ef9493929190613b9c565b602060405180830381600087803b15801561290957600080fd5b505af192505050801561293a57506040513d601f19601f8201168201806040525081019061293791906130ba565b60015b6129bd573d806000811461296a576040519150601f19603f3d011682016040523d82523d6000602084013e61296f565b606091505b506000815114156129b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ac90613c65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a12565b600190505b949350505050565b612a248383612a88565b612a316000848484612883565b612a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6790613c65565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aef90613e05565b60405180910390fd5b612b0181611eec565b15612b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3890613ca5565b60405180910390fd5b612b4d6000838361284a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b9d919061403f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612c62906141b0565b90600052602060002090601f016020900481019282612c845760008555612ccb565b82601f10612c9d57805160ff1916838001178555612ccb565b82800160010185558215612ccb579182015b82811115612cca578251825591602001919060010190612caf565b5b509050612cd89190612cdc565b5090565b5b80821115612cf5576000816000905550600101612cdd565b5090565b6000612d0c612d0784613f91565b613f60565b905082815260208101848484011115612d2457600080fd5b612d2f84828561416e565b509392505050565b6000612d4a612d4584613fc1565b613f60565b905082815260208101848484011115612d6257600080fd5b612d6d84828561416e565b509392505050565b600081359050612d8481614329565b92915050565b60008083601f840112612d9c57600080fd5b8235905067ffffffffffffffff811115612db557600080fd5b602083019150836020820283011115612dcd57600080fd5b9250929050565b600081359050612de381614340565b92915050565b600081359050612df881614357565b92915050565b600081519050612e0d81614357565b92915050565b600082601f830112612e2457600080fd5b8135612e34848260208601612cf9565b91505092915050565b600082601f830112612e4e57600080fd5b8135612e5e848260208601612d37565b91505092915050565b600081359050612e768161436e565b92915050565b600060208284031215612e8e57600080fd5b6000612e9c84828501612d75565b91505092915050565b60008060408385031215612eb857600080fd5b6000612ec685828601612d75565b9250506020612ed785828601612d75565b9150509250929050565b600080600060608486031215612ef657600080fd5b6000612f0486828701612d75565b9350506020612f1586828701612d75565b9250506040612f2686828701612e67565b9150509250925092565b60008060008060808587031215612f4657600080fd5b6000612f5487828801612d75565b9450506020612f6587828801612d75565b9350506040612f7687828801612e67565b925050606085013567ffffffffffffffff811115612f9357600080fd5b612f9f87828801612e13565b91505092959194509250565b60008060408385031215612fbe57600080fd5b6000612fcc85828601612d75565b9250506020612fdd85828601612dd4565b9150509250929050565b60008060408385031215612ffa57600080fd5b600061300885828601612d75565b925050602061301985828601612e67565b9150509250929050565b6000806020838503121561303657600080fd5b600083013567ffffffffffffffff81111561305057600080fd5b61305c85828601612d8a565b92509250509250929050565b60006020828403121561307a57600080fd5b600061308884828501612dd4565b91505092915050565b6000602082840312156130a357600080fd5b60006130b184828501612de9565b91505092915050565b6000602082840312156130cc57600080fd5b60006130da84828501612dfe565b91505092915050565b6000602082840312156130f557600080fd5b600082013567ffffffffffffffff81111561310f57600080fd5b61311b84828501612e3d565b91505092915050565b60006020828403121561313657600080fd5b600061314484828501612e67565b91505092915050565b613156816140fa565b82525050565b6131658161410c565b82525050565b600061317682613ff1565b6131808185614007565b935061319081856020860161417d565b61319981614318565b840191505092915050565b60006131af82613ffc565b6131b98185614023565b93506131c981856020860161417d565b6131d281614318565b840191505092915050565b60006131e882613ffc565b6131f28185614034565b935061320281856020860161417d565b80840191505092915050565b600061321b602b83614023565b91507f5072697661746520737570706c792063616e206e6f742065786365656420746f60008301527f74616c20737570706c792e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613281601283614023565b91507f4d696e74696e67206973207061757365642e00000000000000000000000000006000830152602082019050919050565b60006132c1603283614023565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613327602683614023565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061338d601c83614023565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006133cd602583614023565b91507f4e6f20646174612065786973747320666f722070726f766964656420746f6b6560008301527f6e49642e600000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613433602483614023565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613499601983614023565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006134d9602683614023565b91507f546869732077616c6c6574206973206e6f7420617574686f72697a656420746f60008301527f206d696e742e00000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061353f602c83614023565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006135a5601083614023565b91507f5769746864726177206661696c65642e000000000000000000000000000000006000830152602082019050919050565b60006135e5603883614023565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061364b601d83614023565b91507f496e73756666696369656e742062616c616e636520746f206d696e742e0000006000830152602082019050919050565b600061368b602a83614023565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006136f1602983614023565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613757602083614023565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613797602c83614023565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006137fd600583614034565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061383d602083614023565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061387d602983614023565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006138e3602183614023565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613949605083614023565b91507f546865206e756d626572206f66206d696e7465642042617065732077696c6c2060008301527f65786365656420746865206d6178696d756d20616d6f756e74206f6620616c6c60208301527f6f776564207065722077616c6c65742e000000000000000000000000000000006040830152606082019050919050565b60006139d5600083614018565b9150600082019050919050565b60006139ef603183614023565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613a55601183614023565b91507f4e6f7420656e6f7567682042617065732e0000000000000000000000000000006000830152602082019050919050565b6000613a95602d83614023565b91507f4c696d69742065786365656465642c20757365206c6573736572206e756d626560008301527f72206f662077616c6c6574732e000000000000000000000000000000000000006020830152604082019050919050565b6000613afb601f83614023565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613b3781614164565b82525050565b6000613b4982856131dd565b9150613b5582846131dd565b9150613b60826137f0565b91508190509392505050565b6000613b77826139c8565b9150819050919050565b6000602082019050613b96600083018461314d565b92915050565b6000608082019050613bb1600083018761314d565b613bbe602083018661314d565b613bcb6040830185613b2e565b8181036060830152613bdd818461316b565b905095945050505050565b6000602082019050613bfd600083018461315c565b92915050565b60006020820190508181036000830152613c1d81846131a4565b905092915050565b60006020820190508181036000830152613c3e8161320e565b9050919050565b60006020820190508181036000830152613c5e81613274565b9050919050565b60006020820190508181036000830152613c7e816132b4565b9050919050565b60006020820190508181036000830152613c9e8161331a565b9050919050565b60006020820190508181036000830152613cbe81613380565b9050919050565b60006020820190508181036000830152613cde816133c0565b9050919050565b60006020820190508181036000830152613cfe81613426565b9050919050565b60006020820190508181036000830152613d1e8161348c565b9050919050565b60006020820190508181036000830152613d3e816134cc565b9050919050565b60006020820190508181036000830152613d5e81613532565b9050919050565b60006020820190508181036000830152613d7e81613598565b9050919050565b60006020820190508181036000830152613d9e816135d8565b9050919050565b60006020820190508181036000830152613dbe8161363e565b9050919050565b60006020820190508181036000830152613dde8161367e565b9050919050565b60006020820190508181036000830152613dfe816136e4565b9050919050565b60006020820190508181036000830152613e1e8161374a565b9050919050565b60006020820190508181036000830152613e3e8161378a565b9050919050565b60006020820190508181036000830152613e5e81613830565b9050919050565b60006020820190508181036000830152613e7e81613870565b9050919050565b60006020820190508181036000830152613e9e816138d6565b9050919050565b60006020820190508181036000830152613ebe8161393c565b9050919050565b60006020820190508181036000830152613ede816139e2565b9050919050565b60006020820190508181036000830152613efe81613a48565b9050919050565b60006020820190508181036000830152613f1e81613a88565b9050919050565b60006020820190508181036000830152613f3e81613aee565b9050919050565b6000602082019050613f5a6000830184613b2e565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f8757613f866142e9565b5b8060405250919050565b600067ffffffffffffffff821115613fac57613fab6142e9565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613fdc57613fdb6142e9565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061404a82614164565b915061405583614164565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561408a5761408961425c565b5b828201905092915050565b60006140a082614164565b91506140ab83614164565b9250826140bb576140ba61428b565b5b828204905092915050565b60006140d182614164565b91506140dc83614164565b9250828210156140ef576140ee61425c565b5b828203905092915050565b600061410582614144565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561419b578082015181840152602081019050614180565b838111156141aa576000848401525b50505050565b600060028204905060018216806141c857607f821691505b602082108114156141dc576141db6142ba565b5b50919050565b60006141ed82614164565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142205761421f61425c565b5b600182019050919050565b600061423682614164565b915061424183614164565b9250826142515761425061428b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614332816140fa565b811461433d57600080fd5b50565b6143498161410c565b811461435457600080fd5b50565b61436081614118565b811461436b57600080fd5b50565b61437781614164565b811461438257600080fd5b5056fea26469706673582212208356d5b46720ef07e4823a377ed389fb31c5892af97fc40189945bd5a41ed3bc64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f6261706573636c616e2e6d7970696e6174612e636c6f75642f697066732f516d4e72664337724667485331316234336133785469646b6631477443633261595563736d773743384e3344446b000000000000000000000000
-----Decoded View---------------
Arg [0] : _hiddenMetadataURI (string): https://bapesclan.mypinata.cloud/ipfs/QmNrfC7rFgHS11b43a3xTidkf1GtCc2aYUcsmw7C8N3DDk
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000054
Arg [2] : 68747470733a2f2f6261706573636c616e2e6d7970696e6174612e636c6f7564
Arg [3] : 2f697066732f516d4e72664337724667485331316234336133785469646b6631
Arg [4] : 477443633261595563736d773743384e3344446b000000000000000000000000
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.