ERC-721
Overview
Max Total Supply
1,344 AGC
Holders
612
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 AGCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BattleApeGameCharacters
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; interface IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); function balanceOf(address owner) external view returns (uint256 balance); function ownerOf(uint256 tokenId) external view returns (address owner); function safeTransferFrom( address from, address to, uint256 tokenId ) external; function transferFrom( address from, address to, uint256 tokenId ) external; function approve(address to, uint256 tokenId) external; function getApproved(uint256 tokenId) external view returns (address operator); function setApprovalForAll(address operator, bool _approved) external; function isApprovedForAll(address owner, address operator) external view returns (bool); function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } pragma solidity ^0.8.0; interface IERC721Enumerable is IERC721 { function totalSupply() external view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); function tokenByIndex(uint256 index) external view returns (uint256); } pragma solidity ^0.8.0; abstract contract ERC165 is IERC165 { function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.0; library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; function toString(uint256 value) internal pure returns (string memory) { 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); } 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); } 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); } } pragma solidity ^0.8.0; library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } 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"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } 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"); } 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); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } 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); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } 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); } function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } pragma solidity ^0.8.0; interface IERC721Metadata is IERC721 { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); } pragma solidity ^0.8.0; interface IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.0; contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; mapping(uint256 => address) private _owners; mapping(address => uint256) private _balances; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } 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; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } 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())) : ""; } function _baseURI() internal view virtual returns (string memory) { return ""; } 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); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } 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); } 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"); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } 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)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } 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" ); } 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); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } 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); _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } 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; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } pragma solidity ^0.8.0; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { mapping(address => mapping(uint256 => uint256)) private _ownedTokens; mapping(uint256 => uint256) private _ownedTokensIndex; uint256[] private _allTokens; mapping(uint256 => uint256) private _allTokensIndex; function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; _ownedTokensIndex[lastTokenId] = tokenIndex; } delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; _allTokensIndex[lastTokenId] = tokenIndex; delete _allTokensIndex[tokenId]; _allTokens.pop(); } } pragma solidity ^0.8.0; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _setOwner(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; contract BattleApeGameCharacters is ERC721Enumerable, Ownable { using Strings for uint256; using SafeMath for uint256; string public baseURI; string public baseExtension = ".json"; //mint cost uint256 public constant PRE_SALE_COST = 0.05 ether; uint256 public constant PUBLIC_SALE_COST = 0.1 ether; //max supply uint256 public constant PRIVATE_SALE_MAX_SUPPLY = 200; uint256 public constant PRE_SALE_MAX_SUPPLY = 200; uint256 public constant PUBLIC_SALE_MAX_SUPPLY = 3800; uint256 public constant GIVEAWAY_SUPPLY = 244; //max mint uint256 public privateMintLimitTx = 2; uint256 public maxPrivateMintLimit = 4; uint256 public presaleMintLimitTx = 2; uint256 public publicnMintLimitTx = 10; //initialization bool public isPrivateSaleStart = false; bool public isPresaleStart = false; bool public isPublicSaleStart = false; mapping(address => bool) public isWhitelisted; mapping(address=>uint256) mintedNFTs; uint256 private _numAvailableTokens = 4444; uint256[4444] private _availableTokens; uint256 private privateMinted; uint256 private publicMinted; uint256 private presaleMinted; uint256 private giveawayMinted; constructor() ERC721("Battle Ape Game - Characters", "AGC") { setBaseURI("ipfs://CID/"); } function mint(uint256 _mintAmount) public payable { require(isPrivateSaleStart == true || isPresaleStart == true || isPublicSaleStart == true, "None of the sales is started yet!"); require(_mintAmount > 0, "need to mint at least 1 NFT"); if(isPrivateSaleStart == true){ require(isWhitelisted[msg.sender]==true, "You're not whitelisted!"); require(_mintAmount <= privateMintLimitTx, "You can mint in range (1-2) NFT!"); require(privateMinted.add(_mintAmount) <= PRIVATE_SALE_MAX_SUPPLY, "max NFT privatesale limit exceeded"); require(mintedNFTs[msg.sender].add(_mintAmount) <= maxPrivateMintLimit, "You can mint max 4 NFTs!"); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 1; i <= _mintAmount; i++) { uint256 newTokenId = useRandomAvailableToken(_mintAmount, i); _safeMint(msg.sender, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; mintedNFTs[msg.sender]+=_mintAmount; privateMinted += _mintAmount; } else if(isPresaleStart == true){ require(isWhitelisted[msg.sender]==true, "You're not whitelisted!"); require(_mintAmount <= presaleMintLimitTx, "You can mint in range (1-2) NFT!"); require(msg.value >= PRE_SALE_COST.mul(_mintAmount), "insufficient funds"); require(presaleMinted.add(_mintAmount) <= PRE_SALE_MAX_SUPPLY, "max NFT presalesale limit exceeded"); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 1; i <= _mintAmount; i++) { uint256 newTokenId = useRandomAvailableToken(_mintAmount, i); _safeMint(msg.sender, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; mintedNFTs[msg.sender]+=_mintAmount; presaleMinted += _mintAmount; } else if(isPublicSaleStart == true){ require(_mintAmount <= publicnMintLimitTx, "You can mint in range (1-10) NFT!"); require(msg.value >= PUBLIC_SALE_COST.mul(_mintAmount), "insufficient funds"); require(publicMinted.add(_mintAmount) <= PUBLIC_SALE_MAX_SUPPLY, "max NFT publicsale limit exceeded"); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 1; i <= _mintAmount; i++) { uint256 newTokenId = useRandomAvailableToken(_mintAmount, i); _safeMint(msg.sender, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; mintedNFTs[msg.sender]+=_mintAmount; publicMinted += _mintAmount; } } function giveawayTokens(address _to, uint256 _mintAmount) external onlyOwner { require(giveawayMinted + _mintAmount <= GIVEAWAY_SUPPLY, "This amount is more than max allowed"); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 1; i <= _mintAmount; i++) { uint256 newTokenId = useRandomAvailableToken(_mintAmount, i); _safeMint(_to, newTokenId); updatedNumAvailableTokens--; } _numAvailableTokens = updatedNumAvailableTokens; mintedNFTs[_to]+=_mintAmount; giveawayMinted += _mintAmount; } function useRandomAvailableToken(uint256 _numToFetch, uint256 _i) internal returns (uint256){ uint256 randomNum = uint256( keccak256( abi.encode(msg.sender,tx.gasprice,block.number,block.timestamp,blockhash(block.number - 1),_numToFetch,_i ) ) ); uint256 randomIndex = randomNum % _numAvailableTokens; uint256 valAtIndex = _availableTokens[randomIndex]; uint256 result; if (valAtIndex == 0) { result = randomIndex; } else { result = valAtIndex; } uint256 lastIndex = _numAvailableTokens - 1; if (randomIndex != lastIndex) { uint256 lastValInArray = _availableTokens[lastIndex]; if (lastValInArray == 0) { _availableTokens[randomIndex] = lastIndex; } else { _availableTokens[randomIndex] = lastValInArray; } } _numAvailableTokens--; return result; } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } //UTILITIES function setPrivateSaleStatus(bool _state) public onlyOwner{ isPrivateSaleStart = _state; } function setPreSaleStatus(bool _state) public onlyOwner{ isPresaleStart = _state; } function setPublicSaleStatus(bool _state) public onlyOwner{ isPublicSaleStart = _state; } function addWhitelist(address[] memory _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { isWhitelisted[_addresses[i]] = true; } } function removeWhitelist(address[] memory _addresses) external onlyOwner { for(uint i = 0; i < _addresses.length; i++) { isWhitelisted[_addresses[i]] = false; } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory){ require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } address payable private payee1 = payable(0x0F7961EE81B7cB2B859157E9c0D7b1A1D9D35A5D); function withdraw() public onlyOwner { require(address(this).balance >= 0,"Contract hasn't enough ethers to transfer!"); uint part1 = (address(this).balance.mul(5)).div(100); payee1.transfer(part1); payable(owner()).transfer(address(this).balance); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"GIVEAWAY_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIVATE_SALE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"giveawayTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPrivateSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPrivateMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMintLimitTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateMintLimitTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicnMintLimitTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPreSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPrivateSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600c919062000218565b506002600d8190556004600e55600f55600a6010556011805462ffffff1916905561115c60145561117580546001600160a01b031916730f7961ee81b7cb2b859157e9c0d7b1a1d9d35a5d1790553480156200008357600080fd5b50604080518082018252601c81527f426174746c65204170652047616d65202d20436861726163746572730000000060208083019182528351808501909452600384526241474360e81b908401528151919291620000e49160009162000218565b508051620000fa90600190602084019062000218565b50505062000117620001116200014a60201b60201c565b6200014e565b60408051808201909152600b81526a697066733a2f2f4349442f60a81b60208201526200014490620001a0565b620002fb565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200021490600b90602084019062000218565b5050565b8280546200022690620002be565b90600052602060002090601f0160209004810192826200024a576000855562000295565b82601f106200026557805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029557825182559160200191906001019062000278565b50620002a3929150620002a7565b5090565b5b80821115620002a35760008155600101620002a8565b600181811c90821680620002d357607f821691505b60208210811415620002f557634e487b7160e01b600052602260045260246000fd5b50919050565b61306b806200030b6000396000f3fe60806040526004361061027d5760003560e01c806370a082311161014f578063b423fe67116100c1578063c87b56dd1161007a578063c87b56dd1461071f578063ce1e58db1461073f578063da3ef23f14610755578063e985e9c514610775578063edac985b146107be578063f2fde38b146107de57600080fd5b8063b423fe6714610683578063b88d4fde146106a3578063c1d7d855146106c3578063c53ceb6a146106d9578063c6572143146106f4578063c66828621461070a57600080fd5b806395d89b411161011357806395d89b4114610610578063a0712d6814610625578063a22cb46514610638578063a7754ebe146103d2578063a98eb87d14610658578063b0ec6dff1461066e57600080fd5b806370a0823114610588578063715018a6146105a85780637fe8dfe1146105bd578063867eb8fa146105dc5780638da5cb5b146105f257600080fd5b80632f745c59116101f35780635001c98c116101ac5780635001c98c146104d957806355f804b3146104f357806357333263146105135780635e326b92146105335780636352211e146105535780636c0360eb1461057357600080fd5b80632f745c59146104075780633af32abf146104275780633ccfd60b1461045757806342842e0e1461046c578063438b63001461048c5780634f6ccce7146104b957600080fd5b80630eb58b6e116102455780630eb58b6e1461035357806318160ddd1461037d578063232452161461039257806323b872dd146103b2578063259769cc146103d2578063287b038b146103e757600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b3146103115780630b1181d614610333575b600080fd5b34801561028e57600080fd5b506102a261029d3660046128e9565b6107fe565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610829565b6040516102ae919061295e565b3480156102e557600080fd5b506102f96102f4366004612971565b6108bb565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046129a6565b610955565b005b34801561033f57600080fd5b5061033161034e3660046129a6565b610a6b565b34801561035f57600080fd5b5061036f67016345785d8a000081565b6040519081526020016102ae565b34801561038957600080fd5b5060085461036f565b34801561039e57600080fd5b506103316103ad366004612a17565b610b98565b3480156103be57600080fd5b506103316103cd366004612ac4565b610c2e565b3480156103de57600080fd5b5061036f60c881565b3480156103f357600080fd5b50610331610402366004612b10565b610c5f565b34801561041357600080fd5b5061036f6104223660046129a6565b610c9c565b34801561043357600080fd5b506102a2610442366004612b2b565b60126020526000908152604090205460ff1681565b34801561046357600080fd5b50610331610d32565b34801561047857600080fd5b50610331610487366004612ac4565b610dea565b34801561049857600080fd5b506104ac6104a7366004612b2b565b610e05565b6040516102ae9190612b46565b3480156104c557600080fd5b5061036f6104d4366004612971565b610ea7565b3480156104e557600080fd5b506011546102a29060ff1681565b3480156104ff57600080fd5b5061033161050e366004612be2565b610f3a565b34801561051f57600080fd5b506011546102a29062010000900460ff1681565b34801561053f57600080fd5b5061033161054e366004612b10565b610f77565b34801561055f57600080fd5b506102f961056e366004612971565b610fbb565b34801561057f57600080fd5b506102cc611032565b34801561059457600080fd5b5061036f6105a3366004612b2b565b6110c0565b3480156105b457600080fd5b50610331611147565b3480156105c957600080fd5b506011546102a290610100900460ff1681565b3480156105e857600080fd5b5061036f600f5481565b3480156105fe57600080fd5b50600a546001600160a01b03166102f9565b34801561061c57600080fd5b506102cc61117d565b610331610633366004612971565b61118c565b34801561064457600080fd5b50610331610653366004612c2b565b61185e565b34801561066457600080fd5b5061036f60105481565b34801561067a57600080fd5b5061036f60f481565b34801561068f57600080fd5b5061033161069e366004612b10565b611923565b3480156106af57600080fd5b506103316106be366004612c5e565b611969565b3480156106cf57600080fd5b5061036f600d5481565b3480156106e557600080fd5b5061036f66b1a2bc2ec5000081565b34801561070057600080fd5b5061036f610ed881565b34801561071657600080fd5b506102cc6119a1565b34801561072b57600080fd5b506102cc61073a366004612971565b6119ae565b34801561074b57600080fd5b5061036f600e5481565b34801561076157600080fd5b50610331610770366004612be2565b611a8c565b34801561078157600080fd5b506102a2610790366004612cda565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ca57600080fd5b506103316107d9366004612a17565b611ac9565b3480156107ea57600080fd5b506103316107f9366004612b2b565b611b5b565b60006001600160e01b0319821663780e9d6360e01b1480610823575061082382611bf3565b92915050565b60606000805461083890612d04565b80601f016020809104026020016040519081016040528092919081815260200182805461086490612d04565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061096082610fbb565b9050806001600160a01b0316836001600160a01b031614156109ce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610930565b336001600160a01b03821614806109ea57506109ea8133610790565b610a5c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610930565b610a668383611c43565b505050565b600a546001600160a01b03163314610a955760405162461bcd60e51b815260040161093090612d3f565b60f48161117454610aa69190612d8a565b1115610b005760405162461bcd60e51b8152602060048201526024808201527f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c6044820152631bddd95960e21b6064820152608401610930565b60145460015b828111610b46576000610b198483611cb1565b9050610b258582611dea565b82610b2f81612da2565b935050508080610b3e90612db9565b915050610b06565b5060148190556001600160a01b03831660009081526013602052604081208054849290610b74908490612d8a565b92505081905550816111746000828254610b8e9190612d8a565b9091555050505050565b600a546001600160a01b03163314610bc25760405162461bcd60e51b815260040161093090612d3f565b60005b8151811015610c2a57600060126000848481518110610be657610be6612dd4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c2281612db9565b915050610bc5565b5050565b610c383382611e04565b610c545760405162461bcd60e51b815260040161093090612dea565b610a66838383611efb565b600a546001600160a01b03163314610c895760405162461bcd60e51b815260040161093090612d3f565b6011805460ff1916911515919091179055565b6000610ca7836110c0565b8210610d095760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610930565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610d5c5760405162461bcd60e51b815260040161093090612d3f565b6000610d746064610d6e4760056120a6565b90612125565b611175546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610db0573d6000803e3d6000fd5b50600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c2a573d6000803e3d6000fd5b610a6683838360405180602001604052806000815250611969565b60606000610e12836110c0565b905060008167ffffffffffffffff811115610e2f57610e2f6129d0565b604051908082528060200260200182016040528015610e58578160200160208202803683370190505b50905060005b82811015610e9f57610e708582610c9c565b828281518110610e8257610e82612dd4565b602090810291909101015280610e9781612db9565b915050610e5e565b509392505050565b6000610eb260085490565b8210610f155760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610930565b60088281548110610f2857610f28612dd4565b90600052602060002001549050919050565b600a546001600160a01b03163314610f645760405162461bcd60e51b815260040161093090612d3f565b8051610c2a90600b90602084019061283a565b600a546001600160a01b03163314610fa15760405162461bcd60e51b815260040161093090612d3f565b601180549115156101000261ff0019909216919091179055565b6000818152600260205260408120546001600160a01b0316806108235760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610930565b600b805461103f90612d04565b80601f016020809104026020016040519081016040528092919081815260200182805461106b90612d04565b80156110b85780601f1061108d576101008083540402835291602001916110b8565b820191906000526020600020905b81548152906001019060200180831161109b57829003601f168201915b505050505081565b60006001600160a01b03821661112b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610930565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111715760405162461bcd60e51b815260040161093090612d3f565b61117b6000612182565b565b60606001805461083890612d04565b60115460ff161515600114806111af575060115460ff6101009091041615156001145b806111c7575060115462010000900460ff1615156001145b61121d5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e65206f66207468652073616c65732069732073746172746564207965746044820152602160f81b6064820152608401610930565b6000811161126d5760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610930565b60115460ff16151560011415611493573360009081526012602052604090205460ff1615156001146112db5760405162461bcd60e51b8152602060048201526017602482015276596f75277265206e6f742077686974656c69737465642160481b6044820152606401610930565b600d5481111561132d5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420696e2072616e67652028312d3229204e4654216044820152606401610930565b6111715460c89061133e90836121d4565b11156113975760405162461bcd60e51b815260206004820152602260248201527f6d6178204e4654207072697661746573616c65206c696d697420657863656564604482015261195960f21b6064820152608401610930565b600e54336000908152601360205260409020546113b490836121d4565b11156114025760405162461bcd60e51b815260206004820152601860248201527f596f752063616e206d696e74206d61782034204e4654732100000000000000006044820152606401610930565b60145460015b82811161144857600061141b8483611cb1565b90506114273382611dea565b8261143181612da2565b93505050808061144090612db9565b915050611408565b506014819055336000908152601360205260408120805484929061146d908490612d8a565b925050819055508161117160008282546114879190612d8a565b9091555061185b915050565b60115460ff6101009091041615156001141561169d573360009081526012602052604090205460ff1615156001146115075760405162461bcd60e51b8152602060048201526017602482015276596f75277265206e6f742077686974656c69737465642160481b6044820152606401610930565b600f548111156115595760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420696e2072616e67652028312d3229204e4654216044820152606401610930565b61156a66b1a2bc2ec50000826120a6565b3410156115ae5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610930565b6111735460c8906115bf90836121d4565b11156116185760405162461bcd60e51b815260206004820152602260248201527f6d6178204e46542070726573616c6573616c65206c696d697420657863656564604482015261195960f21b6064820152608401610930565b60145460015b82811161165e5760006116318483611cb1565b905061163d3382611dea565b8261164781612da2565b93505050808061165690612db9565b91505061161e565b5060148190553360009081526013602052604081208054849290611683908490612d8a565b925050819055508161117360008282546114879190612d8a565b60115462010000900460ff1615156001141561185b5760105481111561170f5760405162461bcd60e51b815260206004820152602160248201527f596f752063616e206d696e7420696e2072616e67652028312d313029204e46546044820152602160f81b6064820152608401610930565b61172167016345785d8a0000826120a6565b3410156117655760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610930565b61117254610ed89061177790836121d4565b11156117cf5760405162461bcd60e51b815260206004820152602160248201527f6d6178204e4654207075626c696373616c65206c696d697420657863656564656044820152601960fa1b6064820152608401610930565b60145460015b8281116118155760006117e88483611cb1565b90506117f43382611dea565b826117fe81612da2565b93505050808061180d90612db9565b9150506117d5565b506014819055336000908152601360205260408120805484929061183a908490612d8a565b925050819055508161117260008282546118549190612d8a565b9091555050505b50565b6001600160a01b0382163314156118b75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610930565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461194d5760405162461bcd60e51b815260040161093090612d3f565b60118054911515620100000262ff000019909216919091179055565b6119733383611e04565b61198f5760405162461bcd60e51b815260040161093090612dea565b61199b84848484612233565b50505050565b600c805461103f90612d04565b6000818152600260205260409020546060906001600160a01b0316611a2d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610930565b6000611a37612266565b90506000815111611a575760405180602001604052806000815250611a85565b80611a6184612275565b600c604051602001611a7593929190612e3b565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611ab65760405162461bcd60e51b815260040161093090612d3f565b8051610c2a90600c90602084019061283a565b600a546001600160a01b03163314611af35760405162461bcd60e51b815260040161093090612d3f565b60005b8151811015610c2a57600160126000848481518110611b1757611b17612dd4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611b5381612db9565b915050611af6565b600a546001600160a01b03163314611b855760405162461bcd60e51b815260040161093090612d3f565b6001600160a01b038116611bea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610930565b61185b81612182565b60006001600160e01b031982166380ac58cd60e01b1480611c2457506001600160e01b03198216635b5e139f60e01b145b8061082357506301ffc9a760e01b6001600160e01b0319831614610823565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c7882610fbb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080333a4342611cc3600183612eff565b604080516001600160a01b039096166020870152850193909352606084019190915260808301524060a082015260c0810185905260e08101849052610100016040516020818303038152906040528051906020012060001c9050600060145482611d2d9190612f2c565b9050600060158261115c8110611d4557611d45612dd4565b01549050600081611d57575081611d5a565b50805b60006001601454611d6b9190612eff565b9050808414611dc957600060158261115c8110611d8a57611d8a612dd4565b0154905080611daf578160158661115c8110611da857611da8612dd4565b0155611dc7565b8060158661115c8110611dc457611dc4612dd4565b01555b505b60148054906000611dd983612da2565b909155509198975050505050505050565b610c2a828260405180602001604052806000815250612373565b6000818152600260205260408120546001600160a01b0316611e7d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610930565b6000611e8883610fbb565b9050806001600160a01b0316846001600160a01b03161480611ec35750836001600160a01b0316611eb8846108bb565b6001600160a01b0316145b80611ef357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f0e82610fbb565b6001600160a01b031614611f765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610930565b6001600160a01b038216611fd85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610930565b611fe38383836123a6565b611fee600082611c43565b6001600160a01b0383166000908152600360205260408120805460019290612017908490612eff565b90915550506001600160a01b0382166000908152600360205260408120805460019290612045908490612d8a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826120b557506000610823565b60006120c18385612f40565b9050826120ce8583612f5f565b14611a855760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610930565b60008082116121765760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f0000000000006044820152606401610930565b6000611ef38385612f5f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806121e18385612d8a565b905083811015611a855760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610930565b61223e848484611efb565b61224a8484848461245e565b61199b5760405162461bcd60e51b815260040161093090612f73565b6060600b805461083890612d04565b6060816122995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122c357806122ad81612db9565b91506122bc9050600a83612f5f565b915061229d565b60008167ffffffffffffffff8111156122de576122de6129d0565b6040519080825280601f01601f191660200182016040528015612308576020820181803683370190505b5090505b8415611ef35761231d600183612eff565b915061232a600a86612f2c565b612335906030612d8a565b60f81b81838151811061234a5761234a612dd4565b60200101906001600160f81b031916908160001a90535061236c600a86612f5f565b945061230c565b61237d838361255c565b61238a600084848461245e565b610a665760405162461bcd60e51b815260040161093090612f73565b6001600160a01b038316612401576123fc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612424565b816001600160a01b0316836001600160a01b0316146124245761242483826126aa565b6001600160a01b03821661243b57610a6681612747565b826001600160a01b0316826001600160a01b031614610a6657610a6682826127f6565b60006001600160a01b0384163b1561255157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124a2903390899088908890600401612fc5565b6020604051808303816000875af19250505080156124dd575060408051601f3d908101601f191682019092526124da91810190613002565b60015b612537573d80801561250b576040519150601f19603f3d011682016040523d82523d6000602084013e612510565b606091505b50805161252f5760405162461bcd60e51b815260040161093090612f73565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ef3565b506001949350505050565b6001600160a01b0382166125b25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610930565b6000818152600260205260409020546001600160a01b0316156126175760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610930565b612623600083836123a6565b6001600160a01b038216600090815260036020526040812080546001929061264c908490612d8a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016126b7846110c0565b6126c19190612eff565b600083815260076020526040902054909150808214612714576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061275990600190612eff565b6000838152600960205260408120546008805493945090928490811061278157612781612dd4565b9060005260206000200154905080600883815481106127a2576127a2612dd4565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806127da576127da61301f565b6001900381819060005260206000200160009055905550505050565b6000612801836110c0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461284690612d04565b90600052602060002090601f01602090048101928261286857600085556128ae565b82601f1061288157805160ff19168380011785556128ae565b828001600101855582156128ae579182015b828111156128ae578251825591602001919060010190612893565b506128ba9291506128be565b5090565b5b808211156128ba57600081556001016128bf565b6001600160e01b03198116811461185b57600080fd5b6000602082840312156128fb57600080fd5b8135611a85816128d3565b60005b83811015612921578181015183820152602001612909565b8381111561199b5750506000910152565b6000815180845261294a816020860160208601612906565b601f01601f19169290920160200192915050565b602081526000611a856020830184612932565b60006020828403121561298357600080fd5b5035919050565b80356001600160a01b03811681146129a157600080fd5b919050565b600080604083850312156129b957600080fd5b6129c28361298a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a0f57612a0f6129d0565b604052919050565b60006020808385031215612a2a57600080fd5b823567ffffffffffffffff80821115612a4257600080fd5b818501915085601f830112612a5657600080fd5b813581811115612a6857612a686129d0565b8060051b9150612a798483016129e6565b8181529183018401918481019088841115612a9357600080fd5b938501935b83851015612ab857612aa98561298a565b82529385019390850190612a98565b98975050505050505050565b600080600060608486031215612ad957600080fd5b612ae28461298a565b9250612af06020850161298a565b9150604084013590509250925092565b803580151581146129a157600080fd5b600060208284031215612b2257600080fd5b611a8582612b00565b600060208284031215612b3d57600080fd5b611a858261298a565b6020808252825182820181905260009190848201906040850190845b81811015612b7e57835183529284019291840191600101612b62565b50909695505050505050565b600067ffffffffffffffff831115612ba457612ba46129d0565b612bb7601f8401601f19166020016129e6565b9050828152838383011115612bcb57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612bf457600080fd5b813567ffffffffffffffff811115612c0b57600080fd5b8201601f81018413612c1c57600080fd5b611ef384823560208401612b8a565b60008060408385031215612c3e57600080fd5b612c478361298a565b9150612c5560208401612b00565b90509250929050565b60008060008060808587031215612c7457600080fd5b612c7d8561298a565b9350612c8b6020860161298a565b925060408501359150606085013567ffffffffffffffff811115612cae57600080fd5b8501601f81018713612cbf57600080fd5b612cce87823560208401612b8a565b91505092959194509250565b60008060408385031215612ced57600080fd5b612cf68361298a565b9150612c556020840161298a565b600181811c90821680612d1857607f821691505b60208210811415612d3957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612d9d57612d9d612d74565b500190565b600081612db157612db1612d74565b506000190190565b6000600019821415612dcd57612dcd612d74565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600084516020612e4e8285838a01612906565b855191840191612e618184848a01612906565b8554920191600090600181811c9080831680612e7e57607f831692505b858310811415612e9c57634e487b7160e01b85526022600452602485fd5b808015612eb05760018114612ec157612eee565b60ff19851688528388019550612eee565b60008b81526020902060005b85811015612ee65781548a820152908401908801612ecd565b505083880195505b50939b9a5050505050505050505050565b600082821015612f1157612f11612d74565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612f3b57612f3b612f16565b500690565b6000816000190483118215151615612f5a57612f5a612d74565b500290565b600082612f6e57612f6e612f16565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ff890830184612932565b9695505050505050565b60006020828403121561301457600080fd5b8151611a85816128d3565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f6888cdb1d20ab6bc93ac514345f6a940187deada174fd900f01bb29d6c8482764736f6c634300080b0033
Deployed Bytecode
0x60806040526004361061027d5760003560e01c806370a082311161014f578063b423fe67116100c1578063c87b56dd1161007a578063c87b56dd1461071f578063ce1e58db1461073f578063da3ef23f14610755578063e985e9c514610775578063edac985b146107be578063f2fde38b146107de57600080fd5b8063b423fe6714610683578063b88d4fde146106a3578063c1d7d855146106c3578063c53ceb6a146106d9578063c6572143146106f4578063c66828621461070a57600080fd5b806395d89b411161011357806395d89b4114610610578063a0712d6814610625578063a22cb46514610638578063a7754ebe146103d2578063a98eb87d14610658578063b0ec6dff1461066e57600080fd5b806370a0823114610588578063715018a6146105a85780637fe8dfe1146105bd578063867eb8fa146105dc5780638da5cb5b146105f257600080fd5b80632f745c59116101f35780635001c98c116101ac5780635001c98c146104d957806355f804b3146104f357806357333263146105135780635e326b92146105335780636352211e146105535780636c0360eb1461057357600080fd5b80632f745c59146104075780633af32abf146104275780633ccfd60b1461045757806342842e0e1461046c578063438b63001461048c5780634f6ccce7146104b957600080fd5b80630eb58b6e116102455780630eb58b6e1461035357806318160ddd1461037d578063232452161461039257806323b872dd146103b2578063259769cc146103d2578063287b038b146103e757600080fd5b806301ffc9a71461028257806306fdde03146102b7578063081812fc146102d9578063095ea7b3146103115780630b1181d614610333575b600080fd5b34801561028e57600080fd5b506102a261029d3660046128e9565b6107fe565b60405190151581526020015b60405180910390f35b3480156102c357600080fd5b506102cc610829565b6040516102ae919061295e565b3480156102e557600080fd5b506102f96102f4366004612971565b6108bb565b6040516001600160a01b0390911681526020016102ae565b34801561031d57600080fd5b5061033161032c3660046129a6565b610955565b005b34801561033f57600080fd5b5061033161034e3660046129a6565b610a6b565b34801561035f57600080fd5b5061036f67016345785d8a000081565b6040519081526020016102ae565b34801561038957600080fd5b5060085461036f565b34801561039e57600080fd5b506103316103ad366004612a17565b610b98565b3480156103be57600080fd5b506103316103cd366004612ac4565b610c2e565b3480156103de57600080fd5b5061036f60c881565b3480156103f357600080fd5b50610331610402366004612b10565b610c5f565b34801561041357600080fd5b5061036f6104223660046129a6565b610c9c565b34801561043357600080fd5b506102a2610442366004612b2b565b60126020526000908152604090205460ff1681565b34801561046357600080fd5b50610331610d32565b34801561047857600080fd5b50610331610487366004612ac4565b610dea565b34801561049857600080fd5b506104ac6104a7366004612b2b565b610e05565b6040516102ae9190612b46565b3480156104c557600080fd5b5061036f6104d4366004612971565b610ea7565b3480156104e557600080fd5b506011546102a29060ff1681565b3480156104ff57600080fd5b5061033161050e366004612be2565b610f3a565b34801561051f57600080fd5b506011546102a29062010000900460ff1681565b34801561053f57600080fd5b5061033161054e366004612b10565b610f77565b34801561055f57600080fd5b506102f961056e366004612971565b610fbb565b34801561057f57600080fd5b506102cc611032565b34801561059457600080fd5b5061036f6105a3366004612b2b565b6110c0565b3480156105b457600080fd5b50610331611147565b3480156105c957600080fd5b506011546102a290610100900460ff1681565b3480156105e857600080fd5b5061036f600f5481565b3480156105fe57600080fd5b50600a546001600160a01b03166102f9565b34801561061c57600080fd5b506102cc61117d565b610331610633366004612971565b61118c565b34801561064457600080fd5b50610331610653366004612c2b565b61185e565b34801561066457600080fd5b5061036f60105481565b34801561067a57600080fd5b5061036f60f481565b34801561068f57600080fd5b5061033161069e366004612b10565b611923565b3480156106af57600080fd5b506103316106be366004612c5e565b611969565b3480156106cf57600080fd5b5061036f600d5481565b3480156106e557600080fd5b5061036f66b1a2bc2ec5000081565b34801561070057600080fd5b5061036f610ed881565b34801561071657600080fd5b506102cc6119a1565b34801561072b57600080fd5b506102cc61073a366004612971565b6119ae565b34801561074b57600080fd5b5061036f600e5481565b34801561076157600080fd5b50610331610770366004612be2565b611a8c565b34801561078157600080fd5b506102a2610790366004612cda565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ca57600080fd5b506103316107d9366004612a17565b611ac9565b3480156107ea57600080fd5b506103316107f9366004612b2b565b611b5b565b60006001600160e01b0319821663780e9d6360e01b1480610823575061082382611bf3565b92915050565b60606000805461083890612d04565b80601f016020809104026020016040519081016040528092919081815260200182805461086490612d04565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061096082610fbb565b9050806001600160a01b0316836001600160a01b031614156109ce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610930565b336001600160a01b03821614806109ea57506109ea8133610790565b610a5c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610930565b610a668383611c43565b505050565b600a546001600160a01b03163314610a955760405162461bcd60e51b815260040161093090612d3f565b60f48161117454610aa69190612d8a565b1115610b005760405162461bcd60e51b8152602060048201526024808201527f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c6044820152631bddd95960e21b6064820152608401610930565b60145460015b828111610b46576000610b198483611cb1565b9050610b258582611dea565b82610b2f81612da2565b935050508080610b3e90612db9565b915050610b06565b5060148190556001600160a01b03831660009081526013602052604081208054849290610b74908490612d8a565b92505081905550816111746000828254610b8e9190612d8a565b9091555050505050565b600a546001600160a01b03163314610bc25760405162461bcd60e51b815260040161093090612d3f565b60005b8151811015610c2a57600060126000848481518110610be657610be6612dd4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610c2281612db9565b915050610bc5565b5050565b610c383382611e04565b610c545760405162461bcd60e51b815260040161093090612dea565b610a66838383611efb565b600a546001600160a01b03163314610c895760405162461bcd60e51b815260040161093090612d3f565b6011805460ff1916911515919091179055565b6000610ca7836110c0565b8210610d095760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610930565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610d5c5760405162461bcd60e51b815260040161093090612d3f565b6000610d746064610d6e4760056120a6565b90612125565b611175546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610db0573d6000803e3d6000fd5b50600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c2a573d6000803e3d6000fd5b610a6683838360405180602001604052806000815250611969565b60606000610e12836110c0565b905060008167ffffffffffffffff811115610e2f57610e2f6129d0565b604051908082528060200260200182016040528015610e58578160200160208202803683370190505b50905060005b82811015610e9f57610e708582610c9c565b828281518110610e8257610e82612dd4565b602090810291909101015280610e9781612db9565b915050610e5e565b509392505050565b6000610eb260085490565b8210610f155760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610930565b60088281548110610f2857610f28612dd4565b90600052602060002001549050919050565b600a546001600160a01b03163314610f645760405162461bcd60e51b815260040161093090612d3f565b8051610c2a90600b90602084019061283a565b600a546001600160a01b03163314610fa15760405162461bcd60e51b815260040161093090612d3f565b601180549115156101000261ff0019909216919091179055565b6000818152600260205260408120546001600160a01b0316806108235760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610930565b600b805461103f90612d04565b80601f016020809104026020016040519081016040528092919081815260200182805461106b90612d04565b80156110b85780601f1061108d576101008083540402835291602001916110b8565b820191906000526020600020905b81548152906001019060200180831161109b57829003601f168201915b505050505081565b60006001600160a01b03821661112b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610930565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111715760405162461bcd60e51b815260040161093090612d3f565b61117b6000612182565b565b60606001805461083890612d04565b60115460ff161515600114806111af575060115460ff6101009091041615156001145b806111c7575060115462010000900460ff1615156001145b61121d5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e65206f66207468652073616c65732069732073746172746564207965746044820152602160f81b6064820152608401610930565b6000811161126d5760405162461bcd60e51b815260206004820152601b60248201527f6e65656420746f206d696e74206174206c656173742031204e465400000000006044820152606401610930565b60115460ff16151560011415611493573360009081526012602052604090205460ff1615156001146112db5760405162461bcd60e51b8152602060048201526017602482015276596f75277265206e6f742077686974656c69737465642160481b6044820152606401610930565b600d5481111561132d5760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420696e2072616e67652028312d3229204e4654216044820152606401610930565b6111715460c89061133e90836121d4565b11156113975760405162461bcd60e51b815260206004820152602260248201527f6d6178204e4654207072697661746573616c65206c696d697420657863656564604482015261195960f21b6064820152608401610930565b600e54336000908152601360205260409020546113b490836121d4565b11156114025760405162461bcd60e51b815260206004820152601860248201527f596f752063616e206d696e74206d61782034204e4654732100000000000000006044820152606401610930565b60145460015b82811161144857600061141b8483611cb1565b90506114273382611dea565b8261143181612da2565b93505050808061144090612db9565b915050611408565b506014819055336000908152601360205260408120805484929061146d908490612d8a565b925050819055508161117160008282546114879190612d8a565b9091555061185b915050565b60115460ff6101009091041615156001141561169d573360009081526012602052604090205460ff1615156001146115075760405162461bcd60e51b8152602060048201526017602482015276596f75277265206e6f742077686974656c69737465642160481b6044820152606401610930565b600f548111156115595760405162461bcd60e51b815260206004820181905260248201527f596f752063616e206d696e7420696e2072616e67652028312d3229204e4654216044820152606401610930565b61156a66b1a2bc2ec50000826120a6565b3410156115ae5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610930565b6111735460c8906115bf90836121d4565b11156116185760405162461bcd60e51b815260206004820152602260248201527f6d6178204e46542070726573616c6573616c65206c696d697420657863656564604482015261195960f21b6064820152608401610930565b60145460015b82811161165e5760006116318483611cb1565b905061163d3382611dea565b8261164781612da2565b93505050808061165690612db9565b91505061161e565b5060148190553360009081526013602052604081208054849290611683908490612d8a565b925050819055508161117360008282546114879190612d8a565b60115462010000900460ff1615156001141561185b5760105481111561170f5760405162461bcd60e51b815260206004820152602160248201527f596f752063616e206d696e7420696e2072616e67652028312d313029204e46546044820152602160f81b6064820152608401610930565b61172167016345785d8a0000826120a6565b3410156117655760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610930565b61117254610ed89061177790836121d4565b11156117cf5760405162461bcd60e51b815260206004820152602160248201527f6d6178204e4654207075626c696373616c65206c696d697420657863656564656044820152601960fa1b6064820152608401610930565b60145460015b8281116118155760006117e88483611cb1565b90506117f43382611dea565b826117fe81612da2565b93505050808061180d90612db9565b9150506117d5565b506014819055336000908152601360205260408120805484929061183a908490612d8a565b925050819055508161117260008282546118549190612d8a565b9091555050505b50565b6001600160a01b0382163314156118b75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610930565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461194d5760405162461bcd60e51b815260040161093090612d3f565b60118054911515620100000262ff000019909216919091179055565b6119733383611e04565b61198f5760405162461bcd60e51b815260040161093090612dea565b61199b84848484612233565b50505050565b600c805461103f90612d04565b6000818152600260205260409020546060906001600160a01b0316611a2d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610930565b6000611a37612266565b90506000815111611a575760405180602001604052806000815250611a85565b80611a6184612275565b600c604051602001611a7593929190612e3b565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611ab65760405162461bcd60e51b815260040161093090612d3f565b8051610c2a90600c90602084019061283a565b600a546001600160a01b03163314611af35760405162461bcd60e51b815260040161093090612d3f565b60005b8151811015610c2a57600160126000848481518110611b1757611b17612dd4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611b5381612db9565b915050611af6565b600a546001600160a01b03163314611b855760405162461bcd60e51b815260040161093090612d3f565b6001600160a01b038116611bea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610930565b61185b81612182565b60006001600160e01b031982166380ac58cd60e01b1480611c2457506001600160e01b03198216635b5e139f60e01b145b8061082357506301ffc9a760e01b6001600160e01b0319831614610823565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c7882610fbb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080333a4342611cc3600183612eff565b604080516001600160a01b039096166020870152850193909352606084019190915260808301524060a082015260c0810185905260e08101849052610100016040516020818303038152906040528051906020012060001c9050600060145482611d2d9190612f2c565b9050600060158261115c8110611d4557611d45612dd4565b01549050600081611d57575081611d5a565b50805b60006001601454611d6b9190612eff565b9050808414611dc957600060158261115c8110611d8a57611d8a612dd4565b0154905080611daf578160158661115c8110611da857611da8612dd4565b0155611dc7565b8060158661115c8110611dc457611dc4612dd4565b01555b505b60148054906000611dd983612da2565b909155509198975050505050505050565b610c2a828260405180602001604052806000815250612373565b6000818152600260205260408120546001600160a01b0316611e7d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610930565b6000611e8883610fbb565b9050806001600160a01b0316846001600160a01b03161480611ec35750836001600160a01b0316611eb8846108bb565b6001600160a01b0316145b80611ef357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f0e82610fbb565b6001600160a01b031614611f765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610930565b6001600160a01b038216611fd85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610930565b611fe38383836123a6565b611fee600082611c43565b6001600160a01b0383166000908152600360205260408120805460019290612017908490612eff565b90915550506001600160a01b0382166000908152600360205260408120805460019290612045908490612d8a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826120b557506000610823565b60006120c18385612f40565b9050826120ce8583612f5f565b14611a855760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610930565b60008082116121765760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f0000000000006044820152606401610930565b6000611ef38385612f5f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806121e18385612d8a565b905083811015611a855760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610930565b61223e848484611efb565b61224a8484848461245e565b61199b5760405162461bcd60e51b815260040161093090612f73565b6060600b805461083890612d04565b6060816122995750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122c357806122ad81612db9565b91506122bc9050600a83612f5f565b915061229d565b60008167ffffffffffffffff8111156122de576122de6129d0565b6040519080825280601f01601f191660200182016040528015612308576020820181803683370190505b5090505b8415611ef35761231d600183612eff565b915061232a600a86612f2c565b612335906030612d8a565b60f81b81838151811061234a5761234a612dd4565b60200101906001600160f81b031916908160001a90535061236c600a86612f5f565b945061230c565b61237d838361255c565b61238a600084848461245e565b610a665760405162461bcd60e51b815260040161093090612f73565b6001600160a01b038316612401576123fc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612424565b816001600160a01b0316836001600160a01b0316146124245761242483826126aa565b6001600160a01b03821661243b57610a6681612747565b826001600160a01b0316826001600160a01b031614610a6657610a6682826127f6565b60006001600160a01b0384163b1561255157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124a2903390899088908890600401612fc5565b6020604051808303816000875af19250505080156124dd575060408051601f3d908101601f191682019092526124da91810190613002565b60015b612537573d80801561250b576040519150601f19603f3d011682016040523d82523d6000602084013e612510565b606091505b50805161252f5760405162461bcd60e51b815260040161093090612f73565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ef3565b506001949350505050565b6001600160a01b0382166125b25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610930565b6000818152600260205260409020546001600160a01b0316156126175760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610930565b612623600083836123a6565b6001600160a01b038216600090815260036020526040812080546001929061264c908490612d8a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016126b7846110c0565b6126c19190612eff565b600083815260076020526040902054909150808214612714576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061275990600190612eff565b6000838152600960205260408120546008805493945090928490811061278157612781612dd4565b9060005260206000200154905080600883815481106127a2576127a2612dd4565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806127da576127da61301f565b6001900381819060005260206000200160009055905550505050565b6000612801836110c0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461284690612d04565b90600052602060002090601f01602090048101928261286857600085556128ae565b82601f1061288157805160ff19168380011785556128ae565b828001600101855582156128ae579182015b828111156128ae578251825591602001919060010190612893565b506128ba9291506128be565b5090565b5b808211156128ba57600081556001016128bf565b6001600160e01b03198116811461185b57600080fd5b6000602082840312156128fb57600080fd5b8135611a85816128d3565b60005b83811015612921578181015183820152602001612909565b8381111561199b5750506000910152565b6000815180845261294a816020860160208601612906565b601f01601f19169290920160200192915050565b602081526000611a856020830184612932565b60006020828403121561298357600080fd5b5035919050565b80356001600160a01b03811681146129a157600080fd5b919050565b600080604083850312156129b957600080fd5b6129c28361298a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a0f57612a0f6129d0565b604052919050565b60006020808385031215612a2a57600080fd5b823567ffffffffffffffff80821115612a4257600080fd5b818501915085601f830112612a5657600080fd5b813581811115612a6857612a686129d0565b8060051b9150612a798483016129e6565b8181529183018401918481019088841115612a9357600080fd5b938501935b83851015612ab857612aa98561298a565b82529385019390850190612a98565b98975050505050505050565b600080600060608486031215612ad957600080fd5b612ae28461298a565b9250612af06020850161298a565b9150604084013590509250925092565b803580151581146129a157600080fd5b600060208284031215612b2257600080fd5b611a8582612b00565b600060208284031215612b3d57600080fd5b611a858261298a565b6020808252825182820181905260009190848201906040850190845b81811015612b7e57835183529284019291840191600101612b62565b50909695505050505050565b600067ffffffffffffffff831115612ba457612ba46129d0565b612bb7601f8401601f19166020016129e6565b9050828152838383011115612bcb57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612bf457600080fd5b813567ffffffffffffffff811115612c0b57600080fd5b8201601f81018413612c1c57600080fd5b611ef384823560208401612b8a565b60008060408385031215612c3e57600080fd5b612c478361298a565b9150612c5560208401612b00565b90509250929050565b60008060008060808587031215612c7457600080fd5b612c7d8561298a565b9350612c8b6020860161298a565b925060408501359150606085013567ffffffffffffffff811115612cae57600080fd5b8501601f81018713612cbf57600080fd5b612cce87823560208401612b8a565b91505092959194509250565b60008060408385031215612ced57600080fd5b612cf68361298a565b9150612c556020840161298a565b600181811c90821680612d1857607f821691505b60208210811415612d3957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612d9d57612d9d612d74565b500190565b600081612db157612db1612d74565b506000190190565b6000600019821415612dcd57612dcd612d74565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600084516020612e4e8285838a01612906565b855191840191612e618184848a01612906565b8554920191600090600181811c9080831680612e7e57607f831692505b858310811415612e9c57634e487b7160e01b85526022600452602485fd5b808015612eb05760018114612ec157612eee565b60ff19851688528388019550612eee565b60008b81526020902060005b85811015612ee65781548a820152908401908801612ecd565b505083880195505b50939b9a5050505050505050505050565b600082821015612f1157612f11612d74565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612f3b57612f3b612f16565b500690565b6000816000190483118215151615612f5a57612f5a612d74565b500290565b600082612f6e57612f6e612f16565b500490565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ff890830184612932565b9695505050505050565b60006020828403121561301457600080fd5b8151611a85816128d3565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220f6888cdb1d20ab6bc93ac514345f6a940187deada174fd900f01bb29d6c8482764736f6c634300080b0033
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.