ERC-721
NFT
Overview
Max Total Supply
5,000 MOONPETS
Holders
639
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 MOONPETSLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
MOONPETS
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at moonbeam.moonscan.io on 2022-06-05 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/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/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/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) 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: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // 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/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (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 overridden 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: hack.sol pragma solidity ^0.8.0; 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 { { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, 'Counter: decrement overflow'); { counter._value = value - 1; } } } contract MOONPETS is ERC721Enumerable, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; uint256 public constant MOONPETS_PUBLIC = 5000; uint256 public constant MOONPETS_MAX = MOONPETS_PUBLIC; uint256 public amountPhase1 = 2000; uint256 public amountPhase2 = 500; uint256 public constant PRICE = 5_000_000_000_000_000_000; // 5 GLMR string private _contractURI = ''; string private _tokenBaseURI = ''; bool public isActive = false; uint256 public _timeActive; uint8 public currentPhase = 1; mapping(address => bool) private _phase1List; mapping(address => bool) private _phase2List; Counters.Counter private _publicMOONPETS; constructor() ERC721('MOONPETS', 'MOONPETS') {} function setActive(bool _isActive) external onlyOwner { isActive = _isActive; _timeActive = block.timestamp; } function setContractURI(string memory URI) external onlyOwner { _contractURI = URI; } function setBaseURI(string memory URI) external onlyOwner { _tokenBaseURI = URI; } function setNextPhase() external onlyOwner { require(currentPhase < 3, 'Only have 3 phase'); if (currentPhase == 1) { amountPhase2 += _publicMOONPETS.current(); } currentPhase += 1; } function onAllowListPhase1(address addr) external view returns (bool) { return _phase1List[addr]; } function onAllowListPhase2(address addr) external view returns (bool) { return _phase2List[addr]; } function addToAllowListPhase1(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); _phase1List[addresses[i]] = true; } } function addToAllowListPhase2(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); _phase2List[addresses[i]] = true; } } function removeFromAllowListPhase1(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); /// @dev We don't want to reset possible _allowListClaimed numbers. _phase1List[addresses[i]] = false; } } function removeFromAllowListPhase2(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); /// @dev We don't want to reset possible _allowListClaimed numbers. _phase2List[addresses[i]] = false; } } function claimPhase1() external { require(isActive, 'Contract is not active'); require(_phase1List[msg.sender], 'You are not on the Allow List'); require(currentPhase == 1, 'Currently not in Phase 1'); require( _publicMOONPETS.current() < amountPhase1, 'Purchase would exceed' ); uint256 tokenId = _publicMOONPETS.current(); _publicMOONPETS.increment(); _safeMint(msg.sender, tokenId); _phase1List[msg.sender] = false; } function claimPhase2() external { require(isActive, 'Contract is not active'); require(_phase2List[msg.sender], 'You are not on the Allow List'); require(currentPhase == 2, 'Currently not in Phase 2'); require( _publicMOONPETS.current() < amountPhase2, 'Purchase would exceed' ); uint256 tokenId = _publicMOONPETS.current(); _publicMOONPETS.increment(); _safeMint(msg.sender, tokenId); _phase2List[msg.sender] = false; } function purchase(uint256 numberOfTokens) external payable nonReentrant { require(isActive, 'Contract is not active'); require(currentPhase == 3, 'Currently not in Phase 3'); require( _publicMOONPETS.current() < MOONPETS_PUBLIC, 'Purchase would exceed MOONPETS_PUBLIC' ); require( _publicMOONPETS.current() + numberOfTokens <= MOONPETS_PUBLIC, 'Purchase would exceed MOONPETS_PUBLIC' ); require( PRICE * numberOfTokens <= msg.value, 'GLMR amount is not sufficient' ); for (uint256 i = 0; i < numberOfTokens; i++) { uint256 tokenId = _publicMOONPETS.current(); if (_publicMOONPETS.current() < MOONPETS_PUBLIC) { _publicMOONPETS.increment(); _safeMint(msg.sender, tokenId); } } } function contractURI() public view returns (string memory) { return _contractURI; } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { require(_exists(tokenId), 'Token does not exist'); return string( abi.encodePacked(_tokenBaseURI, tokenId.toString(), '.json') ); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function removeOtherERC20Tokens(address _tokenAddress, address _to) external onlyOwner { ERC20 erc20Token = ERC20(_tokenAddress); require( erc20Token.transfer(_to, erc20Token.balanceOf(address(this))), 'ERC20 Token transfer failed' ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MOONPETS_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MOONPETS_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_timeActive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToAllowListPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToAllowListPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountPhase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountPhase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"claimPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPhase","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onAllowListPhase1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onAllowListPhase2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromAllowListPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromAllowListPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"removeOtherERC20Tokens","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":"bool","name":"_isActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setNextPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6107d0600c556101f4600d5560a06040819052600060808190526200002791600e9162000147565b506040805160208101918290526000908190526200004891600f9162000147565b506010805460ff199081169091556012805490911660011790553480156200006f57600080fd5b506040805180820182526008808252674d4f4f4e5045545360c01b602080840182815285518087019096529285528401528151919291620000b39160009162000147565b508051620000c990600190602084019062000147565b505050620000e6620000e0620000f160201b60201c565b620000f5565b6001600b556200022a565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015590620001ed565b90600052602060002090601f016020900481019282620001795760008555620001c4565b82601f106200019457805160ff1916838001178555620001c4565b82800160010185558215620001c4579182015b82811115620001c4578251825591602001919060010190620001a7565b50620001d2929150620001d6565b5090565b5b80821115620001d25760008155600101620001d7565b600181811c908216806200020257607f821691505b602082108114156200022457634e487b7160e01b600052602260045260246000fd5b50919050565b612d73806200023a6000396000f3fe60806040526004361061025c5760003560e01c806352eaad5d11610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146106e7578063c9699e7914610707578063e8a3d4851461071d578063e985e9c514610732578063efef39a11461077b578063f2fde38b1461078e57600080fd5b8063a22cb46514610639578063acec338a14610659578063b88d4fde14610679578063bce396ef14610699578063c65add85146106d257600080fd5b80637a69f710116101085780637a69f7101461058a5780638d859f3e146105aa5780638da5cb5b146105c6578063917c854d146105e4578063938e3d7b1461060457806395d89b411461062457600080fd5b806352eaad5d146104f557806355f804b3146105155780636352211e1461053557806370a0823114610555578063715018a61461057557600080fd5b806322f3e2d4116101dd5780633da69ac7116101a15780633da69ac71461047557806342842e0e1461048b5780634403b5ec1461036257806349883167146104ab5780634cf0ece5146104c05780634f6ccce7146104d557600080fd5b806322f3e2d4146103e657806323b872dd146104005780632a76838b146104205780632f745c59146104405780633ccfd60b1461046057600080fd5b80630e746954116102245780630e7469541461033e57806317ed2da61461036257806318160ddd14610378578063197b9ea21461038d5780631ab77604146103c657600080fd5b806301ffc9a714610261578063055ad42e1461029657806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c575b600080fd5b34801561026d57600080fd5b5061028161027c366004612802565b6107ae565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506012546102b09060ff1681565b60405160ff909116815260200161028d565b3480156102ce57600080fd5b506102d76107d9565b60405161028d91906129f7565b3480156102f057600080fd5b506103046102ff366004612885565b61086b565b6040516001600160a01b03909116815260200161028d565b34801561032857600080fd5b5061033c610337366004612729565b610905565b005b34801561034a57600080fd5b50610354600c5481565b60405190815260200161028d565b34801561036e57600080fd5b5061035461138881565b34801561038457600080fd5b50600854610354565b34801561039957600080fd5b506102816103a83660046125e5565b6001600160a01b031660009081526013602052604090205460ff1690565b3480156103d257600080fd5b5061033c6103e1366004612753565b610a1b565b3480156103f257600080fd5b506010546102819060ff1681565b34801561040c57600080fd5b5061033c61041b36600461263a565b610b07565b34801561042c57600080fd5b5061033c61043b366004612753565b610b38565b34801561044c57600080fd5b5061035461045b366004612729565b610c24565b34801561046c57600080fd5b5061033c610cba565b34801561048157600080fd5b50610354600d5481565b34801561049757600080fd5b5061033c6104a636600461263a565b610d17565b3480156104b757600080fd5b5061033c610d32565b3480156104cc57600080fd5b5061033c610e8e565b3480156104e157600080fd5b506103546104f0366004612885565b610fea565b34801561050157600080fd5b5061033c610510366004612753565b61107d565b34801561052157600080fd5b5061033c61053036600461283c565b611169565b34801561054157600080fd5b50610304610550366004612885565b6111a6565b34801561056157600080fd5b506103546105703660046125e5565b61121d565b34801561058157600080fd5b5061033c6112a4565b34801561059657600080fd5b5061033c6105a5366004612753565b6112da565b3480156105b657600080fd5b50610354674563918244f4000081565b3480156105d257600080fd5b50600a546001600160a01b0316610304565b3480156105f057600080fd5b5061033c6105ff366004612607565b6113c6565b34801561061057600080fd5b5061033c61061f36600461283c565b61153d565b34801561063057600080fd5b506102d761157a565b34801561064557600080fd5b5061033c6106543660046126f2565b611589565b34801561066557600080fd5b5061033c6106743660046127c8565b611594565b34801561068557600080fd5b5061033c610694366004612676565b6115d5565b3480156106a557600080fd5b506102816106b43660046125e5565b6001600160a01b031660009081526014602052604090205460ff1690565b3480156106de57600080fd5b5061033c61160d565b3480156106f357600080fd5b506102d7610702366004612885565b6116dd565b34801561071357600080fd5b5061035460115481565b34801561072957600080fd5b506102d761176d565b34801561073e57600080fd5b5061028161074d366004612607565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61033c610789366004612885565b61177c565b34801561079a57600080fd5b5061033c6107a93660046125e5565b611964565b60006001600160e01b0319821663780e9d6360e01b14806107d357506107d3826119ff565b92915050565b6060600080546107e890612c41565b80601f016020809104026020016040519081016040528092919081815260200182805461081490612c41565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610910826111a6565b9050806001600160a01b0316836001600160a01b0316141561097e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108e0565b336001600160a01b038216148061099a575061099a813361074d565b610a0c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108e0565b610a168383611a4f565b505050565b600a546001600160a01b03163314610a455760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a16576000838383818110610a6457610a64612ced565b9050602002016020810190610a7991906125e5565b6001600160a01b03161415610aa05760405162461bcd60e51b81526004016108e090612b06565b600060136000858585818110610ab857610ab8612ced565b9050602002016020810190610acd91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610aff81612c7c565b915050610a48565b610b113382611abd565b610b2d5760405162461bcd60e51b81526004016108e090612b3d565b610a16838383611bb4565b600a546001600160a01b03163314610b625760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a16576000838383818110610b8157610b81612ced565b9050602002016020810190610b9691906125e5565b6001600160a01b03161415610bbd5760405162461bcd60e51b81526004016108e090612b06565b600160136000858585818110610bd557610bd5612ced565b9050602002016020810190610bea91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c1c81612c7c565b915050610b65565b6000610c2f8361121d565b8210610c915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ce45760405162461bcd60e51b81526004016108e090612ad1565b6040514790339082156108fc029083906000818181858888f19350505050158015610d13573d6000803e3d6000fd5b5050565b610a16838383604051806020016040528060008152506115d5565b60105460ff16610d545760405162461bcd60e51b81526004016108e090612aa1565b3360009081526014602052604090205460ff16610db35760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c69737400000060448201526064016108e0565b60125460ff16600214610e085760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652032000000000000000060448201526064016108e0565b600d5460155410610e535760405162461bcd60e51b8152602060048201526015602482015274141d5c98da185cd9481ddbdd5b1908195e18d95959605a1b60448201526064016108e0565b6000610e5e60155490565b9050610e6a6015611d5b565b610e743382611d78565b50336000908152601460205260409020805460ff19169055565b60105460ff16610eb05760405162461bcd60e51b81526004016108e090612aa1565b3360009081526013602052604090205460ff16610f0f5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c69737400000060448201526064016108e0565b60125460ff16600114610f645760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652031000000000000000060448201526064016108e0565b600c5460155410610faf5760405162461bcd60e51b8152602060048201526015602482015274141d5c98da185cd9481ddbdd5b1908195e18d95959605a1b60448201526064016108e0565b6000610fba60155490565b9050610fc66015611d5b565b610fd03382611d78565b50336000908152601360205260409020805460ff19169055565b6000610ff560085490565b82106110585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108e0565b6008828154811061106b5761106b612ced565b90600052602060002001549050919050565b600a546001600160a01b031633146110a75760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a165760008383838181106110c6576110c6612ced565b90506020020160208101906110db91906125e5565b6001600160a01b031614156111025760405162461bcd60e51b81526004016108e090612b06565b60006014600085858581811061111a5761111a612ced565b905060200201602081019061112f91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061116181612c7c565b9150506110aa565b600a546001600160a01b031633146111935760405162461bcd60e51b81526004016108e090612ad1565b8051610d1390600f9060208401906124ba565b6000818152600260205260408120546001600160a01b0316806107d35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108e0565b60006001600160a01b0382166112885760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108e0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112ce5760405162461bcd60e51b81526004016108e090612ad1565b6112d86000611d92565b565b600a546001600160a01b031633146113045760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a1657600083838381811061132357611323612ced565b905060200201602081019061133891906125e5565b6001600160a01b0316141561135f5760405162461bcd60e51b81526004016108e090612b06565b60016014600085858581811061137757611377612ced565b905060200201602081019061138c91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806113be81612c7c565b915050611307565b600a546001600160a01b031633146113f05760405162461bcd60e51b81526004016108e090612ad1565b6040516370a0823160e01b815230600482015282906001600160a01b0382169063a9059cbb90849083906370a082319060240160206040518083038186803b15801561143b57600080fd5b505afa15801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611473919061289e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156114b957600080fd5b505af11580156114cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f191906127e5565b610a165760405162461bcd60e51b815260206004820152601b60248201527f455243323020546f6b656e207472616e73666572206661696c6564000000000060448201526064016108e0565b600a546001600160a01b031633146115675760405162461bcd60e51b81526004016108e090612ad1565b8051610d1390600e9060208401906124ba565b6060600180546107e890612c41565b610d13338383611de4565b600a546001600160a01b031633146115be5760405162461bcd60e51b81526004016108e090612ad1565b6010805460ff191691151591909117905542601155565b6115df3383611abd565b6115fb5760405162461bcd60e51b81526004016108e090612b3d565b61160784848484611eb3565b50505050565b600a546001600160a01b031633146116375760405162461bcd60e51b81526004016108e090612ad1565b601254600360ff909116106116825760405162461bcd60e51b81526020600482015260116024820152704f6e6c792068617665203320706861736560781b60448201526064016108e0565b60125460ff16600114156116aa57601554600d60008282546116a49190612b8e565b90915550505b60128054600191906000906116c390849060ff16612ba6565b92506101000a81548160ff021916908360ff160217905550565b6000818152600260205260409020546060906001600160a01b031661173b5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016108e0565b600f61174683611ee6565b6040516020016117579291906128ff565b6040516020818303038152906040529050919050565b6060600e80546107e890612c41565b6002600b5414156117cf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e0565b6002600b5560105460ff166117f65760405162461bcd60e51b81526004016108e090612aa1565b60125460ff1660031461184b5760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652033000000000000000060448201526064016108e0565b61138861185760155490565b106118745760405162461bcd60e51b81526004016108e090612a5c565b6113888161188160155490565b61188b9190612b8e565b11156118a95760405162461bcd60e51b81526004016108e090612a5c565b346118bc82674563918244f40000612bdf565b111561190a5760405162461bcd60e51b815260206004820152601d60248201527f474c4d5220616d6f756e74206973206e6f742073756666696369656e7400000060448201526064016108e0565b60005b8181101561195b57600061192060155490565b905061138861192e60155490565b10156119485761193e6015611d5b565b6119483382611d78565b508061195381612c7c565b91505061190d565b50506001600b55565b600a546001600160a01b0316331461198e5760405162461bcd60e51b81526004016108e090612ad1565b6001600160a01b0381166119f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e0565b6119fc81611d92565b50565b60006001600160e01b031982166380ac58cd60e01b1480611a3057506001600160e01b03198216635b5e139f60e01b145b806107d357506301ffc9a760e01b6001600160e01b03198316146107d3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a84826111a6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e0565b6000611b41836111a6565b9050806001600160a01b0316846001600160a01b03161480611b8857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611bac5750836001600160a01b0316611ba18461086b565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bc7826111a6565b6001600160a01b031614611c2b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108e0565b6001600160a01b038216611c8d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108e0565b611c98838383611fe4565b611ca3600082611a4f565b6001600160a01b0383166000908152600360205260408120805460019290611ccc908490612bfe565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cfa908490612b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001816000016000828254611d709190612b8e565b909155505050565b610d1382826040518060200160405280600081525061209c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611e465760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ebe848484611bb4565b611eca848484846120cf565b6116075760405162461bcd60e51b81526004016108e090612a0a565b606081611f0a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f345780611f1e81612c7c565b9150611f2d9050600a83612bcb565b9150611f0e565b60008167ffffffffffffffff811115611f4f57611f4f612d03565b6040519080825280601f01601f191660200182016040528015611f79576020820181803683370190505b5090505b8415611bac57611f8e600183612bfe565b9150611f9b600a86612c97565b611fa6906030612b8e565b60f81b818381518110611fbb57611fbb612ced565b60200101906001600160f81b031916908160001a905350611fdd600a86612bcb565b9450611f7d565b6001600160a01b03831661203f5761203a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612062565b816001600160a01b0316836001600160a01b0316146120625761206283826121dc565b6001600160a01b03821661207957610a1681612279565b826001600160a01b0316826001600160a01b031614610a1657610a168282612328565b6120a6838361236c565b6120b360008484846120cf565b610a165760405162461bcd60e51b81526004016108e090612a0a565b60006001600160a01b0384163b156121d157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121139033908990889088906004016129ba565b602060405180830381600087803b15801561212d57600080fd5b505af192505050801561215d575060408051601f3d908101601f1916820190925261215a9181019061281f565b60015b6121b7573d80801561218b576040519150601f19603f3d011682016040523d82523d6000602084013e612190565b606091505b5080516121af5760405162461bcd60e51b81526004016108e090612a0a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bac565b506001949350505050565b600060016121e98461121d565b6121f39190612bfe565b600083815260076020526040902054909150808214612246576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061228b90600190612bfe565b600083815260096020526040812054600880549394509092849081106122b3576122b3612ced565b9060005260206000200154905080600883815481106122d4576122d4612ced565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061230c5761230c612cd7565b6001900381819060005260206000200160009055905550505050565b60006123338361121d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108e0565b6000818152600260205260409020546001600160a01b0316156124275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108e0565b61243360008383611fe4565b6001600160a01b038216600090815260036020526040812080546001929061245c908490612b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546124c690612c41565b90600052602060002090601f0160209004810192826124e8576000855561252e565b82601f1061250157805160ff191683800117855561252e565b8280016001018555821561252e579182015b8281111561252e578251825591602001919060010190612513565b5061253a92915061253e565b5090565b5b8082111561253a576000815560010161253f565b600067ffffffffffffffff8084111561256e5761256e612d03565b604051601f8501601f19908116603f0116810190828211818310171561259657612596612d03565b816040528093508581528686860111156125af57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125e057600080fd5b919050565b6000602082840312156125f757600080fd5b612600826125c9565b9392505050565b6000806040838503121561261a57600080fd5b612623836125c9565b9150612631602084016125c9565b90509250929050565b60008060006060848603121561264f57600080fd5b612658846125c9565b9250612666602085016125c9565b9150604084013590509250925092565b6000806000806080858703121561268c57600080fd5b612695856125c9565b93506126a3602086016125c9565b925060408501359150606085013567ffffffffffffffff8111156126c657600080fd5b8501601f810187136126d757600080fd5b6126e687823560208401612553565b91505092959194509250565b6000806040838503121561270557600080fd5b61270e836125c9565b9150602083013561271e81612d19565b809150509250929050565b6000806040838503121561273c57600080fd5b612745836125c9565b946020939093013593505050565b6000806020838503121561276657600080fd5b823567ffffffffffffffff8082111561277e57600080fd5b818501915085601f83011261279257600080fd5b8135818111156127a157600080fd5b8660208260051b85010111156127b657600080fd5b60209290920196919550909350505050565b6000602082840312156127da57600080fd5b813561260081612d19565b6000602082840312156127f757600080fd5b815161260081612d19565b60006020828403121561281457600080fd5b813561260081612d27565b60006020828403121561283157600080fd5b815161260081612d27565b60006020828403121561284e57600080fd5b813567ffffffffffffffff81111561286557600080fd5b8201601f8101841361287657600080fd5b611bac84823560208401612553565b60006020828403121561289757600080fd5b5035919050565b6000602082840312156128b057600080fd5b5051919050565b600081518084526128cf816020860160208601612c15565b601f01601f19169290920160200192915050565b600081516128f5818560208601612c15565b9290920192915050565b600080845481600182811c91508083168061291b57607f831692505b602080841082141561293b57634e487b7160e01b86526022600452602486fd5b81801561294f57600181146129605761298d565b60ff1986168952848901965061298d565b60008b81526020902060005b868110156129855781548b82015290850190830161296c565b505084890196505b5050505050506129b16129a082866128e3565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed908301846128b7565b9695505050505050565b60208152600061260060208301846128b7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f507572636861736520776f756c6420657863656564204d4f4f4e504554535f5060408201526455424c494360d81b606082015260800190565b602080825260169082015275436f6e7472616374206973206e6f742061637469766560501b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f43616e27742061646420746865206e756c6c2061646472657373000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612ba157612ba1612cab565b500190565b600060ff821660ff84168060ff03821115612bc357612bc3612cab565b019392505050565b600082612bda57612bda612cc1565b500490565b6000816000190483118215151615612bf957612bf9612cab565b500290565b600082821015612c1057612c10612cab565b500390565b60005b83811015612c30578181015183820152602001612c18565b838111156116075750506000910152565b600181811c90821680612c5557607f821691505b60208210811415612c7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c9057612c90612cab565b5060010190565b600082612ca657612ca6612cc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146119fc57600080fd5b6001600160e01b0319811681146119fc57600080fdfea2646970667358221220c0cec8440b003eeee9f9e0cc5e5fb5f530f0b603ed15739775c24e6f137d418564736f6c63430008070033
Deployed Bytecode
0x60806040526004361061025c5760003560e01c806352eaad5d11610144578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd146106e7578063c9699e7914610707578063e8a3d4851461071d578063e985e9c514610732578063efef39a11461077b578063f2fde38b1461078e57600080fd5b8063a22cb46514610639578063acec338a14610659578063b88d4fde14610679578063bce396ef14610699578063c65add85146106d257600080fd5b80637a69f710116101085780637a69f7101461058a5780638d859f3e146105aa5780638da5cb5b146105c6578063917c854d146105e4578063938e3d7b1461060457806395d89b411461062457600080fd5b806352eaad5d146104f557806355f804b3146105155780636352211e1461053557806370a0823114610555578063715018a61461057557600080fd5b806322f3e2d4116101dd5780633da69ac7116101a15780633da69ac71461047557806342842e0e1461048b5780634403b5ec1461036257806349883167146104ab5780634cf0ece5146104c05780634f6ccce7146104d557600080fd5b806322f3e2d4146103e657806323b872dd146104005780632a76838b146104205780632f745c59146104405780633ccfd60b1461046057600080fd5b80630e746954116102245780630e7469541461033e57806317ed2da61461036257806318160ddd14610378578063197b9ea21461038d5780631ab77604146103c657600080fd5b806301ffc9a714610261578063055ad42e1461029657806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c575b600080fd5b34801561026d57600080fd5b5061028161027c366004612802565b6107ae565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506012546102b09060ff1681565b60405160ff909116815260200161028d565b3480156102ce57600080fd5b506102d76107d9565b60405161028d91906129f7565b3480156102f057600080fd5b506103046102ff366004612885565b61086b565b6040516001600160a01b03909116815260200161028d565b34801561032857600080fd5b5061033c610337366004612729565b610905565b005b34801561034a57600080fd5b50610354600c5481565b60405190815260200161028d565b34801561036e57600080fd5b5061035461138881565b34801561038457600080fd5b50600854610354565b34801561039957600080fd5b506102816103a83660046125e5565b6001600160a01b031660009081526013602052604090205460ff1690565b3480156103d257600080fd5b5061033c6103e1366004612753565b610a1b565b3480156103f257600080fd5b506010546102819060ff1681565b34801561040c57600080fd5b5061033c61041b36600461263a565b610b07565b34801561042c57600080fd5b5061033c61043b366004612753565b610b38565b34801561044c57600080fd5b5061035461045b366004612729565b610c24565b34801561046c57600080fd5b5061033c610cba565b34801561048157600080fd5b50610354600d5481565b34801561049757600080fd5b5061033c6104a636600461263a565b610d17565b3480156104b757600080fd5b5061033c610d32565b3480156104cc57600080fd5b5061033c610e8e565b3480156104e157600080fd5b506103546104f0366004612885565b610fea565b34801561050157600080fd5b5061033c610510366004612753565b61107d565b34801561052157600080fd5b5061033c61053036600461283c565b611169565b34801561054157600080fd5b50610304610550366004612885565b6111a6565b34801561056157600080fd5b506103546105703660046125e5565b61121d565b34801561058157600080fd5b5061033c6112a4565b34801561059657600080fd5b5061033c6105a5366004612753565b6112da565b3480156105b657600080fd5b50610354674563918244f4000081565b3480156105d257600080fd5b50600a546001600160a01b0316610304565b3480156105f057600080fd5b5061033c6105ff366004612607565b6113c6565b34801561061057600080fd5b5061033c61061f36600461283c565b61153d565b34801561063057600080fd5b506102d761157a565b34801561064557600080fd5b5061033c6106543660046126f2565b611589565b34801561066557600080fd5b5061033c6106743660046127c8565b611594565b34801561068557600080fd5b5061033c610694366004612676565b6115d5565b3480156106a557600080fd5b506102816106b43660046125e5565b6001600160a01b031660009081526014602052604090205460ff1690565b3480156106de57600080fd5b5061033c61160d565b3480156106f357600080fd5b506102d7610702366004612885565b6116dd565b34801561071357600080fd5b5061035460115481565b34801561072957600080fd5b506102d761176d565b34801561073e57600080fd5b5061028161074d366004612607565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61033c610789366004612885565b61177c565b34801561079a57600080fd5b5061033c6107a93660046125e5565b611964565b60006001600160e01b0319821663780e9d6360e01b14806107d357506107d3826119ff565b92915050565b6060600080546107e890612c41565b80601f016020809104026020016040519081016040528092919081815260200182805461081490612c41565b80156108615780601f1061083657610100808354040283529160200191610861565b820191906000526020600020905b81548152906001019060200180831161084457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610910826111a6565b9050806001600160a01b0316836001600160a01b0316141561097e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108e0565b336001600160a01b038216148061099a575061099a813361074d565b610a0c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108e0565b610a168383611a4f565b505050565b600a546001600160a01b03163314610a455760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a16576000838383818110610a6457610a64612ced565b9050602002016020810190610a7991906125e5565b6001600160a01b03161415610aa05760405162461bcd60e51b81526004016108e090612b06565b600060136000858585818110610ab857610ab8612ced565b9050602002016020810190610acd91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610aff81612c7c565b915050610a48565b610b113382611abd565b610b2d5760405162461bcd60e51b81526004016108e090612b3d565b610a16838383611bb4565b600a546001600160a01b03163314610b625760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a16576000838383818110610b8157610b81612ced565b9050602002016020810190610b9691906125e5565b6001600160a01b03161415610bbd5760405162461bcd60e51b81526004016108e090612b06565b600160136000858585818110610bd557610bd5612ced565b9050602002016020810190610bea91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c1c81612c7c565b915050610b65565b6000610c2f8361121d565b8210610c915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108e0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ce45760405162461bcd60e51b81526004016108e090612ad1565b6040514790339082156108fc029083906000818181858888f19350505050158015610d13573d6000803e3d6000fd5b5050565b610a16838383604051806020016040528060008152506115d5565b60105460ff16610d545760405162461bcd60e51b81526004016108e090612aa1565b3360009081526014602052604090205460ff16610db35760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c69737400000060448201526064016108e0565b60125460ff16600214610e085760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652032000000000000000060448201526064016108e0565b600d5460155410610e535760405162461bcd60e51b8152602060048201526015602482015274141d5c98da185cd9481ddbdd5b1908195e18d95959605a1b60448201526064016108e0565b6000610e5e60155490565b9050610e6a6015611d5b565b610e743382611d78565b50336000908152601460205260409020805460ff19169055565b60105460ff16610eb05760405162461bcd60e51b81526004016108e090612aa1565b3360009081526013602052604090205460ff16610f0f5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c69737400000060448201526064016108e0565b60125460ff16600114610f645760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652031000000000000000060448201526064016108e0565b600c5460155410610faf5760405162461bcd60e51b8152602060048201526015602482015274141d5c98da185cd9481ddbdd5b1908195e18d95959605a1b60448201526064016108e0565b6000610fba60155490565b9050610fc66015611d5b565b610fd03382611d78565b50336000908152601360205260409020805460ff19169055565b6000610ff560085490565b82106110585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108e0565b6008828154811061106b5761106b612ced565b90600052602060002001549050919050565b600a546001600160a01b031633146110a75760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a165760008383838181106110c6576110c6612ced565b90506020020160208101906110db91906125e5565b6001600160a01b031614156111025760405162461bcd60e51b81526004016108e090612b06565b60006014600085858581811061111a5761111a612ced565b905060200201602081019061112f91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061116181612c7c565b9150506110aa565b600a546001600160a01b031633146111935760405162461bcd60e51b81526004016108e090612ad1565b8051610d1390600f9060208401906124ba565b6000818152600260205260408120546001600160a01b0316806107d35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108e0565b60006001600160a01b0382166112885760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108e0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112ce5760405162461bcd60e51b81526004016108e090612ad1565b6112d86000611d92565b565b600a546001600160a01b031633146113045760405162461bcd60e51b81526004016108e090612ad1565b60005b81811015610a1657600083838381811061132357611323612ced565b905060200201602081019061133891906125e5565b6001600160a01b0316141561135f5760405162461bcd60e51b81526004016108e090612b06565b60016014600085858581811061137757611377612ced565b905060200201602081019061138c91906125e5565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806113be81612c7c565b915050611307565b600a546001600160a01b031633146113f05760405162461bcd60e51b81526004016108e090612ad1565b6040516370a0823160e01b815230600482015282906001600160a01b0382169063a9059cbb90849083906370a082319060240160206040518083038186803b15801561143b57600080fd5b505afa15801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611473919061289e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156114b957600080fd5b505af11580156114cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f191906127e5565b610a165760405162461bcd60e51b815260206004820152601b60248201527f455243323020546f6b656e207472616e73666572206661696c6564000000000060448201526064016108e0565b600a546001600160a01b031633146115675760405162461bcd60e51b81526004016108e090612ad1565b8051610d1390600e9060208401906124ba565b6060600180546107e890612c41565b610d13338383611de4565b600a546001600160a01b031633146115be5760405162461bcd60e51b81526004016108e090612ad1565b6010805460ff191691151591909117905542601155565b6115df3383611abd565b6115fb5760405162461bcd60e51b81526004016108e090612b3d565b61160784848484611eb3565b50505050565b600a546001600160a01b031633146116375760405162461bcd60e51b81526004016108e090612ad1565b601254600360ff909116106116825760405162461bcd60e51b81526020600482015260116024820152704f6e6c792068617665203320706861736560781b60448201526064016108e0565b60125460ff16600114156116aa57601554600d60008282546116a49190612b8e565b90915550505b60128054600191906000906116c390849060ff16612ba6565b92506101000a81548160ff021916908360ff160217905550565b6000818152600260205260409020546060906001600160a01b031661173b5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016108e0565b600f61174683611ee6565b6040516020016117579291906128ff565b6040516020818303038152906040529050919050565b6060600e80546107e890612c41565b6002600b5414156117cf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e0565b6002600b5560105460ff166117f65760405162461bcd60e51b81526004016108e090612aa1565b60125460ff1660031461184b5760405162461bcd60e51b815260206004820152601860248201527f43757272656e746c79206e6f7420696e2050686173652033000000000000000060448201526064016108e0565b61138861185760155490565b106118745760405162461bcd60e51b81526004016108e090612a5c565b6113888161188160155490565b61188b9190612b8e565b11156118a95760405162461bcd60e51b81526004016108e090612a5c565b346118bc82674563918244f40000612bdf565b111561190a5760405162461bcd60e51b815260206004820152601d60248201527f474c4d5220616d6f756e74206973206e6f742073756666696369656e7400000060448201526064016108e0565b60005b8181101561195b57600061192060155490565b905061138861192e60155490565b10156119485761193e6015611d5b565b6119483382611d78565b508061195381612c7c565b91505061190d565b50506001600b55565b600a546001600160a01b0316331461198e5760405162461bcd60e51b81526004016108e090612ad1565b6001600160a01b0381166119f35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e0565b6119fc81611d92565b50565b60006001600160e01b031982166380ac58cd60e01b1480611a3057506001600160e01b03198216635b5e139f60e01b145b806107d357506301ffc9a760e01b6001600160e01b03198316146107d3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a84826111a6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108e0565b6000611b41836111a6565b9050806001600160a01b0316846001600160a01b03161480611b8857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611bac5750836001600160a01b0316611ba18461086b565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bc7826111a6565b6001600160a01b031614611c2b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108e0565b6001600160a01b038216611c8d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108e0565b611c98838383611fe4565b611ca3600082611a4f565b6001600160a01b0383166000908152600360205260408120805460019290611ccc908490612bfe565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cfa908490612b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001816000016000828254611d709190612b8e565b909155505050565b610d1382826040518060200160405280600081525061209c565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611e465760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ebe848484611bb4565b611eca848484846120cf565b6116075760405162461bcd60e51b81526004016108e090612a0a565b606081611f0a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f345780611f1e81612c7c565b9150611f2d9050600a83612bcb565b9150611f0e565b60008167ffffffffffffffff811115611f4f57611f4f612d03565b6040519080825280601f01601f191660200182016040528015611f79576020820181803683370190505b5090505b8415611bac57611f8e600183612bfe565b9150611f9b600a86612c97565b611fa6906030612b8e565b60f81b818381518110611fbb57611fbb612ced565b60200101906001600160f81b031916908160001a905350611fdd600a86612bcb565b9450611f7d565b6001600160a01b03831661203f5761203a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612062565b816001600160a01b0316836001600160a01b0316146120625761206283826121dc565b6001600160a01b03821661207957610a1681612279565b826001600160a01b0316826001600160a01b031614610a1657610a168282612328565b6120a6838361236c565b6120b360008484846120cf565b610a165760405162461bcd60e51b81526004016108e090612a0a565b60006001600160a01b0384163b156121d157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121139033908990889088906004016129ba565b602060405180830381600087803b15801561212d57600080fd5b505af192505050801561215d575060408051601f3d908101601f1916820190925261215a9181019061281f565b60015b6121b7573d80801561218b576040519150601f19603f3d011682016040523d82523d6000602084013e612190565b606091505b5080516121af5760405162461bcd60e51b81526004016108e090612a0a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bac565b506001949350505050565b600060016121e98461121d565b6121f39190612bfe565b600083815260076020526040902054909150808214612246576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061228b90600190612bfe565b600083815260096020526040812054600880549394509092849081106122b3576122b3612ced565b9060005260206000200154905080600883815481106122d4576122d4612ced565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061230c5761230c612cd7565b6001900381819060005260206000200160009055905550505050565b60006123338361121d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166123c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108e0565b6000818152600260205260409020546001600160a01b0316156124275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108e0565b61243360008383611fe4565b6001600160a01b038216600090815260036020526040812080546001929061245c908490612b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546124c690612c41565b90600052602060002090601f0160209004810192826124e8576000855561252e565b82601f1061250157805160ff191683800117855561252e565b8280016001018555821561252e579182015b8281111561252e578251825591602001919060010190612513565b5061253a92915061253e565b5090565b5b8082111561253a576000815560010161253f565b600067ffffffffffffffff8084111561256e5761256e612d03565b604051601f8501601f19908116603f0116810190828211818310171561259657612596612d03565b816040528093508581528686860111156125af57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146125e057600080fd5b919050565b6000602082840312156125f757600080fd5b612600826125c9565b9392505050565b6000806040838503121561261a57600080fd5b612623836125c9565b9150612631602084016125c9565b90509250929050565b60008060006060848603121561264f57600080fd5b612658846125c9565b9250612666602085016125c9565b9150604084013590509250925092565b6000806000806080858703121561268c57600080fd5b612695856125c9565b93506126a3602086016125c9565b925060408501359150606085013567ffffffffffffffff8111156126c657600080fd5b8501601f810187136126d757600080fd5b6126e687823560208401612553565b91505092959194509250565b6000806040838503121561270557600080fd5b61270e836125c9565b9150602083013561271e81612d19565b809150509250929050565b6000806040838503121561273c57600080fd5b612745836125c9565b946020939093013593505050565b6000806020838503121561276657600080fd5b823567ffffffffffffffff8082111561277e57600080fd5b818501915085601f83011261279257600080fd5b8135818111156127a157600080fd5b8660208260051b85010111156127b657600080fd5b60209290920196919550909350505050565b6000602082840312156127da57600080fd5b813561260081612d19565b6000602082840312156127f757600080fd5b815161260081612d19565b60006020828403121561281457600080fd5b813561260081612d27565b60006020828403121561283157600080fd5b815161260081612d27565b60006020828403121561284e57600080fd5b813567ffffffffffffffff81111561286557600080fd5b8201601f8101841361287657600080fd5b611bac84823560208401612553565b60006020828403121561289757600080fd5b5035919050565b6000602082840312156128b057600080fd5b5051919050565b600081518084526128cf816020860160208601612c15565b601f01601f19169290920160200192915050565b600081516128f5818560208601612c15565b9290920192915050565b600080845481600182811c91508083168061291b57607f831692505b602080841082141561293b57634e487b7160e01b86526022600452602486fd5b81801561294f57600181146129605761298d565b60ff1986168952848901965061298d565b60008b81526020902060005b868110156129855781548b82015290850190830161296c565b505084890196505b5050505050506129b16129a082866128e3565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ed908301846128b7565b9695505050505050565b60208152600061260060208301846128b7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f507572636861736520776f756c6420657863656564204d4f4f4e504554535f5060408201526455424c494360d81b606082015260800190565b602080825260169082015275436f6e7472616374206973206e6f742061637469766560501b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601a908201527f43616e27742061646420746865206e756c6c2061646472657373000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612ba157612ba1612cab565b500190565b600060ff821660ff84168060ff03821115612bc357612bc3612cab565b019392505050565b600082612bda57612bda612cc1565b500490565b6000816000190483118215151615612bf957612bf9612cab565b500290565b600082821015612c1057612c10612cab565b500390565b60005b83811015612c30578181015183820152602001612c18565b838111156116075750506000910152565b600181811c90821680612c5557607f821691505b60208210811415612c7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c9057612c90612cab565b5060010190565b600082612ca657612ca6612cc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146119fc57600080fd5b6001600160e01b0319811681146119fc57600080fdfea2646970667358221220c0cec8440b003eeee9f9e0cc5e5fb5f530f0b603ed15739775c24e6f137d418564736f6c63430008070033
Deployed Bytecode Sourcemap
65725:6017:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58629:224;;;;;;;;;;-1:-1:-1;58629:224:0;;;;;:::i;:::-;;:::i;:::-;;;8337:14:1;;8330:22;8312:41;;8300:2;8285:18;58629:224:0;;;;;;;;66290:29;;;;;;;;;;-1:-1:-1;66290:29:0;;;;;;;;;;;20377:4:1;20365:17;;;20347:36;;20335:2;20320:18;66290:29:0;20205:184:1;45448:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47008:221::-;;;;;;;;;;-1:-1:-1;47008:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7356:32:1;;;7338:51;;7326:2;7311:18;47008:221:0;7192:203:1;46531:411:0;;;;;;;;;;-1:-1:-1;46531:411:0;;;;;:::i;:::-;;:::i;:::-;;65986:34;;;;;;;;;;;;;;;;;;;20169:25:1;;;20157:2;20142:18;65986:34:0;20023:177:1;65872:46:0;;;;;;;;;;;;65914:4;65872:46;;59269:113;;;;;;;;;;-1:-1:-1;59357:10:0;:17;59269:113;;67131;;;;;;;;;;-1:-1:-1;67131:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;67219:17:0;67195:4;67219:17;;;:11;:17;;;;;;;;;67131:113;68005:395;;;;;;;;;;-1:-1:-1;68005:395:0;;;;;:::i;:::-;;:::i;66220:28::-;;;;;;;;;;-1:-1:-1;66220:28:0;;;;;;;;47758:339;;;;;;;;;;-1:-1:-1;47758:339:0;;;;;:::i;:::-;;:::i;67373:308::-;;;;;;;;;;-1:-1:-1;67373:308:0;;;;;:::i;:::-;;:::i;58937:256::-;;;;;;;;;;-1:-1:-1;58937:256:0;;;;;:::i;:::-;;:::i;71267:147::-;;;;;;;;;;;;;:::i;66027:33::-;;;;;;;;;;;;;;;;48168:185;;;;;;;;;;-1:-1:-1;48168:185:0;;;;;:::i;:::-;;:::i;69351:532::-;;;;;;;;;;;;;:::i;68811:::-;;;;;;;;;;;;;:::i;59459:233::-;;;;;;;;;;-1:-1:-1;59459:233:0;;;;;:::i;:::-;;:::i;68408:395::-;;;;;;;;;;-1:-1:-1;68408:395:0;;;;;:::i;:::-;;:::i;66782:96::-;;;;;;;;;;-1:-1:-1;66782:96:0;;;;;:::i;:::-;;:::i;45142:239::-;;;;;;;;;;-1:-1:-1;45142:239:0;;;;;:::i;:::-;;:::i;44872:208::-;;;;;;;;;;-1:-1:-1;44872:208:0;;;;;:::i;:::-;;:::i;24044:103::-;;;;;;;;;;;;;:::i;67689:308::-;;;;;;;;;;-1:-1:-1;67689:308:0;;;;;:::i;:::-;;:::i;66067:57::-;;;;;;;;;;;;66099:25;66067:57;;23393:87;;;;;;;;;;-1:-1:-1;23466:6:0;;-1:-1:-1;;;;;23466:6:0;23393:87;;71422:317;;;;;;;;;;-1:-1:-1;71422:317:0;;;;;:::i;:::-;;:::i;66675:99::-;;;;;;;;;;-1:-1:-1;66675:99:0;;;;;:::i;:::-;;:::i;45617:104::-;;;;;;;;;;;;;:::i;47301:155::-;;;;;;;;;;-1:-1:-1;47301:155:0;;;;;:::i;:::-;;:::i;66534:133::-;;;;;;;;;;-1:-1:-1;66534:133:0;;;;;:::i;:::-;;:::i;48424:328::-;;;;;;;;;;-1:-1:-1;48424:328:0;;;;;:::i;:::-;;:::i;67252:113::-;;;;;;;;;;-1:-1:-1;67252:113:0;;;;;:::i;:::-;-1:-1:-1;;;;;67340:17:0;67316:4;67340:17;;;:11;:17;;;;;;;;;67252:113;66886:237;;;;;;;;;;;;;:::i;70931:328::-;;;;;;;;;;-1:-1:-1;70931:328:0;;;;;:::i;:::-;;:::i;66255:26::-;;;;;;;;;;;;;;;;70826:97;;;;;;;;;;;;;:::i;47527:164::-;;;;;;;;;;-1:-1:-1;47527:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;47648:25:0;;;47624:4;47648:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47527:164;69891:927;;;;;;:::i;:::-;;:::i;24302:201::-;;;;;;;;;;-1:-1:-1;24302:201:0;;;;;:::i;:::-;;:::i;58629:224::-;58731:4;-1:-1:-1;;;;;;58755:50:0;;-1:-1:-1;;;58755:50:0;;:90;;;58809:36;58833:11;58809:23;:36::i;:::-;58748:97;58629:224;-1:-1:-1;;58629:224:0:o;45448:100::-;45502:13;45535:5;45528:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45448:100;:::o;47008:221::-;47084:7;50351:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50351:16:0;47104:73;;;;-1:-1:-1;;;47104:73:0;;16448:2:1;47104:73:0;;;16430:21:1;16487:2;16467:18;;;16460:30;16526:34;16506:18;;;16499:62;-1:-1:-1;;;16577:18:1;;;16570:42;16629:19;;47104:73:0;;;;;;;;;-1:-1:-1;47197:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;47197:24:0;;47008:221::o;46531:411::-;46612:13;46628:23;46643:7;46628:14;:23::i;:::-;46612:39;;46676:5;-1:-1:-1;;;;;46670:11:0;:2;-1:-1:-1;;;;;46670:11:0;;;46662:57;;;;-1:-1:-1;;;46662:57:0;;17577:2:1;46662:57:0;;;17559:21:1;17616:2;17596:18;;;17589:30;17655:34;17635:18;;;17628:62;-1:-1:-1;;;17706:18:1;;;17699:31;17747:19;;46662:57:0;17375:397:1;46662:57:0;9256:10;-1:-1:-1;;;;;46754:21:0;;;;:62;;-1:-1:-1;46779:37:0;46796:5;9256:10;47527:164;:::i;46779:37::-;46732:168;;;;-1:-1:-1;;;46732:168:0;;14490:2:1;46732:168:0;;;14472:21:1;14529:2;14509:18;;;14502:30;14568:34;14548:18;;;14541:62;14639:26;14619:18;;;14612:54;14683:19;;46732:168:0;14288:420:1;46732:168:0;46913:21;46922:2;46926:7;46913:8;:21::i;:::-;46601:341;46531:411;;:::o;68005:395::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;68128:9:::1;68123:270;68143:20:::0;;::::1;68123:270;;;68217:1;68193:9:::0;;68203:1;68193:12;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;68193:26:0::1;;;68185:65;;;;-1:-1:-1::0;;;68185:65:0::1;;;;;;;:::i;:::-;68376:5;68348:11;:25;68360:9;;68370:1;68360:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;68348:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;68348:25:0;:33;;-1:-1:-1;;68348:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;68165:3;::::1;::::0;::::1;:::i;:::-;;;;68123:270;;47758:339:::0;47953:41;9256:10;47986:7;47953:18;:41::i;:::-;47945:103;;;;-1:-1:-1;;;47945:103:0;;;;;;;:::i;:::-;48061:28;48071:4;48077:2;48081:7;48061:9;:28::i;67373:308::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;67491:9:::1;67486:188;67506:20:::0;;::::1;67486:188;;;67580:1;67556:9:::0;;67566:1;67556:12;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67556:26:0::1;;;67548:65;;;;-1:-1:-1::0;;;67548:65:0::1;;;;;;;:::i;:::-;67658:4;67630:11;:25;67642:9;;67652:1;67642:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67630:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;67630:25:0;:32;;-1:-1:-1;;67630:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67528:3;::::1;::::0;::::1;:::i;:::-;;;;67486:188;;58937:256:::0;59034:7;59070:23;59087:5;59070:16;:23::i;:::-;59062:5;:31;59054:87;;;;-1:-1:-1;;;59054:87:0;;9501:2:1;59054:87:0;;;9483:21:1;9540:2;9520:18;;;9513:30;9579:34;9559:18;;;9552:62;-1:-1:-1;;;9630:18:1;;;9623:41;9681:19;;59054:87:0;9299:407:1;59054:87:0;-1:-1:-1;;;;;;59159:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;58937:256::o;71267:147::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;71369:37:::1;::::0;71335:21:::1;::::0;71377:10:::1;::::0;71369:37;::::1;;;::::0;71335:21;;71317:15:::1;71369:37:::0;71317:15;71369:37;71335:21;71377:10;71369:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;71306:108;71267:147::o:0;48168:185::-;48306:39;48323:4;48329:2;48333:7;48306:39;;;;;;;;;;;;:16;:39::i;69351:532::-;69402:8;;;;69394:43;;;;-1:-1:-1;;;69394:43:0;;;;;;;:::i;:::-;69468:10;69456:23;;;;:11;:23;;;;;;;;69448:65;;;;-1:-1:-1;;;69448:65:0;;9143:2:1;69448:65:0;;;9125:21:1;9182:2;9162:18;;;9155:30;9221:31;9201:18;;;9194:59;9270:18;;69448:65:0;8941:353:1;69448:65:0;69532:12;;;;69548:1;69532:17;69524:54;;;;-1:-1:-1;;;69524:54:0;;12619:2:1;69524:54:0;;;12601:21:1;12658:2;12638:18;;;12631:30;12697:26;12677:18;;;12670:54;12741:18;;69524:54:0;12417:348:1;69524:54:0;69639:12;;69611:15;65338:14;69611:40;69589:111;;;;-1:-1:-1;;;69589:111:0;;14140:2:1;69589:111:0;;;14122:21:1;14179:2;14159:18;;;14152:30;-1:-1:-1;;;14198:18:1;;;14191:51;14259:18;;69589:111:0;13938:345:1;69589:111:0;69711:15;69729:25;:15;65338:14;;65246:114;69729:25;69711:43;;69765:27;:15;:25;:27::i;:::-;69803:30;69813:10;69825:7;69803:9;:30::i;:::-;-1:-1:-1;69856:10:0;69870:5;69844:23;;;:11;:23;;;;;:31;;-1:-1:-1;;69844:31:0;;;69351:532::o;68811:::-;68862:8;;;;68854:43;;;;-1:-1:-1;;;68854:43:0;;;;;;;:::i;:::-;68928:10;68916:23;;;;:11;:23;;;;;;;;68908:65;;;;-1:-1:-1;;;68908:65:0;;9143:2:1;68908:65:0;;;9125:21:1;9182:2;9162:18;;;9155:30;9221:31;9201:18;;;9194:59;9270:18;;68908:65:0;8941:353:1;68908:65:0;68992:12;;;;;:17;68984:54;;;;-1:-1:-1;;;68984:54:0;;8790:2:1;68984:54:0;;;8772:21:1;8829:2;8809:18;;;8802:30;8868:26;8848:18;;;8841:54;8912:18;;68984:54:0;8588:348:1;68984:54:0;69099:12;;69071:15;65338:14;69071:40;69049:111;;;;-1:-1:-1;;;69049:111:0;;14140:2:1;69049:111:0;;;14122:21:1;14179:2;14159:18;;;14152:30;-1:-1:-1;;;14198:18:1;;;14191:51;14259:18;;69049:111:0;13938:345:1;69049:111:0;69171:15;69189:25;:15;65338:14;;65246:114;69189:25;69171:43;;69225:27;:15;:25;:27::i;:::-;69263:30;69273:10;69285:7;69263:9;:30::i;:::-;-1:-1:-1;69316:10:0;69330:5;69304:23;;;:11;:23;;;;;:31;;-1:-1:-1;;69304:31:0;;;68811:532::o;59459:233::-;59534:7;59570:30;59357:10;:17;;59269:113;59570:30;59562:5;:38;59554:95;;;;-1:-1:-1;;;59554:95:0;;18753:2:1;59554:95:0;;;18735:21:1;18792:2;18772:18;;;18765:30;18831:34;18811:18;;;18804:62;-1:-1:-1;;;18882:18:1;;;18875:42;18934:19;;59554:95:0;18551:408:1;59554:95:0;59667:10;59678:5;59667:17;;;;;;;;:::i;:::-;;;;;;;;;59660:24;;59459:233;;;:::o;68408:395::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;68531:9:::1;68526:270;68546:20:::0;;::::1;68526:270;;;68620:1;68596:9:::0;;68606:1;68596:12;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;68596:26:0::1;;;68588:65;;;;-1:-1:-1::0;;;68588:65:0::1;;;;;;;:::i;:::-;68779:5;68751:11;:25;68763:9;;68773:1;68763:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;68751:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;68751:25:0;:33;;-1:-1:-1;;68751:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;68568:3;::::1;::::0;::::1;:::i;:::-;;;;68526:270;;66782:96:::0;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;66851:19;;::::1;::::0;:13:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;45142:239::-:0;45214:7;45250:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45250:16:0;45285:19;45277:73;;;;-1:-1:-1;;;45277:73:0;;15326:2:1;45277:73:0;;;15308:21:1;15365:2;15345:18;;;15338:30;15404:34;15384:18;;;15377:62;-1:-1:-1;;;15455:18:1;;;15448:39;15504:19;;45277:73:0;15124:405:1;44872:208:0;44944:7;-1:-1:-1;;;;;44972:19:0;;44964:74;;;;-1:-1:-1;;;44964:74:0;;14915:2:1;44964:74:0;;;14897:21:1;14954:2;14934:18;;;14927:30;14993:34;14973:18;;;14966:62;-1:-1:-1;;;15044:18:1;;;15037:40;15094:19;;44964:74:0;14713:406:1;44964:74:0;-1:-1:-1;;;;;;45056:16:0;;;;;:9;:16;;;;;;;44872:208::o;24044:103::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;24109:30:::1;24136:1;24109:18;:30::i;:::-;24044:103::o:0;67689:308::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;67807:9:::1;67802:188;67822:20:::0;;::::1;67802:188;;;67896:1;67872:9:::0;;67882:1;67872:12;;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67872:26:0::1;;;67864:65;;;;-1:-1:-1::0;;;67864:65:0::1;;;;;;;:::i;:::-;67974:4;67946:11;:25;67958:9;;67968:1;67958:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67946:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;67946:25:0;:32;;-1:-1:-1;;67946:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67844:3;::::1;::::0;::::1;:::i;:::-;;;;67802:188;;71422:317:::0;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;71640:35:::1;::::0;-1:-1:-1;;;71640:35:0;;71669:4:::1;71640:35;::::0;::::1;7338:51:1::0;71568:13:0;;-1:-1:-1;;;;;71615:19:0;::::1;::::0;::::1;::::0;71635:3;;71615:19;;71640:20:::1;::::0;7311:18:1;;71640:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71615:61;::::0;-1:-1:-1;;;;;;71615:61:0::1;::::0;;;;;;-1:-1:-1;;;;;8085:32:1;;;71615:61:0::1;::::0;::::1;8067:51:1::0;8134:18;;;8127:34;8040:18;;71615:61:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71593:138;;;::::0;-1:-1:-1;;;71593:138:0;;17979:2:1;71593:138:0::1;::::0;::::1;17961:21:1::0;18018:2;17998:18;;;17991:30;18057:29;18037:18;;;18030:57;18104:18;;71593:138:0::1;17777:351:1::0;66675:99:0;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;66748:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;45617:104::-:0;45673:13;45706:7;45699:14;;;;;:::i;47301:155::-;47396:52;9256:10;47429:8;47439;47396:18;:52::i;66534:133::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;66599:8:::1;:20:::0;;-1:-1:-1;;66599:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;66644:15:::1;66630:11;:29:::0;66534:133::o;48424:328::-;48599:41;9256:10;48632:7;48599:18;:41::i;:::-;48591:103;;;;-1:-1:-1;;;48591:103:0;;;;;;;:::i;:::-;48705:39;48719:4;48725:2;48729:7;48738:5;48705:13;:39::i;:::-;48424:328;;;;:::o;66886:237::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;66948:12:::1;::::0;66963:1:::1;66948:12;::::0;;::::1;:16;66940:46;;;::::0;-1:-1:-1;;;66940:46:0;;19526:2:1;66940:46:0::1;::::0;::::1;19508:21:1::0;19565:2;19545:18;;;19538:30;-1:-1:-1;;;19584:18:1;;;19577:47;19641:18;;66940:46:0::1;19324:341:1::0;66940:46:0::1;67001:12;::::0;::::1;;::::0;:17:::1;66997:91;;;67051:15;65338:14:::0;67035:12:::1;;:41;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;66997:91:0::1;67098:12;:17:::0;;67114:1:::1;::::0;67098:12;::::1;::::0;:17:::1;::::0;67114:1;;67098:17:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66886:237::o:0;70931:328::-;50327:4;50351:16;;;:7;:16;;;;;;71040:13;;-1:-1:-1;;;;;50351:16:0;71071:49;;;;-1:-1:-1;;;71071:49:0;;12972:2:1;71071:49:0;;;12954:21:1;13011:2;12991:18;;;12984:30;-1:-1:-1;;;13030:18:1;;;13023:50;13090:18;;71071:49:0;12770:344:1;71071:49:0;71193:13;71208:18;:7;:16;:18::i;:::-;71176:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71131:120;;70931:328;;;:::o;70826:97::-;70870:13;70903:12;70896:19;;;;;:::i;69891:927::-;5426:1;6024:7;;:19;;6016:63;;;;-1:-1:-1;;;6016:63:0;;19166:2:1;6016:63:0;;;19148:21:1;19205:2;19185:18;;;19178:30;19244:33;19224:18;;;19217:61;19295:18;;6016:63:0;18964:355:1;6016:63:0;5426:1;6157:7;:18;69982:8:::1;::::0;::::1;;69974:43;;;;-1:-1:-1::0;;;69974:43:0::1;;;;;;;:::i;:::-;70036:12;::::0;::::1;;70052:1;70036:17;70028:54;;;::::0;-1:-1:-1;;;70028:54:0;;19872:2:1;70028:54:0::1;::::0;::::1;19854:21:1::0;19911:2;19891:18;;;19884:30;19950:26;19930:18;;;19923:54;19994:18;;70028:54:0::1;19670:348:1::0;70028:54:0::1;65914:4;70115:25;:15;65338:14:::0;;65246:114;70115:25:::1;:43;70093:130;;;;-1:-1:-1::0;;;70093:130:0::1;;;;;;;:::i;:::-;65914:4;70284:14;70256:25;:15;65338:14:::0;;65246:114;70256:25:::1;:42;;;;:::i;:::-;:61;;70234:148;;;;-1:-1:-1::0;;;70234:148:0::1;;;;;;;:::i;:::-;70441:9;70415:22;70423:14:::0;66099:25:::1;70415:22;:::i;:::-;:35;;70393:114;;;::::0;-1:-1:-1;;;70393:114:0;;11502:2:1;70393:114:0::1;::::0;::::1;11484:21:1::0;11541:2;11521:18;;;11514:30;11580:31;11560:18;;;11553:59;11629:18;;70393:114:0::1;11300:353:1::0;70393:114:0::1;70525:9;70520:291;70544:14;70540:1;:18;70520:291;;;70580:15;70598:25;:15;65338:14:::0;;65246:114;70598:25:::1;70580:43;;65914:4;70644:25;:15;65338:14:::0;;65246:114;70644:25:::1;:43;70640:160;;;70708:27;:15;:25;:27::i;:::-;70754:30;70764:10;70776:7;70754:9;:30::i;:::-;-1:-1:-1::0;70560:3:0;::::1;::::0;::::1;:::i;:::-;;;;70520:291;;;-1:-1:-1::0;;5382:1:0;6336:7;:22;69891:927::o;24302:201::-;23466:6;;-1:-1:-1;;;;;23466:6:0;9256:10;23613:23;23605:68;;;;-1:-1:-1;;;23605:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24391:22:0;::::1;24383:73;;;::::0;-1:-1:-1;;;24383:73:0;;10332:2:1;24383:73:0::1;::::0;::::1;10314:21:1::0;10371:2;10351:18;;;10344:30;10410:34;10390:18;;;10383:62;-1:-1:-1;;;10461:18:1;;;10454:36;10507:19;;24383:73:0::1;10130:402:1::0;24383:73:0::1;24467:28;24486:8;24467:18;:28::i;:::-;24302:201:::0;:::o;44503:305::-;44605:4;-1:-1:-1;;;;;;44642:40:0;;-1:-1:-1;;;44642:40:0;;:105;;-1:-1:-1;;;;;;;44699:48:0;;-1:-1:-1;;;44699:48:0;44642:105;:158;;;-1:-1:-1;;;;;;;;;;36286:40:0;;;44764:36;36177:157;54408:174;54483:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;54483:29:0;-1:-1:-1;;;;;54483:29:0;;;;;;;;:24;;54537:23;54483:24;54537:14;:23::i;:::-;-1:-1:-1;;;;;54528:46:0;;;;;;;;;;;54408:174;;:::o;50556:348::-;50649:4;50351:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50351:16:0;50666:73;;;;-1:-1:-1;;;50666:73:0;;13321:2:1;50666:73:0;;;13303:21:1;13360:2;13340:18;;;13333:30;13399:34;13379:18;;;13372:62;-1:-1:-1;;;13450:18:1;;;13443:42;13502:19;;50666:73:0;13119:408:1;50666:73:0;50750:13;50766:23;50781:7;50766:14;:23::i;:::-;50750:39;;50819:5;-1:-1:-1;;;;;50808:16:0;:7;-1:-1:-1;;;;;50808:16:0;;:52;;;-1:-1:-1;;;;;;47648:25:0;;;47624:4;47648:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50828:32;50808:87;;;;50888:7;-1:-1:-1;;;;;50864:31:0;:20;50876:7;50864:11;:20::i;:::-;-1:-1:-1;;;;;50864:31:0;;50808:87;50800:96;50556:348;-1:-1:-1;;;;50556:348:0:o;53665:625::-;53824:4;-1:-1:-1;;;;;53797:31:0;:23;53812:7;53797:14;:23::i;:::-;-1:-1:-1;;;;;53797:31:0;;53789:81;;;;-1:-1:-1;;;53789:81:0;;10739:2:1;53789:81:0;;;10721:21:1;10778:2;10758:18;;;10751:30;10817:34;10797:18;;;10790:62;-1:-1:-1;;;10868:18:1;;;10861:35;10913:19;;53789:81:0;10537:401:1;53789:81:0;-1:-1:-1;;;;;53889:16:0;;53881:65;;;;-1:-1:-1;;;53881:65:0;;11860:2:1;53881:65:0;;;11842:21:1;11899:2;11879:18;;;11872:30;11938:34;11918:18;;;11911:62;-1:-1:-1;;;11989:18:1;;;11982:34;12033:19;;53881:65:0;11658:400:1;53881:65:0;53959:39;53980:4;53986:2;53990:7;53959:20;:39::i;:::-;54063:29;54080:1;54084:7;54063:8;:29::i;:::-;-1:-1:-1;;;;;54105:15:0;;;;;;:9;:15;;;;;:20;;54124:1;;54105:15;:20;;54124:1;;54105:20;:::i;:::-;;;;-1:-1:-1;;;;;;;54136:13:0;;;;;;:9;:13;;;;;:18;;54153:1;;54136:13;:18;;54153:1;;54136:18;:::i;:::-;;;;-1:-1:-1;;54165:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;54165:21:0;-1:-1:-1;;;;;54165:21:0;;;;;;;;;54204:27;;54165:16;;54204:27;;;;;;;46601:341;46531:411;;:::o;65368:117::-;65465:1;65447:7;:14;;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;;65368:117:0:o;51246:110::-;51322:26;51332:2;51336:7;51322:26;;;;;;;;;;;;:9;:26::i;24663:191::-;24756:6;;;-1:-1:-1;;;;;24773:17:0;;;-1:-1:-1;;;;;;24773:17:0;;;;;;;24806:40;;24756:6;;;24773:17;24756:6;;24806:40;;24737:16;;24806:40;24726:128;24663:191;:::o;54724:315::-;54879:8;-1:-1:-1;;;;;54870:17:0;:5;-1:-1:-1;;;;;54870:17:0;;;54862:55;;;;-1:-1:-1;;;54862:55:0;;12265:2:1;54862:55:0;;;12247:21:1;12304:2;12284:18;;;12277:30;12343:27;12323:18;;;12316:55;12388:18;;54862:55:0;12063:349:1;54862:55:0;-1:-1:-1;;;;;54928:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;54928:46:0;;;;;;;;;;54990:41;;8312::1;;;54990::0;;8285:18:1;54990:41:0;;;;;;;54724:315;;;:::o;49634:::-;49791:28;49801:4;49807:2;49811:7;49791:9;:28::i;:::-;49838:48;49861:4;49867:2;49871:7;49880:5;49838:22;:48::i;:::-;49830:111;;;;-1:-1:-1;;;49830:111:0;;;;;;;:::i;6738:723::-;6794:13;7015:10;7011:53;;-1:-1:-1;;7042:10:0;;;;;;;;;;;;-1:-1:-1;;;7042:10:0;;;;;6738:723::o;7011:53::-;7089:5;7074:12;7130:78;7137:9;;7130:78;;7163:8;;;;:::i;:::-;;-1:-1:-1;7186:10:0;;-1:-1:-1;7194:2:0;7186:10;;:::i;:::-;;;7130:78;;;7218:19;7250:6;7240:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7240:17:0;;7218:39;;7268:154;7275:10;;7268:154;;7302:11;7312:1;7302:11;;:::i;:::-;;-1:-1:-1;7371:10:0;7379:2;7371:5;:10;:::i;:::-;7358:24;;:2;:24;:::i;:::-;7345:39;;7328:6;7335;7328:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7328:56:0;;;;;;;;-1:-1:-1;7399:11:0;7408:2;7399:11;;:::i;:::-;;;7268:154;;60305:589;-1:-1:-1;;;;;60511:18:0;;60507:187;;60546:40;60578:7;61721:10;:17;;61694:24;;;;:15;:24;;;;;:44;;;61749:24;;;;;;;;;;;;61617:164;60546:40;60507:187;;;60616:2;-1:-1:-1;;;;;60608:10:0;:4;-1:-1:-1;;;;;60608:10:0;;60604:90;;60635:47;60668:4;60674:7;60635:32;:47::i;:::-;-1:-1:-1;;;;;60708:16:0;;60704:183;;60741:45;60778:7;60741:36;:45::i;60704:183::-;60814:4;-1:-1:-1;;;;;60808:10:0;:2;-1:-1:-1;;;;;60808:10:0;;60804:83;;60835:40;60863:2;60867:7;60835:27;:40::i;51583:321::-;51713:18;51719:2;51723:7;51713:5;:18::i;:::-;51764:54;51795:1;51799:2;51803:7;51812:5;51764:22;:54::i;:::-;51742:154;;;;-1:-1:-1;;;51742:154:0;;;;;;;:::i;55604:799::-;55759:4;-1:-1:-1;;;;;55780:13:0;;26389:19;:23;55776:620;;55816:72;;-1:-1:-1;;;55816:72:0;;-1:-1:-1;;;;;55816:36:0;;;;;:72;;9256:10;;55867:4;;55873:7;;55882:5;;55816:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55816:72:0;;;;;;;;-1:-1:-1;;55816:72:0;;;;;;;;;;;;:::i;:::-;;;55812:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56058:13:0;;56054:272;;56101:60;;-1:-1:-1;;;56101:60:0;;;;;;;:::i;56054:272::-;56276:6;56270:13;56261:6;56257:2;56253:15;56246:38;55812:529;-1:-1:-1;;;;;;55939:51:0;-1:-1:-1;;;55939:51:0;;-1:-1:-1;55932:58:0;;55776:620;-1:-1:-1;56380:4:0;55604:799;;;;;;:::o;62408:988::-;62674:22;62724:1;62699:22;62716:4;62699:16;:22::i;:::-;:26;;;;:::i;:::-;62736:18;62757:26;;;:17;:26;;;;;;62674:51;;-1:-1:-1;62890:28:0;;;62886:328;;-1:-1:-1;;;;;62957:18:0;;62935:19;62957:18;;;:12;:18;;;;;;;;:34;;;;;;;;;63008:30;;;;;;:44;;;63125:30;;:17;:30;;;;;:43;;;62886:328;-1:-1:-1;63310:26:0;;;;:17;:26;;;;;;;;63303:33;;;-1:-1:-1;;;;;63354:18:0;;;;;:12;:18;;;;;:34;;;;;;;63347:41;62408:988::o;63691:1079::-;63969:10;:17;63944:22;;63969:21;;63989:1;;63969:21;:::i;:::-;64001:18;64022:24;;;:15;:24;;;;;;64395:10;:26;;63944:46;;-1:-1:-1;64022:24:0;;63944:46;;64395:26;;;;;;:::i;:::-;;;;;;;;;64373:48;;64459:11;64434:10;64445;64434:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;64539:28;;;:15;:28;;;;;;;:41;;;64711:24;;;;;64704:31;64746:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63762:1008;;;63691:1079;:::o;61195:221::-;61280:14;61297:20;61314:2;61297:16;:20::i;:::-;-1:-1:-1;;;;;61328:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;61373:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;61195:221:0:o;52240:439::-;-1:-1:-1;;;;;52320:16:0;;52312:61;;;;-1:-1:-1;;;52312:61:0;;15736:2:1;52312:61:0;;;15718:21:1;;;15755:18;;;15748:30;15814:34;15794:18;;;15787:62;15866:18;;52312:61:0;15534:356:1;52312:61:0;50327:4;50351:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50351:16:0;:30;52384:58;;;;-1:-1:-1;;;52384:58:0;;11145:2:1;52384:58:0;;;11127:21:1;11184:2;11164:18;;;11157:30;11223;11203:18;;;11196:58;11271:18;;52384:58:0;10943:352:1;52384:58:0;52455:45;52484:1;52488:2;52492:7;52455:20;:45::i;:::-;-1:-1:-1;;;;;52513:13:0;;;;;;:9;:13;;;;;:18;;52530:1;;52513:13;:18;;52530:1;;52513:18;:::i;:::-;;;;-1:-1:-1;;52542:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;52542:21:0;-1:-1:-1;;;;;52542:21:0;;;;;;;;52581:33;;52542:16;;;52581:33;;52542:16;;52581:33;71369:37:::1;71306:108;71267:147::o:0;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;:::-;969:39;828:186;-1:-1:-1;;;828:186:1:o;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:315::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:615::-;2953:6;2961;3014:2;3002:9;2993:7;2989:23;2985:32;2982:52;;;3030:1;3027;3020:12;2982:52;3070:9;3057:23;3099:18;3140:2;3132:6;3129:14;3126:34;;;3156:1;3153;3146:12;3126:34;3194:6;3183:9;3179:22;3169:32;;3239:7;3232:4;3228:2;3224:13;3220:27;3210:55;;3261:1;3258;3251:12;3210:55;3301:2;3288:16;3327:2;3319:6;3316:14;3313:34;;;3343:1;3340;3333:12;3313:34;3396:7;3391:2;3381:6;3378:1;3374:14;3370:2;3366:23;3362:32;3359:45;3356:65;;;3417:1;3414;3407:12;3356:65;3448:2;3440:11;;;;;3470:6;;-1:-1:-1;2867:615:1;;-1:-1:-1;;;;2867:615:1:o;3487:241::-;3543:6;3596:2;3584:9;3575:7;3571:23;3567:32;3564:52;;;3612:1;3609;3602:12;3564:52;3651:9;3638:23;3670:28;3692:5;3670:28;:::i;3733:245::-;3800:6;3853:2;3841:9;3832:7;3828:23;3824:32;3821:52;;;3869:1;3866;3859:12;3821:52;3901:9;3895:16;3920:28;3942:5;3920:28;:::i;3983:245::-;4041:6;4094:2;4082:9;4073:7;4069:23;4065:32;4062:52;;;4110:1;4107;4100:12;4062:52;4149:9;4136:23;4168:30;4192:5;4168:30;:::i;4233:249::-;4302:6;4355:2;4343:9;4334:7;4330:23;4326:32;4323:52;;;4371:1;4368;4361:12;4323:52;4403:9;4397:16;4422:30;4446:5;4422:30;:::i;4487:450::-;4556:6;4609:2;4597:9;4588:7;4584:23;4580:32;4577:52;;;4625:1;4622;4615:12;4577:52;4665:9;4652:23;4698:18;4690:6;4687:30;4684:50;;;4730:1;4727;4720:12;4684:50;4753:22;;4806:4;4798:13;;4794:27;-1:-1:-1;4784:55:1;;4835:1;4832;4825:12;4784:55;4858:73;4923:7;4918:2;4905:16;4900:2;4896;4892:11;4858:73;:::i;4942:180::-;5001:6;5054:2;5042:9;5033:7;5029:23;5025:32;5022:52;;;5070:1;5067;5060:12;5022:52;-1:-1:-1;5093:23:1;;4942:180;-1:-1:-1;4942:180:1:o;5127:184::-;5197:6;5250:2;5238:9;5229:7;5225:23;5221:32;5218:52;;;5266:1;5263;5256:12;5218:52;-1:-1:-1;5289:16:1;;5127:184;-1:-1:-1;5127:184:1:o;5316:257::-;5357:3;5395:5;5389:12;5422:6;5417:3;5410:19;5438:63;5494:6;5487:4;5482:3;5478:14;5471:4;5464:5;5460:16;5438:63;:::i;:::-;5555:2;5534:15;-1:-1:-1;;5530:29:1;5521:39;;;;5562:4;5517:50;;5316:257;-1:-1:-1;;5316:257:1:o;5578:185::-;5620:3;5658:5;5652:12;5673:52;5718:6;5713:3;5706:4;5699:5;5695:16;5673:52;:::i;:::-;5741:16;;;;;5578:185;-1:-1:-1;;5578:185:1:o;5886:1301::-;6163:3;6192:1;6225:6;6219:13;6255:3;6277:1;6305:9;6301:2;6297:18;6287:28;;6365:2;6354:9;6350:18;6387;6377:61;;6431:4;6423:6;6419:17;6409:27;;6377:61;6457:2;6505;6497:6;6494:14;6474:18;6471:38;6468:165;;;-1:-1:-1;;;6532:33:1;;6588:4;6585:1;6578:15;6618:4;6539:3;6606:17;6468:165;6649:18;6676:104;;;;6794:1;6789:320;;;;6642:467;;6676:104;-1:-1:-1;;6709:24:1;;6697:37;;6754:16;;;;-1:-1:-1;6676:104:1;;6789:320;20467:1;20460:14;;;20504:4;20491:18;;6884:1;6898:165;6912:6;6909:1;6906:13;6898:165;;;6990:14;;6977:11;;;6970:35;7033:16;;;;6927:10;;6898:165;;;6902:3;;7092:6;7087:3;7083:16;7076:23;;6642:467;;;;;;;7125:56;7150:30;7176:3;7168:6;7150:30;:::i;:::-;-1:-1:-1;;;5828:20:1;;5873:1;5864:11;;5768:113;7125:56;7118:63;5886:1301;-1:-1:-1;;;;;5886:1301:1:o;7400:488::-;-1:-1:-1;;;;;7669:15:1;;;7651:34;;7721:15;;7716:2;7701:18;;7694:43;7768:2;7753:18;;7746:34;;;7816:3;7811:2;7796:18;;7789:31;;;7594:4;;7837:45;;7862:19;;7854:6;7837:45;:::i;:::-;7829:53;7400:488;-1:-1:-1;;;;;;7400:488:1:o;8364:219::-;8513:2;8502:9;8495:21;8476:4;8533:44;8573:2;8562:9;8558:18;8550:6;8533:44;:::i;9711:414::-;9913:2;9895:21;;;9952:2;9932:18;;;9925:30;9991:34;9986:2;9971:18;;9964:62;-1:-1:-1;;;10057:2:1;10042:18;;10035:48;10115:3;10100:19;;9711:414::o;13532:401::-;13734:2;13716:21;;;13773:2;13753:18;;;13746:30;13812:34;13807:2;13792:18;;13785:62;-1:-1:-1;;;13878:2:1;13863:18;;13856:35;13923:3;13908:19;;13532:401::o;15895:346::-;16097:2;16079:21;;;16136:2;16116:18;;;16109:30;-1:-1:-1;;;16170:2:1;16155:18;;16148:52;16232:2;16217:18;;15895:346::o;16659:356::-;16861:2;16843:21;;;16880:18;;;16873:30;16939:34;16934:2;16919:18;;16912:62;17006:2;16991:18;;16659:356::o;17020:350::-;17222:2;17204:21;;;17261:2;17241:18;;;17234:30;17300:28;17295:2;17280:18;;17273:56;17361:2;17346:18;;17020:350::o;18133:413::-;18335:2;18317:21;;;18374:2;18354:18;;;18347:30;18413:34;18408:2;18393:18;;18386:62;-1:-1:-1;;;18479:2:1;18464:18;;18457:47;18536:3;18521:19;;18133:413::o;20520:128::-;20560:3;20591:1;20587:6;20584:1;20581:13;20578:39;;;20597:18;;:::i;:::-;-1:-1:-1;20633:9:1;;20520:128::o;20653:204::-;20691:3;20727:4;20724:1;20720:12;20759:4;20756:1;20752:12;20794:3;20788:4;20784:14;20779:3;20776:23;20773:49;;;20802:18;;:::i;:::-;20838:13;;20653:204;-1:-1:-1;;;20653:204:1:o;20862:120::-;20902:1;20928;20918:35;;20933:18;;:::i;:::-;-1:-1:-1;20967:9:1;;20862:120::o;20987:168::-;21027:7;21093:1;21089;21085:6;21081:14;21078:1;21075:21;21070:1;21063:9;21056:17;21052:45;21049:71;;;21100:18;;:::i;:::-;-1:-1:-1;21140:9:1;;20987:168::o;21160:125::-;21200:4;21228:1;21225;21222:8;21219:34;;;21233:18;;:::i;:::-;-1:-1:-1;21270:9:1;;21160:125::o;21290:258::-;21362:1;21372:113;21386:6;21383:1;21380:13;21372:113;;;21462:11;;;21456:18;21443:11;;;21436:39;21408:2;21401:10;21372:113;;;21503:6;21500:1;21497:13;21494:48;;;-1:-1:-1;;21538:1:1;21520:16;;21513:27;21290:258::o;21553:380::-;21632:1;21628:12;;;;21675;;;21696:61;;21750:4;21742:6;21738:17;21728:27;;21696:61;21803:2;21795:6;21792:14;21772:18;21769:38;21766:161;;;21849:10;21844:3;21840:20;21837:1;21830:31;21884:4;21881:1;21874:15;21912:4;21909:1;21902:15;21766:161;;21553:380;;;:::o;21938:135::-;21977:3;-1:-1:-1;;21998:17:1;;21995:43;;;22018:18;;:::i;:::-;-1:-1:-1;22065:1:1;22054:13;;21938:135::o;22078:112::-;22110:1;22136;22126:35;;22141:18;;:::i;:::-;-1:-1:-1;22175:9:1;;22078:112::o;22195:127::-;22256:10;22251:3;22247:20;22244:1;22237:31;22287:4;22284:1;22277:15;22311:4;22308:1;22301:15;22327:127;22388:10;22383:3;22379:20;22376:1;22369:31;22419:4;22416:1;22409:15;22443:4;22440:1;22433:15;22459:127;22520:10;22515:3;22511:20;22508:1;22501:31;22551:4;22548:1;22541:15;22575:4;22572:1;22565:15;22591:127;22652:10;22647:3;22643:20;22640:1;22633:31;22683:4;22680:1;22673:15;22707:4;22704:1;22697:15;22723:127;22784:10;22779:3;22775:20;22772:1;22765:31;22815:4;22812:1;22805:15;22839:4;22836:1;22829:15;22855:118;22941:5;22934:13;22927:21;22920:5;22917:32;22907:60;;22963:1;22960;22953:12;22978:131;-1:-1:-1;;;;;;23052:32:1;;23042:43;;23032:71;;23099:1;23096;23089:12
Swarm Source
ipfs://c0cec8440b003eeee9f9e0cc5e5fb5f530f0b603ed15739775c24e6f137d4185
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.