Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 POTM
Holders
15
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 POTMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PiRats
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-01 */ // File: contracts/IBOOTY.sol pragma solidity ^0.8.0; interface IBOOTY { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); function claimBooty(address owner) external; function burnExternal(address from, uint256 amount) external; function initTimeStamp(address owner, uint256 timeStamp) external; function showPendingClaimable(address owner) external view returns (uint256); function showEarningRate(address owner) external view returns (uint256); function claimGift(address to) external; } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File: contracts/IPiRats.sol pragma solidity ^0.8.0; interface IPiRats is IERC721 { struct CrewCaptain { bool isCrew; uint8 body; uint8 clothes; uint8 face; uint8 mouth; uint8 eyes; uint8 head; uint8 legendRank; } function paidTokens() external view returns (uint256); function maxTokens() external view returns (uint256); function mintPiRat(address recipient, uint16 amount, uint256 seed) external; function plankPiRat(address recipient, uint16 amount, uint256 seed, uint256 _burnToken) external; function getTokenTraits(uint256 tokenId) external view returns (CrewCaptain memory); function isCrew(uint256 tokenId) external view returns(bool); function getBalanceCrew(address owner) external view returns (uint16); function getBalanceCaptain(address owner) external view returns (uint16); function getTotalRank(address owner) external view returns (uint256); function walletOfOwner(address owner) external view returns (uint256[] memory); function getTotalPiratsMinted() external view returns(uint256 totalPiratsMinted); function getTotalPiratsBurned() external view returns(uint256 totalPiratsBurned); function getTotalPirats() external view returns(uint256 totalPirats); } // File: contracts/IPOTMTraits.sol pragma solidity ^0.8.0; interface IPOTMTraits { function tokenURI(uint256 tokenId) external view returns (string memory); function selectMintTraits(uint256 seed) external view returns (IPiRats.CrewCaptain memory t); function selectPlankTraits(uint256 seed) external view returns (IPiRats.CrewCaptain memory t); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/PiRats.sol pragma solidity ^0.8.0; //////////////////////////////// // ╔═╗╦╦═╗╔═╗╔╦╗╔═╗ // // ╠═╝║╠╦╝╠═╣ ║ ╚═╗ // // ╩ ╩╩╚═╩ ╩ ╩ ╚═╝ // // ╔═╗╔═╗ ╔╦╗╦ ╦╔═╗ // // ║ ║╠╣ ║ ╠═╣║╣ // // ╚═╝╚ ╩ ╩ ╩╚═╝ // //╔╦╗╔═╗╔╦╗╔═╗╦ ╦╔═╗╦═╗╔═╗╔═╗// //║║║║╣ ║ ╠═╣╚╗╔╝║╣ ╠╦╝╚═╗║╣ // //╩ ╩╚═╝ ╩ ╩ ╩ ╚╝ ╚═╝╩╚═╚═╝╚═╝// //////////////////////////////// contract PiRats is IPiRats, ERC721, Ownable, Pausable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private totalMinted; Counters.Counter private totalBurned; uint256 public override maxTokens; // 20,000 uint256 public override paidTokens; // 5,000 event CrewMinted(uint256 indexed tokenId); event CaptainMinted(uint256 indexed tokenId); event CrewBurned(uint256 indexed tokenId); mapping(uint256 => CrewCaptain) private tokenTraits; mapping(uint256 => uint256) private existingCombinations; mapping(address => uint16) private balanceCrew; mapping(address => uint16) private balanceCaptain; mapping(address => uint16) private totalLegendRank; mapping(address => bool) public admins; IPOTMTraits public traits; IBOOTY public booty; constructor(uint256 _maxTokens) ERC721("PiRats Of The Metaverse", "POTM") { _pause(); maxTokens = _maxTokens; paidTokens = _maxTokens / 4; } /// MODIFIERS /// modifier requireContractsSet() { require( address(booty) != address(0) && address(traits) != address(0), "Contracts not set"); _; } /// MINTING /// function mintPiRat(address recipient, uint16 amount, uint256 seed) external override whenNotPaused { require(admins[_msgSender()], "Only admins - mintPiRat"); _mintLoop(recipient, seed, amount); booty.initTimeStamp(recipient, block.timestamp); } function generate(address owner, uint256 tokenId, uint256 seed) internal returns (CrewCaptain memory t) { require(admins[_msgSender()], "Only admins - generate"); t = traits.selectMintTraits(seed); if (existingCombinations[structToHash(t)] == 0) { tokenTraits[tokenId] = t; existingCombinations[structToHash(t)] = tokenId; if(t.isCrew) { addToBalances(owner, tokenId); emit CrewMinted(tokenId); } else { addToBalances(owner, tokenId); emit CaptainMinted(tokenId); } return t; } return generate(owner, tokenId, seed); } /// WALK THE PLANK /// function plankPiRat(address recipient, uint16 amount, uint256 seed, uint256 _burnToken) external override whenNotPaused { require(admins[_msgSender()], "Only admins - mintPiRat"); require(_isApprovedOrOwner(recipient, _burnToken), "Not your PiRat to burn!"); _burn(_burnToken); totalBurned.increment(); subToBalances(recipient, _burnToken); _mintLoop(recipient, seed, amount); emit CrewBurned(_burnToken); } function _mintLoop(address recipient, uint256 seed, uint256 amount) internal whenNotPaused { require(admins[_msgSender()], "Only admins - _mintLoop"); uint16[] memory tokenIds = new uint16[](amount); for (uint i = 0; i < amount; i++) { totalMinted.increment(); seed = random(seed); generatePlank(recipient, totalMinted.current(), random(seed)); tokenIds[i] = uint16(totalMinted.current()); _safeMint(recipient, totalMinted.current()); } booty.initTimeStamp(recipient, block.timestamp); } function generatePlank(address owner, uint256 tokenId, uint256 seed) internal returns (CrewCaptain memory t) { require(admins[_msgSender()], "Only admins - generatePlank"); t = traits.selectPlankTraits(seed); if (existingCombinations[structToHash(t)] == 0) { tokenTraits[tokenId] = t; existingCombinations[structToHash(t)] = tokenId; if(t.isCrew) { addToBalances(owner, tokenId); emit CrewMinted(tokenId); } else { addToBalances(owner, tokenId); emit CaptainMinted(tokenId); } return t; } return generatePlank(owner, tokenId, random(seed)); } /// TRAITS /// function getTokenTraits(uint256 tokenId) external view override returns (CrewCaptain memory) { return tokenTraits[tokenId]; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Token ID does not exist"); return traits.tokenURI(tokenId); } /// SUPPLY /// function getTotalPiratsMinted() external view override returns(uint256 totalPiratsMinted) { totalPiratsMinted = totalMinted.current(); } function getTotalPiratsBurned() external view override returns(uint256 totalPiratsBurned) { totalPiratsBurned = totalBurned.current(); } function getTotalPirats() external view override returns(uint256 totalPirats) { totalPirats = (totalMinted.current() - totalBurned.current()); } function walletOfOwner(address owner) external view override returns (uint256[] memory) { uint256 tokenCount = balanceOf(owner); uint256[] memory tokensId = new uint256[](tokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < tokenCount && currentTokenId <= maxTokens) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == owner) { tokensId[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return tokensId; } /// ADMIN /// function addAdmin(address addr) external onlyOwner { admins[addr] = true; } function removeAdmin(address addr) external onlyOwner { admins[addr] = false; } function setContracts(address _booty, address _traits) external onlyOwner { booty = IBOOTY(_booty); traits = IPOTMTraits(_traits); } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } function setPaidTokens(uint256 _paidTokens) external onlyOwner { paidTokens = uint16(_paidTokens); } function setPaused(bool _paused) external onlyOwner { if (_paused) _pause(); else _unpause(); } /// INTERNAL /// function structToHash(CrewCaptain memory s) internal pure returns (uint256) { return uint256(keccak256( abi.encodePacked( s.isCrew, s.body, s.clothes, s.face, s.mouth, s.eyes, s.head, s.legendRank ) )); } function random(uint256 seed) internal view returns (uint256) { require(admins[_msgSender()], "Only admins - random"); return uint256(keccak256(abi.encodePacked( tx.origin, blockhash(block.number - 1), block.timestamp, seed ))); } /// OVERRIDE /// function transferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); if (s.isCrew) { booty.claimBooty(from); subToBalances(from, tokenId); booty.initTimeStamp(to, block.timestamp); addToBalances(to, tokenId); } else { booty.claimBooty(from); subToBalances(from, tokenId); booty.initTimeStamp(to, block.timestamp); addToBalances(to, tokenId); } ERC721.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721, IERC721) { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); if (s.isCrew) { booty.claimBooty(from); subToBalances(from, tokenId); booty.initTimeStamp(to, block.timestamp); addToBalances(to, tokenId); } else { booty.claimBooty(from); subToBalances(from, tokenId); booty.initTimeStamp(to, block.timestamp); addToBalances(to, tokenId); } ERC721.safeTransferFrom(from, to, tokenId, data); } function isCrew(uint256 tokenId) external view override returns (bool) { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; return s.isCrew; } function getBalanceCrew(address owner) external view override returns (uint16 _balanceCrew) { _balanceCrew = balanceCrew[owner]; } function getBalanceCaptain(address owner) external view override returns (uint16 _balanceCaptain) { _balanceCaptain = balanceCaptain[owner]; } function getTotalRank(address owner) external view override returns (uint256 _totalRank) { _totalRank = (totalLegendRank[owner]); } function getLegendRank(uint256 tokenId) public view returns (uint16 _legendRank) { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; if (s.isCrew) { _legendRank = (uint16(s.legendRank) + 1); } else { _legendRank = (uint16(s.legendRank) + 8); } } function addToBalances(address owner, uint256 tokenId) internal { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; uint16 _rank = getLegendRank(tokenId); totalLegendRank[owner] += _rank; if (s.isCrew) { balanceCrew[owner]++; } else { balanceCaptain[owner]++; } } function subToBalances(address owner, uint256 tokenId) internal { IPiRats.CrewCaptain memory s = tokenTraits[tokenId]; uint16 _rank = getLegendRank(tokenId); totalLegendRank[owner] -= _rank; if (s.isCrew) { balanceCrew[owner]--; } else { balanceCaptain[owner]--; } } } // 0xHooch //
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxTokens","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"CaptainMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CrewBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"CrewMinted","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"booty","outputs":[{"internalType":"contract IBOOTY","name":"","type":"address"}],"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":"owner","type":"address"}],"name":"getBalanceCaptain","outputs":[{"internalType":"uint16","name":"_balanceCaptain","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getBalanceCrew","outputs":[{"internalType":"uint16","name":"_balanceCrew","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLegendRank","outputs":[{"internalType":"uint16","name":"_legendRank","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenTraits","outputs":[{"components":[{"internalType":"bool","name":"isCrew","type":"bool"},{"internalType":"uint8","name":"body","type":"uint8"},{"internalType":"uint8","name":"clothes","type":"uint8"},{"internalType":"uint8","name":"face","type":"uint8"},{"internalType":"uint8","name":"mouth","type":"uint8"},{"internalType":"uint8","name":"eyes","type":"uint8"},{"internalType":"uint8","name":"head","type":"uint8"},{"internalType":"uint8","name":"legendRank","type":"uint8"}],"internalType":"struct IPiRats.CrewCaptain","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPirats","outputs":[{"internalType":"uint256","name":"totalPirats","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPiratsBurned","outputs":[{"internalType":"uint256","name":"totalPiratsBurned","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPiratsMinted","outputs":[{"internalType":"uint256","name":"totalPiratsMinted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTotalRank","outputs":[{"internalType":"uint256","name":"_totalRank","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isCrew","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"amount","type":"uint16"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"mintPiRat","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":"paidTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"amount","type":"uint16"},{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"_burnToken","type":"uint256"}],"name":"plankPiRat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_booty","type":"address"},{"internalType":"address","name":"_traits","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_paidTokens","type":"uint256"}],"name":"setPaidTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","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":"traits","outputs":[{"internalType":"contract IPOTMTraits","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003488380380620034888339810160408190526200003491620002a9565b604080518082018252601781527f506952617473204f6620546865204d6574617665727365000000000000000000602080830191825283518085019094526004845263504f544d60e01b908401528151919291620000959160009162000203565b508051620000ab90600190602084019062000203565b505050620000c8620000c2620000fb60201b60201c565b620000ff565b6006805460ff60a01b19169055620000df62000151565b6009819055620000f1600482620002c3565b600a555062000323565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000165600654600160a01b900460ff1690565b15620001aa5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001e63390565b6040516001600160a01b03909116815260200160405180910390a1565b8280546200021190620002e6565b90600052602060002090601f01602090048101928262000235576000855562000280565b82601f106200025057805160ff191683800117855562000280565b8280016001018555821562000280579182015b828111156200028057825182559160200191906001019062000263565b506200028e92915062000292565b5090565b5b808211156200028e576000815560010162000293565b600060208284031215620002bc57600080fd5b5051919050565b600082620002e157634e487b7160e01b600052601260045260246000fd5b500490565b600181811c90821680620002fb57607f821691505b602082108114156200031d57634e487b7160e01b600052602260045260246000fd5b50919050565b61315580620003336000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063c87b56dd116100b8578063e1fc334f1161007c578063e1fc334f146105f9578063e83157421461060c578063e985e9c514610615578063f2fde38b14610651578063fe91328a1461066457600080fd5b8063c87b56dd146104fd578063cd138d1a14610510578063cf02973814610519578063d1114ddd146105b9578063d8952a49146105e657600080fd5b80639abf957c116100ff5780639abf957c146104a9578063a22cb465146104bc578063a7eb6e61146104cf578063b88d4fde146104e2578063bbbdbd10146104f557600080fd5b806370a0823114610455578063715018a6146104685780638da5cb5b1461047057806394e568471461048157806395d89b41146104a157600080fd5b80633431a753116101c95780634bcda6841161018d5780634bcda684146103dd5780634e6dd2dc146103f05780635c975abb1461041d5780636352211e1461042f578063704802751461044257600080fd5b80633431a7531461036c5780633ccfd60b1461037f57806342842e0e14610387578063429b62e51461039a578063438b6300146103bd57600080fd5b8063156102941161021057806315610294146102dd57806316c38b3c146102f35780631785f53c1461030657806323b872dd146103195780632fa0c80d1461032c57600080fd5b806301ffc9a71461024d578063046df6b21461027557806306fdde031461028a578063081812fc1461029f578063095ea7b3146102ca575b600080fd5b61026061025b366004612b4e565b61066c565b60405190151581526020015b60405180910390f35b610288610283366004612a99565b6106be565b005b6102926107c3565b60405161026c9190612d8f565b6102b26102ad366004612cc9565b610855565b6040516001600160a01b03909116815260200161026c565b6102886102d8366004612b07565b6108ea565b6102e5610a00565b60405190815260200161026c565b610288610301366004612b31565b610a10565b61028861031436600461292d565b610a53565b61028861032736600461297b565b610a9e565b61035961033a36600461292d565b6001600160a01b03166000908152600d602052604090205461ffff1690565b60405161ffff909116815260200161026c565b61028861037a366004612cc9565b610d1a565b610288610d4d565b61028861039536600461297b565b610db0565b6102606103a836600461292d565b60106020526000908152604090205460ff1681565b6103d06103cb36600461292d565b610dcb565b60405161026c9190612d4b565b6012546102b2906001600160a01b031681565b6103596103fe36600461292d565b6001600160a01b03166000908152600e602052604090205461ffff1690565b600654600160a01b900460ff16610260565b6102b261043d366004612cc9565b610eac565b61028861045036600461292d565b610f23565b6102e561046336600461292d565b610f71565b610288610ff8565b6006546001600160a01b03166102b2565b61049461048f366004612cc9565b61102e565b60405161026c9190612ea4565b6102926110c2565b6102886104b7366004612ac5565b6110d1565b6102886104ca366004612a62565b61120b565b6103596104dd366004612cc9565b61121a565b6102886104f03660046129b7565b6112df565b6102e561155c565b61029261050b366004612cc9565b611574565b6102e5600a5481565b610260610527366004612cc9565b6000908152600b602090815260409182902082516101008082018552915460ff80821615158084529382048116948301949094526201000081048416948201949094526301000000840483166060820152600160201b840483166080820152600160281b8404831660a0820152600160301b8404831660c0820152600160381b90930490911660e09092019190915290565b6102e56105c736600461292d565b6001600160a01b03166000908152600f602052604090205461ffff1690565b6102886105f4366004612948565b61165b565b6011546102b2906001600160a01b031681565b6102e560095481565b610260610623366004612948565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61028861065f36600461292d565b6116b3565b6102e561174b565b60006001600160e01b031982166380ac58cd60e01b148061069d57506001600160e01b03198216635b5e139f60e01b145b806106b857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600654600160a01b900460ff16156106f15760405162461bcd60e51b81526004016106e890612df4565b60405180910390fd5b3360009081526010602052604090205460ff1661074a5760405162461bcd60e51b815260206004820152601760248201527613db9b1e4818591b5a5b9cc80b481b5a5b9d141a54985d604a1b60448201526064016106e8565b61075983828461ffff16611756565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b1580156107a657600080fd5b505af11580156107ba573d6000803e3d6000fd5b50505050505050565b6060600080546107d290613047565b80601f01602080910402602001604051908101604052809291908181526020018280546107fe90613047565b801561084b5780601f106108205761010080835404028352916020019161084b565b820191906000526020600020905b81548152906001019060200180831161082e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b506000908152600460205260409020546001600160a01b031690565b60006108f582610eac565b9050806001600160a01b0316836001600160a01b031614156109635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e8565b336001600160a01b038216148061097f575061097f8133610623565b6109f15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e8565b6109fb8383611921565b505050565b6000610a0b60085490565b905090565b6006546001600160a01b03163314610a3a5760405162461bcd60e51b81526004016106e890612e1e565b8015610a4b57610a4861198f565b50565b610a48611a11565b6006546001600160a01b03163314610a7d5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000818152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e0820152610b31335b83611a95565b610b4d5760405162461bcd60e51b81526004016106e890612e53565b805115610c3157601254604051630d25df8760e01b81526001600160a01b03868116600483015290911690630d25df8790602401600060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b50505050610bbd8483611b8c565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b50505050610c2c8383611d05565b610d09565b601254604051630d25df8760e01b81526001600160a01b03868116600483015290911690630d25df8790602401600060405180830381600087803b158015610c7857600080fd5b505af1158015610c8c573d6000803e3d6000fd5b50505050610c9a8483611b8c565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b158015610ce757600080fd5b505af1158015610cfb573d6000803e3d6000fd5b50505050610d098383611d05565b610d14848484611e3d565b50505050565b6006546001600160a01b03163314610d445760405162461bcd60e51b81526004016106e890612e1e565b61ffff16600a55565b6006546001600160a01b03163314610d775760405162461bcd60e51b81526004016106e890612e1e565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610a48573d6000803e3d6000fd5b6109fb838383604051806020016040528060008152506112df565b60606000610dd883610f71565b905060008167ffffffffffffffff811115610df557610df56130e5565b604051908082528060200260200182016040528015610e1e578160200160208202803683370190505b509050600160005b8381108015610e3757506009548211155b15610ea2576000610e4783610eac565b9050866001600160a01b0316816001600160a01b03161415610e8f5782848381518110610e7657610e766130cf565b602090810291909101015281610e8b8161309e565b9250505b82610e998161309e565b93505050610e26565b5090949350505050565b6000818152600260205260408120546001600160a01b0316806106b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e8565b6006546001600160a01b03163314610f4d5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b60006001600160a01b038216610fdc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146110225760405162461bcd60e51b81526004016106e890612e1e565b61102c6000611e6e565b565b6110366128aa565b506000908152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e082015290565b6060600180546107d290613047565b600654600160a01b900460ff16156110fb5760405162461bcd60e51b81526004016106e890612df4565b3360009081526010602052604090205460ff166111545760405162461bcd60e51b815260206004820152601760248201527613db9b1e4818591b5a5b9cc80b481b5a5b9d141a54985d604a1b60448201526064016106e8565b61115e8482611a95565b6111aa5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420796f757220506952617420746f206275726e2100000000000000000060448201526064016106e8565b6111b381611ec0565b6111c1600880546001019055565b6111cb8482611b8c565b6111da84838561ffff16611756565b60405181907fce32523288292ee8f056dd9fe5653b3b5000fc0f981cdddc71d839e07ec500ef90600090a250505050565b611216338383611f5b565b5050565b6000818152600b6020908152604080832081516101008082018452915460ff80821615801584529382048116958301959095526201000081048516938201939093526301000000830484166060820152600160201b830484166080820152600160281b8304841660a0820152600160301b8304841660c0820152600160381b90920490921660e0820152906112c35760e08101516112bc9060ff166001612f85565b91506112d9565b60e08101516112d69060ff166008612f85565b91505b50919050565b6000828152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e08201526113713384611a95565b61138d5760405162461bcd60e51b81526004016106e890612e53565b80511561147157601254604051630d25df8760e01b81526001600160a01b03878116600483015290911690630d25df8790602401600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506113fd8584611b8c565b6012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561144a57600080fd5b505af115801561145e573d6000803e3d6000fd5b5050505061146c8484611d05565b611549565b601254604051630d25df8760e01b81526001600160a01b03878116600483015290911690630d25df8790602401600060405180830381600087803b1580156114b857600080fd5b505af11580156114cc573d6000803e3d6000fd5b505050506114da8584611b8c565b6012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561152757600080fd5b505af115801561153b573d6000803e3d6000fd5b505050506115498484611d05565b6115558585858561202a565b5050505050565b600061156760085490565b600754610a0b9190612fe6565b6000818152600260205260409020546060906001600160a01b03166115db5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20494420646f6573206e6f7420657869737400000000000000000060448201526064016106e8565b60115460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b15801561161f57600080fd5b505afa158015611633573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106b89190810190612b88565b6006546001600160a01b031633146116855760405162461bcd60e51b81526004016106e890612e1e565b601280546001600160a01b039384166001600160a01b03199182161790915560118054929093169116179055565b6006546001600160a01b031633146116dd5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b0381166117425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e8565b610a4881611e6e565b6000610a0b60075490565b600654600160a01b900460ff16156117805760405162461bcd60e51b81526004016106e890612df4565b3360009081526010602052604090205460ff166117df5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c792061646d696e73202d205f6d696e744c6f6f7000000000000000000060448201526064016106e8565b60008167ffffffffffffffff8111156117fa576117fa6130e5565b604051908082528060200260200182016040528015611823578160200160208202803683370190505b50905060005b828110156118b55761183f600780546001019055565b6118488461205b565b93506118658561185760075490565b6118608761205b565b61210f565b5060075482828151811061187b5761187b6130cf565b602002602001019061ffff16908161ffff16815250506118a38561189e60075490565b6123ad565b806118ad8161309e565b915050611829565b506012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561190357600080fd5b505af1158015611917573d6000803e3d6000fd5b5050505050505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061195682610eac565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600654600160a01b900460ff16156119b95760405162461bcd60e51b81526004016106e890612df4565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119f43390565b6040516001600160a01b03909116815260200160405180910390a1565b600654600160a01b900460ff16611a615760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106e8565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336119f4565b6000818152600260205260408120546001600160a01b0316611b0e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b6000611b1983610eac565b9050806001600160a01b0316846001600160a01b03161480611b545750836001600160a01b0316611b4984610855565b6001600160a01b0316145b80611b8457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000818152600b6020908152604080832081516101008082018452915460ff808216151583529281048316948201949094526201000084048216928101929092526301000000830481166060830152600160201b830481166080830152600160281b8304811660a0830152600160301b8304811660c0830152600160381b90920490911660e082015290611c1f8361121a565b6001600160a01b0385166000908152600f6020526040812080549293508392909190611c5090849061ffff16612fc3565b92506101000a81548161ffff021916908361ffff160217905550816000015115611cbc576001600160a01b0384166000908152600d60205260408120805461ffff1691611c9c83613029565b91906101000a81548161ffff021916908361ffff16021790555050610d14565b6001600160a01b0384166000908152600e60205260408120805461ffff1691611ce483613029565b91906101000a81548161ffff021916908361ffff1602179055505050505050565b6000818152600b6020908152604080832081516101008082018452915460ff808216151583529281048316948201949094526201000084048216928101929092526301000000830481166060830152600160201b830481166080830152600160281b8304811660a0830152600160301b8304811660c0830152600160381b90920490911660e082015290611d988361121a565b6001600160a01b0385166000908152600f6020526040812080549293508392909190611dc990849061ffff16612f85565b92506101000a81548161ffff021916908361ffff160217905550816000015115611e15576001600160a01b0384166000908152600d60205260408120805461ffff1691611c9c8361307c565b6001600160a01b0384166000908152600e60205260408120805461ffff1691611ce48361307c565b611e473382611a95565b611e635760405162461bcd60e51b81526004016106e890612e53565b6109fb8383836123c7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ecb82610eac565b9050611ed8600083611921565b6001600160a01b0381166000908152600360205260408120805460019290611f01908490612fe6565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b03161415611fbd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61203333610b2b565b61204f5760405162461bcd60e51b81526004016106e890612e53565b610d1484848484612567565b3360009081526010602052604081205460ff166120b15760405162461bcd60e51b81526020600482015260146024820152734f6e6c792061646d696e73202d2072616e646f6d60601b60448201526064016106e8565b326120bd600143612fe6565b60405160609290921b6bffffffffffffffffffffffff19166020830152406034820152426054820152607481018390526094015b60408051601f19818403018152919052805160209091012092915050565b6121176128aa565b3360009081526010602052604090205460ff166121765760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792061646d696e73202d2067656e6572617465506c616e6b000000000060448201526064016106e8565b601154604051636f7079a160e01b8152600481018490526001600160a01b0390911690636f7079a1906024016101006040518083038186803b1580156121bb57600080fd5b505afa1580156121cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f39190612bff565b9050600c60006122028361259a565b81526020019081526020016000205460001415612395576000838152600b602090815260408083208451815493860151928601516060870151608088015160a089015160c08a015160e08b015161ffff1990991695151561ff0019169590951761010060ff988916021763ffff00001916620100009488169490940263ff0000001916939093176301000000928716929092029190911765ffff000000001916600160201b9186169190910265ff0000000000191617600160281b918516919091021767ffff0000000000001916600160301b9184169190910267ff00000000000000191617600160381b92909316919091029190911790558390600c906123098461259a565b815260208101919091526040016000205580511561235b5761232b8484611d05565b60405183907f0307f7ce43b2f2e83911f0ded51f50c29fd54c6ad0fe179a889eb463495ad93d90600090a26123a6565b6123658484611d05565b60405183907ff793947659791a2fbef520a3508e70c91d1471203928bc5fe1bfaf633954d98190600090a26123a6565b6123a384846118608561205b565b90505b9392505050565b611216828260405180602001604052806000815250612628565b826001600160a01b03166123da82610eac565b6001600160a01b0316146124425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106e8565b6001600160a01b0382166124a45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e8565b6124af600082611921565b6001600160a01b03831660009081526003602052604081208054600192906124d8908490612fe6565b90915550506001600160a01b0382166000908152600360205260408120805460019290612506908490612fab565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6125728484846123c7565b61257e8484848461265b565b610d145760405162461bcd60e51b81526004016106e890612da2565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955198151560f890811b988a01989098526001600160f81b031996881b871660218a015293871b8616602289015291861b85166023880152851b84166024870152841b83166025860152831b8216602685015290911b1660278201526000906028016120f1565b6126328383612768565b61263f600084848461265b565b6109fb5760405162461bcd60e51b81526004016106e890612da2565b60006001600160a01b0384163b1561275d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061269f903390899088908890600401612d0e565b602060405180830381600087803b1580156126b957600080fd5b505af19250505080156126e9575060408051601f3d908101601f191682019092526126e691810190612b6b565b60015b612743573d808015612717576040519150601f19603f3d011682016040523d82523d6000602084013e61271c565b606091505b50805161273b5760405162461bcd60e51b81526004016106e890612da2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b84565b506001949350505050565b6001600160a01b0382166127be5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e8565b6000818152600260205260409020546001600160a01b0316156128235760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e8565b6001600160a01b038216600090815260036020526040812080546001929061284c908490612fab565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915290565b80356001600160a01b038116811461290557600080fd5b919050565b803561ffff8116811461290557600080fd5b805160ff8116811461290557600080fd5b60006020828403121561293f57600080fd5b6123a6826128ee565b6000806040838503121561295b57600080fd5b612964836128ee565b9150612972602084016128ee565b90509250929050565b60008060006060848603121561299057600080fd5b612999846128ee565b92506129a7602085016128ee565b9150604084013590509250925092565b600080600080608085870312156129cd57600080fd5b6129d6856128ee565b93506129e4602086016128ee565b925060408501359150606085013567ffffffffffffffff811115612a0757600080fd5b8501601f81018713612a1857600080fd5b8035612a2b612a2682612f5d565b612f2c565b818152886020838501011115612a4057600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215612a7557600080fd5b612a7e836128ee565b91506020830135612a8e816130fb565b809150509250929050565b600080600060608486031215612aae57600080fd5b612ab7846128ee565b92506129a76020850161290a565b60008060008060808587031215612adb57600080fd5b612ae4856128ee565b9350612af26020860161290a565b93969395505050506040820135916060013590565b60008060408385031215612b1a57600080fd5b612b23836128ee565b946020939093013593505050565b600060208284031215612b4357600080fd5b81356123a6816130fb565b600060208284031215612b6057600080fd5b81356123a681613109565b600060208284031215612b7d57600080fd5b81516123a681613109565b600060208284031215612b9a57600080fd5b815167ffffffffffffffff811115612bb157600080fd5b8201601f81018413612bc257600080fd5b8051612bd0612a2682612f5d565b818152856020838501011115612be557600080fd5b612bf6826020830160208601612ffd565b95945050505050565b6000610100808385031215612c1357600080fd5b6040519081019067ffffffffffffffff82118183101715612c3657612c366130e5565b8160405283519150612c47826130fb565b818152612c566020850161291c565b6020820152612c676040850161291c565b6040820152612c786060850161291c565b6060820152612c896080850161291c565b6080820152612c9a60a0850161291c565b60a0820152612cab60c0850161291c565b60c0820152612cbc60e0850161291c565b60e0820152949350505050565b600060208284031215612cdb57600080fd5b5035919050565b60008151808452612cfa816020860160208601612ffd565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d4190830184612ce2565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d8357835183529284019291840191600101612d67565b50909695505050505050565b6020815260006123a66020830184612ce2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006101008201905082511515825260ff602084015116602083015260ff604084015116604083015260ff606084015116606083015260ff608084015116608083015260a0830151612efb60a084018260ff169052565b5060c0830151612f1060c084018260ff169052565b5060e0830151612f2560e084018260ff169052565b5092915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f5557612f556130e5565b604052919050565b600067ffffffffffffffff821115612f7757612f776130e5565b50601f01601f191660200190565b600061ffff808316818516808303821115612fa257612fa26130b9565b01949350505050565b60008219821115612fbe57612fbe6130b9565b500190565b600061ffff83811690831681811015612fde57612fde6130b9565b039392505050565b600082821015612ff857612ff86130b9565b500390565b60005b83811015613018578181015183820152602001613000565b83811115610d145750506000910152565b600061ffff82168061303d5761303d6130b9565b6000190192915050565b600181811c9082168061305b57607f821691505b602082108114156112d957634e487b7160e01b600052602260045260246000fd5b600061ffff80831681811415613094576130946130b9565b6001019392505050565b60006000198214156130b2576130b26130b9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610a4857600080fd5b6001600160e01b031981168114610a4857600080fdfea2646970667358221220edb45ac9a4959a6e49d701f7bda4001fe4913a5213f631d8392190d2085bf99b64736f6c634300080700330000000000000000000000000000000000000000000000000000000000004e20
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063c87b56dd116100b8578063e1fc334f1161007c578063e1fc334f146105f9578063e83157421461060c578063e985e9c514610615578063f2fde38b14610651578063fe91328a1461066457600080fd5b8063c87b56dd146104fd578063cd138d1a14610510578063cf02973814610519578063d1114ddd146105b9578063d8952a49146105e657600080fd5b80639abf957c116100ff5780639abf957c146104a9578063a22cb465146104bc578063a7eb6e61146104cf578063b88d4fde146104e2578063bbbdbd10146104f557600080fd5b806370a0823114610455578063715018a6146104685780638da5cb5b1461047057806394e568471461048157806395d89b41146104a157600080fd5b80633431a753116101c95780634bcda6841161018d5780634bcda684146103dd5780634e6dd2dc146103f05780635c975abb1461041d5780636352211e1461042f578063704802751461044257600080fd5b80633431a7531461036c5780633ccfd60b1461037f57806342842e0e14610387578063429b62e51461039a578063438b6300146103bd57600080fd5b8063156102941161021057806315610294146102dd57806316c38b3c146102f35780631785f53c1461030657806323b872dd146103195780632fa0c80d1461032c57600080fd5b806301ffc9a71461024d578063046df6b21461027557806306fdde031461028a578063081812fc1461029f578063095ea7b3146102ca575b600080fd5b61026061025b366004612b4e565b61066c565b60405190151581526020015b60405180910390f35b610288610283366004612a99565b6106be565b005b6102926107c3565b60405161026c9190612d8f565b6102b26102ad366004612cc9565b610855565b6040516001600160a01b03909116815260200161026c565b6102886102d8366004612b07565b6108ea565b6102e5610a00565b60405190815260200161026c565b610288610301366004612b31565b610a10565b61028861031436600461292d565b610a53565b61028861032736600461297b565b610a9e565b61035961033a36600461292d565b6001600160a01b03166000908152600d602052604090205461ffff1690565b60405161ffff909116815260200161026c565b61028861037a366004612cc9565b610d1a565b610288610d4d565b61028861039536600461297b565b610db0565b6102606103a836600461292d565b60106020526000908152604090205460ff1681565b6103d06103cb36600461292d565b610dcb565b60405161026c9190612d4b565b6012546102b2906001600160a01b031681565b6103596103fe36600461292d565b6001600160a01b03166000908152600e602052604090205461ffff1690565b600654600160a01b900460ff16610260565b6102b261043d366004612cc9565b610eac565b61028861045036600461292d565b610f23565b6102e561046336600461292d565b610f71565b610288610ff8565b6006546001600160a01b03166102b2565b61049461048f366004612cc9565b61102e565b60405161026c9190612ea4565b6102926110c2565b6102886104b7366004612ac5565b6110d1565b6102886104ca366004612a62565b61120b565b6103596104dd366004612cc9565b61121a565b6102886104f03660046129b7565b6112df565b6102e561155c565b61029261050b366004612cc9565b611574565b6102e5600a5481565b610260610527366004612cc9565b6000908152600b602090815260409182902082516101008082018552915460ff80821615158084529382048116948301949094526201000081048416948201949094526301000000840483166060820152600160201b840483166080820152600160281b8404831660a0820152600160301b8404831660c0820152600160381b90930490911660e09092019190915290565b6102e56105c736600461292d565b6001600160a01b03166000908152600f602052604090205461ffff1690565b6102886105f4366004612948565b61165b565b6011546102b2906001600160a01b031681565b6102e560095481565b610260610623366004612948565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61028861065f36600461292d565b6116b3565b6102e561174b565b60006001600160e01b031982166380ac58cd60e01b148061069d57506001600160e01b03198216635b5e139f60e01b145b806106b857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600654600160a01b900460ff16156106f15760405162461bcd60e51b81526004016106e890612df4565b60405180910390fd5b3360009081526010602052604090205460ff1661074a5760405162461bcd60e51b815260206004820152601760248201527613db9b1e4818591b5a5b9cc80b481b5a5b9d141a54985d604a1b60448201526064016106e8565b61075983828461ffff16611756565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b1580156107a657600080fd5b505af11580156107ba573d6000803e3d6000fd5b50505050505050565b6060600080546107d290613047565b80601f01602080910402602001604051908101604052809291908181526020018280546107fe90613047565b801561084b5780601f106108205761010080835404028352916020019161084b565b820191906000526020600020905b81548152906001019060200180831161082e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b506000908152600460205260409020546001600160a01b031690565b60006108f582610eac565b9050806001600160a01b0316836001600160a01b031614156109635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106e8565b336001600160a01b038216148061097f575061097f8133610623565b6109f15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106e8565b6109fb8383611921565b505050565b6000610a0b60085490565b905090565b6006546001600160a01b03163314610a3a5760405162461bcd60e51b81526004016106e890612e1e565b8015610a4b57610a4861198f565b50565b610a48611a11565b6006546001600160a01b03163314610a7d5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000818152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e0820152610b31335b83611a95565b610b4d5760405162461bcd60e51b81526004016106e890612e53565b805115610c3157601254604051630d25df8760e01b81526001600160a01b03868116600483015290911690630d25df8790602401600060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b50505050610bbd8483611b8c565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b158015610c0a57600080fd5b505af1158015610c1e573d6000803e3d6000fd5b50505050610c2c8383611d05565b610d09565b601254604051630d25df8760e01b81526001600160a01b03868116600483015290911690630d25df8790602401600060405180830381600087803b158015610c7857600080fd5b505af1158015610c8c573d6000803e3d6000fd5b50505050610c9a8483611b8c565b6012546040516338d3e83960e21b81526001600160a01b0385811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b158015610ce757600080fd5b505af1158015610cfb573d6000803e3d6000fd5b50505050610d098383611d05565b610d14848484611e3d565b50505050565b6006546001600160a01b03163314610d445760405162461bcd60e51b81526004016106e890612e1e565b61ffff16600a55565b6006546001600160a01b03163314610d775760405162461bcd60e51b81526004016106e890612e1e565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610a48573d6000803e3d6000fd5b6109fb838383604051806020016040528060008152506112df565b60606000610dd883610f71565b905060008167ffffffffffffffff811115610df557610df56130e5565b604051908082528060200260200182016040528015610e1e578160200160208202803683370190505b509050600160005b8381108015610e3757506009548211155b15610ea2576000610e4783610eac565b9050866001600160a01b0316816001600160a01b03161415610e8f5782848381518110610e7657610e766130cf565b602090810291909101015281610e8b8161309e565b9250505b82610e998161309e565b93505050610e26565b5090949350505050565b6000818152600260205260408120546001600160a01b0316806106b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106e8565b6006546001600160a01b03163314610f4d5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b60006001600160a01b038216610fdc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106e8565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146110225760405162461bcd60e51b81526004016106e890612e1e565b61102c6000611e6e565b565b6110366128aa565b506000908152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e082015290565b6060600180546107d290613047565b600654600160a01b900460ff16156110fb5760405162461bcd60e51b81526004016106e890612df4565b3360009081526010602052604090205460ff166111545760405162461bcd60e51b815260206004820152601760248201527613db9b1e4818591b5a5b9cc80b481b5a5b9d141a54985d604a1b60448201526064016106e8565b61115e8482611a95565b6111aa5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420796f757220506952617420746f206275726e2100000000000000000060448201526064016106e8565b6111b381611ec0565b6111c1600880546001019055565b6111cb8482611b8c565b6111da84838561ffff16611756565b60405181907fce32523288292ee8f056dd9fe5653b3b5000fc0f981cdddc71d839e07ec500ef90600090a250505050565b611216338383611f5b565b5050565b6000818152600b6020908152604080832081516101008082018452915460ff80821615801584529382048116958301959095526201000081048516938201939093526301000000830484166060820152600160201b830484166080820152600160281b8304841660a0820152600160301b8304841660c0820152600160381b90920490921660e0820152906112c35760e08101516112bc9060ff166001612f85565b91506112d9565b60e08101516112d69060ff166008612f85565b91505b50919050565b6000828152600b602090815260409182902082516101008082018552915460ff808216151583529281048316938201939093526201000083048216938101939093526301000000820481166060840152600160201b820481166080840152600160281b8204811660a0840152600160301b8204811660c0840152600160381b9091041660e08201526113713384611a95565b61138d5760405162461bcd60e51b81526004016106e890612e53565b80511561147157601254604051630d25df8760e01b81526001600160a01b03878116600483015290911690630d25df8790602401600060405180830381600087803b1580156113db57600080fd5b505af11580156113ef573d6000803e3d6000fd5b505050506113fd8584611b8c565b6012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561144a57600080fd5b505af115801561145e573d6000803e3d6000fd5b5050505061146c8484611d05565b611549565b601254604051630d25df8760e01b81526001600160a01b03878116600483015290911690630d25df8790602401600060405180830381600087803b1580156114b857600080fd5b505af11580156114cc573d6000803e3d6000fd5b505050506114da8584611b8c565b6012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561152757600080fd5b505af115801561153b573d6000803e3d6000fd5b505050506115498484611d05565b6115558585858561202a565b5050505050565b600061156760085490565b600754610a0b9190612fe6565b6000818152600260205260409020546060906001600160a01b03166115db5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e20494420646f6573206e6f7420657869737400000000000000000060448201526064016106e8565b60115460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd9060240160006040518083038186803b15801561161f57600080fd5b505afa158015611633573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106b89190810190612b88565b6006546001600160a01b031633146116855760405162461bcd60e51b81526004016106e890612e1e565b601280546001600160a01b039384166001600160a01b03199182161790915560118054929093169116179055565b6006546001600160a01b031633146116dd5760405162461bcd60e51b81526004016106e890612e1e565b6001600160a01b0381166117425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e8565b610a4881611e6e565b6000610a0b60075490565b600654600160a01b900460ff16156117805760405162461bcd60e51b81526004016106e890612df4565b3360009081526010602052604090205460ff166117df5760405162461bcd60e51b815260206004820152601760248201527f4f6e6c792061646d696e73202d205f6d696e744c6f6f7000000000000000000060448201526064016106e8565b60008167ffffffffffffffff8111156117fa576117fa6130e5565b604051908082528060200260200182016040528015611823578160200160208202803683370190505b50905060005b828110156118b55761183f600780546001019055565b6118488461205b565b93506118658561185760075490565b6118608761205b565b61210f565b5060075482828151811061187b5761187b6130cf565b602002602001019061ffff16908161ffff16815250506118a38561189e60075490565b6123ad565b806118ad8161309e565b915050611829565b506012546040516338d3e83960e21b81526001600160a01b0386811660048301524260248301529091169063e34fa0e490604401600060405180830381600087803b15801561190357600080fd5b505af1158015611917573d6000803e3d6000fd5b5050505050505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061195682610eac565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600654600160a01b900460ff16156119b95760405162461bcd60e51b81526004016106e890612df4565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119f43390565b6040516001600160a01b03909116815260200160405180910390a1565b600654600160a01b900460ff16611a615760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106e8565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336119f4565b6000818152600260205260408120546001600160a01b0316611b0e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106e8565b6000611b1983610eac565b9050806001600160a01b0316846001600160a01b03161480611b545750836001600160a01b0316611b4984610855565b6001600160a01b0316145b80611b8457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000818152600b6020908152604080832081516101008082018452915460ff808216151583529281048316948201949094526201000084048216928101929092526301000000830481166060830152600160201b830481166080830152600160281b8304811660a0830152600160301b8304811660c0830152600160381b90920490911660e082015290611c1f8361121a565b6001600160a01b0385166000908152600f6020526040812080549293508392909190611c5090849061ffff16612fc3565b92506101000a81548161ffff021916908361ffff160217905550816000015115611cbc576001600160a01b0384166000908152600d60205260408120805461ffff1691611c9c83613029565b91906101000a81548161ffff021916908361ffff16021790555050610d14565b6001600160a01b0384166000908152600e60205260408120805461ffff1691611ce483613029565b91906101000a81548161ffff021916908361ffff1602179055505050505050565b6000818152600b6020908152604080832081516101008082018452915460ff808216151583529281048316948201949094526201000084048216928101929092526301000000830481166060830152600160201b830481166080830152600160281b8304811660a0830152600160301b8304811660c0830152600160381b90920490911660e082015290611d988361121a565b6001600160a01b0385166000908152600f6020526040812080549293508392909190611dc990849061ffff16612f85565b92506101000a81548161ffff021916908361ffff160217905550816000015115611e15576001600160a01b0384166000908152600d60205260408120805461ffff1691611c9c8361307c565b6001600160a01b0384166000908152600e60205260408120805461ffff1691611ce48361307c565b611e473382611a95565b611e635760405162461bcd60e51b81526004016106e890612e53565b6109fb8383836123c7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611ecb82610eac565b9050611ed8600083611921565b6001600160a01b0381166000908152600360205260408120805460019290611f01908490612fe6565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b03161415611fbd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106e8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61203333610b2b565b61204f5760405162461bcd60e51b81526004016106e890612e53565b610d1484848484612567565b3360009081526010602052604081205460ff166120b15760405162461bcd60e51b81526020600482015260146024820152734f6e6c792061646d696e73202d2072616e646f6d60601b60448201526064016106e8565b326120bd600143612fe6565b60405160609290921b6bffffffffffffffffffffffff19166020830152406034820152426054820152607481018390526094015b60408051601f19818403018152919052805160209091012092915050565b6121176128aa565b3360009081526010602052604090205460ff166121765760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792061646d696e73202d2067656e6572617465506c616e6b000000000060448201526064016106e8565b601154604051636f7079a160e01b8152600481018490526001600160a01b0390911690636f7079a1906024016101006040518083038186803b1580156121bb57600080fd5b505afa1580156121cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f39190612bff565b9050600c60006122028361259a565b81526020019081526020016000205460001415612395576000838152600b602090815260408083208451815493860151928601516060870151608088015160a089015160c08a015160e08b015161ffff1990991695151561ff0019169590951761010060ff988916021763ffff00001916620100009488169490940263ff0000001916939093176301000000928716929092029190911765ffff000000001916600160201b9186169190910265ff0000000000191617600160281b918516919091021767ffff0000000000001916600160301b9184169190910267ff00000000000000191617600160381b92909316919091029190911790558390600c906123098461259a565b815260208101919091526040016000205580511561235b5761232b8484611d05565b60405183907f0307f7ce43b2f2e83911f0ded51f50c29fd54c6ad0fe179a889eb463495ad93d90600090a26123a6565b6123658484611d05565b60405183907ff793947659791a2fbef520a3508e70c91d1471203928bc5fe1bfaf633954d98190600090a26123a6565b6123a384846118608561205b565b90505b9392505050565b611216828260405180602001604052806000815250612628565b826001600160a01b03166123da82610eac565b6001600160a01b0316146124425760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106e8565b6001600160a01b0382166124a45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106e8565b6124af600082611921565b6001600160a01b03831660009081526003602052604081208054600192906124d8908490612fe6565b90915550506001600160a01b0382166000908152600360205260408120805460019290612506908490612fab565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6125728484846123c7565b61257e8484848461265b565b610d145760405162461bcd60e51b81526004016106e890612da2565b80516020808301516040808501516060860151608087015160a088015160c089015160e08a0151955198151560f890811b988a01989098526001600160f81b031996881b871660218a015293871b8616602289015291861b85166023880152851b84166024870152841b83166025860152831b8216602685015290911b1660278201526000906028016120f1565b6126328383612768565b61263f600084848461265b565b6109fb5760405162461bcd60e51b81526004016106e890612da2565b60006001600160a01b0384163b1561275d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061269f903390899088908890600401612d0e565b602060405180830381600087803b1580156126b957600080fd5b505af19250505080156126e9575060408051601f3d908101601f191682019092526126e691810190612b6b565b60015b612743573d808015612717576040519150601f19603f3d011682016040523d82523d6000602084013e61271c565b606091505b50805161273b5760405162461bcd60e51b81526004016106e890612da2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b84565b506001949350505050565b6001600160a01b0382166127be5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106e8565b6000818152600260205260409020546001600160a01b0316156128235760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106e8565b6001600160a01b038216600090815260036020526040812080546001929061284c908490612fab565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915290565b80356001600160a01b038116811461290557600080fd5b919050565b803561ffff8116811461290557600080fd5b805160ff8116811461290557600080fd5b60006020828403121561293f57600080fd5b6123a6826128ee565b6000806040838503121561295b57600080fd5b612964836128ee565b9150612972602084016128ee565b90509250929050565b60008060006060848603121561299057600080fd5b612999846128ee565b92506129a7602085016128ee565b9150604084013590509250925092565b600080600080608085870312156129cd57600080fd5b6129d6856128ee565b93506129e4602086016128ee565b925060408501359150606085013567ffffffffffffffff811115612a0757600080fd5b8501601f81018713612a1857600080fd5b8035612a2b612a2682612f5d565b612f2c565b818152886020838501011115612a4057600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215612a7557600080fd5b612a7e836128ee565b91506020830135612a8e816130fb565b809150509250929050565b600080600060608486031215612aae57600080fd5b612ab7846128ee565b92506129a76020850161290a565b60008060008060808587031215612adb57600080fd5b612ae4856128ee565b9350612af26020860161290a565b93969395505050506040820135916060013590565b60008060408385031215612b1a57600080fd5b612b23836128ee565b946020939093013593505050565b600060208284031215612b4357600080fd5b81356123a6816130fb565b600060208284031215612b6057600080fd5b81356123a681613109565b600060208284031215612b7d57600080fd5b81516123a681613109565b600060208284031215612b9a57600080fd5b815167ffffffffffffffff811115612bb157600080fd5b8201601f81018413612bc257600080fd5b8051612bd0612a2682612f5d565b818152856020838501011115612be557600080fd5b612bf6826020830160208601612ffd565b95945050505050565b6000610100808385031215612c1357600080fd5b6040519081019067ffffffffffffffff82118183101715612c3657612c366130e5565b8160405283519150612c47826130fb565b818152612c566020850161291c565b6020820152612c676040850161291c565b6040820152612c786060850161291c565b6060820152612c896080850161291c565b6080820152612c9a60a0850161291c565b60a0820152612cab60c0850161291c565b60c0820152612cbc60e0850161291c565b60e0820152949350505050565b600060208284031215612cdb57600080fd5b5035919050565b60008151808452612cfa816020860160208601612ffd565b601f01601f19169290920160200192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d4190830184612ce2565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612d8357835183529284019291840191600101612d67565b50909695505050505050565b6020815260006123a66020830184612ce2565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006101008201905082511515825260ff602084015116602083015260ff604084015116604083015260ff606084015116606083015260ff608084015116608083015260a0830151612efb60a084018260ff169052565b5060c0830151612f1060c084018260ff169052565b5060e0830151612f2560e084018260ff169052565b5092915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f5557612f556130e5565b604052919050565b600067ffffffffffffffff821115612f7757612f776130e5565b50601f01601f191660200190565b600061ffff808316818516808303821115612fa257612fa26130b9565b01949350505050565b60008219821115612fbe57612fbe6130b9565b500190565b600061ffff83811690831681811015612fde57612fde6130b9565b039392505050565b600082821015612ff857612ff86130b9565b500390565b60005b83811015613018578181015183820152602001613000565b83811115610d145750506000910152565b600061ffff82168061303d5761303d6130b9565b6000190192915050565b600181811c9082168061305b57607f821691505b602082108114156112d957634e487b7160e01b600052602260045260246000fd5b600061ffff80831681811415613094576130946130b9565b6001019392505050565b60006000198214156130b2576130b26130b9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610a4857600080fd5b6001600160e01b031981168114610a4857600080fdfea2646970667358221220edb45ac9a4959a6e49d701f7bda4001fe4913a5213f631d8392190d2085bf99b64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000004e20
-----Decoded View---------------
Arg [0] : _maxTokens (uint256): 20000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000004e20
Deployed Bytecode Sourcemap
43091:10490:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27377:305;;;;;;:::i;:::-;;:::i;:::-;;;9558:14:1;;9551:22;9533:41;;9521:2;9506:18;27377:305:0;;;;;;;;44379:277;;;;;;:::i;:::-;;:::i;:::-;;28322:100;;;:::i;:::-;;;;;;;:::i;29881:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7940:32:1;;;7922:51;;7910:2;7895:18;29881:221:0;7776:203:1;29404:411:0;;;;;;:::i;:::-;;:::i;47845:150::-;;;:::i;:::-;;;20277:25:1;;;20265:2;20250:18;47845:150:0;20131:177:1;49465:118:0;;;;;;:::i;:::-;;:::i;48958:93::-;;;;;;:::i;:::-;;:::i;50339:737::-;;;;;;:::i;:::-;;:::i;52037:144::-;;;;;;:::i;:::-;-1:-1:-1;;;;;52155:18:0;52108:19;52155:18;;;:11;:18;;;;;;;;;52037:144;;;;20112:6:1;20100:19;;;20082:38;;20070:2;20055:18;52037:144:0;19938:188:1;49343:114:0;;;;;;:::i;:::-;;:::i;49229:106::-;;;:::i;31041:185::-;;;;;;:::i;:::-;;:::i;43859:38::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;48173:659;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43938:19::-;;;;;-1:-1:-1;;;;;43938:19:0;;;52189:156;;;;;;:::i;:::-;-1:-1:-1;;;;;52316:21:0;52263:22;52316:21;;;:14;:21;;;;;;;;;52189:156;24799:86;24870:7;;-1:-1:-1;;;24870:7:0;;;;24799:86;;28016:239;;;;;;:::i;:::-;;:::i;48861:89::-;;;;;;:::i;:::-;;:::i;27746:208::-;;;;;;:::i;:::-;;:::i;41530:103::-;;;:::i;40879:87::-;40952:6;;-1:-1:-1;;;;;40952:6:0;40879:87;;47316:140;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;28491:104::-;;;:::i;45437:475::-;;;;;;:::i;:::-;;:::i;30174:155::-;;;;;;:::i;:::-;;:::i;52506:328::-;;;;;;:::i;:::-;;:::i;51084:770::-;;;;;;:::i;:::-;;:::i;48003:158::-;;;:::i;47464:193::-;;;;;;:::i;:::-;;:::i;43369:34::-;;;;;;51862:167;;;;;;:::i;:::-;51927:4;51975:20;;;:11;:20;;;;;;;;;51944:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51944:51:0;;;;;;;;-1:-1:-1;;;51944:51:0;;;;;;;;-1:-1:-1;;;51944:51:0;;;;;;;;-1:-1:-1;;;51944:51:0;;;;;;;;;;;;;;;51862:167;52353:145;;;;;;:::i;:::-;-1:-1:-1;;;;;52467:22:0;52422:18;52467:22;;;:15;:22;;;;;;;;;52353:145;49059:162;;;;;;:::i;:::-;;:::i;43906:25::-;;;;;-1:-1:-1;;;;;43906:25:0;;;43318:33;;;;;;30400:164;;;;;;:::i;:::-;-1:-1:-1;;;;;30521:25:0;;;30497:4;30521:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30400:164;41788:201;;;;;;:::i;:::-;;:::i;47687:150::-;;;:::i;27377:305::-;27479:4;-1:-1:-1;;;;;;27516:40:0;;-1:-1:-1;;;27516:40:0;;:105;;-1:-1:-1;;;;;;;27573:48:0;;-1:-1:-1;;;27573:48:0;27516:105;:158;;;-1:-1:-1;;;;;;;;;;13857:40:0;;;27638:36;27496:178;27377:305;-1:-1:-1;;27377:305:0:o;44379:277::-;24870:7;;-1:-1:-1;;;24870:7:0;;;;25124:9;25116:38;;;;-1:-1:-1;;;25116:38:0;;;;;;;:::i;:::-;;;;;;;;;23533:10;44497:20:::1;::::0;;;:6:::1;:20;::::0;;;;;::::1;;44489:56;;;::::0;-1:-1:-1;;;44489:56:0;;17359:2:1;44489:56:0::1;::::0;::::1;17341:21:1::0;17398:2;17378:18;;;17371:30;-1:-1:-1;;;17417:18:1;;;17410:53;17480:18;;44489:56:0::1;17157:347:1::0;44489:56:0::1;44556:34;44566:9;44577:4;44583:6;44556:34;;:9;:34::i;:::-;44601:5;::::0;:47:::1;::::0;-1:-1:-1;;;44601:47:0;;-1:-1:-1;;;;;8669:32:1;;;44601:47:0::1;::::0;::::1;8651:51:1::0;44632:15:0::1;8718:18:1::0;;;8711:34;44601:5:0;;::::1;::::0;:19:::1;::::0;8624:18:1;;44601:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44379:277:::0;;;:::o;28322:100::-;28376:13;28409:5;28402:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28322:100;:::o;29881:221::-;29957:7;33224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33224:16:0;29977:73;;;;-1:-1:-1;;;29977:73:0;;16175:2:1;29977:73:0;;;16157:21:1;16214:2;16194:18;;;16187:30;16253:34;16233:18;;;16226:62;-1:-1:-1;;;16304:18:1;;;16297:42;16356:19;;29977:73:0;15973:408:1;29977:73:0;-1:-1:-1;30070:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30070:24:0;;29881:221::o;29404:411::-;29485:13;29501:23;29516:7;29501:14;:23::i;:::-;29485:39;;29549:5;-1:-1:-1;;;;;29543:11:0;:2;-1:-1:-1;;;;;29543:11:0;;;29535:57;;;;-1:-1:-1;;;29535:57:0;;18063:2:1;29535:57:0;;;18045:21:1;18102:2;18082:18;;;18075:30;18141:34;18121:18;;;18114:62;-1:-1:-1;;;18192:18:1;;;18185:31;18233:19;;29535:57:0;17861:397:1;29535:57:0;23533:10;-1:-1:-1;;;;;29627:21:0;;;;:62;;-1:-1:-1;29652:37:0;29669:5;23533:10;30400:164;:::i;29652:37::-;29605:168;;;;-1:-1:-1;;;29605:168:0;;14212:2:1;29605:168:0;;;14194:21:1;14251:2;14231:18;;;14224:30;14290:34;14270:18;;;14263:62;14361:26;14341:18;;;14334:54;14405:19;;29605:168:0;14010:420:1;29605:168:0;29786:21;29795:2;29799:7;29786:8;:21::i;:::-;29474:341;29404:411;;:::o;47845:150::-;47908:25;47966:21;:11;22273:14;;22181:114;47966:21;47946:41;;47845:150;:::o;49465:118::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;49532:7:::1;49528:47;;;49541:8;:6;:8::i;:::-;49465:118:::0;:::o;49528:47::-:1;49565:10;:8;:10::i;48958:93::-:0;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49023:12:0::1;49038:5;49023:12:::0;;;:6:::1;:12;::::0;;;;:20;;-1:-1:-1;;49023:20:0::1;::::0;;48958:93::o;50339:737::-;50448:28;50479:20;;;:11;:20;;;;;;;;;50448:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50448:51:0;;;;;;;;-1:-1:-1;;;50448:51:0;;;;;;;;-1:-1:-1;;;50448:51:0;;;;;;;;-1:-1:-1;;;50448:51:0;;;;;;;;50518:41;23533:10;50537:12;50551:7;50518:18;:41::i;:::-;50510:103;;;;-1:-1:-1;;;50510:103:0;;;;;;;:::i;:::-;50628:8;;50624:396;;;50653:5;;:22;;-1:-1:-1;;;50653:22:0;;-1:-1:-1;;;;;7940:32:1;;;50653:22:0;;;7922:51:1;50653:5:0;;;;:16;;7895:18:1;;50653:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50690:28;50704:4;50710:7;50690:13;:28::i;:::-;50733:5;;:40;;-1:-1:-1;;;50733:40:0;;-1:-1:-1;;;;;8669:32:1;;;50733:40:0;;;8651:51:1;50757:15:0;8718:18:1;;;8711:34;50733:5:0;;;;:19;;8624:18:1;;50733:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50788:26;50802:2;50806:7;50788:13;:26::i;:::-;50624:396;;;50847:5;;:22;;-1:-1:-1;;;50847:22:0;;-1:-1:-1;;;;;7940:32:1;;;50847:22:0;;;7922:51:1;50847:5:0;;;;:16;;7895:18:1;;50847:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50884:28;50898:4;50904:7;50884:13;:28::i;:::-;50927:5;;:40;;-1:-1:-1;;;50927:40:0;;-1:-1:-1;;;;;8669:32:1;;;50927:40:0;;;8651:51:1;50951:15:0;8718:18:1;;;8711:34;50927:5:0;;;;:19;;8624:18:1;;50927:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50982:26;50996:2;51000:7;50982:13;:26::i;:::-;51030:38;51050:4;51056:2;51060:7;51030:19;:38::i;:::-;50437:639;50339:737;;;:::o;49343:114::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;49417:32:::1;;:10;:32:::0;49343:114::o;49229:106::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;40952:6;;49279:48:::1;::::0;-1:-1:-1;;;;;40952:6:0;;;;49305:21:::1;49279:48:::0;::::1;;;::::0;::::1;::::0;;;49305:21;40952:6;49279:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;31041:185:::0;31179:39;31196:4;31202:2;31206:7;31179:39;;;;;;;;;;;;:16;:39::i;48173:659::-;48243:16;48272:18;48293:16;48303:5;48293:9;:16::i;:::-;48272:37;;48320:25;48362:10;48348:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48348:25:0;-1:-1:-1;48320:53:0;-1:-1:-1;48409:1:0;48384:22;48461:338;48486:10;48468:15;:28;:59;;;;;48518:9;;48500:14;:27;;48468:59;48461:338;;;48544:25;48572:23;48580:14;48572:7;:23::i;:::-;48544:51;;48637:5;-1:-1:-1;;;;;48616:26:0;:17;-1:-1:-1;;;;;48616:26:0;;48612:145;;;48691:14;48663:8;48672:15;48663:25;;;;;;;;:::i;:::-;;;;;;;;;;:42;48724:17;;;;:::i;:::-;;;;48612:145;48771:16;;;;:::i;:::-;;;;48529:270;48461:338;;;-1:-1:-1;48816:8:0;;48173:659;-1:-1:-1;;;;48173:659:0:o;28016:239::-;28088:7;28124:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28124:16:0;28159:19;28151:73;;;;-1:-1:-1;;;28151:73:0;;15048:2:1;28151:73:0;;;15030:21:1;15087:2;15067:18;;;15060:30;15126:34;15106:18;;;15099:62;-1:-1:-1;;;15177:18:1;;;15170:39;15226:19;;28151:73:0;14846:405:1;48861:89:0;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48923:12:0::1;;::::0;;;:6:::1;:12;::::0;;;;:19;;-1:-1:-1;;48923:19:0::1;48938:4;48923:19;::::0;;48861:89::o;27746:208::-;27818:7;-1:-1:-1;;;;;27846:19:0;;27838:74;;;;-1:-1:-1;;;27838:74:0;;14637:2:1;27838:74:0;;;14619:21:1;14676:2;14656:18;;;14649:30;14715:34;14695:18;;;14688:62;-1:-1:-1;;;14766:18:1;;;14759:40;14816:19;;27838:74:0;14435:406:1;27838:74:0;-1:-1:-1;;;;;;27930:16:0;;;;;:9;:16;;;;;;;27746:208::o;41530:103::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;41595:30:::1;41622:1;41595:18;:30::i;:::-;41530:103::o:0;47316:140::-;47390:18;;:::i;:::-;-1:-1:-1;47428:20:0;;;;:11;:20;;;;;;;;;47421:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47421:27:0;;;;;;;;-1:-1:-1;;;47421:27:0;;;;;;;;-1:-1:-1;;;47421:27:0;;;;;;;;-1:-1:-1;;;47421:27:0;;;;;;;;;47316:140::o;28491:104::-;28547:13;28580:7;28573:14;;;;;:::i;45437:475::-;24870:7;;-1:-1:-1;;;24870:7:0;;;;25124:9;25116:38;;;;-1:-1:-1;;;25116:38:0;;;;;;;:::i;:::-;23533:10;45576:20:::1;::::0;;;:6:::1;:20;::::0;;;;;::::1;;45568:56;;;::::0;-1:-1:-1;;;45568:56:0;;17359:2:1;45568:56:0::1;::::0;::::1;17341:21:1::0;17398:2;17378:18;;;17371:30;-1:-1:-1;;;17417:18:1;;;17410:53;17480:18;;45568:56:0::1;17157:347:1::0;45568:56:0::1;45643:41;45662:9;45673:10;45643:18;:41::i;:::-;45635:77;;;::::0;-1:-1:-1;;;45635:77:0;;17711:2:1;45635:77:0::1;::::0;::::1;17693:21:1::0;17750:2;17730:18;;;17723:30;17789:25;17769:18;;;17762:53;17832:18;;45635:77:0::1;17509:347:1::0;45635:77:0::1;45723:17;45729:10;45723:5;:17::i;:::-;45751:23;:11;22392:19:::0;;22410:1;22392:19;;;22303:127;45751:23:::1;45785:36;45799:9;45810:10;45785:13;:36::i;:::-;45832:34;45842:9;45853:4;45859:6;45832:34;;:9;:34::i;:::-;45882:22;::::0;45893:10;;45882:22:::1;::::0;;;::::1;45437:475:::0;;;;:::o;30174:155::-;30269:52;23533:10;30302:8;30312;30269:18;:52::i;:::-;30174:155;;:::o;52506:328::-;52567:18;52629:20;;;:11;:20;;;;;;;;52598:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52598:51:0;;;;;;;;-1:-1:-1;;;52598:51:0;;;;;;;;-1:-1:-1;;;52598:51:0;;;;;;;;-1:-1:-1;;;52598:51:0;;;;;;;;;;;52660:167;;52711:12;;;;52704:24;;:20;;52727:1;52704:24;:::i;:::-;52689:40;;52660:167;;;52785:12;;;;52778:24;;:20;;52801:1;52778:24;:::i;:::-;52763:40;;52660:167;52587:247;52506:328;;;:::o;51084:770::-;51216:28;51247:20;;;:11;:20;;;;;;;;;51216:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51216:51:0;;;;;;;;-1:-1:-1;;;51216:51:0;;;;;;;;-1:-1:-1;;;51216:51:0;;;;;;;;-1:-1:-1;;;51216:51:0;;;;;;;;51286:41;23533:10;51319:7;51286:18;:41::i;:::-;51278:103;;;;-1:-1:-1;;;51278:103:0;;;;;;;:::i;:::-;51396:8;;51392:396;;;51421:5;;:22;;-1:-1:-1;;;51421:22:0;;-1:-1:-1;;;;;7940:32:1;;;51421:22:0;;;7922:51:1;51421:5:0;;;;:16;;7895:18:1;;51421:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51458:28;51472:4;51478:7;51458:13;:28::i;:::-;51501:5;;:40;;-1:-1:-1;;;51501:40:0;;-1:-1:-1;;;;;8669:32:1;;;51501:40:0;;;8651:51:1;51525:15:0;8718:18:1;;;8711:34;51501:5:0;;;;:19;;8624:18:1;;51501:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51556:26;51570:2;51574:7;51556:13;:26::i;:::-;51392:396;;;51615:5;;:22;;-1:-1:-1;;;51615:22:0;;-1:-1:-1;;;;;7940:32:1;;;51615:22:0;;;7922:51:1;51615:5:0;;;;:16;;7895:18:1;;51615:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51652:28;51666:4;51672:7;51652:13;:28::i;:::-;51695:5;;:40;;-1:-1:-1;;;51695:40:0;;-1:-1:-1;;;;;8669:32:1;;;51695:40:0;;;8651:51:1;51719:15:0;8718:18:1;;;8711:34;51695:5:0;;;;:19;;8624:18:1;;51695:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51750:26;51764:2;51768:7;51750:13;:26::i;:::-;51798:48;51822:4;51828:2;51832:7;51841:4;51798:23;:48::i;:::-;51205:649;51084:770;;;;:::o;48003:158::-;48060:19;48131:21;:11;22273:14;;22181:114;48131:21;48107:11;22273:14;48107:45;;;;:::i;47464:193::-;33200:4;33224:16;;;:7;:16;;;;;;47529:13;;-1:-1:-1;;;;;33224:16:0;47555:52;;;;-1:-1:-1;;;47555:52:0;;13102:2:1;47555:52:0;;;13084:21:1;13141:2;13121:18;;;13114:30;13180:25;13160:18;;;13153:53;13223:18;;47555:52:0;12900:347:1;47555:52:0;47625:6;;:24;;-1:-1:-1;;;47625:24:0;;;;;20277:25:1;;;-1:-1:-1;;;;;47625:6:0;;;;:15;;20250:18:1;;47625:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47625:24:0;;;;;;;;;;;;:::i;49059:162::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;49144:5:::1;:22:::0;;-1:-1:-1;;;;;49144:22:0;;::::1;-1:-1:-1::0;;;;;;49144:22:0;;::::1;;::::0;;;49184:6:::1;:29:::0;;;;;::::1;::::0;::::1;;::::0;;49059:162::o;41788:201::-;40952:6;;-1:-1:-1;;;;;40952:6:0;23533:10;41099:23;41091:68;;;;-1:-1:-1;;;41091:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41877:22:0;::::1;41869:73;;;::::0;-1:-1:-1;;;41869:73:0;;11227:2:1;41869:73:0::1;::::0;::::1;11209:21:1::0;11266:2;11246:18;;;11239:30;11305:34;11285:18;;;11278:62;-1:-1:-1;;;11356:18:1;;;11349:36;11402:19;;41869:73:0::1;11025:402:1::0;41869:73:0::1;41953:28;41972:8;41953:18;:28::i;47687:150::-:0;47750:25;47808:21;:11;22273:14;;22181:114;45920:607;24870:7;;-1:-1:-1;;;24870:7:0;;;;25124:9;25116:38;;;;-1:-1:-1;;;25116:38:0;;;;;;;:::i;:::-;23533:10;46030:20:::1;::::0;;;:6:::1;:20;::::0;;;;;::::1;;46022:56;;;::::0;-1:-1:-1;;;46022:56:0;;11991:2:1;46022:56:0::1;::::0;::::1;11973:21:1::0;12030:2;12010:18;;;12003:30;12069:25;12049:18;;;12042:53;12112:18;;46022:56:0::1;11789:347:1::0;46022:56:0::1;46089:24;46129:6;46116:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;46116:20:0::1;;46089:47;;46152:6;46147:315;46168:6;46164:1;:10;46147:315;;;46196:23;:11;22392:19:::0;;22410:1;22392:19;;;22303:127;46196:23:::1;46241:12;46248:4;46241:6;:12::i;:::-;46234:19;;46268:61;46282:9;46293:21;:11;22273:14:::0;;22181:114;46293:21:::1;46316:12;46323:4;46316:6;:12::i;:::-;46268:13;:61::i;:::-;-1:-1:-1::0;46370:11:0::1;22273:14:::0;46349:8:::1;46358:1;46349:11;;;;;;;;:::i;:::-;;;;;;:43;;;;;;;;;::::0;::::1;46407;46417:9;46428:21;:11;22273:14:::0;;22181:114;46428:21:::1;46407:9;:43::i;:::-;46176:3:::0;::::1;::::0;::::1;:::i;:::-;;;;46147:315;;;-1:-1:-1::0;46472:5:0::1;::::0;:47:::1;::::0;-1:-1:-1;;;46472:47:0;;-1:-1:-1;;;;;8669:32:1;;;46472:47:0::1;::::0;::::1;8651:51:1::0;46503:15:0::1;8718:18:1::0;;;8711:34;46472:5:0;;::::1;::::0;:19:::1;::::0;8624:18:1;;46472:47:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46011:516;45920:607:::0;;;:::o;37117:174::-;37192:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;37192:29:0;-1:-1:-1;;;;;37192:29:0;;;;;;;;:24;;37246:23;37192:24;37246:14;:23::i;:::-;-1:-1:-1;;;;;37237:46:0;;;;;;;;;;;37117:174;;:::o;25599:118::-;24870:7;;-1:-1:-1;;;24870:7:0;;;;25124:9;25116:38;;;;-1:-1:-1;;;25116:38:0;;;;;;;:::i;:::-;25659:7:::1;:14:::0;;-1:-1:-1;;;;25659:14:0::1;-1:-1:-1::0;;;25659:14:0::1;::::0;;25689:20:::1;25696:12;23533:10:::0;;23453:98;25696:12:::1;25689:20;::::0;-1:-1:-1;;;;;7940:32:1;;;7922:51;;7910:2;7895:18;25689:20:0::1;;;;;;;25599:118::o:0;25858:120::-;24870:7;;-1:-1:-1;;;24870:7:0;;;;25394:41;;;;-1:-1:-1;;;25394:41:0;;10459:2:1;25394:41:0;;;10441:21:1;10498:2;10478:18;;;10471:30;-1:-1:-1;;;10517:18:1;;;10510:50;10577:18;;25394:41:0;10257:344:1;25394:41:0;25917:7:::1;:15:::0;;-1:-1:-1;;;;25917:15:0::1;::::0;;25948:22:::1;23533:10:::0;25957:12:::1;23453:98:::0;33429:348;33522:4;33224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33224:16:0;33539:73;;;;-1:-1:-1;;;33539:73:0;;13454:2:1;33539:73:0;;;13436:21:1;13493:2;13473:18;;;13466:30;13532:34;13512:18;;;13505:62;-1:-1:-1;;;13583:18:1;;;13576:42;13635:19;;33539:73:0;13252:408:1;33539:73:0;33623:13;33639:23;33654:7;33639:14;:23::i;:::-;33623:39;;33692:5;-1:-1:-1;;;;;33681:16:0;:7;-1:-1:-1;;;;;33681:16:0;;:51;;;;33725:7;-1:-1:-1;;;;;33701:31:0;:20;33713:7;33701:11;:20::i;:::-;-1:-1:-1;;;;;33701:31:0;;33681:51;:87;;;-1:-1:-1;;;;;;30521:25:0;;;30497:4;30521:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;33736:32;33673:96;33429:348;-1:-1:-1;;;;33429:348:0:o;53214:364::-;53289:28;53320:20;;;:11;:20;;;;;;;;53289:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53289:51:0;;;;;;;;-1:-1:-1;;;53289:51:0;;;;;;;;-1:-1:-1;;;53289:51:0;;;;;;;;-1:-1:-1;;;53289:51:0;;;;;;;;;;;53366:22;53332:7;53366:13;:22::i;:::-;-1:-1:-1;;;;;53399:22:0;;;;;;:15;:22;;;;;:31;;53351:37;;-1:-1:-1;53351:37:0;;53399:22;;;:31;;53351:37;;53399:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53445:1;:8;;;53441:130;;;-1:-1:-1;;;;;53470:18:0;;;;;;:11;:18;;;;;:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;53441:130;;;-1:-1:-1;;;;;53524:21:0;;;;;;:14;:21;;;;;:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;53278:300;;53214:364;;:::o;52842:::-;52917:28;52948:20;;;:11;:20;;;;;;;;52917:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52917:51:0;;;;;;;;-1:-1:-1;;;52917:51:0;;;;;;;;-1:-1:-1;;;52917:51:0;;;;;;;;-1:-1:-1;;;52917:51:0;;;;;;;;;;;52994:22;52960:7;52994:13;:22::i;:::-;-1:-1:-1;;;;;53027:22:0;;;;;;:15;:22;;;;;:31;;52979:37;;-1:-1:-1;52979:37:0;;53027:22;;;:31;;52979:37;;53027:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53073:1;:8;;;53069:130;;;-1:-1:-1;;;;;53098:18:0;;;;;;:11;:18;;;;;:20;;;;;;;;:::i;53069:130::-;-1:-1:-1;;;;;53152:21:0;;;;;;:14;:21;;;;;:23;;;;;;;;:::i;30631:339::-;30826:41;23533:10;30859:7;30826:18;:41::i;:::-;30818:103;;;;-1:-1:-1;;;30818:103:0;;;;;;;:::i;:::-;30934:28;30944:4;30950:2;30954:7;30934:9;:28::i;42149:191::-;42242:6;;;-1:-1:-1;;;;;42259:17:0;;;-1:-1:-1;;;;;;42259:17:0;;;;;;;42292:40;;42242:6;;;42259:17;42242:6;;42292:40;;42223:16;;42292:40;42212:128;42149:191;:::o;35724:360::-;35784:13;35800:23;35815:7;35800:14;:23::i;:::-;35784:39;;35925:29;35942:1;35946:7;35925:8;:29::i;:::-;-1:-1:-1;;;;;35967:16:0;;;;;;:9;:16;;;;;:21;;35987:1;;35967:16;:21;;35987:1;;35967:21;:::i;:::-;;;;-1:-1:-1;;36006:16:0;;;;:7;:16;;;;;;35999:23;;-1:-1:-1;;;;;;35999:23:0;;;36040:36;36014:7;;36006:16;-1:-1:-1;;;;;36040:36:0;;;;;36006:16;;36040:36;35773:311;35724:360;:::o;37433:315::-;37588:8;-1:-1:-1;;;;;37579:17:0;:5;-1:-1:-1;;;;;37579:17:0;;;37571:55;;;;-1:-1:-1;;;37571:55:0;;12748:2:1;37571:55:0;;;12730:21:1;12787:2;12767:18;;;12760:30;12826:27;12806:18;;;12799:55;12871:18;;37571:55:0;12546:349:1;37571:55:0;-1:-1:-1;;;;;37637:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;37637:46:0;;;;;;;;;;37699:41;;9533::1;;;37699::0;;9506:18:1;37699:41:0;;;;;;;37433:315;;;:::o;31297:328::-;31472:41;23533:10;31491:12;23453:98;31472:41;31464:103;;;;-1:-1:-1;;;31464:103:0;;;;;;;:::i;:::-;31578:39;31592:4;31598:2;31602:7;31611:5;31578:13;:39::i;50012:295::-;23533:10;50065:7;50093:20;;;:6;:20;;;;;;;;50085:53;;;;-1:-1:-1;;;50085:53:0;;18883:2:1;50085:53:0;;;18865:21:1;18922:2;18902:18;;;18895:30;-1:-1:-1;;;18941:18:1;;;18934:50;19001:18;;50085:53:0;18681:344:1;50085:53:0;50201:9;50231:16;50246:1;50231:12;:16;:::i;:::-;50174:123;;6774:2:1;6770:15;;;;-1:-1:-1;;6766:53:1;50174:123:0;;;6754:66:1;50221:27:0;6836:12:1;;;6829:28;50259:15:0;6873:12:1;;;6866:28;6910:12;;;6903:28;;;6947:13;;50174:123:0;;;;-1:-1:-1;;50174:123:0;;;;;;;;;50164:134;;50174:123;50164:134;;;;;50012:295;-1:-1:-1;;50012:295:0:o;46535:751::-;46622:20;;:::i;:::-;23533:10;46663:20;;;;:6;:20;;;;;;;;46655:60;;;;-1:-1:-1;;;46655:60:0;;15819:2:1;46655:60:0;;;15801:21:1;15858:2;15838:18;;;15831:30;15897:29;15877:18;;;15870:57;15944:18;;46655:60:0;15617:351:1;46655:60:0;46730:6;;:30;;-1:-1:-1;;;46730:30:0;;;;;20277:25:1;;;-1:-1:-1;;;;;46730:6:0;;;;:24;;20250:18:1;;46730:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46726:34;;46775:20;:37;46796:15;46809:1;46796:12;:15::i;:::-;46775:37;;;;;;;;;;;;46816:1;46775:42;46771:447;;;46834:20;;;;:11;:20;;;;;;;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46834:24:0;;;;;;-1:-1:-1;;46834:24:0;;;;;;;;;;;;-1:-1:-1;;46834:24:0;;;;;;;;;-1:-1:-1;;46834:24:0;;;;;;;;;;;;;;;;;-1:-1:-1;;46834:24:0;-1:-1:-1;;;46834:24:0;;;;;;;-1:-1:-1;;46834:24:0;;-1:-1:-1;;;46834:24:0;;;;;;;;-1:-1:-1;;46834:24:0;-1:-1:-1;;;46834:24:0;;;;;;;-1:-1:-1;;46834:24:0;;-1:-1:-1;;;46834:24:0;;;;;;;;;;;;;;:20;;46873;;46894:15;46834:24;46894:12;:15::i;:::-;46873:37;;;;;;;;;;;-1:-1:-1;46873:37:0;:47;46938:8;;46935:249;;;46967:29;46981:5;46988:7;46967:13;:29::i;:::-;47020:19;;47031:7;;47020:19;;;;;47198:8;;46935:249;47093:29;47107:5;47114:7;47093:13;:29::i;:::-;47146:22;;47160:7;;47146:22;;;;;47198:8;;46771:447;47235:43;47249:5;47256:7;47265:12;47272:4;47265:6;:12::i;47235:43::-;47228:50;;46535:751;;;;;;:::o;34119:110::-;34195:26;34205:2;34209:7;34195:26;;;;;;;;;;;;:9;:26::i;36421:578::-;36580:4;-1:-1:-1;;;;;36553:31:0;:23;36568:7;36553:14;:23::i;:::-;-1:-1:-1;;;;;36553:31:0;;36545:85;;;;-1:-1:-1;;;36545:85:0;;16949:2:1;36545:85:0;;;16931:21:1;16988:2;16968:18;;;16961:30;17027:34;17007:18;;;17000:62;-1:-1:-1;;;17078:18:1;;;17071:39;17127:19;;36545:85:0;16747:405:1;36545:85:0;-1:-1:-1;;;;;36649:16:0;;36641:65;;;;-1:-1:-1;;;36641:65:0;;12343:2:1;36641:65:0;;;12325:21:1;12382:2;12362:18;;;12355:30;12421:34;12401:18;;;12394:62;-1:-1:-1;;;12472:18:1;;;12465:34;12516:19;;36641:65:0;12141:400:1;36641:65:0;36823:29;36840:1;36844:7;36823:8;:29::i;:::-;-1:-1:-1;;;;;36865:15:0;;;;;;:9;:15;;;;;:20;;36884:1;;36865:15;:20;;36884:1;;36865:20;:::i;:::-;;;;-1:-1:-1;;;;;;;36896:13:0;;;;;;:9;:13;;;;;:18;;36913:1;;36896:13;:18;;36913:1;;36896:18;:::i;:::-;;;;-1:-1:-1;;36925:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36925:21:0;-1:-1:-1;;;;;36925:21:0;;;;;;;;;36964:27;;36925:16;;36964:27;;;;;;;36421:578;;;:::o;32507:315::-;32664:28;32674:4;32680:2;32684:7;32664:9;:28::i;:::-;32711:48;32734:4;32740:2;32744:7;32753:5;32711:22;:48::i;:::-;32703:111;;;;-1:-1:-1;;;32703:111:0;;;;;;;:::i;49615:389::-;49776:8;;49803:6;;;;;49828:9;;;;;49856:6;;;;49881:7;;;;49907:6;;;;49932;;;;49957:12;;;;49741:243;;7311:14:1;;7304:22;7272:3;7296:31;;;49741:243:0;;;7284:44:1;;;;-1:-1:-1;;;;;;7393:15:1;;;7389:24;;7376:11;;;7369:45;7447:15;;;7443:24;;7430:11;;;7423:45;7501:15;;;7497:24;;7484:11;;;7477:45;7555:15;;7551:24;;7538:11;;;7531:45;7609:15;;7605:24;;7592:11;;;7585:45;7663:15;;7659:24;;7646:11;;;7639:45;7717:15;;;7713:24;7700:11;;;7693:45;49682:7:0;;7754:11:1;;49741:243:0;6971:800:1;34456:321:0;34586:18;34592:2;34596:7;34586:5;:18::i;:::-;34637:54;34668:1;34672:2;34676:7;34685:5;34637:22;:54::i;:::-;34615:154;;;;-1:-1:-1;;;34615:154:0;;;;;;;:::i;38313:799::-;38468:4;-1:-1:-1;;;;;38489:13:0;;3927:20;3975:8;38485:620;;38525:72;;-1:-1:-1;;;38525:72:0;;-1:-1:-1;;;;;38525:36:0;;;;;:72;;23533:10;;38576:4;;38582:7;;38591:5;;38525:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38525:72:0;;;;;;;;-1:-1:-1;;38525:72:0;;;;;;;;;;;;:::i;:::-;;;38521:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38767:13:0;;38763:272;;38810:60;;-1:-1:-1;;;38810:60:0;;;;;;;:::i;38763:272::-;38985:6;38979:13;38970:6;38966:2;38962:15;38955:38;38521:529;-1:-1:-1;;;;;;38648:51:0;-1:-1:-1;;;38648:51:0;;-1:-1:-1;38641:58:0;;38485:620;-1:-1:-1;39089:4:0;38313:799;;;;;;:::o;35113:382::-;-1:-1:-1;;;;;35193:16:0;;35185:61;;;;-1:-1:-1;;;35185:61:0;;15458:2:1;35185:61:0;;;15440:21:1;;;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;15588:18;;35185:61:0;15256:356:1;35185:61:0;33200:4;33224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33224:16:0;:30;35257:58;;;;-1:-1:-1;;;35257:58:0;;11634:2:1;35257:58:0;;;11616:21:1;11673:2;11653:18;;;11646:30;11712;11692:18;;;11685:58;11760:18;;35257:58:0;11432:352:1;35257:58:0;-1:-1:-1;;;;;35386:13:0;;;;;;:9;:13;;;;;:18;;35403:1;;35386:13;:18;;35403:1;;35386:18;:::i;:::-;;;;-1:-1:-1;;35415:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35415:21:0;-1:-1:-1;;;;;35415:21:0;;;;;;;;35454:33;;35415:16;;;35454:33;;35415:16;;35454:33;35113:382;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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:159::-;259:20;;319:6;308:18;;298:29;;288:57;;341:1;338;331:12;356:160;433:13;;486:4;475:16;;465:27;;455:55;;506:1;503;496:12;521:186;580:6;633:2;621:9;612:7;608:23;604:32;601:52;;;649:1;646;639:12;601:52;672:29;691:9;672:29;:::i;712:260::-;780:6;788;841:2;829:9;820:7;816:23;812:32;809:52;;;857:1;854;847:12;809:52;880:29;899:9;880:29;:::i;:::-;870:39;;928:38;962:2;951:9;947:18;928:38;:::i;:::-;918:48;;712:260;;;;;:::o;977:328::-;1054:6;1062;1070;1123:2;1111:9;1102:7;1098:23;1094:32;1091:52;;;1139:1;1136;1129:12;1091:52;1162:29;1181:9;1162:29;:::i;:::-;1152:39;;1210:38;1244:2;1233:9;1229:18;1210:38;:::i;:::-;1200:48;;1295:2;1284:9;1280:18;1267:32;1257:42;;977:328;;;;;:::o;1310:888::-;1405:6;1413;1421;1429;1482:3;1470:9;1461:7;1457:23;1453:33;1450:53;;;1499:1;1496;1489:12;1450:53;1522:29;1541:9;1522:29;:::i;:::-;1512:39;;1570:38;1604:2;1593:9;1589:18;1570:38;:::i;:::-;1560:48;;1655:2;1644:9;1640:18;1627:32;1617:42;;1710:2;1699:9;1695:18;1682:32;1737:18;1729:6;1726:30;1723:50;;;1769:1;1766;1759:12;1723:50;1792:22;;1845:4;1837:13;;1833:27;-1:-1:-1;1823:55:1;;1874:1;1871;1864:12;1823:55;1910:2;1897:16;1935:48;1951:31;1979:2;1951:31;:::i;:::-;1935:48;:::i;:::-;2006:2;1999:5;1992:17;2046:7;2041:2;2036;2032;2028:11;2024:20;2021:33;2018:53;;;2067:1;2064;2057:12;2018:53;2122:2;2117;2113;2109:11;2104:2;2097:5;2093:14;2080:45;2166:1;2161:2;2156;2149:5;2145:14;2141:23;2134:34;2187:5;2177:15;;;;;1310:888;;;;;;;:::o;2203:315::-;2268:6;2276;2329:2;2317:9;2308:7;2304:23;2300:32;2297:52;;;2345:1;2342;2335:12;2297:52;2368:29;2387:9;2368:29;:::i;:::-;2358:39;;2447:2;2436:9;2432:18;2419:32;2460:28;2482:5;2460:28;:::i;:::-;2507:5;2497:15;;;2203:315;;;;;:::o;2523:326::-;2599:6;2607;2615;2668:2;2656:9;2647:7;2643:23;2639:32;2636:52;;;2684:1;2681;2674:12;2636:52;2707:29;2726:9;2707:29;:::i;:::-;2697:39;;2755:37;2788:2;2777:9;2773:18;2755:37;:::i;2854:395::-;2939:6;2947;2955;2963;3016:3;3004:9;2995:7;2991:23;2987:33;2984:53;;;3033:1;3030;3023:12;2984:53;3056:29;3075:9;3056:29;:::i;:::-;3046:39;;3104:37;3137:2;3126:9;3122:18;3104:37;:::i;:::-;2854:395;;3094:47;;-1:-1:-1;;;;3188:2:1;3173:18;;3160:32;;3239:2;3224:18;3211:32;;2854:395::o;3254:254::-;3322:6;3330;3383:2;3371:9;3362:7;3358:23;3354:32;3351:52;;;3399:1;3396;3389:12;3351:52;3422:29;3441:9;3422:29;:::i;:::-;3412:39;3498:2;3483:18;;;;3470:32;;-1:-1:-1;;;3254:254:1:o;3513:241::-;3569:6;3622:2;3610:9;3601:7;3597:23;3593:32;3590:52;;;3638:1;3635;3628:12;3590:52;3677:9;3664:23;3696:28;3718:5;3696:28;:::i;3759:245::-;3817:6;3870:2;3858:9;3849:7;3845:23;3841:32;3838:52;;;3886:1;3883;3876:12;3838:52;3925:9;3912:23;3944:30;3968:5;3944:30;:::i;4009:249::-;4078:6;4131:2;4119:9;4110:7;4106:23;4102:32;4099:52;;;4147:1;4144;4137:12;4099:52;4179:9;4173:16;4198:30;4222:5;4198:30;:::i;4263:635::-;4343:6;4396:2;4384:9;4375:7;4371:23;4367:32;4364:52;;;4412:1;4409;4402:12;4364:52;4445:9;4439:16;4478:18;4470:6;4467:30;4464:50;;;4510:1;4507;4500:12;4464:50;4533:22;;4586:4;4578:13;;4574:27;-1:-1:-1;4564:55:1;;4615:1;4612;4605:12;4564:55;4644:2;4638:9;4669:48;4685:31;4713:2;4685:31;:::i;4669:48::-;4740:2;4733:5;4726:17;4780:7;4775:2;4770;4766;4762:11;4758:20;4755:33;4752:53;;;4801:1;4798;4791:12;4752:53;4814:54;4865:2;4860;4853:5;4849:14;4844:2;4840;4836:11;4814:54;:::i;:::-;4887:5;4263:635;-1:-1:-1;;;;;4263:635:1:o;4903:1106::-;5001:6;5032:3;5076:2;5064:9;5055:7;5051:23;5047:32;5044:52;;;5092:1;5089;5082:12;5044:52;5125:2;5119:9;5155:15;;;;5200:18;5185:34;;5221:22;;;5182:62;5179:88;;;5247:18;;:::i;:::-;5287:10;5283:2;5276:22;5326:9;5320:16;5307:29;;5345:28;5367:5;5345:28;:::i;:::-;5397:5;5389:6;5382:21;5436:47;5479:2;5468:9;5464:18;5436:47;:::i;:::-;5431:2;5423:6;5419:15;5412:72;5517:47;5560:2;5549:9;5545:18;5517:47;:::i;:::-;5512:2;5504:6;5500:15;5493:72;5598:47;5641:2;5630:9;5626:18;5598:47;:::i;:::-;5593:2;5585:6;5581:15;5574:72;5680:48;5723:3;5712:9;5708:19;5680:48;:::i;:::-;5674:3;5666:6;5662:16;5655:74;5763:48;5806:3;5795:9;5791:19;5763:48;:::i;:::-;5757:3;5749:6;5745:16;5738:74;5846:48;5889:3;5878:9;5874:19;5846:48;:::i;:::-;5840:3;5832:6;5828:16;5821:74;5929:48;5972:3;5961:9;5957:19;5929:48;:::i;:::-;5923:3;5911:16;;5904:74;5915:6;4903:1106;-1:-1:-1;;;;4903:1106:1:o;6014:180::-;6073:6;6126:2;6114:9;6105:7;6101:23;6097:32;6094:52;;;6142:1;6139;6132:12;6094:52;-1:-1:-1;6165:23:1;;6014:180;-1:-1:-1;6014:180:1:o;6199:257::-;6240:3;6278:5;6272:12;6305:6;6300:3;6293:19;6321:63;6377:6;6370:4;6365:3;6361:14;6354:4;6347:5;6343:16;6321:63;:::i;:::-;6438:2;6417:15;-1:-1:-1;;6413:29:1;6404:39;;;;6445:4;6400:50;;6199:257;-1:-1:-1;;6199:257:1:o;7984:488::-;-1:-1:-1;;;;;8253:15:1;;;8235:34;;8305:15;;8300:2;8285:18;;8278:43;8352:2;8337:18;;8330:34;;;8400:3;8395:2;8380:18;;8373:31;;;8178:4;;8421:45;;8446:19;;8438:6;8421:45;:::i;:::-;8413:53;7984:488;-1:-1:-1;;;;;;7984:488:1:o;8756:632::-;8927:2;8979:21;;;9049:13;;8952:18;;;9071:22;;;8898:4;;8927:2;9150:15;;;;9124:2;9109:18;;;8898:4;9193:169;9207:6;9204:1;9201:13;9193:169;;;9268:13;;9256:26;;9337:15;;;;9302:12;;;;9229:1;9222:9;9193:169;;;-1:-1:-1;9379:3:1;;8756:632;-1:-1:-1;;;;;;8756:632:1:o;10033:219::-;10182:2;10171:9;10164:21;10145:4;10202:44;10242:2;10231:9;10227:18;10219:6;10202:44;:::i;10606:414::-;10808:2;10790:21;;;10847:2;10827:18;;;10820:30;10886:34;10881:2;10866:18;;10859:62;-1:-1:-1;;;10952:2:1;10937:18;;10930:48;11010:3;10995:19;;10606:414::o;13665:340::-;13867:2;13849:21;;;13906:2;13886:18;;;13879:30;-1:-1:-1;;;13940:2:1;13925:18;;13918:46;13996:2;13981:18;;13665:340::o;16386:356::-;16588:2;16570:21;;;16607:18;;;16600:30;16666:34;16661:2;16646:18;;16639:62;16733:2;16718:18;;16386:356::o;18263:413::-;18465:2;18447:21;;;18504:2;18484:18;;;18477:30;18543:34;18538:2;18523:18;;18516:62;-1:-1:-1;;;18609:2:1;18594:18;;18587:47;18666:3;18651:19;;18263:413::o;19030:903::-;19178:4;19220:3;19209:9;19205:19;19197:27;;19271:6;19265:13;19258:21;19251:29;19240:9;19233:48;19349:4;19341;19333:6;19329:17;19323:24;19319:35;19312:4;19301:9;19297:20;19290:65;19423:4;19415;19407:6;19403:17;19397:24;19393:35;19386:4;19375:9;19371:20;19364:65;19497:4;19489;19481:6;19477:17;19471:24;19467:35;19460:4;19449:9;19445:20;19438:65;19571:4;19563;19555:6;19551:17;19545:24;19541:35;19534:4;19523:9;19519:20;19512:65;19624:4;19616:6;19612:17;19606:24;19639:52;19685:4;19674:9;19670:20;19656:12;6528:4;6517:16;6505:29;;6461:75;19639:52;;19740:4;19732:6;19728:17;19722:24;19755:54;19803:4;19792:9;19788:20;19772:14;6528:4;6517:16;6505:29;;6461:75;19755:54;;19858:4;19850:6;19846:17;19840:24;19873:54;19921:4;19910:9;19906:20;19890:14;6528:4;6517:16;6505:29;;6461:75;19873:54;;19030:903;;;;:::o;20313:275::-;20384:2;20378:9;20449:2;20430:13;;-1:-1:-1;;20426:27:1;20414:40;;20484:18;20469:34;;20505:22;;;20466:62;20463:88;;;20531:18;;:::i;:::-;20567:2;20560:22;20313:275;;-1:-1:-1;20313:275:1:o;20593:186::-;20641:4;20674:18;20666:6;20663:30;20660:56;;;20696:18;;:::i;:::-;-1:-1:-1;20762:2:1;20741:15;-1:-1:-1;;20737:29:1;20768:4;20733:40;;20593:186::o;20784:224::-;20823:3;20851:6;20884:2;20881:1;20877:10;20914:2;20911:1;20907:10;20945:3;20941:2;20937:12;20932:3;20929:21;20926:47;;;20953:18;;:::i;:::-;20989:13;;20784:224;-1:-1:-1;;;;20784:224:1:o;21013:128::-;21053:3;21084:1;21080:6;21077:1;21074:13;21071:39;;;21090:18;;:::i;:::-;-1:-1:-1;21126:9:1;;21013:128::o;21146:217::-;21185:4;21214:6;21270:10;;;;21240;;21292:12;;;21289:38;;;21307:18;;:::i;:::-;21344:13;;21146:217;-1:-1:-1;;;21146:217:1:o;21368:125::-;21408:4;21436:1;21433;21430:8;21427:34;;;21441:18;;:::i;:::-;-1:-1:-1;21478:9:1;;21368:125::o;21498:258::-;21570:1;21580:113;21594:6;21591:1;21588:13;21580:113;;;21670:11;;;21664:18;21651:11;;;21644:39;21616:2;21609:10;21580:113;;;21711:6;21708:1;21705:13;21702:48;;;-1:-1:-1;;21746:1:1;21728:16;;21721:27;21498:258::o;21761:181::-;21799:3;21843:6;21836:5;21832:18;21869:7;21859:41;;21880:18;;:::i;:::-;-1:-1:-1;;21916:20:1;;21761:181;-1:-1:-1;;21761:181:1:o;21947:380::-;22026:1;22022:12;;;;22069;;;22090:61;;22144:4;22136:6;22132:17;22122:27;;22090:61;22197:2;22189:6;22186:14;22166:18;22163:38;22160:161;;;22243:10;22238:3;22234:20;22231:1;22224:31;22278:4;22275:1;22268:15;22306:4;22303:1;22296:15;22332:197;22370:3;22398:6;22439:2;22432:5;22428:14;22466:2;22457:7;22454:15;22451:41;;;22472:18;;:::i;:::-;22521:1;22508:15;;22332:197;-1:-1:-1;;;22332:197:1:o;22534:135::-;22573:3;-1:-1:-1;;22594:17:1;;22591:43;;;22614:18;;:::i;:::-;-1:-1:-1;22661:1:1;22650:13;;22534:135::o;22674:127::-;22735:10;22730:3;22726:20;22723:1;22716:31;22766:4;22763:1;22756:15;22790:4;22787:1;22780:15;22806:127;22867:10;22862:3;22858:20;22855:1;22848:31;22898:4;22895:1;22888:15;22922:4;22919:1;22912:15;22938:127;22999:10;22994:3;22990:20;22987:1;22980:31;23030:4;23027:1;23020:15;23054:4;23051:1;23044:15;23070:118;23156:5;23149:13;23142:21;23135:5;23132:32;23122:60;;23178:1;23175;23168:12;23193:131;-1:-1:-1;;;;;;23267:32:1;;23257:43;;23247:71;;23314:1;23311;23304:12
Swarm Source
ipfs://edb45ac9a4959a6e49d701f7bda4001fe4913a5213f631d8392190d2085bf99b
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.