ERC-721
Overview
Max Total Supply
1,222 KOA
Holders
295
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KingdomOfAerin
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721Enumerable.sol"; // Thank you @nftchance / @nftutc24! contract KingdomOfAerin is ERC721Enumerable, Ownable { IERC20 public erc20TokenContractInstance; string public baseURI; bytes32 public merkleRoot; uint256 public constant MAX_SUPPLY = 4444; uint256 public constant MAX_PER_TX_PRES = 8; uint256 public constant MAX_PER_TX_PS = 25; uint256 public constant RESERVES = 94; uint256 public constant priceInWei = 70000000000000000; // 0.07 eth uint256 public constant priceInErc20 = 2500000000000000000; // 2.5 bytes address public proxyRegistryAddress; address public erc20Wallet; bool public saleIsActive = false; bool public allowListSaleIsActive = false; mapping(address => bool) public projectProxy; mapping(address => uint256) public addressToMinted; constructor() ERC721("Kingdom Of Aerin", "KOA") {} function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setSale(bool _preS, bool _puS) public onlyOwner { allowListSaleIsActive = _preS; saleIsActive = _puS; } function setErc20Wallet(address wallet) public onlyOwner { erc20Wallet = wallet; } function setErc20TokenAddress(address _erc20TokenAddress) public onlyOwner { erc20TokenContractInstance = IERC20(_erc20TokenAddress); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } function getGiveaways() external onlyOwner { require(_owners.length == 0, "Reserves already taken."); for (uint256 i; i < RESERVES; i++) { _mint(_msgSender(), i); } } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function allowlistMint(uint256 count, bytes32[] calldata proof) public payable { uint256 totalSupply = _owners.length; require(!saleIsActive, "Sale already in progress"); require(allowListSaleIsActive, "Allow List Sale must be active"); require(count < (MAX_PER_TX_PRES + 1), "Rq qty > maximum pre"); require(totalSupply + count < (MAX_SUPPLY + 1), "Exceedes max supply."); require( count * priceInWei == msg.value, "Incorrect amount of funds provided." ); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require( MerkleProof.verify(proof, merkleRoot, leaf), "Not in Allow List" ); addressToMinted[_msgSender()] += count; for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function publicMint(uint256 count) public payable { uint256 totalSupply = _owners.length; require(saleIsActive, "Sale not on"); require(totalSupply + count < (MAX_SUPPLY + 1), "Exceedes max supply."); require(count < (MAX_PER_TX_PS + 1), "Exceeds max per transaction."); require( count * priceInWei == msg.value, "Incorrect amount of funds provided." ); for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function allowlistMintWithErc20(uint256 count, bytes32[] calldata proof) public payable { uint256 totalSupply = _owners.length; require(!saleIsActive, "Sale already in progress"); require(allowListSaleIsActive, "Allow List Sale must be active"); require(count < (MAX_PER_TX_PRES + 1), "Rq qty > maximum pre"); require(totalSupply + count < (MAX_SUPPLY + 1), "Exceedes max supply."); require( count * priceInErc20 < erc20TokenContractInstance.allowance(msg.sender, address(this)), "Insufficient allowance" ); require( count * priceInErc20 < erc20TokenContractInstance.balanceOf(msg.sender), "Not enough Bytes to mint!" ); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require( MerkleProof.verify(proof, merkleRoot, leaf), "Not in Allow List" ); erc20TokenContractInstance.transferFrom( msg.sender, erc20Wallet, count * priceInErc20 ); addressToMinted[_msgSender()] += count; for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function publicMintWithErc20(uint256 count) public payable { uint256 totalSupply = _owners.length; require(saleIsActive, "Sale not on"); require(totalSupply + count < (MAX_SUPPLY + 1), "Exceedes max supply."); require(count < (MAX_PER_TX_PS + 1), "Exceeds max per transaction."); require( count * priceInErc20 < erc20TokenContractInstance.allowance(msg.sender, address(this)), "Insufficient allowance" ); require( count * priceInErc20 < erc20TokenContractInstance.balanceOf(msg.sender), "Not enough Bytes to mint!" ); erc20TokenContractInstance.transferFrom( msg.sender, erc20Wallet, count * priceInErc20 ); for (uint256 i; i < count; i++) { _mint(_msgSender(), totalSupply + i); } } function burn(uint256 tokenId) public { require( _isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn." ); _burn(tokenId); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } // https://twitter.com/0xInuarashi/status/1481092010698473474 function walletOfOwner(address _address) public view virtual returns (uint256[] memory) { uint256 _balance = balanceOf(_address); uint256[] memory _tokens = new uint256[](_balance); uint256 _index; uint256 _loopThrough = totalSupply(); for (uint256 i = 0; i < _loopThrough; i++) { bool _exists = _exists(i); if (_exists) { if (ownerOf(i) == _address) { _tokens[_index] = i; _index++; } } else if (!_exists && _tokens[_balance - 1] == 0) { _loopThrough++; } } return _tokens; } function batchTransferFrom( address _from, address _to, uint256[] memory _tokenIds ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom( address _from, address _to, uint256[] memory _tokenIds, bytes memory data_ ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool) { for (uint256 i; i < _tokenIds.length; ++i) { if (_owners[_tokenIds[i]] != account) return false; } return true; } function isApprovedForAll(address _owner, address operator) public view override returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry( proxyRegistryAddress ); if ( address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator] ) return true; return super.isApprovedForAll(_owner, operator); } function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } } contract OwnableDelegateProxy {} contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 pragma solidity ^0.8.7; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require( index < _owners.length, "ERC721Enumerable: global index out of bounds" ); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require( index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds" ); uint256 count; for (uint256 i; i < _owners.length; i++) { if (owner == _owners[i]) { if (count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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" ); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) ++count; } return count; } /** * @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 {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _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); _owners.push(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); _owners[tokenId] = address(0); 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); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (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.0 (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 pragma solidity ^0.8.7; library Address { function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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":"MAX_PER_TX_PRES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_PS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"allowlistMintWithErc20","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"erc20TokenContractInstance","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","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":[],"name":"getGiveaways","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"priceInErc20","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMintWithErc20","outputs":[],"stateMutability":"payable","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20TokenAddress","type":"address"}],"name":"setErc20TokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setErc20Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_preS","type":"bool"},{"internalType":"bool","name":"_puS","type":"bool"}],"name":"setSale","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":"tokenId","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":"_address","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
6080604052600a805461ffff60a01b191690553480156200001f57600080fd5b50604080518082018252601081526f25b4b733b237b69027b31020b2b934b760811b6020808301918252835180850190945260038452624b4f4160e81b908401528151919291620000739160009162000102565b5080516200008990600190602084019062000102565b505050620000a6620000a0620000ac60201b60201c565b620000b0565b620001e5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b61341c80620001f56000396000f3fe60806040526004361061024f5760003560e01c806301ffc9a71461025457806306fdde0314610289578063081812fc146102ab5780630922f9c5146102d8578063095ea7b3146102fb57806318160ddd1461031d57806318f3a53c1461033257806323b872dd146103525780632db11544146103725780632eb4a7ab146103855780632f745c591461039b57806332cb6b0c146103bb5780633c8da588146103d15780633ccfd60b146103ec578063413649331461040157806342842e0e1461041657806342966c6814610436578063438b63001461045657806347da7ab0146104835780634d44660c146104985780634dd39275146104b85780634f6ccce7146104d857806355f804b3146104f8578063580231ab146105185780635a4fee30146105345780635bab26e2146105545780636352211e146105845780636c0360eb146105a457806370a08231146105b9578063715018a6146105d95780637bc9200e146105ee5780637cb64759146106015780637e674e55146106215780638da5cb5b1461063457806395d89b41146106495780639ec00c951461065e578063a22cb4651461068b578063abaae6b5146106ab578063b88d4fde146106c0578063c87b56dd146106e0578063cd7c032614610700578063d26ea6c014610720578063de2ed53414610740578063e7b5ea5d14610761578063e985e9c514610774578063eb107e2014610794578063eb8d2444146107b4578063ee82e5a0146107d5578063f12609f9146107f5578063f2fde38b14610815578063f3993d1114610835578063f73c814b14610855575b600080fd5b34801561026057600080fd5b5061027461026f366004612c22565b610875565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b5061029e6108a0565b6040516102809190612ee6565b3480156102b757600080fd5b506102cb6102c6366004612c09565b610932565b6040516102809190612e13565b3480156102e457600080fd5b506102ed605e81565b604051908152602001610280565b34801561030757600080fd5b5061031b610316366004612ba2565b6109bf565b005b34801561032957600080fd5b506002546102ed565b34801561033e57600080fd5b5061031b61034d366004612941565b610ad0565b34801561035e57600080fd5b5061031b61036d366004612a80565b610b21565b61031b610380366004612c09565b610b53565b34801561039157600080fd5b506102ed60085481565b3480156103a757600080fd5b506102ed6103b6366004612ba2565b610c3d565b3480156103c757600080fd5b506102ed61115c81565b3480156103dd57600080fd5b506102ed66f8b0a10e47000081565b3480156103f857600080fd5b5061031b610cf0565b34801561040d57600080fd5b506102ed601981565b34801561042257600080fd5b5061031b610431366004612a80565b610d52565b34801561044257600080fd5b5061031b610451366004612c09565b610d6d565b34801561046257600080fd5b50610476610471366004612941565b610dc6565b6040516102809190612ea2565b34801561048f57600080fd5b506102ed600881565b3480156104a457600080fd5b506102746104b3366004612b20565b610efc565b3480156104c457600080fd5b50600a546102cb906001600160a01b031681565b3480156104e457600080fd5b506102ed6104f3366004612c09565b610f7e565b34801561050457600080fd5b5061031b610513366004612c79565b610feb565b34801561052457600080fd5b506102ed6722b1c8c1227a000081565b34801561054057600080fd5b5061031b61054f3660046129f8565b61102d565b34801561056057600080fd5b5061027461056f366004612941565b600b6020526000908152604090205460ff1681565b34801561059057600080fd5b506102cb61059f366004612c09565b611077565b3480156105b057600080fd5b5061029e611103565b3480156105c557600080fd5b506102ed6105d4366004612941565b611191565b3480156105e557600080fd5b5061031b61125f565b61031b6105fc366004612cda565b61129a565b34801561060d57600080fd5b5061031b61061c366004612c09565b61145e565b61031b61062f366004612cda565b611492565b34801561064057600080fd5b506102cb611817565b34801561065557600080fd5b5061029e611826565b34801561066a57600080fd5b506102ed610679366004612941565b600c6020526000908152604090205481565b34801561069757600080fd5b5061031b6106a6366004612b74565b611835565b3480156106b757600080fd5b5061031b6118f6565b3480156106cc57600080fd5b5061031b6106db366004612ac1565b611997565b3480156106ec57600080fd5b5061029e6106fb366004612c09565b6119cf565b34801561070c57600080fd5b506009546102cb906001600160a01b031681565b34801561072c57600080fd5b5061031b61073b366004612941565b611a50565b34801561074c57600080fd5b50600a5461027490600160a81b900460ff1681565b61031b61076f366004612c09565b611aa1565b34801561078057600080fd5b5061027461078f36600461295e565b611d4f565b3480156107a057600080fd5b5061031b6107af366004612941565b611e46565b3480156107c057600080fd5b50600a5461027490600160a01b900460ff1681565b3480156107e157600080fd5b5061031b6107f0366004612beb565b611e97565b34801561080157600080fd5b506006546102cb906001600160a01b031681565b34801561082157600080fd5b5061031b610830366004612941565b611efa565b34801561084157600080fd5b5061031b610850366004612997565b611f97565b34801561086157600080fd5b5061031b610870366004612941565b611fd9565b60006001600160e01b0319821663780e9d6360e01b148061089a575061089a82612031565b92915050565b6060600080546108af906132cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108db906132cb565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093d82612081565b6109a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006109ca82611077565b9050806001600160a01b0316836001600160a01b03161415610a385760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161099a565b336001600160a01b0382161480610a545750610a548133611d4f565b610ac15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161099a565b610acb83836120cb565b505050565b33610ad9611817565b6001600160a01b031614610aff5760405162461bcd60e51b815260040161099a906130b6565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610b2c335b82612139565b610b485760405162461bcd60e51b815260040161099a9061311e565b610acb8383836121fb565b600254600a54600160a01b900460ff16610b7f5760405162461bcd60e51b815260040161099a906131e8565b610b8c61115c600161323d565b610b96838361323d565b10610bb35760405162461bcd60e51b815260040161099a90612ff8565b610bbf6019600161323d565b8210610bdd5760405162461bcd60e51b815260040161099a9061316f565b34610bef66f8b0a10e47000084613269565b14610c0c5760405162461bcd60e51b815260040161099a906131a5565b60005b82811015610acb57610c2b335b610c26838561323d565b61233f565b80610c3581613306565b915050610c0f565b6000610c4883611191565b8210610c665760405162461bcd60e51b815260040161099a90612f5b565b6000805b600254811015610cd75760028181548110610c8757610c87613361565b6000918252602090912001546001600160a01b0386811691161415610cc55783821415610cb757915061089a9050565b81610cc181613306565b9250505b80610ccf81613306565b915050610c6a565b5060405162461bcd60e51b815260040161099a90612f5b565b33610cf9611817565b6001600160a01b031614610d1f5760405162461bcd60e51b815260040161099a906130b6565b6040514790339082156108fc029083906000818181858888f19350505050158015610d4e573d6000803e3d6000fd5b5050565b610acb83838360405180602001604052806000815250611997565b610d7633610b26565b610dba5760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b604482015260640161099a565b610dc3816123a9565b50565b60606000610dd383611191565b90506000816001600160401b03811115610def57610def613377565b604051908082528060200260200182016040528015610e18578160200160208202803683370190505b509050600080610e2760025490565b905060005b81811015610ef1576000610e3f82612081565b90508015610e9a57876001600160a01b0316610e5a83611077565b6001600160a01b03161415610e955781858581518110610e7c57610e7c613361565b602090810291909101015283610e9181613306565b9450505b610ede565b80158015610ecb575084610eaf600188613288565b81518110610ebf57610ebf613361565b60200260200101516000145b15610ede5782610eda81613306565b9350505b5080610ee981613306565b915050610e2c565b509195945050505050565b6000805b82811015610f7157846001600160a01b03166002858584818110610f2657610f26613361565b9050602002013581548110610f3d57610f3d613361565b6000918252602090912001546001600160a01b031614610f61576000915050610f77565b610f6a81613306565b9050610f00565b50600190505b9392505050565b6002546000908210610fe75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161099a565b5090565b33610ff4611817565b6001600160a01b03161461101a5760405162461bcd60e51b815260040161099a906130b6565b8051610d4e90600790602084019061276a565b60005b82518110156110705761105e858585848151811061105057611050613361565b602002602001015185611997565b8061106881613306565b915050611030565b5050505050565b6000806002838154811061108d5761108d613361565b6000918252602090912001546001600160a01b031690508061089a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161099a565b60078054611110906132cb565b80601f016020809104026020016040519081016040528092919081815260200182805461113c906132cb565b80156111895780601f1061115e57610100808354040283529160200191611189565b820191906000526020600020905b81548152906001019060200180831161116c57829003601f168201915b505050505081565b60006001600160a01b0382166111fc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161099a565b6000805b600254811015611258576002818154811061121d5761121d613361565b6000918252602090912001546001600160a01b03858116911614156112485761124582613306565b91505b61125181613306565b9050611200565b5092915050565b33611268611817565b6001600160a01b03161461128e5760405162461bcd60e51b815260040161099a906130b6565b6112986000612419565b565b600254600a54600160a01b900460ff16156112c75760405162461bcd60e51b815260040161099a90613026565b600a54600160a81b900460ff166112f05760405162461bcd60e51b815260040161099a90612f24565b6112fc6008600161323d565b841061131a5760405162461bcd60e51b815260040161099a90613088565b61132761115c600161323d565b611331858361323d565b1061134e5760405162461bcd60e51b815260040161099a90612ff8565b3461136066f8b0a10e47000086613269565b1461137d5760405162461bcd60e51b815260040161099a906131a5565b6000336040516020016113909190612d54565b6040516020818303038152906040528051906020012090506113e984848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600854915084905061246b565b6114055760405162461bcd60e51b815260040161099a90612ef9565b336000908152600c60205260408120805487929061142490849061323d565b90915550600090505b8581101561145657611444335b610c26838661323d565b8061144e81613306565b91505061142d565b505050505050565b33611467611817565b6001600160a01b03161461148d5760405162461bcd60e51b815260040161099a906130b6565b600855565b600254600a54600160a01b900460ff16156114bf5760405162461bcd60e51b815260040161099a90613026565b600a54600160a81b900460ff166114e85760405162461bcd60e51b815260040161099a90612f24565b6114f46008600161323d565b84106115125760405162461bcd60e51b815260040161099a90613088565b61151f61115c600161323d565b611529858361323d565b106115465760405162461bcd60e51b815260040161099a90612ff8565b600654604051636eb1769f60e11b81526001600160a01b039091169063dd62ed3e906115789033903090600401612e27565b60206040518083038186803b15801561159057600080fd5b505afa1580156115a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c89190612cc1565b6115da6722b1c8c1227a000086613269565b106115f75760405162461bcd60e51b815260040161099a90613058565b6006546040516370a0823160e01b81526001600160a01b03909116906370a0823190611627903390600401612e13565b60206040518083038186803b15801561163f57600080fd5b505afa158015611653573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116779190612cc1565b6116896722b1c8c1227a000086613269565b106116a65760405162461bcd60e51b815260040161099a906130eb565b6000336040516020016116b99190612d54565b60405160208183030381529060405280519060200120905061171284848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600854915084905061246b565b61172e5760405162461bcd60e51b815260040161099a90612ef9565b600654600a546001600160a01b03918216916323b872dd9133911661175b6722b1c8c1227a00008a613269565b6040518463ffffffff1660e01b815260040161177993929190612e41565b602060405180830381600087803b15801561179357600080fd5b505af11580156117a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cb9190612bce565b50336000908152600c6020526040812080548792906117eb90849061323d565b90915550600090505b85811015611456576118053361143a565b8061180f81613306565b9150506117f4565b6005546001600160a01b031690565b6060600180546108af906132cb565b6001600160a01b03821633141561188a5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161099a565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336118ff611817565b6001600160a01b0316146119255760405162461bcd60e51b815260040161099a906130b6565b6002541561196f5760405162461bcd60e51b81526020600482015260176024820152762932b9b2b93b32b99030b63932b0b23c903a30b5b2b71760491b604482015260640161099a565b60005b605e811015610dc357611985338261233f565b8061198f81613306565b915050611972565b6119a13383612139565b6119bd5760405162461bcd60e51b815260040161099a9061311e565b6119c984848484612481565b50505050565b60606119da82612081565b611a1e5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161099a565b6007611a29836124b4565b604051602001611a3a929190612d6c565b6040516020818303038152906040529050919050565b33611a59611817565b6001600160a01b031614611a7f5760405162461bcd60e51b815260040161099a906130b6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600254600a54600160a01b900460ff16611acd5760405162461bcd60e51b815260040161099a906131e8565b611ada61115c600161323d565b611ae4838361323d565b10611b015760405162461bcd60e51b815260040161099a90612ff8565b611b0d6019600161323d565b8210611b2b5760405162461bcd60e51b815260040161099a9061316f565b600654604051636eb1769f60e11b81526001600160a01b039091169063dd62ed3e90611b5d9033903090600401612e27565b60206040518083038186803b158015611b7557600080fd5b505afa158015611b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bad9190612cc1565b611bbf6722b1c8c1227a000084613269565b10611bdc5760405162461bcd60e51b815260040161099a90613058565b6006546040516370a0823160e01b81526001600160a01b03909116906370a0823190611c0c903390600401612e13565b60206040518083038186803b158015611c2457600080fd5b505afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c9190612cc1565b611c6e6722b1c8c1227a000084613269565b10611c8b5760405162461bcd60e51b815260040161099a906130eb565b600654600a546001600160a01b03918216916323b872dd91339116611cb86722b1c8c1227a000087613269565b6040518463ffffffff1660e01b8152600401611cd693929190612e41565b602060405180830381600087803b158015611cf057600080fd5b505af1158015611d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d289190612bce565b5060005b82811015610acb57611d3d33610c1c565b80611d4781613306565b915050611d2c565b60095460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190611d88908890600401612e13565b60206040518083038186803b158015611da057600080fd5b505afa158015611db4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd89190612c5c565b6001600160a01b03161480611e0557506001600160a01b0383166000908152600b602052604090205460ff165b15611e1457600191505061089a565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b33611e4f611817565b6001600160a01b031614611e755760405162461bcd60e51b815260040161099a906130b6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b33611ea0611817565b6001600160a01b031614611ec65760405162461bcd60e51b815260040161099a906130b6565b600a805461ffff60a01b1916600160a81b9315159390930260ff60a01b191692909217600160a01b91151591909102179055565b33611f03611817565b6001600160a01b031614611f295760405162461bcd60e51b815260040161099a906130b6565b6001600160a01b038116611f8e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099a565b610dc381612419565b60005b81518110156119c957611fc78484848481518110611fba57611fba613361565b6020026020010151610b21565b80611fd181613306565b915050611f9a565b33611fe2611817565b6001600160a01b0316146120085760405162461bcd60e51b815260040161099a906130b6565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061206257506001600160e01b03198216635b5e139f60e01b145b8061089a57506301ffc9a760e01b6001600160e01b031983161461089a565b6002546000908210801561089a575060006001600160a01b0316600283815481106120ae576120ae613361565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061210082611077565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061214482612081565b6121a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161099a565b60006121b083611077565b9050806001600160a01b0316846001600160a01b031614806121eb5750836001600160a01b03166121e084610932565b6001600160a01b0316145b80611e3e5750611e3e8185611d4f565b826001600160a01b031661220e82611077565b6001600160a01b0316146122765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161099a565b6001600160a01b0382166122d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161099a565b6122e36000826120cb565b81600282815481106122f7576122f7613361565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716916000805160206133c78339815191529190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392906000805160206133c7833981519152908290a45050565b60006123b482611077565b90506123c16000836120cb565b6000600283815481106123d6576123d6613361565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416906000805160206133c7833981519152908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261247885846125b1565b14949350505050565b61248c8484846121fb565b6124988484848461265d565b6119c95760405162461bcd60e51b815260040161099a90612fa6565b6060816124d85750506040805180820190915260018152600360fc1b602082015290565b8160005b811561250257806124ec81613306565b91506124fb9050600a83613255565b91506124dc565b6000816001600160401b0381111561251c5761251c613377565b6040519080825280601f01601f191660200182016040528015612546576020820181803683370190505b5090505b8415611e3e5761255b600183613288565b9150612568600a86613321565b61257390603061323d565b60f81b81838151811061258857612588613361565b60200101906001600160f81b031916908160001a9053506125aa600a86613255565b945061254a565b600081815b84518110156126555760008582815181106125d3576125d3613361565b60200260200101519050808311612615576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612642565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061264d81613306565b9150506125b6565b509392505050565b60006001600160a01b0384163b1561275f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126a1903390899088908890600401612e65565b602060405180830381600087803b1580156126bb57600080fd5b505af19250505080156126eb575060408051601f3d908101601f191682019092526126e891810190612c3f565b60015b612745573d808015612719576040519150601f19603f3d011682016040523d82523d6000602084013e61271e565b606091505b50805161273d5760405162461bcd60e51b815260040161099a90612fa6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e3e565b506001949350505050565b828054612776906132cb565b90600052602060002090601f01602090048101928261279857600085556127de565b82601f106127b157805160ff19168380011785556127de565b828001600101855582156127de579182015b828111156127de5782518255916020019190600101906127c3565b50610fe79291505b80821115610fe757600081556001016127e6565b60006001600160401b0383111561281357612813613377565b612826601f8401601f191660200161320d565b905082815283838301111561283a57600080fd5b828260208301376000602084830101529392505050565b60008083601f84011261286357600080fd5b5081356001600160401b0381111561287a57600080fd5b6020830191508360208260051b850101111561289557600080fd5b9250929050565b600082601f8301126128ad57600080fd5b813560206001600160401b038211156128c8576128c8613377565b8160051b6128d782820161320d565b8381528281019086840183880185018910156128f257600080fd5b600093505b858410156129155780358352600193909301929184019184016128f7565b50979650505050505050565b600082601f83011261293257600080fd5b610f77838335602085016127fa565b60006020828403121561295357600080fd5b8135610f778161338d565b6000806040838503121561297157600080fd5b823561297c8161338d565b9150602083013561298c8161338d565b809150509250929050565b6000806000606084860312156129ac57600080fd5b83356129b78161338d565b925060208401356129c78161338d565b915060408401356001600160401b038111156129e257600080fd5b6129ee8682870161289c565b9150509250925092565b60008060008060808587031215612a0e57600080fd5b8435612a198161338d565b93506020850135612a298161338d565b925060408501356001600160401b0380821115612a4557600080fd5b612a518883890161289c565b93506060870135915080821115612a6757600080fd5b50612a7487828801612921565b91505092959194509250565b600080600060608486031215612a9557600080fd5b8335612aa08161338d565b92506020840135612ab08161338d565b929592945050506040919091013590565b60008060008060808587031215612ad757600080fd5b8435612ae28161338d565b93506020850135612af28161338d565b92506040850135915060608501356001600160401b03811115612b1457600080fd5b612a7487828801612921565b600080600060408486031215612b3557600080fd5b8335612b408161338d565b925060208401356001600160401b03811115612b5b57600080fd5b612b6786828701612851565b9497909650939450505050565b60008060408385031215612b8757600080fd5b8235612b928161338d565b9150602083013561298c816133a2565b60008060408385031215612bb557600080fd5b8235612bc08161338d565b946020939093013593505050565b600060208284031215612be057600080fd5b8151610f77816133a2565b60008060408385031215612bfe57600080fd5b8235612b92816133a2565b600060208284031215612c1b57600080fd5b5035919050565b600060208284031215612c3457600080fd5b8135610f77816133b0565b600060208284031215612c5157600080fd5b8151610f77816133b0565b600060208284031215612c6e57600080fd5b8151610f778161338d565b600060208284031215612c8b57600080fd5b81356001600160401b03811115612ca157600080fd5b8201601f81018413612cb257600080fd5b611e3e848235602084016127fa565b600060208284031215612cd357600080fd5b5051919050565b600080600060408486031215612cef57600080fd5b8335925060208401356001600160401b03811115612b5b57600080fd5b60008151808452612d2481602086016020860161329f565b601f01601f19169290920160200192915050565b60008151612d4a81856020860161329f565b9290920192915050565b60609190911b6001600160601b031916815260140190565b600080845481600182811c915080831680612d8857607f831692505b6020808410821415612da857634e487b7160e01b86526022600452602486fd5b818015612dbc5760018114612dcd57612dfa565b60ff19861689528489019650612dfa565b60008b81526020902060005b86811015612df25781548b820152908501908301612dd9565b505084890196505b505050505050612e0a8185612d38565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9890830184612d0c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612eda57835183529284019291840191600101612ebe565b50909695505050505050565b602081526000610f776020830184612d0c565b602080825260119082015270139bdd081a5b88105b1b1bddc8131a5cdd607a1b604082015260600190565b6020808252601e908201527f416c6c6f77204c6973742053616c65206d757374206265206163746976650000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526014908201527322bc31b2b2b232b99036b0bc1039bab838363c9760611b604082015260600190565b60208082526018908201527753616c6520616c726561647920696e2070726f677265737360401b604082015260600190565b602080825260169082015275496e73756666696369656e7420616c6c6f77616e636560501b604082015260600190565b602080825260149082015273527120717479203e206d6178696d756d2070726560601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601990820152784e6f7420656e6f75676820427974657320746f206d696e742160381b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601c908201527b22bc31b2b2b2399036b0bc103832b9103a3930b739b0b1ba34b7b71760211b604082015260600190565b60208082526023908201527f496e636f727265637420616d6f756e74206f662066756e64732070726f76696460408201526232b21760e91b606082015260800190565b6020808252600b908201526a29b0b632903737ba1037b760a91b604082015260600190565b604051601f8201601f191681016001600160401b038111828210171561323557613235613377565b604052919050565b6000821982111561325057613250613335565b500190565b6000826132645761326461334b565b500490565b600081600019048311821515161561328357613283613335565b500290565b60008282101561329a5761329a613335565b500390565b60005b838110156132ba5781810151838201526020016132a2565b838111156119c95750506000910152565b600181811c908216806132df57607f821691505b6020821081141561330057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561331a5761331a613335565b5060010190565b6000826133305761333061334b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dc357600080fd5b8015158114610dc357600080fd5b6001600160e01b031981168114610dc357600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a659f95e44448eb0233a3f6aac7be38be5414a4e83738160d34e58127eb2f72164736f6c63430008070033
Deployed Bytecode
0x60806040526004361061024f5760003560e01c806301ffc9a71461025457806306fdde0314610289578063081812fc146102ab5780630922f9c5146102d8578063095ea7b3146102fb57806318160ddd1461031d57806318f3a53c1461033257806323b872dd146103525780632db11544146103725780632eb4a7ab146103855780632f745c591461039b57806332cb6b0c146103bb5780633c8da588146103d15780633ccfd60b146103ec578063413649331461040157806342842e0e1461041657806342966c6814610436578063438b63001461045657806347da7ab0146104835780634d44660c146104985780634dd39275146104b85780634f6ccce7146104d857806355f804b3146104f8578063580231ab146105185780635a4fee30146105345780635bab26e2146105545780636352211e146105845780636c0360eb146105a457806370a08231146105b9578063715018a6146105d95780637bc9200e146105ee5780637cb64759146106015780637e674e55146106215780638da5cb5b1461063457806395d89b41146106495780639ec00c951461065e578063a22cb4651461068b578063abaae6b5146106ab578063b88d4fde146106c0578063c87b56dd146106e0578063cd7c032614610700578063d26ea6c014610720578063de2ed53414610740578063e7b5ea5d14610761578063e985e9c514610774578063eb107e2014610794578063eb8d2444146107b4578063ee82e5a0146107d5578063f12609f9146107f5578063f2fde38b14610815578063f3993d1114610835578063f73c814b14610855575b600080fd5b34801561026057600080fd5b5061027461026f366004612c22565b610875565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b5061029e6108a0565b6040516102809190612ee6565b3480156102b757600080fd5b506102cb6102c6366004612c09565b610932565b6040516102809190612e13565b3480156102e457600080fd5b506102ed605e81565b604051908152602001610280565b34801561030757600080fd5b5061031b610316366004612ba2565b6109bf565b005b34801561032957600080fd5b506002546102ed565b34801561033e57600080fd5b5061031b61034d366004612941565b610ad0565b34801561035e57600080fd5b5061031b61036d366004612a80565b610b21565b61031b610380366004612c09565b610b53565b34801561039157600080fd5b506102ed60085481565b3480156103a757600080fd5b506102ed6103b6366004612ba2565b610c3d565b3480156103c757600080fd5b506102ed61115c81565b3480156103dd57600080fd5b506102ed66f8b0a10e47000081565b3480156103f857600080fd5b5061031b610cf0565b34801561040d57600080fd5b506102ed601981565b34801561042257600080fd5b5061031b610431366004612a80565b610d52565b34801561044257600080fd5b5061031b610451366004612c09565b610d6d565b34801561046257600080fd5b50610476610471366004612941565b610dc6565b6040516102809190612ea2565b34801561048f57600080fd5b506102ed600881565b3480156104a457600080fd5b506102746104b3366004612b20565b610efc565b3480156104c457600080fd5b50600a546102cb906001600160a01b031681565b3480156104e457600080fd5b506102ed6104f3366004612c09565b610f7e565b34801561050457600080fd5b5061031b610513366004612c79565b610feb565b34801561052457600080fd5b506102ed6722b1c8c1227a000081565b34801561054057600080fd5b5061031b61054f3660046129f8565b61102d565b34801561056057600080fd5b5061027461056f366004612941565b600b6020526000908152604090205460ff1681565b34801561059057600080fd5b506102cb61059f366004612c09565b611077565b3480156105b057600080fd5b5061029e611103565b3480156105c557600080fd5b506102ed6105d4366004612941565b611191565b3480156105e557600080fd5b5061031b61125f565b61031b6105fc366004612cda565b61129a565b34801561060d57600080fd5b5061031b61061c366004612c09565b61145e565b61031b61062f366004612cda565b611492565b34801561064057600080fd5b506102cb611817565b34801561065557600080fd5b5061029e611826565b34801561066a57600080fd5b506102ed610679366004612941565b600c6020526000908152604090205481565b34801561069757600080fd5b5061031b6106a6366004612b74565b611835565b3480156106b757600080fd5b5061031b6118f6565b3480156106cc57600080fd5b5061031b6106db366004612ac1565b611997565b3480156106ec57600080fd5b5061029e6106fb366004612c09565b6119cf565b34801561070c57600080fd5b506009546102cb906001600160a01b031681565b34801561072c57600080fd5b5061031b61073b366004612941565b611a50565b34801561074c57600080fd5b50600a5461027490600160a81b900460ff1681565b61031b61076f366004612c09565b611aa1565b34801561078057600080fd5b5061027461078f36600461295e565b611d4f565b3480156107a057600080fd5b5061031b6107af366004612941565b611e46565b3480156107c057600080fd5b50600a5461027490600160a01b900460ff1681565b3480156107e157600080fd5b5061031b6107f0366004612beb565b611e97565b34801561080157600080fd5b506006546102cb906001600160a01b031681565b34801561082157600080fd5b5061031b610830366004612941565b611efa565b34801561084157600080fd5b5061031b610850366004612997565b611f97565b34801561086157600080fd5b5061031b610870366004612941565b611fd9565b60006001600160e01b0319821663780e9d6360e01b148061089a575061089a82612031565b92915050565b6060600080546108af906132cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108db906132cb565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093d82612081565b6109a35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006109ca82611077565b9050806001600160a01b0316836001600160a01b03161415610a385760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161099a565b336001600160a01b0382161480610a545750610a548133611d4f565b610ac15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161099a565b610acb83836120cb565b505050565b33610ad9611817565b6001600160a01b031614610aff5760405162461bcd60e51b815260040161099a906130b6565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610b2c335b82612139565b610b485760405162461bcd60e51b815260040161099a9061311e565b610acb8383836121fb565b600254600a54600160a01b900460ff16610b7f5760405162461bcd60e51b815260040161099a906131e8565b610b8c61115c600161323d565b610b96838361323d565b10610bb35760405162461bcd60e51b815260040161099a90612ff8565b610bbf6019600161323d565b8210610bdd5760405162461bcd60e51b815260040161099a9061316f565b34610bef66f8b0a10e47000084613269565b14610c0c5760405162461bcd60e51b815260040161099a906131a5565b60005b82811015610acb57610c2b335b610c26838561323d565b61233f565b80610c3581613306565b915050610c0f565b6000610c4883611191565b8210610c665760405162461bcd60e51b815260040161099a90612f5b565b6000805b600254811015610cd75760028181548110610c8757610c87613361565b6000918252602090912001546001600160a01b0386811691161415610cc55783821415610cb757915061089a9050565b81610cc181613306565b9250505b80610ccf81613306565b915050610c6a565b5060405162461bcd60e51b815260040161099a90612f5b565b33610cf9611817565b6001600160a01b031614610d1f5760405162461bcd60e51b815260040161099a906130b6565b6040514790339082156108fc029083906000818181858888f19350505050158015610d4e573d6000803e3d6000fd5b5050565b610acb83838360405180602001604052806000815250611997565b610d7633610b26565b610dba5760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b604482015260640161099a565b610dc3816123a9565b50565b60606000610dd383611191565b90506000816001600160401b03811115610def57610def613377565b604051908082528060200260200182016040528015610e18578160200160208202803683370190505b509050600080610e2760025490565b905060005b81811015610ef1576000610e3f82612081565b90508015610e9a57876001600160a01b0316610e5a83611077565b6001600160a01b03161415610e955781858581518110610e7c57610e7c613361565b602090810291909101015283610e9181613306565b9450505b610ede565b80158015610ecb575084610eaf600188613288565b81518110610ebf57610ebf613361565b60200260200101516000145b15610ede5782610eda81613306565b9350505b5080610ee981613306565b915050610e2c565b509195945050505050565b6000805b82811015610f7157846001600160a01b03166002858584818110610f2657610f26613361565b9050602002013581548110610f3d57610f3d613361565b6000918252602090912001546001600160a01b031614610f61576000915050610f77565b610f6a81613306565b9050610f00565b50600190505b9392505050565b6002546000908210610fe75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161099a565b5090565b33610ff4611817565b6001600160a01b03161461101a5760405162461bcd60e51b815260040161099a906130b6565b8051610d4e90600790602084019061276a565b60005b82518110156110705761105e858585848151811061105057611050613361565b602002602001015185611997565b8061106881613306565b915050611030565b5050505050565b6000806002838154811061108d5761108d613361565b6000918252602090912001546001600160a01b031690508061089a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161099a565b60078054611110906132cb565b80601f016020809104026020016040519081016040528092919081815260200182805461113c906132cb565b80156111895780601f1061115e57610100808354040283529160200191611189565b820191906000526020600020905b81548152906001019060200180831161116c57829003601f168201915b505050505081565b60006001600160a01b0382166111fc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161099a565b6000805b600254811015611258576002818154811061121d5761121d613361565b6000918252602090912001546001600160a01b03858116911614156112485761124582613306565b91505b61125181613306565b9050611200565b5092915050565b33611268611817565b6001600160a01b03161461128e5760405162461bcd60e51b815260040161099a906130b6565b6112986000612419565b565b600254600a54600160a01b900460ff16156112c75760405162461bcd60e51b815260040161099a90613026565b600a54600160a81b900460ff166112f05760405162461bcd60e51b815260040161099a90612f24565b6112fc6008600161323d565b841061131a5760405162461bcd60e51b815260040161099a90613088565b61132761115c600161323d565b611331858361323d565b1061134e5760405162461bcd60e51b815260040161099a90612ff8565b3461136066f8b0a10e47000086613269565b1461137d5760405162461bcd60e51b815260040161099a906131a5565b6000336040516020016113909190612d54565b6040516020818303038152906040528051906020012090506113e984848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600854915084905061246b565b6114055760405162461bcd60e51b815260040161099a90612ef9565b336000908152600c60205260408120805487929061142490849061323d565b90915550600090505b8581101561145657611444335b610c26838661323d565b8061144e81613306565b91505061142d565b505050505050565b33611467611817565b6001600160a01b03161461148d5760405162461bcd60e51b815260040161099a906130b6565b600855565b600254600a54600160a01b900460ff16156114bf5760405162461bcd60e51b815260040161099a90613026565b600a54600160a81b900460ff166114e85760405162461bcd60e51b815260040161099a90612f24565b6114f46008600161323d565b84106115125760405162461bcd60e51b815260040161099a90613088565b61151f61115c600161323d565b611529858361323d565b106115465760405162461bcd60e51b815260040161099a90612ff8565b600654604051636eb1769f60e11b81526001600160a01b039091169063dd62ed3e906115789033903090600401612e27565b60206040518083038186803b15801561159057600080fd5b505afa1580156115a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c89190612cc1565b6115da6722b1c8c1227a000086613269565b106115f75760405162461bcd60e51b815260040161099a90613058565b6006546040516370a0823160e01b81526001600160a01b03909116906370a0823190611627903390600401612e13565b60206040518083038186803b15801561163f57600080fd5b505afa158015611653573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116779190612cc1565b6116896722b1c8c1227a000086613269565b106116a65760405162461bcd60e51b815260040161099a906130eb565b6000336040516020016116b99190612d54565b60405160208183030381529060405280519060200120905061171284848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600854915084905061246b565b61172e5760405162461bcd60e51b815260040161099a90612ef9565b600654600a546001600160a01b03918216916323b872dd9133911661175b6722b1c8c1227a00008a613269565b6040518463ffffffff1660e01b815260040161177993929190612e41565b602060405180830381600087803b15801561179357600080fd5b505af11580156117a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cb9190612bce565b50336000908152600c6020526040812080548792906117eb90849061323d565b90915550600090505b85811015611456576118053361143a565b8061180f81613306565b9150506117f4565b6005546001600160a01b031690565b6060600180546108af906132cb565b6001600160a01b03821633141561188a5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161099a565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336118ff611817565b6001600160a01b0316146119255760405162461bcd60e51b815260040161099a906130b6565b6002541561196f5760405162461bcd60e51b81526020600482015260176024820152762932b9b2b93b32b99030b63932b0b23c903a30b5b2b71760491b604482015260640161099a565b60005b605e811015610dc357611985338261233f565b8061198f81613306565b915050611972565b6119a13383612139565b6119bd5760405162461bcd60e51b815260040161099a9061311e565b6119c984848484612481565b50505050565b60606119da82612081565b611a1e5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161099a565b6007611a29836124b4565b604051602001611a3a929190612d6c565b6040516020818303038152906040529050919050565b33611a59611817565b6001600160a01b031614611a7f5760405162461bcd60e51b815260040161099a906130b6565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600254600a54600160a01b900460ff16611acd5760405162461bcd60e51b815260040161099a906131e8565b611ada61115c600161323d565b611ae4838361323d565b10611b015760405162461bcd60e51b815260040161099a90612ff8565b611b0d6019600161323d565b8210611b2b5760405162461bcd60e51b815260040161099a9061316f565b600654604051636eb1769f60e11b81526001600160a01b039091169063dd62ed3e90611b5d9033903090600401612e27565b60206040518083038186803b158015611b7557600080fd5b505afa158015611b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bad9190612cc1565b611bbf6722b1c8c1227a000084613269565b10611bdc5760405162461bcd60e51b815260040161099a90613058565b6006546040516370a0823160e01b81526001600160a01b03909116906370a0823190611c0c903390600401612e13565b60206040518083038186803b158015611c2457600080fd5b505afa158015611c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5c9190612cc1565b611c6e6722b1c8c1227a000084613269565b10611c8b5760405162461bcd60e51b815260040161099a906130eb565b600654600a546001600160a01b03918216916323b872dd91339116611cb86722b1c8c1227a000087613269565b6040518463ffffffff1660e01b8152600401611cd693929190612e41565b602060405180830381600087803b158015611cf057600080fd5b505af1158015611d04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d289190612bce565b5060005b82811015610acb57611d3d33610c1c565b80611d4781613306565b915050611d2c565b60095460405163c455279160e01b81526000916001600160a01b039081169190841690829063c455279190611d88908890600401612e13565b60206040518083038186803b158015611da057600080fd5b505afa158015611db4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd89190612c5c565b6001600160a01b03161480611e0557506001600160a01b0383166000908152600b602052604090205460ff165b15611e1457600191505061089a565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b33611e4f611817565b6001600160a01b031614611e755760405162461bcd60e51b815260040161099a906130b6565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b33611ea0611817565b6001600160a01b031614611ec65760405162461bcd60e51b815260040161099a906130b6565b600a805461ffff60a01b1916600160a81b9315159390930260ff60a01b191692909217600160a01b91151591909102179055565b33611f03611817565b6001600160a01b031614611f295760405162461bcd60e51b815260040161099a906130b6565b6001600160a01b038116611f8e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099a565b610dc381612419565b60005b81518110156119c957611fc78484848481518110611fba57611fba613361565b6020026020010151610b21565b80611fd181613306565b915050611f9a565b33611fe2611817565b6001600160a01b0316146120085760405162461bcd60e51b815260040161099a906130b6565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061206257506001600160e01b03198216635b5e139f60e01b145b8061089a57506301ffc9a760e01b6001600160e01b031983161461089a565b6002546000908210801561089a575060006001600160a01b0316600283815481106120ae576120ae613361565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061210082611077565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061214482612081565b6121a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161099a565b60006121b083611077565b9050806001600160a01b0316846001600160a01b031614806121eb5750836001600160a01b03166121e084610932565b6001600160a01b0316145b80611e3e5750611e3e8185611d4f565b826001600160a01b031661220e82611077565b6001600160a01b0316146122765760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161099a565b6001600160a01b0382166122d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161099a565b6122e36000826120cb565b81600282815481106122f7576122f7613361565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716916000805160206133c78339815191529190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392906000805160206133c7833981519152908290a45050565b60006123b482611077565b90506123c16000836120cb565b6000600283815481106123d6576123d6613361565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416906000805160206133c7833981519152908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008261247885846125b1565b14949350505050565b61248c8484846121fb565b6124988484848461265d565b6119c95760405162461bcd60e51b815260040161099a90612fa6565b6060816124d85750506040805180820190915260018152600360fc1b602082015290565b8160005b811561250257806124ec81613306565b91506124fb9050600a83613255565b91506124dc565b6000816001600160401b0381111561251c5761251c613377565b6040519080825280601f01601f191660200182016040528015612546576020820181803683370190505b5090505b8415611e3e5761255b600183613288565b9150612568600a86613321565b61257390603061323d565b60f81b81838151811061258857612588613361565b60200101906001600160f81b031916908160001a9053506125aa600a86613255565b945061254a565b600081815b84518110156126555760008582815181106125d3576125d3613361565b60200260200101519050808311612615576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612642565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061264d81613306565b9150506125b6565b509392505050565b60006001600160a01b0384163b1561275f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126a1903390899088908890600401612e65565b602060405180830381600087803b1580156126bb57600080fd5b505af19250505080156126eb575060408051601f3d908101601f191682019092526126e891810190612c3f565b60015b612745573d808015612719576040519150601f19603f3d011682016040523d82523d6000602084013e61271e565b606091505b50805161273d5760405162461bcd60e51b815260040161099a90612fa6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e3e565b506001949350505050565b828054612776906132cb565b90600052602060002090601f01602090048101928261279857600085556127de565b82601f106127b157805160ff19168380011785556127de565b828001600101855582156127de579182015b828111156127de5782518255916020019190600101906127c3565b50610fe79291505b80821115610fe757600081556001016127e6565b60006001600160401b0383111561281357612813613377565b612826601f8401601f191660200161320d565b905082815283838301111561283a57600080fd5b828260208301376000602084830101529392505050565b60008083601f84011261286357600080fd5b5081356001600160401b0381111561287a57600080fd5b6020830191508360208260051b850101111561289557600080fd5b9250929050565b600082601f8301126128ad57600080fd5b813560206001600160401b038211156128c8576128c8613377565b8160051b6128d782820161320d565b8381528281019086840183880185018910156128f257600080fd5b600093505b858410156129155780358352600193909301929184019184016128f7565b50979650505050505050565b600082601f83011261293257600080fd5b610f77838335602085016127fa565b60006020828403121561295357600080fd5b8135610f778161338d565b6000806040838503121561297157600080fd5b823561297c8161338d565b9150602083013561298c8161338d565b809150509250929050565b6000806000606084860312156129ac57600080fd5b83356129b78161338d565b925060208401356129c78161338d565b915060408401356001600160401b038111156129e257600080fd5b6129ee8682870161289c565b9150509250925092565b60008060008060808587031215612a0e57600080fd5b8435612a198161338d565b93506020850135612a298161338d565b925060408501356001600160401b0380821115612a4557600080fd5b612a518883890161289c565b93506060870135915080821115612a6757600080fd5b50612a7487828801612921565b91505092959194509250565b600080600060608486031215612a9557600080fd5b8335612aa08161338d565b92506020840135612ab08161338d565b929592945050506040919091013590565b60008060008060808587031215612ad757600080fd5b8435612ae28161338d565b93506020850135612af28161338d565b92506040850135915060608501356001600160401b03811115612b1457600080fd5b612a7487828801612921565b600080600060408486031215612b3557600080fd5b8335612b408161338d565b925060208401356001600160401b03811115612b5b57600080fd5b612b6786828701612851565b9497909650939450505050565b60008060408385031215612b8757600080fd5b8235612b928161338d565b9150602083013561298c816133a2565b60008060408385031215612bb557600080fd5b8235612bc08161338d565b946020939093013593505050565b600060208284031215612be057600080fd5b8151610f77816133a2565b60008060408385031215612bfe57600080fd5b8235612b92816133a2565b600060208284031215612c1b57600080fd5b5035919050565b600060208284031215612c3457600080fd5b8135610f77816133b0565b600060208284031215612c5157600080fd5b8151610f77816133b0565b600060208284031215612c6e57600080fd5b8151610f778161338d565b600060208284031215612c8b57600080fd5b81356001600160401b03811115612ca157600080fd5b8201601f81018413612cb257600080fd5b611e3e848235602084016127fa565b600060208284031215612cd357600080fd5b5051919050565b600080600060408486031215612cef57600080fd5b8335925060208401356001600160401b03811115612b5b57600080fd5b60008151808452612d2481602086016020860161329f565b601f01601f19169290920160200192915050565b60008151612d4a81856020860161329f565b9290920192915050565b60609190911b6001600160601b031916815260140190565b600080845481600182811c915080831680612d8857607f831692505b6020808410821415612da857634e487b7160e01b86526022600452602486fd5b818015612dbc5760018114612dcd57612dfa565b60ff19861689528489019650612dfa565b60008b81526020902060005b86811015612df25781548b820152908501908301612dd9565b505084890196505b505050505050612e0a8185612d38565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e9890830184612d0c565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612eda57835183529284019291840191600101612ebe565b50909695505050505050565b602081526000610f776020830184612d0c565b602080825260119082015270139bdd081a5b88105b1b1bddc8131a5cdd607a1b604082015260600190565b6020808252601e908201527f416c6c6f77204c6973742053616c65206d757374206265206163746976650000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526014908201527322bc31b2b2b232b99036b0bc1039bab838363c9760611b604082015260600190565b60208082526018908201527753616c6520616c726561647920696e2070726f677265737360401b604082015260600190565b602080825260169082015275496e73756666696369656e7420616c6c6f77616e636560501b604082015260600190565b602080825260149082015273527120717479203e206d6178696d756d2070726560601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601990820152784e6f7420656e6f75676820427974657320746f206d696e742160381b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601c908201527b22bc31b2b2b2399036b0bc103832b9103a3930b739b0b1ba34b7b71760211b604082015260600190565b60208082526023908201527f496e636f727265637420616d6f756e74206f662066756e64732070726f76696460408201526232b21760e91b606082015260800190565b6020808252600b908201526a29b0b632903737ba1037b760a91b604082015260600190565b604051601f8201601f191681016001600160401b038111828210171561323557613235613377565b604052919050565b6000821982111561325057613250613335565b500190565b6000826132645761326461334b565b500490565b600081600019048311821515161561328357613283613335565b500290565b60008282101561329a5761329a613335565b500390565b60005b838110156132ba5781810151838201526020016132a2565b838111156119c95750506000910152565b600181811c908216806132df57607f821691505b6020821081141561330057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561331a5761331a613335565b5060010190565b6000826133305761333061334b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dc357600080fd5b8015158114610dc357600080fd5b6001600160e01b031981168114610dc357600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a659f95e44448eb0233a3f6aac7be38be5414a4e83738160d34e58127eb2f72164736f6c63430008070033
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.