ERC-721
Overview
Max Total Supply
3,999 TWNFT
Holders
1,837
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 TWNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TaiwaneseNFT
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-17 */ /** *Submitted for verification at Etherscan.io on 2022-07-11 */ // File: @openzeppelin/contracts/utils/Strings.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract TestContract { // Some logic } // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================== // IERC721Metadata // ============================== /** * @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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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 { _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 { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: 000.sol pragma solidity ^0.8.0; contract TaiwaneseNFT is ERC721A, Ownable { using Strings for uint; uint public constant MINT_PRICE = 0.002 ether; uint public constant MAX_NFT_PER_TRAN = 10; uint public constant MAX_PER_WALLET = 100; uint public maxSupply = 3999; // string private _baseURIExtended; bool public isPaused = true; bool public isMetadataFinal; string public _baseURL; string public prerevealURL; mapping(address => uint) private _walletMintedCount; constructor() // Name ERC721A('TaiwaneseNFT', 'TWNFT') { } function _baseURI() internal view override returns (string memory) { return _baseURL; } function _startTokenId() internal pure override returns (uint) { return 1; } function contractURI() public pure returns (string memory) { return ""; } function finalizeMetadata() external onlyOwner { isMetadataFinal = true; } function reveal(string memory url) external onlyOwner { require(!isMetadataFinal, "Metadata is finalized"); _baseURL = url; } function mintedCount(address owner) external view returns (uint) { return _walletMintedCount[owner]; } // function setBaseURI(string memory baseURI_) external onlyOwner { // _baseURIExtended = baseURI_; // } function setPause(bool value) external onlyOwner { isPaused = value; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } function devMint(address to, uint count) external onlyOwner { require( _totalMinted() + count <= maxSupply, 'Exceeds max supply' ); _safeMint(to, count); } function setMaxSupply(uint newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function tokenURI(uint tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")) : prerevealURL; } function mint(uint count) external payable { require(!isPaused, 'Sales are off'); require(count <= MAX_NFT_PER_TRAN,'Exceeds NFT per transaction limit'); require(_totalMinted() + count <= maxSupply,'Exceeds max supply'); require(_walletMintedCount[msg.sender] + count <= MAX_PER_WALLET,'Exceeds max per wallet'); uint payForCount = count; uint mintedSoFar = _walletMintedCount[msg.sender]; if(mintedSoFar < 2) { uint remainingFreeMints = 2 - mintedSoFar; if(count > remainingFreeMints) { payForCount = count - remainingFreeMints; } else { payForCount = 0; } } require( msg.value >= payForCount * MINT_PRICE, 'Ether value sent is not sufficient' ); _walletMintedCount[msg.sender] += count; _safeMint(msg.sender, count); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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_NFT_PER_TRAN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"prerevealURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610f9f600955600a805460ff191660011790553480156200002457600080fd5b506040518060400160405280600c81526020016b15185a5dd85b995cd953919560a21b815250604051806040016040528060058152602001641515d3919560da1b815250816002908162000079919062000198565b50600362000088828262000198565b50506001600055506200009b33620000a1565b62000264565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011e57607f821691505b6020821081036200013f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019357600081815260208120601f850160051c810160208610156200016e5750805b601f850160051c820191505b818110156200018f578281556001016200017a565b5050505b505050565b81516001600160401b03811115620001b457620001b4620000f3565b620001cc81620001c5845462000109565b8462000145565b602080601f831160018114620002045760008415620001eb5750858301515b600019600386901b1c1916600185901b1785556200018f565b600085815260208120601f198616915b82811015620002355788860151825594840194600190910190840162000214565b5085821015620002545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611d6480620002746000396000f3fe6080604052600436106101f95760003560e01c806395d89b411161010d578063d5abeb01116100a0578063e985e9c51161006f578063e985e9c514610574578063f2fde38b146105bd578063f4a560a5146105dd578063f9e0edae146105f2578063fddcb5ea1461060757600080fd5b8063d5abeb0114610513578063d821048214610529578063e193e7e21461053e578063e8a3d4851461055357600080fd5b8063b88d4fde116100dc578063b88d4fde14610498578063bedb86fb146104b8578063c002d23d146104d8578063c87b56dd146104f357600080fd5b806395d89b4114610436578063a0712d681461044b578063a22cb4651461045e578063b187bd261461047e57600080fd5b80633ccfd60b116101905780636352211e1161015f5780636352211e146103a35780636f8b44b0146103c357806370a08231146103e3578063715018a6146104035780638da5cb5b1461041857600080fd5b80633ccfd60b1461032e57806342842e0e146103435780634c26124714610363578063627804af1461038357600080fd5b80630de76de4116101cc5780630de76de4146102af5780630f2cdd6c146102ce57806318160ddd146102f157806323b872dd1461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611730565b61063d565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861068f565b60405161022a91906117a5565b34801561026157600080fd5b506102756102703660046117b8565b610721565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a83660046117ed565b610765565b005b3480156102bb57600080fd5b50600a5461021e90610100900460ff1681565b3480156102da57600080fd5b506102e3606481565b60405190815260200161022a565b3480156102fd57600080fd5b5060015460005403600019016102e3565b34801561031a57600080fd5b506102ad610329366004611817565b610837565b34801561033a57600080fd5b506102ad610847565b34801561034f57600080fd5b506102ad61035e366004611817565b6108d2565b34801561036f57600080fd5b506102ad61037e3660046118df565b6108ed565b34801561038f57600080fd5b506102ad61039e3660046117ed565b610977565b3480156103af57600080fd5b506102756103be3660046117b8565b610a09565b3480156103cf57600080fd5b506102ad6103de3660046117b8565b610a14565b3480156103ef57600080fd5b506102e36103fe366004611928565b610a43565b34801561040f57600080fd5b506102ad610a92565b34801561042457600080fd5b506008546001600160a01b0316610275565b34801561044257600080fd5b50610248610ac8565b6102ad6104593660046117b8565b610ad7565b34801561046a57600080fd5b506102ad610479366004611953565b610d1c565b34801561048a57600080fd5b50600a5461021e9060ff1681565b3480156104a457600080fd5b506102ad6104b3366004611986565b610db1565b3480156104c457600080fd5b506102ad6104d3366004611a02565b610dfb565b3480156104e457600080fd5b506102e366071afd498d000081565b3480156104ff57600080fd5b5061024861050e3660046117b8565b610e38565b34801561051f57600080fd5b506102e360095481565b34801561053557600080fd5b50610248610f7e565b34801561054a57600080fd5b506102e3600a81565b34801561055f57600080fd5b50604080516020810190915260008152610248565b34801561058057600080fd5b5061021e61058f366004611a1d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c957600080fd5b506102ad6105d8366004611928565b61100c565b3480156105e957600080fd5b506102ad6110a4565b3480156105fe57600080fd5b506102486110df565b34801561061357600080fd5b506102e3610622366004611928565b6001600160a01b03166000908152600d602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061066e57506380ac58cd60e01b6001600160e01b03198316145b806106895750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069e90611a47565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90611a47565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b600061072c826110ec565b610749576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077082611121565b9050806001600160a01b0316836001600160a01b0316036107a45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107db576107be813361058f565b6107db576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610842838383611197565b505050565b6008546001600160a01b0316331461087a5760405162461bcd60e51b815260040161087190611a81565b60405180910390fd5b604051600090339047908381818185875af1925050503d80600081146108bc576040519150601f19603f3d011682016040523d82523d6000602084013e6108c1565b606091505b50509050806108cf57600080fd5b50565b61084283838360405180602001604052806000815250610db1565b6008546001600160a01b031633146109175760405162461bcd60e51b815260040161087190611a81565b600a54610100900460ff16156109675760405162461bcd60e51b815260206004820152601560248201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b6044820152606401610871565b600b6109738282611b04565b5050565b6008546001600160a01b031633146109a15760405162461bcd60e51b815260040161087190611a81565b600954816109b26000546000190190565b6109bc9190611bda565b11156109ff5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610871565b610973828261133e565b600061068982611121565b6008546001600160a01b03163314610a3e5760405162461bcd60e51b815260040161087190611a81565b600955565b60006001600160a01b038216610a6c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610abc5760405162461bcd60e51b815260040161087190611a81565b610ac66000611358565b565b60606003805461069e90611a47565b600a5460ff1615610b1a5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b6044820152606401610871565b600a811115610b755760405162461bcd60e51b815260206004820152602160248201527f45786365656473204e465420706572207472616e73616374696f6e206c696d696044820152601d60fa1b6064820152608401610871565b60095481610b866000546000190190565b610b909190611bda565b1115610bd35760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610871565b336000908152600d6020526040902054606490610bf1908390611bda565b1115610c385760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610871565b336000908152600d602052604090205481906002811015610c82576000610c60826002611bf2565b905080841115610c7b57610c748185611bf2565b9250610c80565b600092505b505b610c9366071afd498d000083611c09565b341015610ced5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b6064820152608401610871565b336000908152600d602052604081208054859290610d0c908490611bda565b909155506108429050338461133e565b336001600160a01b03831603610d455760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dbc848484611197565b6001600160a01b0383163b15610df557610dd8848484846113aa565b610df5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610e255760405162461bcd60e51b815260040161087190611a81565b600a805460ff1916911515919091179055565b6060610e43826110ec565b610ea75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610871565b6000610eb1611496565b5111610f4757600c8054610ec490611a47565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef090611a47565b8015610f3d5780601f10610f1257610100808354040283529160200191610f3d565b820191906000526020600020905b815481529060010190602001808311610f2057829003601f168201915b5050505050610689565b610f4f611496565b610f58836114a5565b604051602001610f69929190611c28565b60405160208183030381529060405292915050565b600c8054610f8b90611a47565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb790611a47565b80156110045780601f10610fd957610100808354040283529160200191611004565b820191906000526020600020905b815481529060010190602001808311610fe757829003601f168201915b505050505081565b6008546001600160a01b031633146110365760405162461bcd60e51b815260040161087190611a81565b6001600160a01b03811661109b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610871565b6108cf81611358565b6008546001600160a01b031633146110ce5760405162461bcd60e51b815260040161087190611a81565b600a805461ff001916610100179055565b600b8054610f8b90611a47565b600081600111158015611100575060005482105b8015610689575050600090815260046020526040902054600160e01b161590565b6000818060011161117e5760005481101561117e5760008181526004602052604081205490600160e01b8216900361117c575b80600003611175575060001901600081815260046020526040902054611154565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60006111a282611121565b9050836001600160a01b0316816001600160a01b0316146111d55760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806111f357506111f3853361058f565b8061120e57503361120384610721565b6001600160a01b0316145b90508061122e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661125557604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b87178117909155831690036112f6576001830160008181526004602052604081205490036112f45760005481146112f45760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6109738282604051806020016040528060008152506115a6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113df903390899088908890600401611c67565b6020604051808303816000875af192505050801561141a575060408051601f3d908101601f1916820190925261141791810190611ca4565b60015b611478573d808015611448576040519150601f19603f3d011682016040523d82523d6000602084013e61144d565b606091505b508051600003611470576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461069e90611a47565b6060816000036114cc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f657806114e081611cc1565b91506114ef9050600a83611cf0565b91506114d0565b60008167ffffffffffffffff81111561151157611511611853565b6040519080825280601f01601f19166020018201604052801561153b576020820181803683370190505b5090505b841561148e57611550600183611bf2565b915061155d600a86611d04565b611568906030611bda565b60f81b81838151811061157d5761157d611d18565b60200101906001600160f81b031916908160001a90535061159f600a86611cf0565b945061153f565b6000546001600160a01b0384166115cf57604051622e076360e81b815260040160405180910390fd5b826000036115f05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156116c5575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461168e60008784806001019550876113aa565b6116ab576040516368d2bf6b60e11b815260040160405180910390fd5b8082106116435782600054146116c057600080fd5b61170a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106116c6575b506000908155610df59085838684565b6001600160e01b0319811681146108cf57600080fd5b60006020828403121561174257600080fd5b81356111758161171a565b60005b83811015611768578181015183820152602001611750565b83811115610df55750506000910152565b6000815180845261179181602086016020860161174d565b601f01601f19169290920160200192915050565b6020815260006111756020830184611779565b6000602082840312156117ca57600080fd5b5035919050565b80356001600160a01b03811681146117e857600080fd5b919050565b6000806040838503121561180057600080fd5b611809836117d1565b946020939093013593505050565b60008060006060848603121561182c57600080fd5b611835846117d1565b9250611843602085016117d1565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561188457611884611853565b604051601f8501601f19908116603f011681019082821181831017156118ac576118ac611853565b816040528093508581528686860111156118c557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f157600080fd5b813567ffffffffffffffff81111561190857600080fd5b8201601f8101841361191957600080fd5b61148e84823560208401611869565b60006020828403121561193a57600080fd5b611175826117d1565b803580151581146117e857600080fd5b6000806040838503121561196657600080fd5b61196f836117d1565b915061197d60208401611943565b90509250929050565b6000806000806080858703121561199c57600080fd5b6119a5856117d1565b93506119b3602086016117d1565b925060408501359150606085013567ffffffffffffffff8111156119d657600080fd5b8501601f810187136119e757600080fd5b6119f687823560208401611869565b91505092959194509250565b600060208284031215611a1457600080fd5b61117582611943565b60008060408385031215611a3057600080fd5b611a39836117d1565b915061197d602084016117d1565b600181811c90821680611a5b57607f821691505b602082108103611a7b57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561084257600081815260208120601f850160051c81016020861015611add5750805b601f850160051c820191505b81811015611afc57828155600101611ae9565b505050505050565b815167ffffffffffffffff811115611b1e57611b1e611853565b611b3281611b2c8454611a47565b84611ab6565b602080601f831160018114611b675760008415611b4f5750858301515b600019600386901b1c1916600185901b178555611afc565b600085815260208120601f198616915b82811015611b9657888601518255948401946001909101908401611b77565b5085821015611bb45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bed57611bed611bc4565b500190565b600082821015611c0457611c04611bc4565b500390565b6000816000190483118215151615611c2357611c23611bc4565b500290565b60008351611c3a81846020880161174d565b835190830190611c4e81836020880161174d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c9a90830184611779565b9695505050505050565b600060208284031215611cb657600080fd5b81516111758161171a565b600060018201611cd357611cd3611bc4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611cff57611cff611cda565b500490565b600082611d1357611d13611cda565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212200053990b6f9240b602b8a5b2c9a77384508b722ba6e0c7c9b182b92a81e21ef564736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806395d89b411161010d578063d5abeb01116100a0578063e985e9c51161006f578063e985e9c514610574578063f2fde38b146105bd578063f4a560a5146105dd578063f9e0edae146105f2578063fddcb5ea1461060757600080fd5b8063d5abeb0114610513578063d821048214610529578063e193e7e21461053e578063e8a3d4851461055357600080fd5b8063b88d4fde116100dc578063b88d4fde14610498578063bedb86fb146104b8578063c002d23d146104d8578063c87b56dd146104f357600080fd5b806395d89b4114610436578063a0712d681461044b578063a22cb4651461045e578063b187bd261461047e57600080fd5b80633ccfd60b116101905780636352211e1161015f5780636352211e146103a35780636f8b44b0146103c357806370a08231146103e3578063715018a6146104035780638da5cb5b1461041857600080fd5b80633ccfd60b1461032e57806342842e0e146103435780634c26124714610363578063627804af1461038357600080fd5b80630de76de4116101cc5780630de76de4146102af5780630f2cdd6c146102ce57806318160ddd146102f157806323b872dd1461030e57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611730565b61063d565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861068f565b60405161022a91906117a5565b34801561026157600080fd5b506102756102703660046117b8565b610721565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a83660046117ed565b610765565b005b3480156102bb57600080fd5b50600a5461021e90610100900460ff1681565b3480156102da57600080fd5b506102e3606481565b60405190815260200161022a565b3480156102fd57600080fd5b5060015460005403600019016102e3565b34801561031a57600080fd5b506102ad610329366004611817565b610837565b34801561033a57600080fd5b506102ad610847565b34801561034f57600080fd5b506102ad61035e366004611817565b6108d2565b34801561036f57600080fd5b506102ad61037e3660046118df565b6108ed565b34801561038f57600080fd5b506102ad61039e3660046117ed565b610977565b3480156103af57600080fd5b506102756103be3660046117b8565b610a09565b3480156103cf57600080fd5b506102ad6103de3660046117b8565b610a14565b3480156103ef57600080fd5b506102e36103fe366004611928565b610a43565b34801561040f57600080fd5b506102ad610a92565b34801561042457600080fd5b506008546001600160a01b0316610275565b34801561044257600080fd5b50610248610ac8565b6102ad6104593660046117b8565b610ad7565b34801561046a57600080fd5b506102ad610479366004611953565b610d1c565b34801561048a57600080fd5b50600a5461021e9060ff1681565b3480156104a457600080fd5b506102ad6104b3366004611986565b610db1565b3480156104c457600080fd5b506102ad6104d3366004611a02565b610dfb565b3480156104e457600080fd5b506102e366071afd498d000081565b3480156104ff57600080fd5b5061024861050e3660046117b8565b610e38565b34801561051f57600080fd5b506102e360095481565b34801561053557600080fd5b50610248610f7e565b34801561054a57600080fd5b506102e3600a81565b34801561055f57600080fd5b50604080516020810190915260008152610248565b34801561058057600080fd5b5061021e61058f366004611a1d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c957600080fd5b506102ad6105d8366004611928565b61100c565b3480156105e957600080fd5b506102ad6110a4565b3480156105fe57600080fd5b506102486110df565b34801561061357600080fd5b506102e3610622366004611928565b6001600160a01b03166000908152600d602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061066e57506380ac58cd60e01b6001600160e01b03198316145b806106895750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069e90611a47565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca90611a47565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b600061072c826110ec565b610749576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077082611121565b9050806001600160a01b0316836001600160a01b0316036107a45760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107db576107be813361058f565b6107db576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610842838383611197565b505050565b6008546001600160a01b0316331461087a5760405162461bcd60e51b815260040161087190611a81565b60405180910390fd5b604051600090339047908381818185875af1925050503d80600081146108bc576040519150601f19603f3d011682016040523d82523d6000602084013e6108c1565b606091505b50509050806108cf57600080fd5b50565b61084283838360405180602001604052806000815250610db1565b6008546001600160a01b031633146109175760405162461bcd60e51b815260040161087190611a81565b600a54610100900460ff16156109675760405162461bcd60e51b815260206004820152601560248201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b6044820152606401610871565b600b6109738282611b04565b5050565b6008546001600160a01b031633146109a15760405162461bcd60e51b815260040161087190611a81565b600954816109b26000546000190190565b6109bc9190611bda565b11156109ff5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610871565b610973828261133e565b600061068982611121565b6008546001600160a01b03163314610a3e5760405162461bcd60e51b815260040161087190611a81565b600955565b60006001600160a01b038216610a6c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610abc5760405162461bcd60e51b815260040161087190611a81565b610ac66000611358565b565b60606003805461069e90611a47565b600a5460ff1615610b1a5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b6044820152606401610871565b600a811115610b755760405162461bcd60e51b815260206004820152602160248201527f45786365656473204e465420706572207472616e73616374696f6e206c696d696044820152601d60fa1b6064820152608401610871565b60095481610b866000546000190190565b610b909190611bda565b1115610bd35760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610871565b336000908152600d6020526040902054606490610bf1908390611bda565b1115610c385760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610871565b336000908152600d602052604090205481906002811015610c82576000610c60826002611bf2565b905080841115610c7b57610c748185611bf2565b9250610c80565b600092505b505b610c9366071afd498d000083611c09565b341015610ced5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b6064820152608401610871565b336000908152600d602052604081208054859290610d0c908490611bda565b909155506108429050338461133e565b336001600160a01b03831603610d455760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dbc848484611197565b6001600160a01b0383163b15610df557610dd8848484846113aa565b610df5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610e255760405162461bcd60e51b815260040161087190611a81565b600a805460ff1916911515919091179055565b6060610e43826110ec565b610ea75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610871565b6000610eb1611496565b5111610f4757600c8054610ec490611a47565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef090611a47565b8015610f3d5780601f10610f1257610100808354040283529160200191610f3d565b820191906000526020600020905b815481529060010190602001808311610f2057829003601f168201915b5050505050610689565b610f4f611496565b610f58836114a5565b604051602001610f69929190611c28565b60405160208183030381529060405292915050565b600c8054610f8b90611a47565b80601f0160208091040260200160405190810160405280929190818152602001828054610fb790611a47565b80156110045780601f10610fd957610100808354040283529160200191611004565b820191906000526020600020905b815481529060010190602001808311610fe757829003601f168201915b505050505081565b6008546001600160a01b031633146110365760405162461bcd60e51b815260040161087190611a81565b6001600160a01b03811661109b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610871565b6108cf81611358565b6008546001600160a01b031633146110ce5760405162461bcd60e51b815260040161087190611a81565b600a805461ff001916610100179055565b600b8054610f8b90611a47565b600081600111158015611100575060005482105b8015610689575050600090815260046020526040902054600160e01b161590565b6000818060011161117e5760005481101561117e5760008181526004602052604081205490600160e01b8216900361117c575b80600003611175575060001901600081815260046020526040902054611154565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60006111a282611121565b9050836001600160a01b0316816001600160a01b0316146111d55760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806111f357506111f3853361058f565b8061120e57503361120384610721565b6001600160a01b0316145b90508061122e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661125557604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b87178117909155831690036112f6576001830160008181526004602052604081205490036112f45760005481146112f45760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6109738282604051806020016040528060008152506115a6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113df903390899088908890600401611c67565b6020604051808303816000875af192505050801561141a575060408051601f3d908101601f1916820190925261141791810190611ca4565b60015b611478573d808015611448576040519150601f19603f3d011682016040523d82523d6000602084013e61144d565b606091505b508051600003611470576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461069e90611a47565b6060816000036114cc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f657806114e081611cc1565b91506114ef9050600a83611cf0565b91506114d0565b60008167ffffffffffffffff81111561151157611511611853565b6040519080825280601f01601f19166020018201604052801561153b576020820181803683370190505b5090505b841561148e57611550600183611bf2565b915061155d600a86611d04565b611568906030611bda565b60f81b81838151811061157d5761157d611d18565b60200101906001600160f81b031916908160001a90535061159f600a86611cf0565b945061153f565b6000546001600160a01b0384166115cf57604051622e076360e81b815260040160405180910390fd5b826000036115f05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156116c5575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461168e60008784806001019550876113aa565b6116ab576040516368d2bf6b60e11b815260040160405180910390fd5b8082106116435782600054146116c057600080fd5b61170a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106116c6575b506000908155610df59085838684565b6001600160e01b0319811681146108cf57600080fd5b60006020828403121561174257600080fd5b81356111758161171a565b60005b83811015611768578181015183820152602001611750565b83811115610df55750506000910152565b6000815180845261179181602086016020860161174d565b601f01601f19169290920160200192915050565b6020815260006111756020830184611779565b6000602082840312156117ca57600080fd5b5035919050565b80356001600160a01b03811681146117e857600080fd5b919050565b6000806040838503121561180057600080fd5b611809836117d1565b946020939093013593505050565b60008060006060848603121561182c57600080fd5b611835846117d1565b9250611843602085016117d1565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561188457611884611853565b604051601f8501601f19908116603f011681019082821181831017156118ac576118ac611853565b816040528093508581528686860111156118c557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f157600080fd5b813567ffffffffffffffff81111561190857600080fd5b8201601f8101841361191957600080fd5b61148e84823560208401611869565b60006020828403121561193a57600080fd5b611175826117d1565b803580151581146117e857600080fd5b6000806040838503121561196657600080fd5b61196f836117d1565b915061197d60208401611943565b90509250929050565b6000806000806080858703121561199c57600080fd5b6119a5856117d1565b93506119b3602086016117d1565b925060408501359150606085013567ffffffffffffffff8111156119d657600080fd5b8501601f810187136119e757600080fd5b6119f687823560208401611869565b91505092959194509250565b600060208284031215611a1457600080fd5b61117582611943565b60008060408385031215611a3057600080fd5b611a39836117d1565b915061197d602084016117d1565b600181811c90821680611a5b57607f821691505b602082108103611a7b57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561084257600081815260208120601f850160051c81016020861015611add5750805b601f850160051c820191505b81811015611afc57828155600101611ae9565b505050505050565b815167ffffffffffffffff811115611b1e57611b1e611853565b611b3281611b2c8454611a47565b84611ab6565b602080601f831160018114611b675760008415611b4f5750858301515b600019600386901b1c1916600185901b178555611afc565b600085815260208120601f198616915b82811015611b9657888601518255948401946001909101908401611b77565b5085821015611bb45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bed57611bed611bc4565b500190565b600082821015611c0457611c04611bc4565b500390565b6000816000190483118215151615611c2357611c23611bc4565b500290565b60008351611c3a81846020880161174d565b835190830190611c4e81836020880161174d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c9a90830184611779565b9695505050505050565b600060208284031215611cb657600080fd5b81516111758161171a565b600060018201611cd357611cd3611bc4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611cff57611cff611cda565b500490565b600082611d1357611d13611cda565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212200053990b6f9240b602b8a5b2c9a77384508b722ba6e0c7c9b182b92a81e21ef564736f6c634300080f0033
Deployed Bytecode Sourcemap
51110:3704:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23561:647;;;;;;;;;;-1:-1:-1;23561:647:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23561:647:0;;;;;;;;28996:108;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31276:216::-;;;;;;;;;;-1:-1:-1;31276:216:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31276:216:0;1528:203:1;30686:510:0;;;;;;;;;;-1:-1:-1;30686:510:0;;;;;:::i;:::-;;:::i;:::-;;51483:27;;;;;;;;;;-1:-1:-1;51483:27:0;;;;;;;;;;;51307:41;;;;;;;;;;;;51345:3;51307:41;;;;;2319:25:1;;;2307:2;2292:18;51307:41:0;2173:177:1;22517:339:0;;;;;;;;;;-1:-1:-1;51958:1:0;22799:12;22570:7;22783:13;:28;-1:-1:-1;;22783:46:0;22517:339;;32240:194;;;;;;;;;;-1:-1:-1;32240:194:0;;;;;:::i;:::-;;:::i;52740:206::-;;;;;;;;;;;;;:::i;32519:209::-;;;;;;;;;;-1:-1:-1;32519:209:0;;;;;:::i;:::-;;:::i;52198:160::-;;;;;;;;;;-1:-1:-1;52198:160:0;;;;;:::i;:::-;;:::i;52958:237::-;;;;;;;;;;-1:-1:-1;52958:237:0;;;;;:::i;:::-;;:::i;28763:152::-;;;;;;;;;;-1:-1:-1;28763:152:0;;;;;:::i;:::-;;:::i;53207:111::-;;;;;;;;;;-1:-1:-1;53207:111:0;;;;;:::i;:::-;;:::i;24286:236::-;;;;;;;;;;-1:-1:-1;24286:236:0;;;;;:::i;:::-;;:::i;8351:111::-;;;;;;;;;;;;;:::i;7640:95::-;;;;;;;;;;-1:-1:-1;7717:6:0;;-1:-1:-1;;;;;7717:6:0;7640:95;;29187:112;;;;;;;;;;;;;:::i;53753:1052::-;;;;;;:::i;:::-;;:::i;31578:324::-;;;;;;;;;;-1:-1:-1;31578:324:0;;;;;:::i;:::-;;:::i;51445:27::-;;;;;;;;;;-1:-1:-1;51445:27:0;;;;;;;;32813:440;;;;;;;;;;-1:-1:-1;32813:440:0;;;;;:::i;:::-;;:::i;52636:92::-;;;;;;;;;;-1:-1:-1;52636:92:0;;;;;:::i;:::-;;:::i;51198:45::-;;;;;;;;;;;;51232:11;51198:45;;53330:411;;;;;;;;;;-1:-1:-1;53330:411:0;;;;;:::i;:::-;;:::i;51359:28::-;;;;;;;;;;;;;;;;51554:26;;;;;;;;;;;;;:::i;51254:42::-;;;;;;;;;;;;51294:2;51254:42;;51983:95;;;;;;;;;;-1:-1:-1;52057:9:0;;;;;;;;;-1:-1:-1;52057:9:0;;51983:95;;31987:172;;;;;;;;;;-1:-1:-1;31987:172:0;;;;;:::i;:::-;-1:-1:-1;;;;;32112:25:0;;;32084:4;32112:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31987:172;8634:213;;;;;;;;;;-1:-1:-1;8634:213:0;;;;;:::i;:::-;;:::i;52090:96::-;;;;;;;;;;;;;:::i;51521:22::-;;;;;;;;;;;;;:::i;52370:124::-;;;;;;;;;;-1:-1:-1;52370:124:0;;;;;:::i;:::-;-1:-1:-1;;;;;52457:25:0;52429:4;52457:25;;;:18;:25;;;;;;;52370:124;23561:647;23646:4;-1:-1:-1;;;;;;;;;23966:25:0;;;;:106;;-1:-1:-1;;;;;;;;;;24047:25:0;;;23966:106;:187;;;-1:-1:-1;;;;;;;;;;24128:25:0;;;23966:187;23942:211;23561:647;-1:-1:-1;;23561:647:0:o;28996:108::-;29050:13;29087:5;29080:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28996:108;:::o;31276:216::-;31344:7;31373:16;31381:7;31373;:16::i;:::-;31368:64;;31398:34;;-1:-1:-1;;;31398:34:0;;;;;;;;;;;31368:64;-1:-1:-1;31456:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31456:24:0;;31276:216::o;30686:510::-;30763:13;30795:27;30814:7;30795:18;:27::i;:::-;30763:61;;30849:5;-1:-1:-1;;;;;30843:11:0;:2;-1:-1:-1;;;;;30843:11:0;;30839:48;;30863:24;;-1:-1:-1;;;30863:24:0;;;;;;;;;;;30839:48;48793:10;-1:-1:-1;;;;;30908:28:0;;;30904:187;;30960:44;30977:5;48793:10;31987:172;:::i;30960:44::-;30955:136;;31036:35;;-1:-1:-1;;;31036:35:0;;;;;;;;;;;30955:136;31107:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31107:29:0;-1:-1:-1;;;;;31107:29:0;;;;;;;;;31156:28;;31107:24;;31156:28;;;;;;;30748:448;30686:510;;:::o;32240:194::-;32394:28;32404:4;32410:2;32414:7;32394:9;:28::i;:::-;32240:194;;;:::o;52740:206::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;;;;;;;;;52813:90:::1;::::0;52795:12:::1;::::0;52821:10:::1;::::0;52863:21:::1;::::0;52795:12;52813:90;52795:12;52813:90;52863:21;52821:10;52813:90:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52794:109;;;52926:7;52918:16;;;::::0;::::1;;52779:167;52740:206::o:0;32519:209::-;32677:39;32694:4;32700:2;32704:7;32677:39;;;;;;;;;;;;:16;:39::i;52198:160::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;52276:15:::1;::::0;::::1;::::0;::::1;;;52275:16;52267:50;;;::::0;-1:-1:-1;;;52267:50:0;;6808:2:1;52267:50:0::1;::::0;::::1;6790:21:1::0;6847:2;6827:18;;;6820:30;-1:-1:-1;;;6866:18:1;;;6859:51;6927:18;;52267:50:0::1;6606:345:1::0;52267:50:0::1;52332:8;:14;52343:3:::0;52332:8;:14:::1;:::i;:::-;;52198:160:::0;:::o;52958:237::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;53085:9:::1;;53076:5;53059:14;23015:7:::0;23219:13;-1:-1:-1;;23219:31:0;;22968:309;53059:14:::1;:22;;;;:::i;:::-;:35;;53033:115;;;::::0;-1:-1:-1;;;53033:115:0;;9627:2:1;53033:115:0::1;::::0;::::1;9609:21:1::0;9666:2;9646:18;;;9639:30;-1:-1:-1;;;9685:18:1;;;9678:48;9743:18;;53033:115:0::1;9425:342:1::0;53033:115:0::1;53163:20;53173:2;53177:5;53163:9;:20::i;28763:152::-:0;28827:7;28874:27;28893:7;28874:18;:27::i;53207:111::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;53282:9:::1;:24:::0;53207:111::o;24286:236::-;24350:7;-1:-1:-1;;;;;24378:19:0;;24374:60;;24406:28;;-1:-1:-1;;;24406:28:0;;;;;;;;;;;24374:60;-1:-1:-1;;;;;;24456:25:0;;;;;:18;:25;;;;;;19206:13;24456:54;;24286:236::o;8351:111::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;8420:30:::1;8447:1;8420:18;:30::i;:::-;8351:111::o:0;29187:112::-;29243:13;29280:7;29273:14;;;;;:::i;53753:1052::-;53820:8;;;;53819:9;53811:35;;;;-1:-1:-1;;;53811:35:0;;9974:2:1;53811:35:0;;;9956:21:1;10013:2;9993:18;;;9986:30;-1:-1:-1;;;10032:18:1;;;10025:43;10085:18;;53811:35:0;9772:337:1;53811:35:0;51294:2;53869:5;:25;;53861:70;;;;-1:-1:-1;;;53861:70:0;;10316:2:1;53861:70:0;;;10298:21:1;10355:2;10335:18;;;10328:30;10394:34;10374:18;;;10367:62;-1:-1:-1;;;10445:18:1;;;10438:31;10486:19;;53861:70:0;10114:397:1;53861:70:0;53980:9;;53971:5;53954:14;23015:7;23219:13;-1:-1:-1;;23219:31:0;;22968:309;53954:14;:22;;;;:::i;:::-;:35;;53946:65;;;;-1:-1:-1;;;53946:65:0;;9627:2:1;53946:65:0;;;9609:21:1;9666:2;9646:18;;;9639:30;-1:-1:-1;;;9685:18:1;;;9678:48;9743:18;;53946:65:0;9425:342:1;53946:65:0;54053:10;54034:30;;;;:18;:30;;;;;;51345:3;;54034:38;;54067:5;;54034:38;:::i;:::-;:56;;54026:90;;;;-1:-1:-1;;;54026:90:0;;10718:2:1;54026:90:0;;;10700:21:1;10757:2;10737:18;;;10730:30;-1:-1:-1;;;10776:18:1;;;10769:52;10838:18;;54026:90:0;10516:346:1;54026:90:0;54210:10;54133:16;54191:30;;;:18;:30;;;;;;54152:5;;54253:1;54239:15;;54236:309;;;54275:23;54301:15;54305:11;54301:1;:15;:::i;:::-;54275:41;;54346:18;54338:5;:26;54335:195;;;54403:26;54411:18;54403:5;:26;:::i;:::-;54389:40;;54335:195;;;54509:1;54495:15;;54335:195;54256:289;54236:309;54600:24;51232:11;54600;:24;:::i;:::-;54587:9;:37;;54561:133;;;;-1:-1:-1;;;54561:133:0;;11372:2:1;54561:133:0;;;11354:21:1;11411:2;11391:18;;;11384:30;11450:34;11430:18;;;11423:62;-1:-1:-1;;;11501:18:1;;;11494:32;11543:19;;54561:133:0;11170:398:1;54561:133:0;54730:10;54711:30;;;;:18;:30;;;;;:39;;54745:5;;54711:30;:39;;54745:5;;54711:39;:::i;:::-;;;;-1:-1:-1;54765:28:0;;-1:-1:-1;54775:10:0;54787:5;54765:9;:28::i;31578:324::-;48793:10;-1:-1:-1;;;;;31681:31:0;;;31677:61;;31721:17;;-1:-1:-1;;;31721:17:0;;;;;;;;;;;31677:61;48793:10;31755:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31755:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31755:60:0;;;;;;;;;;31835:55;;540:41:1;;;31755:49:0;;48793:10;31835:55;;513:18:1;31835:55:0;;;;;;;31578:324;;:::o;32813:440::-;33004:28;33014:4;33020:2;33024:7;33004:9;:28::i;:::-;-1:-1:-1;;;;;33051:14:0;;;:19;33047:195;;33094:56;33125:4;33131:2;33135:7;33144:5;33094:30;:56::i;:::-;33089:153;;33182:40;;-1:-1:-1;;;33182:40:0;;;;;;;;;;;33089:153;32813:440;;;;:::o;52636:92::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;52700:8:::1;:16:::0;;-1:-1:-1;;52700:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52636:92::o;53330:411::-;53444:13;53491:16;53499:7;53491;:16::i;:::-;53483:76;;;;-1:-1:-1;;;53483:76:0;;11775:2:1;53483:76:0;;;11757:21:1;11814:2;11794:18;;;11787:30;11853:34;11833:18;;;11826:62;-1:-1:-1;;;11904:18:1;;;11897:45;11959:19;;53483:76:0;11573:411:1;53483:76:0;53610:1;53589:10;:8;:10::i;:::-;53583:24;:28;:146;;53717:12;53583:146;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53656:10;:8;:10::i;:::-;53668:18;:7;:16;:18::i;:::-;53639:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53576:153;53330:411;-1:-1:-1;;53330:411:0:o;51554:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8634:213::-;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8727:22:0;::::1;8719:73;;;::::0;-1:-1:-1;;;8719:73:0;;12833:2:1;8719:73:0::1;::::0;::::1;12815:21:1::0;12872:2;12852:18;;;12845:30;12911:34;12891:18;;;12884:62;-1:-1:-1;;;12962:18:1;;;12955:36;13008:19;;8719:73:0::1;12631:402:1::0;8719:73:0::1;8807:28;8826:8;8807:18;:28::i;52090:96::-:0;7717:6;;-1:-1:-1;;;;;7717:6:0;48793:10;7886:23;7878:68;;;;-1:-1:-1;;;7878:68:0;;;;;;;:::i;:::-;52152:15:::1;:22:::0;;-1:-1:-1;;52152:22:0::1;;;::::0;;52090:96::o;51521:22::-;;;;;;;:::i;33534:293::-;33591:4;33655:7;51958:1;33636:26;;:70;;;;;33693:13;;33683:7;:23;33636:70;:160;;;;-1:-1:-1;;33748:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33748:43:0;:48;;33534:293::o;26065:1221::-;26132:7;26171;;51958:1;26228:23;26224:983;;26285:13;;26278:4;:20;26274:933;;;26327:14;26344:23;;;:17;:23;;;;;;;-1:-1:-1;;;26441:23:0;;:28;;26437:747;;26992:121;26999:6;27009:1;26999:11;26992:121;;-1:-1:-1;;;27074:6:0;27056:25;;;;:17;:25;;;;;;26992:121;;;27150:6;26065:1221;-1:-1:-1;;;26065:1221:0:o;26437:747::-;26300:907;26274:933;27243:31;;-1:-1:-1;;;27243:31:0;;;;;;;;;;;39239:2699;39374:27;39404;39423:7;39404:18;:27::i;:::-;39374:57;;39493:4;-1:-1:-1;;;;;39452:45:0;39468:19;-1:-1:-1;;;;;39452:45:0;;39448:86;;39506:28;;-1:-1:-1;;;39506:28:0;;;;;;;;;;;39448:86;39551:22;48793:10;-1:-1:-1;;;;;39577:27:0;;;;:91;;-1:-1:-1;39625:43:0;39642:4;48793:10;31987:172;:::i;39625:43::-;39577:155;;;-1:-1:-1;48793:10:0;39689:20;39701:7;39689:11;:20::i;:::-;-1:-1:-1;;;;;39689:43:0;;39577:155;39551:182;;39755:17;39750:66;;39781:35;;-1:-1:-1;;;39781:35:0;;;;;;;;;;;39750:66;-1:-1:-1;;;;;39835:16:0;;39831:52;;39860:23;;-1:-1:-1;;;39860:23:0;;;;;;;;;;;39831:52;40024:24;;;;:15;:24;;;;;;;;40017:31;;-1:-1:-1;;;;;;40017:31:0;;;-1:-1:-1;;;;;40440:24:0;;;;;:18;:24;;;;;40438:26;;-1:-1:-1;;40438:26:0;;;40513:22;;;;;;;40511:24;;-1:-1:-1;40511:24:0;;;40830:26;;;:17;:26;;;;;-1:-1:-1;;;40926:15:0;19900:3;40926:41;40880:88;;:136;;40830:186;;;41144:46;;:51;;41140:666;;41252:1;41242:11;;41220:19;41383:30;;;:17;:30;;;;;;:35;;41379:408;;41529:13;;41514:11;:28;41510:254;;41684:30;;;;:17;:30;;;;;:52;;;41510:254;41197:609;41140:666;41861:7;41857:2;-1:-1:-1;;;;;41842:27:0;41851:4;-1:-1:-1;;;;;41842:27:0;;;;;;;;;;;39359:2579;;39239:2699;;;:::o;33925:112::-;33998:27;34008:2;34012:8;33998:27;;;;;;;;;;;;:9;:27::i;9024:207::-;9121:6;;;-1:-1:-1;;;;;9142:17:0;;;-1:-1:-1;;;;;;9142:17:0;;;;;;;9179:40;;9121:6;;;9142:17;9121:6;;9179:40;;9102:16;;9179:40;9087:144;9024:207;:::o;45932:792::-;46140:88;;-1:-1:-1;;;46140:88:0;;46115:4;;-1:-1:-1;;;;;46140:45:0;;;;;:88;;48793:10;;46207:4;;46213:7;;46222:5;;46140:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46140:88:0;;;;;;;;-1:-1:-1;;46140:88:0;;;;;;;;;;;;:::i;:::-;;;46136:577;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46443:6;:13;46460:1;46443:18;46439:259;;46493:40;;-1:-1:-1;;;46493:40:0;;;;;;;;;;;46439:259;46648:6;46642:13;46633:6;46629:2;46625:15;46618:38;46136:577;-1:-1:-1;;;;;;46311:64:0;-1:-1:-1;;;46311:64:0;;-1:-1:-1;46136:577:0;45932:792;;;;;;:::o;51752:109::-;51804:13;51841:8;51834:15;;;;;:::i;608:799::-;664:13;897:5;906:1;897:10;893:61;;-1:-1:-1;;928:10:0;;;;;;;;;;;;-1:-1:-1;;;928:10:0;;;;;608:799::o;893:61::-;983:5;968:12;1032:90;1039:9;;1032:90;;1069:8;;;;:::i;:::-;;-1:-1:-1;1096:10:0;;-1:-1:-1;1104:2:0;1096:10;;:::i;:::-;;;1032:90;;;1136:19;1168:6;1158:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1158:17:0;;1136:39;;1190:170;1197:10;;1190:170;;1228:11;1238:1;1228:11;;:::i;:::-;;-1:-1:-1;1301:10:0;1309:2;1301:5;:10;:::i;:::-;1288:24;;:2;:24;:::i;:::-;1275:39;;1258:6;1265;1258:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1258:56:0;;;;;;;;-1:-1:-1;1333:11:0;1342:2;1333:11;;:::i;:::-;;;1190:170;;34448:2424;34591:20;34614:13;-1:-1:-1;;;;;34646:16:0;;34642:48;;34671:19;;-1:-1:-1;;;34671:19:0;;;;;;;;;;;34642:48;34709:8;34721:1;34709:13;34705:44;;34731:18;;-1:-1:-1;;;34731:18:0;;;;;;;;;;;34705:44;-1:-1:-1;;;;;35342:22:0;;;;;;:18;:22;;;;19351:2;35342:22;;;:70;;35380:31;35368:44;;35342:70;;;35679:31;;;:17;:31;;;;;35780:15;19900:3;35780:41;35734:88;;-1:-1:-1;35862:13:0;;20183:3;35847:56;35734:170;35679:225;;:31;;35993:23;;;;36041:14;:19;36037:687;;36085:333;36120:38;;36145:12;;-1:-1:-1;;;;;36120:38:0;;;36137:1;;36120:38;;36137:1;;36120:38;36190:69;36229:1;36233:2;36237:14;;;;;;36253:5;36190:30;:69::i;:::-;36185:182;;36299:40;;-1:-1:-1;;;36299:40:0;;;;;;;;;;;36185:182;36413:3;36398:12;:18;36085:333;;36507:12;36490:13;;:29;36486:43;;36521:8;;;36486:43;36037:687;;;36578:127;36613:40;;36638:14;;;;;-1:-1:-1;;;;;36613:40:0;;;36630:1;;36613:40;;36630:1;;36613:40;36700:3;36685:12;:18;36578:127;;36037:687;-1:-1:-1;36742:13:0;:28;;;36800:60;;36833:2;36837:12;36851:8;36800:60;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:1;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:1;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;3913:186::-;3972:6;4025:2;4013:9;4004:7;4000:23;3996:32;3993:52;;;4041:1;4038;4031:12;3993:52;4064:29;4083:9;4064:29;:::i;4104:160::-;4169:20;;4225:13;;4218:21;4208:32;;4198:60;;4254:1;4251;4244:12;4269:254;4334:6;4342;4395:2;4383:9;4374:7;4370:23;4366:32;4363:52;;;4411:1;4408;4401:12;4363:52;4434:29;4453:9;4434:29;:::i;:::-;4424:39;;4482:35;4513:2;4502:9;4498:18;4482:35;:::i;:::-;4472:45;;4269:254;;;;;:::o;4528:667::-;4623:6;4631;4639;4647;4700:3;4688:9;4679:7;4675:23;4671:33;4668:53;;;4717:1;4714;4707:12;4668:53;4740:29;4759:9;4740:29;:::i;:::-;4730:39;;4788:38;4822:2;4811:9;4807:18;4788:38;:::i;:::-;4778:48;;4873:2;4862:9;4858:18;4845:32;4835:42;;4928:2;4917:9;4913:18;4900:32;4955:18;4947:6;4944:30;4941:50;;;4987:1;4984;4977:12;4941:50;5010:22;;5063:4;5055:13;;5051:27;-1:-1:-1;5041:55:1;;5092:1;5089;5082:12;5041:55;5115:74;5181:7;5176:2;5163:16;5158:2;5154;5150:11;5115:74;:::i;:::-;5105:84;;;4528:667;;;;;;;:::o;5200:180::-;5256:6;5309:2;5297:9;5288:7;5284:23;5280:32;5277:52;;;5325:1;5322;5315:12;5277:52;5348:26;5364:9;5348:26;:::i;5385:260::-;5453:6;5461;5514:2;5502:9;5493:7;5489:23;5485:32;5482:52;;;5530:1;5527;5520:12;5482:52;5553:29;5572:9;5553:29;:::i;:::-;5543:39;;5601:38;5635:2;5624:9;5620:18;5601:38;:::i;5650:380::-;5729:1;5725:12;;;;5772;;;5793:61;;5847:4;5839:6;5835:17;5825:27;;5793:61;5900:2;5892:6;5889:14;5869:18;5866:38;5863:161;;5946:10;5941:3;5937:20;5934:1;5927:31;5981:4;5978:1;5971:15;6009:4;6006:1;5999:15;5863:161;;5650:380;;;:::o;6035:356::-;6237:2;6219:21;;;6256:18;;;6249:30;6315:34;6310:2;6295:18;;6288:62;6382:2;6367:18;;6035:356::o;7082:545::-;7184:2;7179:3;7176:11;7173:448;;;7220:1;7245:5;7241:2;7234:17;7290:4;7286:2;7276:19;7360:2;7348:10;7344:19;7341:1;7337:27;7331:4;7327:38;7396:4;7384:10;7381:20;7378:47;;;-1:-1:-1;7419:4:1;7378:47;7474:2;7469:3;7465:12;7462:1;7458:20;7452:4;7448:31;7438:41;;7529:82;7547:2;7540:5;7537:13;7529:82;;;7592:17;;;7573:1;7562:13;7529:82;;;7533:3;;;7082:545;;;:::o;7803:1352::-;7929:3;7923:10;7956:18;7948:6;7945:30;7942:56;;;7978:18;;:::i;:::-;8007:97;8097:6;8057:38;8089:4;8083:11;8057:38;:::i;:::-;8051:4;8007:97;:::i;:::-;8159:4;;8223:2;8212:14;;8240:1;8235:663;;;;8942:1;8959:6;8956:89;;;-1:-1:-1;9011:19:1;;;9005:26;8956:89;-1:-1:-1;;7760:1:1;7756:11;;;7752:24;7748:29;7738:40;7784:1;7780:11;;;7735:57;9058:81;;8205:944;;8235:663;7029:1;7022:14;;;7066:4;7053:18;;-1:-1:-1;;8271:20:1;;;8389:236;8403:7;8400:1;8397:14;8389:236;;;8492:19;;;8486:26;8471:42;;8584:27;;;;8552:1;8540:14;;;;8419:19;;8389:236;;;8393:3;8653:6;8644:7;8641:19;8638:201;;;8714:19;;;8708:26;-1:-1:-1;;8797:1:1;8793:14;;;8809:3;8789:24;8785:37;8781:42;8766:58;8751:74;;8638:201;-1:-1:-1;;;;;8885:1:1;8869:14;;;8865:22;8852:36;;-1:-1:-1;7803:1352:1:o;9160:127::-;9221:10;9216:3;9212:20;9209:1;9202:31;9252:4;9249:1;9242:15;9276:4;9273:1;9266:15;9292:128;9332:3;9363:1;9359:6;9356:1;9353:13;9350:39;;;9369:18;;:::i;:::-;-1:-1:-1;9405:9:1;;9292:128::o;10867:125::-;10907:4;10935:1;10932;10929:8;10926:34;;;10940:18;;:::i;:::-;-1:-1:-1;10977:9:1;;10867:125::o;10997:168::-;11037:7;11103:1;11099;11095:6;11091:14;11088:1;11085:21;11080:1;11073:9;11066:17;11062:45;11059:71;;;11110:18;;:::i;:::-;-1:-1:-1;11150:9:1;;10997:168::o;11989:637::-;12269:3;12307:6;12301:13;12323:53;12369:6;12364:3;12357:4;12349:6;12345:17;12323:53;:::i;:::-;12439:13;;12398:16;;;;12461:57;12439:13;12398:16;12495:4;12483:17;;12461:57;:::i;:::-;-1:-1:-1;;;12540:20:1;;12569:22;;;12618:1;12607:13;;11989:637;-1:-1:-1;;;;11989:637:1:o;13038:489::-;-1:-1:-1;;;;;13307:15:1;;;13289:34;;13359:15;;13354:2;13339:18;;13332:43;13406:2;13391:18;;13384:34;;;13454:3;13449:2;13434:18;;13427:31;;;13232:4;;13475:46;;13501:19;;13493:6;13475:46;:::i;:::-;13467:54;13038:489;-1:-1:-1;;;;;;13038:489:1:o;13532:249::-;13601:6;13654:2;13642:9;13633:7;13629:23;13625:32;13622:52;;;13670:1;13667;13660:12;13622:52;13702:9;13696:16;13721:30;13745:5;13721:30;:::i;13786:135::-;13825:3;13846:17;;;13843:43;;13866:18;;:::i;:::-;-1:-1:-1;13913:1:1;13902:13;;13786:135::o;13926:127::-;13987:10;13982:3;13978:20;13975:1;13968:31;14018:4;14015:1;14008:15;14042:4;14039:1;14032:15;14058:120;14098:1;14124;14114:35;;14129:18;;:::i;:::-;-1:-1:-1;14163:9:1;;14058:120::o;14183:112::-;14215:1;14241;14231:35;;14246:18;;:::i;:::-;-1:-1:-1;14280:9:1;;14183:112::o;14300:127::-;14361:10;14356:3;14352:20;14349:1;14342:31;14392:4;14389:1;14382:15;14416:4;14413:1;14406:15
Swarm Source
ipfs://0053990b6f9240b602b8a5b2c9a77384508b722ba6e0c7c9b182b92a81e21ef5
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.