ERC-721
Overview
Max Total Supply
597 PTHR
Holders
83
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 PTHRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-20 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.7 <0.9.0; //import "../../utils/Context.sol"; /** * @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; } } //import "@openzeppelin/contracts/access/Ownable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } //import "./IERC165.sol"; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } //import "./IERC721.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } //import "./IERC721Receiver.sol"; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } //import "./extensions/IERC721Metadata.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } //import "../../utils/Address.sol"; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } //import "../../utils/Strings.sol"; /** * @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); } } //import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } //import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } //import "./Common/StrLib.sol"; //-------------------------- // 文字列ライブラリ //-------------------------- library StrLib { //--------------------------- // 数値を10進数文字列にして返す //--------------------------- function numToStr( uint256 val ) internal pure returns (string memory) { // 数字の桁 uint256 len = 1; uint256 temp = val; while( temp >= 10 ){ temp = temp / 10; len++; } // バッファ確保 bytes memory buf = new bytes(len); // 数字の出力 temp = val; for( uint256 i=0; i<len; i++ ){ uint c = 48 + (temp%10); // ascii: '0' 〜 '9' buf[len-(i+1)] = bytes1(uint8(c)); temp /= 10; } return( string(buf) ); } } //----------------------- // RAT-PTHR //----------------------- contract Token is Ownable, ERC721 { //---------------------------------------------- // 定数 //---------------------------------------------- uint256 constant private TOKEN_ID_OFFSET = 1; uint256 constant private TOKEN_MAX = 10296; uint256 constant private MINT_MAX = 20; address constant private OWNER_ADDRESS = 0xa15161F087854750e09a7571bbf43361d95Ed099; address constant private LYNX_ADDRESS = 0x45ac1E44e84351Bf17418e481E52BBaC2f08C8b1; string constant private TOKEN_NAME = "PAW THE HYPER RAT"; string constant private TOKEN_SYMBOL = "PTHR"; string constant private HASH_DIRECTORY = "QmX7DqpLzgNYyJcyyT9jJv94tZ8dyBswBFFw7yYeTixZ1i"; //---------------------------------------------- // 管理データ //---------------------------------------------- uint256 private _total_supply; // IPFSの修復 mapping( uint256 => string ) private _repaired_hashes; // 万一メタに問題があった場合の修復用 // キャンペーン bool private _campaign_suspended; // 停止フラグ(何か問題があった場合) uint256 private _campaign_id; // 現在のキャンペーンID uint256 private _campaign_start; // キャンペーンの開始日時(unixtime) uint256 private _campaign_period; // キャンペーンの期間(秒で指定する) //---------------------------------------------- // ユーザー管理 //---------------------------------------------- mapping( address => uint256 ) private _last_campaign; // 最後にアクセスしたキャンペーン mapping( address => uint256 ) private _num_minted; // 最後にアクセスしたキャンペーンでの発行数 //---------------------------------------------- // コンストラクタ //---------------------------------------------- constructor() Ownable() ERC721( TOKEN_NAME, TOKEN_SYMBOL ) { transferOwnership( OWNER_ADDRESS ); } //---------------------------------------------- // [public] tokenURI //---------------------------------------------- function tokenURI( uint256 tokenId ) public view override returns (string memory) { require( _exists( tokenId ), "nonexistent token" ); // 修復データがあれば string memory hash = repairedHash( tokenId ); if( bytes(hash).length > 0 ){ return( string( abi.encodePacked( "ipfs://", hash ) ) ); } // ここまできたらリリース時のメタを返す string memory strId = StrLib.numToStr( tokenId ); return( string( abi.encodePacked( "ipfs://", HASH_DIRECTORY, "/", strId ) ) ); } //---------------------------------------------- // [external] RATのMINT //---------------------------------------------- function mintTokens( uint256 numMint ) external { // 中断中ではないか? require( !_campaign_suspended, "campaign suspended" ); // キャンペーンが有効か? require( _campaign_id > 0, "invalid campaign id" ); // 開始時間に達しているか? require( _campaign_start <= block.timestamp, "campaign not started" ); // 終了時間を過ぎていないか? require( (_campaign_start+_campaign_period) > block.timestamp, "campaign expired" ); // 回数が有効か? require( numMint > 0 && numMint <= MINT_MAX, "invalid numMint" ); // RATの残りはあるか? require( TOKEN_MAX >= (_total_supply+numMint), "remaining rat not enough" ); // キャンペーンを跨いでいたらユーザー情報のリセット if( _last_campaign[msg.sender] < _campaign_id ){ _last_campaign[msg.sender] = _campaign_id; _num_minted[msg.sender] = 0; } // LYNXの保有数の確認 IERC721 lynxContract = IERC721( LYNX_ADDRESS ); uint256 numLynx = lynxContract.balanceOf( msg.sender ); // LYNXの保有数は足りているか? require( numLynx >= (_num_minted[msg.sender]+numMint), "lynx not enough" ); //---------------------- // チェック完了 //---------------------- // 発行 for( uint256 i=0; i<numMint; i++ ){ _safeMint( msg.sender, TOKEN_ID_OFFSET + _total_supply ); _total_supply++; } // 引いた数の加算 _num_minted[msg.sender] += numMint; } //---------------------------------------------- // [external/onlyOwner] RATのGiveAway //---------------------------------------------- function giveawayTokens( address to, uint256 numMint ) external onlyOwner { // RATの残りはあるか? require( TOKEN_MAX >= (_total_supply+numMint), "remaining rat not enough" ); //---------------------- // チェック完了 //---------------------- // 発行 for( uint256 i=0; i<numMint; i++ ){ _safeMint( to, TOKEN_ID_OFFSET + _total_supply ); _total_supply++; } } //--------------------------------------------------- // [external] 発行数の確認 //--------------------------------------------------- function totalSupply() external view returns (uint256) { return( _total_supply ); } //--------------------------------------------------- // [public] 修復されたメタハッシュの確認 //--------------------------------------------------- function repairedHash( uint256 tokenId ) public view returns (string memory) { require( _exists( tokenId ), "nonexistent token" ); return( _repaired_hashes[tokenId] ); } //--------------------------------------------------- // [external/onlyOwner] メタデータのハッシュの修復 //--------------------------------------------------- function repairHash( uint256 tokenId, string calldata hash ) external onlyOwner { require( _exists( tokenId ), "nonexistent token" ); _repaired_hashes[tokenId] = hash; } //--------------------------------------------------- // [external] キャンペーンの中断確認 //--------------------------------------------------- function campaignSuspended() external view returns (bool) { return( _campaign_suspended ); } //--------------------------------------------------- // [external/onlyOwner] キャンペーンの中断 //--------------------------------------------------- function setCampaignSuspended( bool flag ) external onlyOwner { _campaign_suspended = flag; } //--------------------------------------------------- // [external] キャンペーンの内容確認 //--------------------------------------------------- function campaignId() external view returns (uint256) { return( _campaign_id ); } function campaignStart() external view returns (uint256) { return( _campaign_start ); } function campaignPeriod() external view returns (uint256) { return( _campaign_period ); } function blockTimestamp() external view returns (uint256) { return( block.timestamp ); } //--------------------------------------------------- // [external/onlyOwner] キャンペーンの設定 //--------------------------------------------------- function setCampaign( uint256 id, uint256 start, uint256 period ) external onlyOwner { _campaign_id = id; _campaign_start = start; _campaign_period = period; } //--------------------------------------------------- // [external] キャンペーン中か?(ここは中断フラグをみない) //--------------------------------------------------- function duringCampaign() external view returns (bool) { if( _campaign_start <= block.timestamp ){ if( (_campaign_start+_campaign_period) > block.timestamp ){ return( true ); } } return( false ); } //--------------------------------------------------- // [external] キャンペーンまでの待ち時間 //--------------------------------------------------- function waitingTimeForCampaign() external view returns (uint256) { if( _campaign_start <= block.timestamp ){ return( 0 ); } return( _campaign_start - block.timestamp ); } //--------------------------------------------------- // [external] キャンペーンの残り時間 //--------------------------------------------------- function remainingTimeOfCampaign() external view returns (uint256) { if( (_campaign_start+_campaign_period) <= block.timestamp ){ return( 0 ); } // キャンペーン前であれば期間をそのまま返す(待ち時間は考慮にいれない) if( _campaign_start > block.timestamp ){ return( _campaign_period ); } return( (_campaign_start+_campaign_period) - block.timestamp ); } //--------------------------------------------------- // [external] ユーザー情報の確認:保有LYNX //--------------------------------------------------- function checkNumLynx( address target ) external view returns (uint256) { IERC721 lynxContract = IERC721( LYNX_ADDRESS ); return( lynxContract.balanceOf( target ) ); } //--------------------------------------------------- // [external] ユーザー情報の確認:引ける回数 //--------------------------------------------------- function checkNumMintable( address target ) external view returns (uint256) { uint256 minted = 0; // キャンペーンを跨いでいなければ持ち越し(キャンペーンIDが逆戻ることはない想定) if( _last_campaign[target] >= _campaign_id ){ minted = _num_minted[target]; } IERC721 lynxContract = IERC721( LYNX_ADDRESS ); uint256 numLynx = lynxContract.balanceOf( target ); if( numLynx <= minted ){ return( 0 ); } return( numLynx - minted ); } //--------------------------------------------------- // [external] ユーザー情報の確認:引いた回数 //--------------------------------------------------- function checkNumMinted( address target ) external view returns (uint256) { if( _last_campaign[target] < _campaign_id ){ return( 0 ); } return( _num_minted[target] ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"blockTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"campaignId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"campaignPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"campaignStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"campaignSuspended","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"checkNumLynx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"checkNumMintable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"checkNumMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duringCampaign","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numMint","type":"uint256"}],"name":"giveawayTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numMint","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","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":"remainingTimeOfCampaign","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"name":"repairHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"repairedHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"id","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"period","type":"uint256"}],"name":"setCampaign","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setCampaignSuspended","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":"waitingTimeForCampaign","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405180604001604052806011815260200170141055c815121148121654115488149055607a1b81525060405180604001604052806004815260200163282a242960e11b815250620000736200006d620000cc60201b60201c565b620000d0565b815162000088906001906020850190620001f5565b5080516200009e906002906020840190620001f5565b505050620000c673a15161f087854750e09a7571bbf43361d95ed0996200012060201b60201c565b620002d8565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001e75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000177565b620001f281620000d0565b50565b82805462000203906200029b565b90600052602060002090601f01602090048101928262000227576000855562000272565b82601f106200024257805160ff191683800117855562000272565b8280016001018555821562000272579182015b828111156200027257825182559160200191906001019062000255565b506200028092915062000284565b5090565b5b8082111562000280576000815560010162000285565b600181811c90821680620002b057607f821691505b60208210811415620002d257634e487b7160e01b600052602260045260246000fd5b50919050565b6121ac80620002e86000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638da5cb5b1161011a578063b88d4fde116100ad578063ccf2b28f1161007c578063ccf2b28f146103fe578063d6ac3b1a14610411578063e985e9c514610424578063f2fde38b14610460578063f9a1ec941461047357600080fd5b8063b88d4fde146103bd578063bc7be4a3146103d0578063c766d81c146103d8578063c87b56dd146103eb57600080fd5b8063a22cb465116100e9578063a22cb46514610389578063a340f7d11461039c578063adb61832146103a4578063b6bd7d90146103aa57600080fd5b80638da5cb5b146103555780638ed5b0fc1461036657806395d89b411461036e57806397304ced1461037657600080fd5b8063453635fe1161019d578063626883ec1161016c578063626883ec1461030c5780636352211e146103145780636e2f45df1461032757806370a082311461033a578063715018a61461034d57600080fd5b8063453635fe146102d357806348a35f9c146102db57806351e593e1146102e65780635f476435146102f957600080fd5b80630b1181d6116101d95780630b1181d61461028857806318160ddd1461029b57806323b872dd146102ad57806342842e0e146102c057600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610273575b600080fd5b61021e610219366004611cf0565b61047b565b60405190151581526020015b60405180910390f35b61023b6104cd565b60405161022a9190611eeb565b61025b610256366004611d2a565b61055f565b6040516001600160a01b03909116815260200161022a565b610286610281366004611cab565b6105ec565b005b610286610296366004611cab565b610702565b6007545b60405190815260200161022a565b6102866102bb366004611b69565b6107d1565b6102866102ce366004611b69565b610802565b61029f61081d565b60095460ff1661021e565b6102866102f4366004611dd8565b610841565b61029f610307366004611b1b565b610879565b600b5461029f565b61025b610322366004611d2a565b610910565b61029f610335366004611b1b565b610987565b61029f610348366004611b1b565b610a7e565b610286610b05565b6000546001600160a01b031661025b565b600a5461029f565b61023b610b3b565b610286610384366004611d2a565b610b4a565b610286610397366004611c81565b610eae565b61021e610f73565b4261029f565b6102866103b8366004611d5c565b610fa1565b6102866103cb366004611ba5565b61100f565b600c5461029f565b61023b6103e6366004611d2a565b611041565b61023b6103f9366004611d2a565b611106565b61029f61040c366004611b1b565b6111ba565b61028661041f366004611cd5565b611202565b61021e610432366004611b36565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61028661046e366004611b1b565b61123f565b61029f6112da565b60006001600160e01b031982166380ac58cd60e01b14806104ac57506001600160e01b03198216635b5e139f60e01b145b806104c757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546104dc90612070565b80601f016020809104026020016040519081016040528092919081815260200182805461050890612070565b80156105555780601f1061052a57610100808354040283529160200191610555565b820191906000526020600020905b81548152906001019060200180831161053857829003601f168201915b5050505050905090565b600061056a82611324565b6105d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105f782610910565b9050806001600160a01b0316836001600160a01b031614156106655760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105c7565b336001600160a01b038216148061068157506106818133610432565b6106f35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105c7565b6106fd8383611341565b505050565b6000546001600160a01b0316331461072c5760405162461bcd60e51b81526004016105c790611f7b565b8060075461073a9190612001565b61283810156107865760405162461bcd60e51b81526020600482015260186024820152770e4cadac2d2dcd2dcce40e4c2e840dcdee840cadcdeeaced60431b60448201526064016105c7565b60005b818110156106fd576107a98360075460016107a49190612001565b6113af565b600780549060006107b9836120ab565b919050555080806107c9906120ab565b915050610789565b6107db33826113cd565b6107f75760405162461bcd60e51b81526004016105c790611fb0565b6106fd8383836114b7565b6106fd8383836040518060200160405280600081525061100f565b600042600b541161082e5750600090565b42600b5461083c919061202d565b905090565b6000546001600160a01b0316331461086b5760405162461bcd60e51b81526004016105c790611f7b565b600a92909255600b55600c55565b6040516370a0823160e01b81526001600160a01b03821660048201526000907345ac1e44e84351bf17418e481e52bbac2f08c8b19081906370a082319060240160206040518083038186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109099190611d43565b9392505050565b6000818152600360205260408120546001600160a01b0316806104c75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105c7565b600a546001600160a01b0382166000908152600d602052604081205490918291106109c757506001600160a01b0382166000908152600e60205260409020545b6040516370a0823160e01b81526001600160a01b03841660048201527345ac1e44e84351bf17418e481e52bbac2f08c8b19060009082906370a082319060240160206040518083038186803b158015610a1f57600080fd5b505afa158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a579190611d43565b9050828111610a6b57506000949350505050565b610a75838261202d565b95945050505050565b60006001600160a01b038216610ae95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105c7565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b2f5760405162461bcd60e51b81526004016105c790611f7b565b610b396000611657565b565b6060600280546104dc90612070565b60095460ff1615610b925760405162461bcd60e51b815260206004820152601260248201527118d85b5c185a59db881cdd5cdc195b99195960721b60448201526064016105c7565b6000600a5411610bda5760405162461bcd60e51b81526020600482015260136024820152721a5b9d985b1a590818d85b5c185a59db881a59606a1b60448201526064016105c7565b42600b541115610c235760405162461bcd60e51b815260206004820152601460248201527318d85b5c185a59db881b9bdd081cdd185c9d195960621b60448201526064016105c7565b42600c54600b54610c349190612001565b11610c745760405162461bcd60e51b815260206004820152601060248201526f18d85b5c185a59db88195e1c1a5c995960821b60448201526064016105c7565b600081118015610c85575060148111155b610cc35760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081b9d5b535a5b9d608a1b60448201526064016105c7565b80600754610cd19190612001565b6128381015610d1d5760405162461bcd60e51b81526020600482015260186024820152770e4cadac2d2dcd2dcce40e4c2e840dcdee840cadcdeeaced60431b60448201526064016105c7565b600a54336000908152600d60205260409020541015610d5857600a54336000908152600d6020908152604080832093909355600e9052908120555b6040516370a0823160e01b81523360048201527345ac1e44e84351bf17418e481e52bbac2f08c8b19060009082906370a082319060240160206040518083038186803b158015610da757600080fd5b505afa158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190611d43565b336000908152600e6020526040902054909150610dfd908490612001565b811015610e3e5760405162461bcd60e51b815260206004820152600f60248201526e0d8f2dcf040dcdee840cadcdeeaced608b1b60448201526064016105c7565b60005b83811015610e8457610e5c3360075460016107a49190612001565b60078054906000610e6c836120ab565b91905055508080610e7c906120ab565b915050610e41565b50336000908152600e602052604081208054859290610ea4908490612001565b9091555050505050565b6001600160a01b038216331415610f075760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105c7565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600042600b5411610f9b5742600c54600b54610f8f9190612001565b1115610f9b5750600190565b50600090565b6000546001600160a01b03163314610fcb5760405162461bcd60e51b81526004016105c790611f7b565b610fd483611324565b610ff05760405162461bcd60e51b81526004016105c790611f50565b6000838152600860205260409020611009908383611a56565b50505050565b61101933836113cd565b6110355760405162461bcd60e51b81526004016105c790611fb0565b611009848484846116a7565b606061104c82611324565b6110685760405162461bcd60e51b81526004016105c790611f50565b6000828152600860205260409020805461108190612070565b80601f01602080910402602001604051908101604052809291908181526020018280546110ad90612070565b80156110fa5780601f106110cf576101008083540402835291602001916110fa565b820191906000526020600020905b8154815290600101906020018083116110dd57829003601f168201915b50505050509050919050565b606061111182611324565b61112d5760405162461bcd60e51b81526004016105c790611f50565b600061113883611041565b80519091501561116a57806040516020016111539190611e30565b604051602081830303815290604052915050919050565b6000611175846116da565b90506040518060600160405280602e8152602001612149602e9139816040516020016111a2929190611e5f565b60405160208183030381529060405292505050919050565b600a546001600160a01b0382166000908152600d6020526040812054909111156111e657506000919050565b506001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b0316331461122c5760405162461bcd60e51b81526004016105c790611f7b565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146112695760405162461bcd60e51b81526004016105c790611f7b565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c7565b6112d781611657565b50565b600042600c54600b546112ed9190612001565b116112f85750600090565b42600b5411156113095750600c5490565b42600c54600b5461131a9190612001565b61083c919061202d565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061137682610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6113c98282604051806020016040528060008152506117e3565b5050565b60006113d882611324565b6114395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105c7565b600061144483610910565b9050806001600160a01b0316846001600160a01b0316148061147f5750836001600160a01b03166114748461055f565b6001600160a01b0316145b806114af57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114ca82610910565b6001600160a01b0316146115325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105c7565b6001600160a01b0382166115945760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105c7565b61159f600082611341565b6001600160a01b03831660009081526004602052604081208054600192906115c890849061202d565b90915550506001600160a01b03821660009081526004602052604081208054600192906115f6908490612001565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6116b28484846114b7565b6116be84848484611816565b6110095760405162461bcd60e51b81526004016105c790611efe565b60606001825b600a8110611707576116f3600a82612019565b9050816116ff816120ab565b9250506116e0565b60008267ffffffffffffffff8111156117225761172261211c565b6040519080825280601f01601f19166020018201604052801561174c576020820181803683370190505b50905084915060005b838110156117da57600061176a600a856120c6565b611775906030612001565b905060f881901b83611788846001612001565b611792908861202d565b815181106117a2576117a2612106565b60200101906001600160f81b031916908160001a9053506117c4600a85612019565b93505080806117d2906120ab565b915050611755565b50949350505050565b6117ed8383611923565b6117fa6000848484611816565b6106fd5760405162461bcd60e51b81526004016105c790611efe565b60006001600160a01b0384163b1561191857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185a903390899088908890600401611eae565b602060405180830381600087803b15801561187457600080fd5b505af19250505080156118a4575060408051601f3d908101601f191682019092526118a191810190611d0d565b60015b6118fe573d8080156118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5080516118f65760405162461bcd60e51b81526004016105c790611efe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114af565b506001949350505050565b6001600160a01b0382166119795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105c7565b61198281611324565b156119cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c7565b6001600160a01b03821660009081526004602052604081208054600192906119f8908490612001565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611a6290612070565b90600052602060002090601f016020900481019282611a845760008555611aca565b82601f10611a9d5782800160ff19823516178555611aca565b82800160010185558215611aca579182015b82811115611aca578235825591602001919060010190611aaf565b50611ad6929150611ada565b5090565b5b80821115611ad65760008155600101611adb565b80356001600160a01b0381168114611b0657600080fd5b919050565b80358015158114611b0657600080fd5b600060208284031215611b2d57600080fd5b61090982611aef565b60008060408385031215611b4957600080fd5b611b5283611aef565b9150611b6060208401611aef565b90509250929050565b600080600060608486031215611b7e57600080fd5b611b8784611aef565b9250611b9560208501611aef565b9150604084013590509250925092565b60008060008060808587031215611bbb57600080fd5b611bc485611aef565b9350611bd260208601611aef565b925060408501359150606085013567ffffffffffffffff80821115611bf657600080fd5b818701915087601f830112611c0a57600080fd5b813581811115611c1c57611c1c61211c565b604051601f8201601f19908116603f01168101908382118183101715611c4457611c4461211c565b816040528281528a6020848701011115611c5d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9457600080fd5b611c9d83611aef565b9150611b6060208401611b0b565b60008060408385031215611cbe57600080fd5b611cc783611aef565b946020939093013593505050565b600060208284031215611ce757600080fd5b61090982611b0b565b600060208284031215611d0257600080fd5b813561090981612132565b600060208284031215611d1f57600080fd5b815161090981612132565b600060208284031215611d3c57600080fd5b5035919050565b600060208284031215611d5557600080fd5b5051919050565b600080600060408486031215611d7157600080fd5b83359250602084013567ffffffffffffffff80821115611d9057600080fd5b818601915086601f830112611da457600080fd5b813581811115611db357600080fd5b876020828501011115611dc557600080fd5b6020830194508093505050509250925092565b600080600060608486031215611ded57600080fd5b505081359360208301359350604090920135919050565b60008151808452611e1c816020860160208601612044565b601f01601f19169290920160200192915050565b66697066733a2f2f60c81b815260008251611e52816007850160208701612044565b9190910160070192915050565b66697066733a2f2f60c81b815260008351611e81816007850160208801612044565b602f60f81b6007918401918201528351611ea2816008840160208801612044565b01600801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ee190830184611e04565b9695505050505050565b6020815260006109096020830184611e04565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601190820152703737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612014576120146120da565b500190565b600082612028576120286120f0565b500490565b60008282101561203f5761203f6120da565b500390565b60005b8381101561205f578181015183820152602001612047565b838111156110095750506000910152565b600181811c9082168061208457607f821691505b602082108114156120a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bf576120bf6120da565b5060010190565b6000826120d5576120d56120f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112d757600080fdfe516d58374471704c7a674e59794a63797954396a4a763934745a38647942737742464677377959655469785a3169a264697066735822122085a487cca0861052d76953f677ec5e3b32a73e717cf50dd3402bb2ddc551b86c64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80638da5cb5b1161011a578063b88d4fde116100ad578063ccf2b28f1161007c578063ccf2b28f146103fe578063d6ac3b1a14610411578063e985e9c514610424578063f2fde38b14610460578063f9a1ec941461047357600080fd5b8063b88d4fde146103bd578063bc7be4a3146103d0578063c766d81c146103d8578063c87b56dd146103eb57600080fd5b8063a22cb465116100e9578063a22cb46514610389578063a340f7d11461039c578063adb61832146103a4578063b6bd7d90146103aa57600080fd5b80638da5cb5b146103555780638ed5b0fc1461036657806395d89b411461036e57806397304ced1461037657600080fd5b8063453635fe1161019d578063626883ec1161016c578063626883ec1461030c5780636352211e146103145780636e2f45df1461032757806370a082311461033a578063715018a61461034d57600080fd5b8063453635fe146102d357806348a35f9c146102db57806351e593e1146102e65780635f476435146102f957600080fd5b80630b1181d6116101d95780630b1181d61461028857806318160ddd1461029b57806323b872dd146102ad57806342842e0e146102c057600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610273575b600080fd5b61021e610219366004611cf0565b61047b565b60405190151581526020015b60405180910390f35b61023b6104cd565b60405161022a9190611eeb565b61025b610256366004611d2a565b61055f565b6040516001600160a01b03909116815260200161022a565b610286610281366004611cab565b6105ec565b005b610286610296366004611cab565b610702565b6007545b60405190815260200161022a565b6102866102bb366004611b69565b6107d1565b6102866102ce366004611b69565b610802565b61029f61081d565b60095460ff1661021e565b6102866102f4366004611dd8565b610841565b61029f610307366004611b1b565b610879565b600b5461029f565b61025b610322366004611d2a565b610910565b61029f610335366004611b1b565b610987565b61029f610348366004611b1b565b610a7e565b610286610b05565b6000546001600160a01b031661025b565b600a5461029f565b61023b610b3b565b610286610384366004611d2a565b610b4a565b610286610397366004611c81565b610eae565b61021e610f73565b4261029f565b6102866103b8366004611d5c565b610fa1565b6102866103cb366004611ba5565b61100f565b600c5461029f565b61023b6103e6366004611d2a565b611041565b61023b6103f9366004611d2a565b611106565b61029f61040c366004611b1b565b6111ba565b61028661041f366004611cd5565b611202565b61021e610432366004611b36565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61028661046e366004611b1b565b61123f565b61029f6112da565b60006001600160e01b031982166380ac58cd60e01b14806104ac57506001600160e01b03198216635b5e139f60e01b145b806104c757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546104dc90612070565b80601f016020809104026020016040519081016040528092919081815260200182805461050890612070565b80156105555780601f1061052a57610100808354040283529160200191610555565b820191906000526020600020905b81548152906001019060200180831161053857829003601f168201915b5050505050905090565b600061056a82611324565b6105d05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105f782610910565b9050806001600160a01b0316836001600160a01b031614156106655760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105c7565b336001600160a01b038216148061068157506106818133610432565b6106f35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105c7565b6106fd8383611341565b505050565b6000546001600160a01b0316331461072c5760405162461bcd60e51b81526004016105c790611f7b565b8060075461073a9190612001565b61283810156107865760405162461bcd60e51b81526020600482015260186024820152770e4cadac2d2dcd2dcce40e4c2e840dcdee840cadcdeeaced60431b60448201526064016105c7565b60005b818110156106fd576107a98360075460016107a49190612001565b6113af565b600780549060006107b9836120ab565b919050555080806107c9906120ab565b915050610789565b6107db33826113cd565b6107f75760405162461bcd60e51b81526004016105c790611fb0565b6106fd8383836114b7565b6106fd8383836040518060200160405280600081525061100f565b600042600b541161082e5750600090565b42600b5461083c919061202d565b905090565b6000546001600160a01b0316331461086b5760405162461bcd60e51b81526004016105c790611f7b565b600a92909255600b55600c55565b6040516370a0823160e01b81526001600160a01b03821660048201526000907345ac1e44e84351bf17418e481e52bbac2f08c8b19081906370a082319060240160206040518083038186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109099190611d43565b9392505050565b6000818152600360205260408120546001600160a01b0316806104c75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105c7565b600a546001600160a01b0382166000908152600d602052604081205490918291106109c757506001600160a01b0382166000908152600e60205260409020545b6040516370a0823160e01b81526001600160a01b03841660048201527345ac1e44e84351bf17418e481e52bbac2f08c8b19060009082906370a082319060240160206040518083038186803b158015610a1f57600080fd5b505afa158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a579190611d43565b9050828111610a6b57506000949350505050565b610a75838261202d565b95945050505050565b60006001600160a01b038216610ae95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105c7565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610b2f5760405162461bcd60e51b81526004016105c790611f7b565b610b396000611657565b565b6060600280546104dc90612070565b60095460ff1615610b925760405162461bcd60e51b815260206004820152601260248201527118d85b5c185a59db881cdd5cdc195b99195960721b60448201526064016105c7565b6000600a5411610bda5760405162461bcd60e51b81526020600482015260136024820152721a5b9d985b1a590818d85b5c185a59db881a59606a1b60448201526064016105c7565b42600b541115610c235760405162461bcd60e51b815260206004820152601460248201527318d85b5c185a59db881b9bdd081cdd185c9d195960621b60448201526064016105c7565b42600c54600b54610c349190612001565b11610c745760405162461bcd60e51b815260206004820152601060248201526f18d85b5c185a59db88195e1c1a5c995960821b60448201526064016105c7565b600081118015610c85575060148111155b610cc35760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081b9d5b535a5b9d608a1b60448201526064016105c7565b80600754610cd19190612001565b6128381015610d1d5760405162461bcd60e51b81526020600482015260186024820152770e4cadac2d2dcd2dcce40e4c2e840dcdee840cadcdeeaced60431b60448201526064016105c7565b600a54336000908152600d60205260409020541015610d5857600a54336000908152600d6020908152604080832093909355600e9052908120555b6040516370a0823160e01b81523360048201527345ac1e44e84351bf17418e481e52bbac2f08c8b19060009082906370a082319060240160206040518083038186803b158015610da757600080fd5b505afa158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190611d43565b336000908152600e6020526040902054909150610dfd908490612001565b811015610e3e5760405162461bcd60e51b815260206004820152600f60248201526e0d8f2dcf040dcdee840cadcdeeaced608b1b60448201526064016105c7565b60005b83811015610e8457610e5c3360075460016107a49190612001565b60078054906000610e6c836120ab565b91905055508080610e7c906120ab565b915050610e41565b50336000908152600e602052604081208054859290610ea4908490612001565b9091555050505050565b6001600160a01b038216331415610f075760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105c7565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600042600b5411610f9b5742600c54600b54610f8f9190612001565b1115610f9b5750600190565b50600090565b6000546001600160a01b03163314610fcb5760405162461bcd60e51b81526004016105c790611f7b565b610fd483611324565b610ff05760405162461bcd60e51b81526004016105c790611f50565b6000838152600860205260409020611009908383611a56565b50505050565b61101933836113cd565b6110355760405162461bcd60e51b81526004016105c790611fb0565b611009848484846116a7565b606061104c82611324565b6110685760405162461bcd60e51b81526004016105c790611f50565b6000828152600860205260409020805461108190612070565b80601f01602080910402602001604051908101604052809291908181526020018280546110ad90612070565b80156110fa5780601f106110cf576101008083540402835291602001916110fa565b820191906000526020600020905b8154815290600101906020018083116110dd57829003601f168201915b50505050509050919050565b606061111182611324565b61112d5760405162461bcd60e51b81526004016105c790611f50565b600061113883611041565b80519091501561116a57806040516020016111539190611e30565b604051602081830303815290604052915050919050565b6000611175846116da565b90506040518060600160405280602e8152602001612149602e9139816040516020016111a2929190611e5f565b60405160208183030381529060405292505050919050565b600a546001600160a01b0382166000908152600d6020526040812054909111156111e657506000919050565b506001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b0316331461122c5760405162461bcd60e51b81526004016105c790611f7b565b6009805460ff1916911515919091179055565b6000546001600160a01b031633146112695760405162461bcd60e51b81526004016105c790611f7b565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c7565b6112d781611657565b50565b600042600c54600b546112ed9190612001565b116112f85750600090565b42600b5411156113095750600c5490565b42600c54600b5461131a9190612001565b61083c919061202d565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061137682610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6113c98282604051806020016040528060008152506117e3565b5050565b60006113d882611324565b6114395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105c7565b600061144483610910565b9050806001600160a01b0316846001600160a01b0316148061147f5750836001600160a01b03166114748461055f565b6001600160a01b0316145b806114af57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114ca82610910565b6001600160a01b0316146115325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105c7565b6001600160a01b0382166115945760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105c7565b61159f600082611341565b6001600160a01b03831660009081526004602052604081208054600192906115c890849061202d565b90915550506001600160a01b03821660009081526004602052604081208054600192906115f6908490612001565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6116b28484846114b7565b6116be84848484611816565b6110095760405162461bcd60e51b81526004016105c790611efe565b60606001825b600a8110611707576116f3600a82612019565b9050816116ff816120ab565b9250506116e0565b60008267ffffffffffffffff8111156117225761172261211c565b6040519080825280601f01601f19166020018201604052801561174c576020820181803683370190505b50905084915060005b838110156117da57600061176a600a856120c6565b611775906030612001565b905060f881901b83611788846001612001565b611792908861202d565b815181106117a2576117a2612106565b60200101906001600160f81b031916908160001a9053506117c4600a85612019565b93505080806117d2906120ab565b915050611755565b50949350505050565b6117ed8383611923565b6117fa6000848484611816565b6106fd5760405162461bcd60e51b81526004016105c790611efe565b60006001600160a01b0384163b1561191857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061185a903390899088908890600401611eae565b602060405180830381600087803b15801561187457600080fd5b505af19250505080156118a4575060408051601f3d908101601f191682019092526118a191810190611d0d565b60015b6118fe573d8080156118d2576040519150601f19603f3d011682016040523d82523d6000602084013e6118d7565b606091505b5080516118f65760405162461bcd60e51b81526004016105c790611efe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114af565b506001949350505050565b6001600160a01b0382166119795760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105c7565b61198281611324565b156119cf5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c7565b6001600160a01b03821660009081526004602052604081208054600192906119f8908490612001565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611a6290612070565b90600052602060002090601f016020900481019282611a845760008555611aca565b82601f10611a9d5782800160ff19823516178555611aca565b82800160010185558215611aca579182015b82811115611aca578235825591602001919060010190611aaf565b50611ad6929150611ada565b5090565b5b80821115611ad65760008155600101611adb565b80356001600160a01b0381168114611b0657600080fd5b919050565b80358015158114611b0657600080fd5b600060208284031215611b2d57600080fd5b61090982611aef565b60008060408385031215611b4957600080fd5b611b5283611aef565b9150611b6060208401611aef565b90509250929050565b600080600060608486031215611b7e57600080fd5b611b8784611aef565b9250611b9560208501611aef565b9150604084013590509250925092565b60008060008060808587031215611bbb57600080fd5b611bc485611aef565b9350611bd260208601611aef565b925060408501359150606085013567ffffffffffffffff80821115611bf657600080fd5b818701915087601f830112611c0a57600080fd5b813581811115611c1c57611c1c61211c565b604051601f8201601f19908116603f01168101908382118183101715611c4457611c4461211c565b816040528281528a6020848701011115611c5d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611c9457600080fd5b611c9d83611aef565b9150611b6060208401611b0b565b60008060408385031215611cbe57600080fd5b611cc783611aef565b946020939093013593505050565b600060208284031215611ce757600080fd5b61090982611b0b565b600060208284031215611d0257600080fd5b813561090981612132565b600060208284031215611d1f57600080fd5b815161090981612132565b600060208284031215611d3c57600080fd5b5035919050565b600060208284031215611d5557600080fd5b5051919050565b600080600060408486031215611d7157600080fd5b83359250602084013567ffffffffffffffff80821115611d9057600080fd5b818601915086601f830112611da457600080fd5b813581811115611db357600080fd5b876020828501011115611dc557600080fd5b6020830194508093505050509250925092565b600080600060608486031215611ded57600080fd5b505081359360208301359350604090920135919050565b60008151808452611e1c816020860160208601612044565b601f01601f19169290920160200192915050565b66697066733a2f2f60c81b815260008251611e52816007850160208701612044565b9190910160070192915050565b66697066733a2f2f60c81b815260008351611e81816007850160208801612044565b602f60f81b6007918401918201528351611ea2816008840160208801612044565b01600801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ee190830184611e04565b9695505050505050565b6020815260006109096020830184611e04565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601190820152703737b732bc34b9ba32b73a103a37b5b2b760791b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612014576120146120da565b500190565b600082612028576120286120f0565b500490565b60008282101561203f5761203f6120da565b500390565b60005b8381101561205f578181015183820152602001612047565b838111156110095750506000910152565b600181811c9082168061208457607f821691505b602082108114156120a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120bf576120bf6120da565b5060010190565b6000826120d5576120d56120f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112d757600080fdfe516d58374471704c7a674e59794a63797954396a4a763934745a38647942737742464677377959655469785a3169a264697066735822122085a487cca0861052d76953f677ec5e3b32a73e717cf50dd3402bb2ddc551b86c64736f6c63430008070033
Deployed Bytecode Sourcemap
35538:10947:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22468:305;;;;;;:::i;:::-;;:::i;:::-;;;7168:14:1;;7161:22;7143:41;;7131:2;7116:18;22468:305:0;;;;;;;;23413:100;;;:::i;:::-;;;;;;;:::i;24972:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6466:32:1;;;6448:51;;6436:2;6421:18;24972:221:0;6302:203:1;24495:411:0;;;;;;:::i;:::-;;:::i;:::-;;40321:479;;;;;;:::i;:::-;;:::i;40964:97::-;41038:13;;40964:97;;;16307:25:1;;;16295:2;16280:18;40964:97:0;16161:177:1;25862:339:0;;;;;;:::i;:::-;;:::i;26272:185::-;;;;;;:::i;:::-;;:::i;44055:216::-;;;:::i;42009:106::-;42086:19;;;;42009:106;;43192:191;;;;;;:::i;:::-;;:::i;45112:190::-;;;;;;:::i;:::-;;:::i;42687:101::-;42763:15;;42687:101;;23107:239;;;;;;:::i;:::-;;:::i;45493:585::-;;;;;;:::i;:::-;;:::i;22837:208::-;;;;;;:::i;:::-;;:::i;2478:94::-;;;:::i;1827:87::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;1827:87;;42584:95;42657:12;;42584:95;;23582:104;;;:::i;38458:1703::-;;;;;;:::i;:::-;;:::i;25265:295::-;;;;;;:::i;:::-;;:::i;43598:272::-;;;:::i;42907:102::-;42984:15;42907:102;;41636:194;;;;;;:::i;:::-;;:::i;26528:328::-;;;;;;:::i;:::-;;:::i;42796:103::-;42873:16;;42796:103;;41247:194;;;;;;:::i;:::-;;:::i;37728:584::-;;;;;;:::i;:::-;;:::i;46269:213::-;;;;;;:::i;:::-;;:::i;42298:107::-;;;;;;:::i;:::-;;:::i;25631:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25752:25:0;;;25728:4;25752:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25631:164;2727:192;;;;;;:::i;:::-;;:::i;44450:476::-;;;:::i;22468:305::-;22570:4;-1:-1:-1;;;;;;22607:40:0;;-1:-1:-1;;;22607:40:0;;:105;;-1:-1:-1;;;;;;;22664:48:0;;-1:-1:-1;;;22664:48:0;22607:105;:158;;;-1:-1:-1;;;;;;;;;;21123:40:0;;;22729:36;22587:178;22468:305;-1:-1:-1;;22468:305:0:o;23413:100::-;23467:13;23500:5;23493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23413:100;:::o;24972:221::-;25048:7;25076:16;25084:7;25076;:16::i;:::-;25068:73;;;;-1:-1:-1;;;25068:73:0;;13311:2:1;25068:73:0;;;13293:21:1;13350:2;13330:18;;;13323:30;13389:34;13369:18;;;13362:62;-1:-1:-1;;;13440:18:1;;;13433:42;13492:19;;25068:73:0;;;;;;;;;-1:-1:-1;25161:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25161:24:0;;24972:221::o;24495:411::-;24576:13;24592:23;24607:7;24592:14;:23::i;:::-;24576:39;;24640:5;-1:-1:-1;;;;;24634:11:0;:2;-1:-1:-1;;;;;24634:11:0;;;24626:57;;;;-1:-1:-1;;;24626:57:0;;14841:2:1;24626:57:0;;;14823:21:1;14880:2;14860:18;;;14853:30;14919:34;14899:18;;;14892:62;-1:-1:-1;;;14970:18:1;;;14963:31;15011:19;;24626:57:0;14639:397:1;24626:57:0;725:10;-1:-1:-1;;;;;24718:21:0;;;;:62;;-1:-1:-1;24743:37:0;24760:5;725:10;25631:164;:::i;24743:37::-;24696:168;;;;-1:-1:-1;;;24696:168:0;;11011:2:1;24696:168:0;;;10993:21:1;11050:2;11030:18;;;11023:30;11089:34;11069:18;;;11062:62;11160:26;11140:18;;;11133:54;11204:19;;24696:168:0;10809:420:1;24696:168:0;24877:21;24886:2;24890:7;24877:8;:21::i;:::-;24565:341;24495:411;;:::o;40321:479::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;40483:7:::1;40469:13;;:21;;;;:::i;:::-;35790:5;40455:36;;40446:75;;;::::0;-1:-1:-1;;;40446:75:0;;16010:2:1;40446:75:0::1;::::0;::::1;15992:21:1::0;16049:2;16029:18;;;16022:30;-1:-1:-1;;;16068:18:1;;;16061:54;16132:18;;40446:75:0::1;15808:348:1::0;40446:75:0::1;40659:9;40654:139;40674:7;40672:1;:9;40654:139;;;40703:48;40714:2;40736:13;;35745:1;40718:31;;;;:::i;:::-;40703:9;:48::i;:::-;40766:13;:15:::0;;;:13:::1;:15;::::0;::::1;:::i;:::-;;;;;;40683:3;;;;;:::i;:::-;;;;40654:139;;25862:339:::0;26057:41;725:10;26090:7;26057:18;:41::i;:::-;26049:103;;;;-1:-1:-1;;;26049:103:0;;;;;;;:::i;:::-;26165:28;26175:4;26181:2;26185:7;26165:9;:28::i;26272:185::-;26410:39;26427:4;26433:2;26437:7;26410:39;;;;;;;;;;;;:16;:39::i;44055:216::-;44112:7;44155:15;44136;;:34;44132:78;;-1:-1:-1;44195:1:0;;44055:216::o;44132:78::-;44246:15;44228;;:33;;;;:::i;:::-;44220:43;;44055:216;:::o;43192:191::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;43288:12:::1;:17:::0;;;;43316:15:::1;:23:::0;43350:16:::1;:25:::0;43192:191::o;45112:190::-;45260:32;;-1:-1:-1;;;45260:32:0;;-1:-1:-1;;;;;6466:32:1;;45260::0;;;6448:51:1;45175:7:0;;35977:42;;;;45260:22;;6421:18:1;;45260:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45252:42;45112:190;-1:-1:-1;;;45112:190:0:o;23107:239::-;23179:7;23215:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23215:16:0;23250:19;23242:73;;;;-1:-1:-1;;;23242:73:0;;11847:2:1;23242:73:0;;;11829:21:1;11886:2;11866:18;;;11859:30;11925:34;11905:18;;;11898:62;-1:-1:-1;;;11976:18:1;;;11969:39;12025:19;;23242:73:0;11645:405:1;45493:585:0;45770:12;;-1:-1:-1;;;;;45744:22:0;;45560:7;45744:22;;;:14;:22;;;;;;45560:7;;;;45744:38;45740:99;;-1:-1:-1;;;;;;45808:19:0;;;;;;:11;:19;;;;;;45740:99;45926:32;;-1:-1:-1;;;45926:32:0;;-1:-1:-1;;;;;6466:32:1;;45926::0;;;6448:51:1;35977:42:0;;45851:20;;35977:42;;45926:22;;6421:18:1;;45926:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45908:50;;45986:6;45975:7;:17;45971:61;;-1:-1:-1;46017:1:0;;45493:585;-1:-1:-1;;;;45493:585:0:o;45971:61::-;46052:16;46062:6;46052:7;:16;:::i;:::-;46044:26;45493:585;-1:-1:-1;;;;;45493:585:0:o;22837:208::-;22909:7;-1:-1:-1;;;;;22937:19:0;;22929:74;;;;-1:-1:-1;;;22929:74:0;;11436:2:1;22929:74:0;;;11418:21:1;11475:2;11455:18;;;11448:30;11514:34;11494:18;;;11487:62;-1:-1:-1;;;11565:18:1;;;11558:40;11615:19;;22929:74:0;11234:406:1;22929:74:0;-1:-1:-1;;;;;;23021:16:0;;;;;:9;:16;;;;;;;22837:208::o;2478:94::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;2543:21:::1;2561:1;2543:9;:21::i;:::-;2478:94::o:0;23582:104::-;23638:13;23671:7;23664:14;;;;;:::i;38458:1703::-;38567:19;;;;38566:20;38557:53;;;;-1:-1:-1;;;38557:53:0;;10664:2:1;38557:53:0;;;10646:21:1;10703:2;10683:18;;;10676:30;-1:-1:-1;;;10722:18:1;;;10715:48;10780:18;;38557:53:0;10462:342:1;38557:53:0;38693:1;38678:12;;:16;38669:50;;;;-1:-1:-1;;;38669:50:0;;12602:2:1;38669:50:0;;;12584:21:1;12641:2;12621:18;;;12614:30;-1:-1:-1;;;12660:18:1;;;12653:49;12719:18;;38669:50:0;12400:343:1;38669:50:0;38809:15;38790;;:34;;38781:69;;;;-1:-1:-1;;;38781:69:0;;15243:2:1;38781:69:0;;;15225:21:1;15282:2;15262:18;;;15255:30;-1:-1:-1;;;15301:18:1;;;15294:50;15361:18;;38781:69:0;15041:344:1;38781:69:0;38961:15;38941:16;;38925:15;;:32;;;;:::i;:::-;38924:52;38915:83;;;;-1:-1:-1;;;38915:83:0;;12257:2:1;38915:83:0;;;12239:21:1;12296:2;12276:18;;;12269:30;-1:-1:-1;;;12315:18:1;;;12308:46;12371:18;;38915:83:0;12055:340:1;38915:83:0;39064:1;39054:7;:11;:34;;;;;35838:2;39069:7;:19;;39054:34;39045:64;;;;-1:-1:-1;;;39045:64:0;;10320:2:1;39045:64:0;;;10302:21:1;10359:2;10339:18;;;10332:30;-1:-1:-1;;;10378:18:1;;;10371:45;10433:18;;39045:64:0;10118:339:1;39045:64:0;39199:7;39185:13;;:21;;;;:::i;:::-;35790:5;39171:36;;39162:75;;;;-1:-1:-1;;;39162:75:0;;16010:2:1;39162:75:0;;;15992:21:1;16049:2;16029:18;;;16022:30;-1:-1:-1;;;16068:18:1;;;16061:54;16132:18;;39162:75:0;15808:348:1;39162:75:0;39368:12;;39354:10;39339:26;;;;:14;:26;;;;;;:41;39335:157;;;39426:12;;39412:10;39397:26;;;;:14;:26;;;;;;;;:41;;;;39453:11;:23;;;;;:27;39335:157;39617:36;;-1:-1:-1;;;39617:36:0;;39641:10;39617:36;;;6448:51:1;35977:42:0;;39542:20;;35977:42;;39617:22;;6421:18:1;;39617:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39752:10;39740:23;;;;:11;:23;;;;;;39599:54;;-1:-1:-1;39740:31:0;;39764:7;;39740:31;:::i;:::-;39728:7;:44;;39719:74;;;;-1:-1:-1;;;39719:74:0;;7621:2:1;39719:74:0;;;7603:21:1;7660:2;7640:18;;;7633:30;-1:-1:-1;;;7679:18:1;;;7672:45;7734:18;;39719:74:0;7419:339:1;39719:74:0;39931:9;39926:147;39946:7;39944:1;:9;39926:147;;;39975:56;39986:10;40016:13;;35745:1;39998:31;;;;:::i;39975:56::-;40046:13;:15;;;:13;:15;;;:::i;:::-;;;;;;39955:3;;;;;:::i;:::-;;;;39926:147;;;-1:-1:-1;40131:10:0;40119:23;;;;:11;:23;;;;;:34;;40146:7;;40119:23;:34;;40146:7;;40119:34;:::i;:::-;;;;-1:-1:-1;;;;;38458:1703:0:o;25265:295::-;-1:-1:-1;;;;;25368:24:0;;725:10;25368:24;;25360:62;;;;-1:-1:-1;;;25360:62:0;;9553:2:1;25360:62:0;;;9535:21:1;9592:2;9572:18;;;9565:30;9631:27;9611:18;;;9604:55;9676:18;;25360:62:0;9351:349:1;25360:62:0;725:10;25435:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;25435:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;25435:53:0;;;;;;;;;;25504:48;;7143:41:1;;;25435:42:0;;725:10;25504:48;;7116:18:1;25504:48:0;;;;;;;25265:295;;:::o;43598:272::-;43647:4;43687:15;43668;;:34;43664:173;;43760:15;43740:16;;43724:15;;:32;;;;:::i;:::-;43723:52;43719:107;;;-1:-1:-1;43804:4:0;;43598:272::o;43719:107::-;-1:-1:-1;43855:5:0;;43598:272::o;41636:194::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;41736:18:::1;41745:7;41736;:18::i;:::-;41727:50;;;;-1:-1:-1::0;;;41727:50:0::1;;;;;;;:::i;:::-;41790:25;::::0;;;:16:::1;:25;::::0;;;;:32:::1;::::0;41818:4;;41790:32:::1;:::i;:::-;;41636:194:::0;;;:::o;26528:328::-;26703:41;725:10;26736:7;26703:18;:41::i;:::-;26695:103;;;;-1:-1:-1;;;26695:103:0;;;;;;;:::i;:::-;26809:39;26823:4;26829:2;26833:7;26842:5;26809:13;:39::i;41247:194::-;41309:13;41344:18;41353:7;41344;:18::i;:::-;41335:50;;;;-1:-1:-1;;;41335:50:0;;;;;;;:::i;:::-;41406:25;;;;:16;:25;;;;;41398:35;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41247:194;;;:::o;37728:584::-;37795:13;37830:18;37839:7;37830;:18::i;:::-;37821:50;;;;-1:-1:-1;;;37821:50:0;;;;;;;:::i;:::-;37924:18;37945:23;37959:7;37945:12;:23::i;:::-;37983:18;;37924:44;;-1:-1:-1;37983:22:0;37979:110;;38067:4;38038:35;;;;;;;;:::i;:::-;;;;;;;;;;;;;38022:55;;;37728:584;;;:::o;37979:110::-;38168:19;38190:26;38207:7;38190:15;:26::i;:::-;38168:48;;38272:14;;;;;;;;;;;;;;;;;38293:5;38243:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;38227:77;;;;37728:584;;;:::o;46269:213::-;46383:12;;-1:-1:-1;;;;;46358:22:0;;46334:7;46358:22;;;:14;:22;;;;;;46334:7;;-1:-1:-1;46354:81:0;;;-1:-1:-1;46420:1:0;;46269:213;-1:-1:-1;46269:213:0:o;46354:81::-;-1:-1:-1;;;;;;46453:19:0;;;;;:11;:19;;;;;;;46269:213::o;42298:107::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;42371:19:::1;:26:::0;;-1:-1:-1;;42371:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;42298:107::o;2727:192::-;1873:7;1900:6;-1:-1:-1;;;;;1900:6:0;725:10;2047:23;2039:68;;;;-1:-1:-1;;;2039:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2816:22:0;::::1;2808:73;;;::::0;-1:-1:-1;;;2808:73:0;;8384:2:1;2808:73:0::1;::::0;::::1;8366:21:1::0;8423:2;8403:18;;;8396:30;8462:34;8442:18;;;8435:62;-1:-1:-1;;;8513:18:1;;;8506:36;8559:19;;2808:73:0::1;8182:402:1::0;2808:73:0::1;2892:19;2902:8;2892:9;:19::i;:::-;2727:192:::0;:::o;44450:476::-;44508:7;44570:15;44549:16;;44533:15;;:32;;;;:::i;:::-;44532:53;44528:97;;-1:-1:-1;44610:1:0;;44450:476::o;44528:97::-;44774:15;44756;;:33;44752:92;;;-1:-1:-1;44814:16:0;;;44450:476::o;44752:92::-;44901:15;44881:16;;44865:15;;:32;;;;:::i;:::-;44864:52;;;;:::i;28366:127::-;28431:4;28455:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28455:16:0;:30;;;28366:127::o;32348:174::-;32423:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32423:29:0;-1:-1:-1;;;;;32423:29:0;;;;;;;;:24;;32477:23;32423:24;32477:14;:23::i;:::-;-1:-1:-1;;;;;32468:46:0;;;;;;;;;;;32348:174;;:::o;29350:110::-;29426:26;29436:2;29440:7;29426:26;;;;;;;;;;;;:9;:26::i;:::-;29350:110;;:::o;28660:348::-;28753:4;28778:16;28786:7;28778;:16::i;:::-;28770:73;;;;-1:-1:-1;;;28770:73:0;;9907:2:1;28770:73:0;;;9889:21:1;9946:2;9926:18;;;9919:30;9985:34;9965:18;;;9958:62;-1:-1:-1;;;10036:18:1;;;10029:42;10088:19;;28770:73:0;9705:408:1;28770:73:0;28854:13;28870:23;28885:7;28870:14;:23::i;:::-;28854:39;;28923:5;-1:-1:-1;;;;;28912:16:0;:7;-1:-1:-1;;;;;28912:16:0;;:51;;;;28956:7;-1:-1:-1;;;;;28932:31:0;:20;28944:7;28932:11;:20::i;:::-;-1:-1:-1;;;;;28932:31:0;;28912:51;:87;;;-1:-1:-1;;;;;;25752:25:0;;;25728:4;25752:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28967:32;28904:96;28660:348;-1:-1:-1;;;;28660:348:0:o;31652:578::-;31811:4;-1:-1:-1;;;;;31784:31:0;:23;31799:7;31784:14;:23::i;:::-;-1:-1:-1;;;;;31784:31:0;;31776:85;;;;-1:-1:-1;;;31776:85:0;;14431:2:1;31776:85:0;;;14413:21:1;14470:2;14450:18;;;14443:30;14509:34;14489:18;;;14482:62;-1:-1:-1;;;14560:18:1;;;14553:39;14609:19;;31776:85:0;14229:405:1;31776:85:0;-1:-1:-1;;;;;31880:16:0;;31872:65;;;;-1:-1:-1;;;31872:65:0;;9148:2:1;31872:65:0;;;9130:21:1;9187:2;9167:18;;;9160:30;9226:34;9206:18;;;9199:62;-1:-1:-1;;;9277:18:1;;;9270:34;9321:19;;31872:65:0;8946:400:1;31872:65:0;32054:29;32071:1;32075:7;32054:8;:29::i;:::-;-1:-1:-1;;;;;32096:15:0;;;;;;:9;:15;;;;;:20;;32115:1;;32096:15;:20;;32115:1;;32096:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32127:13:0;;;;;;:9;:13;;;;;:18;;32144:1;;32127:13;:18;;32144:1;;32127:18;:::i;:::-;;;;-1:-1:-1;;32156:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32156:21:0;-1:-1:-1;;;;;32156:21:0;;;;;;;;;32195:27;;32156:16;;32195:27;;;;;;;31652:578;;;:::o;2927:173::-;2983:16;3002:6;;-1:-1:-1;;;;;3019:17:0;;;-1:-1:-1;;;;;;3019:17:0;;;;;;3052:40;;3002:6;;;;;;;3052:40;;2983:16;3052:40;2972:128;2927:173;:::o;27738:315::-;27895:28;27905:4;27911:2;27915:7;27895:9;:28::i;:::-;27942:48;27965:4;27971:2;27975:7;27984:5;27942:22;:48::i;:::-;27934:111;;;;-1:-1:-1;;;27934:111:0;;;;;;;:::i;34861:601::-;34917:13;34982:1;35009:3;35023:82;35038:2;35030:4;:10;35023:82;;35064:9;35071:2;35064:4;:9;:::i;:::-;35057:16;-1:-1:-1;35088:5:0;;;;:::i;:::-;;;;35023:82;;;35148:16;35177:3;35167:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35167:14:0;;35148:33;;35229:3;35222:10;;35248:9;35243:178;35263:3;35261:1;:5;35243:178;;;35288:6;35303:7;35308:2;35303:4;:7;:::i;:::-;35297:14;;:2;:14;:::i;:::-;35288:23;-1:-1:-1;35368:16:0;;;;35351:3;35360;:1;35362;35360:3;:::i;:::-;35355:9;;:3;:9;:::i;:::-;35351:14;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;35351:33:0;;;;;;;;-1:-1:-1;35399:10:0;35407:2;35399:10;;:::i;:::-;;;35273:148;35268:3;;;;;:::i;:::-;;;;35243:178;;;-1:-1:-1;35448:3:0;34861:601;-1:-1:-1;;;;34861:601:0:o;29687:321::-;29817:18;29823:2;29827:7;29817:5;:18::i;:::-;29868:54;29899:1;29903:2;29907:7;29916:5;29868:22;:54::i;:::-;29846:154;;;;-1:-1:-1;;;29846:154:0;;;;;;;:::i;33087:799::-;33242:4;-1:-1:-1;;;;;33263:13:0;;11232:20;11280:8;33259:620;;33299:72;;-1:-1:-1;;;33299:72:0;;-1:-1:-1;;;;;33299:36:0;;;;;:72;;725:10;;33350:4;;33356:7;;33365:5;;33299:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33299:72:0;;;;;;;;-1:-1:-1;;33299:72:0;;;;;;;;;;;;:::i;:::-;;;33295:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33541:13:0;;33537:272;;33584:60;;-1:-1:-1;;;33584:60:0;;;;;;;:::i;33537:272::-;33759:6;33753:13;33744:6;33740:2;33736:15;33729:38;33295:529;-1:-1:-1;;;;;;33422:51:0;-1:-1:-1;;;33422:51:0;;-1:-1:-1;33415:58:0;;33259:620;-1:-1:-1;33863:4:0;33087:799;;;;;;:::o;30344:382::-;-1:-1:-1;;;;;30424:16:0;;30416:61;;;;-1:-1:-1;;;30416:61:0;;12950:2:1;30416:61:0;;;12932:21:1;;;12969:18;;;12962:30;13028:34;13008:18;;;13001:62;13080:18;;30416:61:0;12748:356:1;30416:61:0;30497:16;30505:7;30497;:16::i;:::-;30496:17;30488:58;;;;-1:-1:-1;;;30488:58:0;;8791:2:1;30488:58:0;;;8773:21:1;8830:2;8810:18;;;8803:30;8869;8849:18;;;8842:58;8917:18;;30488:58:0;8589:352:1;30488:58:0;-1:-1:-1;;;;;30617:13:0;;;;;;:9;:13;;;;;:18;;30634:1;;30617:13;:18;;30634:1;;30617:18;:::i;:::-;;;;-1:-1:-1;;30646:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30646:21:0;-1:-1:-1;;;;;30646:21:0;;;;;;;;30685:33;;30646:16;;;30685:33;;30646:16;;30685:33;30344:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:186;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;508:29;527:9;508:29;:::i;548:260::-;616:6;624;677:2;665:9;656:7;652:23;648:32;645:52;;;693:1;690;683:12;645:52;716:29;735:9;716:29;:::i;:::-;706:39;;764:38;798:2;787:9;783:18;764:38;:::i;:::-;754:48;;548:260;;;;;:::o;813:328::-;890:6;898;906;959:2;947:9;938:7;934:23;930:32;927:52;;;975:1;972;965:12;927:52;998:29;1017:9;998:29;:::i;:::-;988:39;;1046:38;1080:2;1069:9;1065:18;1046:38;:::i;:::-;1036:48;;1131:2;1120:9;1116:18;1103:32;1093:42;;813:328;;;;;:::o;1146:1138::-;1241:6;1249;1257;1265;1318:3;1306:9;1297:7;1293:23;1289:33;1286:53;;;1335:1;1332;1325:12;1286:53;1358:29;1377:9;1358:29;:::i;:::-;1348:39;;1406:38;1440:2;1429:9;1425:18;1406:38;:::i;:::-;1396:48;;1491:2;1480:9;1476:18;1463:32;1453:42;;1546:2;1535:9;1531:18;1518:32;1569:18;1610:2;1602:6;1599:14;1596:34;;;1626:1;1623;1616:12;1596:34;1664:6;1653:9;1649:22;1639:32;;1709:7;1702:4;1698:2;1694:13;1690:27;1680:55;;1731:1;1728;1721:12;1680:55;1767:2;1754:16;1789:2;1785;1782:10;1779:36;;;1795:18;;:::i;:::-;1870:2;1864:9;1838:2;1924:13;;-1:-1:-1;;1920:22:1;;;1944:2;1916:31;1912:40;1900:53;;;1968:18;;;1988:22;;;1965:46;1962:72;;;2014:18;;:::i;:::-;2054:10;2050:2;2043:22;2089:2;2081:6;2074:18;2129:7;2124:2;2119;2115;2111:11;2107:20;2104:33;2101:53;;;2150:1;2147;2140:12;2101:53;2206:2;2201;2197;2193:11;2188:2;2180:6;2176:15;2163:46;2251:1;2246:2;2241;2233:6;2229:15;2225:24;2218:35;2272:6;2262:16;;;;;;;1146:1138;;;;;;;:::o;2289:254::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2502:35;2533:2;2522:9;2518:18;2502:35;:::i;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:180::-;2863:6;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2955:26;2971:9;2955:26;:::i;2992:245::-;3050:6;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3158:9;3145:23;3177:30;3201:5;3177:30;:::i;3242:249::-;3311:6;3364:2;3352:9;3343:7;3339:23;3335:32;3332:52;;;3380:1;3377;3370:12;3332:52;3412:9;3406:16;3431:30;3455:5;3431:30;:::i;3496:180::-;3555:6;3608:2;3596:9;3587:7;3583:23;3579:32;3576:52;;;3624:1;3621;3614:12;3576:52;-1:-1:-1;3647:23:1;;3496:180;-1:-1:-1;3496:180:1:o;3681:184::-;3751:6;3804:2;3792:9;3783:7;3779:23;3775:32;3772:52;;;3820:1;3817;3810:12;3772:52;-1:-1:-1;3843:16:1;;3681:184;-1:-1:-1;3681:184:1:o;3870:660::-;3950:6;3958;3966;4019:2;4007:9;3998:7;3994:23;3990:32;3987:52;;;4035:1;4032;4025:12;3987:52;4071:9;4058:23;4048:33;;4132:2;4121:9;4117:18;4104:32;4155:18;4196:2;4188:6;4185:14;4182:34;;;4212:1;4209;4202:12;4182:34;4250:6;4239:9;4235:22;4225:32;;4295:7;4288:4;4284:2;4280:13;4276:27;4266:55;;4317:1;4314;4307:12;4266:55;4357:2;4344:16;4383:2;4375:6;4372:14;4369:34;;;4399:1;4396;4389:12;4369:34;4444:7;4439:2;4430:6;4426:2;4422:15;4418:24;4415:37;4412:57;;;4465:1;4462;4455:12;4412:57;4496:2;4492;4488:11;4478:21;;4518:6;4508:16;;;;;3870:660;;;;;:::o;4535:316::-;4612:6;4620;4628;4681:2;4669:9;4660:7;4656:23;4652:32;4649:52;;;4697:1;4694;4687:12;4649:52;-1:-1:-1;;4720:23:1;;;4790:2;4775:18;;4762:32;;-1:-1:-1;4841:2:1;4826:18;;;4813:32;;4535:316;-1:-1:-1;4535:316:1:o;4856:257::-;4897:3;4935:5;4929:12;4962:6;4957:3;4950:19;4978:63;5034:6;5027:4;5022:3;5018:14;5011:4;5004:5;5000:16;4978:63;:::i;:::-;5095:2;5074:15;-1:-1:-1;;5070:29:1;5061:39;;;;5102:4;5057:50;;4856:257;-1:-1:-1;;4856:257:1:o;5118:424::-;-1:-1:-1;;;5375:3:1;5368:22;5350:3;5419:6;5413:13;5435:61;5489:6;5485:1;5480:3;5476:11;5469:4;5461:6;5457:17;5435:61;:::i;:::-;5516:16;;;;5534:1;5512:24;;5118:424;-1:-1:-1;;5118:424:1:o;5547:750::-;-1:-1:-1;;;5953:3:1;5946:22;5928:3;5997:6;5991:13;6013:61;6067:6;6063:1;6058:3;6054:11;6047:4;6039:6;6035:17;6013:61;:::i;:::-;-1:-1:-1;;;6133:1:1;6093:16;;;6125:10;;;6118:23;6166:13;;6188:62;6166:13;6237:1;6229:10;;6222:4;6210:17;;6188:62;:::i;:::-;6270:17;6289:1;6266:25;;5547:750;-1:-1:-1;;;;5547:750:1:o;6510:488::-;-1:-1:-1;;;;;6779:15:1;;;6761:34;;6831:15;;6826:2;6811:18;;6804:43;6878:2;6863:18;;6856:34;;;6926:3;6921:2;6906:18;;6899:31;;;6704:4;;6947:45;;6972:19;;6964:6;6947:45;:::i;:::-;6939:53;6510:488;-1:-1:-1;;;;;;6510:488:1:o;7195:219::-;7344:2;7333:9;7326:21;7307:4;7364:44;7404:2;7393:9;7389:18;7381:6;7364:44;:::i;7763:414::-;7965:2;7947:21;;;8004:2;7984:18;;;7977:30;8043:34;8038:2;8023:18;;8016:62;-1:-1:-1;;;8109:2:1;8094:18;;8087:48;8167:3;8152:19;;7763:414::o;13522:341::-;13724:2;13706:21;;;13763:2;13743:18;;;13736:30;-1:-1:-1;;;13797:2:1;13782:18;;13775:47;13854:2;13839:18;;13522:341::o;13868:356::-;14070:2;14052:21;;;14089:18;;;14082:30;14148:34;14143:2;14128:18;;14121:62;14215:2;14200:18;;13868:356::o;15390:413::-;15592:2;15574:21;;;15631:2;15611:18;;;15604:30;15670:34;15665:2;15650:18;;15643:62;-1:-1:-1;;;15736:2:1;15721:18;;15714:47;15793:3;15778:19;;15390:413::o;16343:128::-;16383:3;16414:1;16410:6;16407:1;16404:13;16401:39;;;16420:18;;:::i;:::-;-1:-1:-1;16456:9:1;;16343:128::o;16476:120::-;16516:1;16542;16532:35;;16547:18;;:::i;:::-;-1:-1:-1;16581:9:1;;16476:120::o;16601:125::-;16641:4;16669:1;16666;16663:8;16660:34;;;16674:18;;:::i;:::-;-1:-1:-1;16711:9:1;;16601:125::o;16731:258::-;16803:1;16813:113;16827:6;16824:1;16821:13;16813:113;;;16903:11;;;16897:18;16884:11;;;16877:39;16849:2;16842:10;16813:113;;;16944:6;16941:1;16938:13;16935:48;;;-1:-1:-1;;16979:1:1;16961:16;;16954:27;16731:258::o;16994:380::-;17073:1;17069:12;;;;17116;;;17137:61;;17191:4;17183:6;17179:17;17169:27;;17137:61;17244:2;17236:6;17233:14;17213:18;17210:38;17207:161;;;17290:10;17285:3;17281:20;17278:1;17271:31;17325:4;17322:1;17315:15;17353:4;17350:1;17343:15;17207:161;;16994:380;;;:::o;17379:135::-;17418:3;-1:-1:-1;;17439:17:1;;17436:43;;;17459:18;;:::i;:::-;-1:-1:-1;17506:1:1;17495:13;;17379:135::o;17519:112::-;17551:1;17577;17567:35;;17582:18;;:::i;:::-;-1:-1:-1;17616:9:1;;17519:112::o;17636:127::-;17697:10;17692:3;17688:20;17685:1;17678:31;17728:4;17725:1;17718:15;17752:4;17749:1;17742:15;17768:127;17829:10;17824:3;17820:20;17817:1;17810:31;17860:4;17857:1;17850:15;17884:4;17881:1;17874:15;17900:127;17961:10;17956:3;17952:20;17949:1;17942:31;17992:4;17989:1;17982:15;18016:4;18013:1;18006:15;18032:127;18093:10;18088:3;18084:20;18081:1;18074:31;18124:4;18121:1;18114:15;18148:4;18145:1;18138:15;18164:131;-1:-1:-1;;;;;;18238:32:1;;18228:43;;18218:71;;18285:1;18282;18275:12
Swarm Source
ipfs://85a487cca0861052d76953f677ec5e3b32a73e717cf50dd3402bb2ddc551b86c
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.