ERC-721
Overview
Max Total Supply
1,051 GTD
Holders
275
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GTDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GatoDiablo
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-27 */ // SPDX-License-Identifier: MIT // File: contracts/GatoDiablo.sol // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%% From the creative minds of Toonverse Studios we present to you %%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% **GATO DIABLO** %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% / %%%%%%%%%%%%%%%%%%%%%%%%%%% ,. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%, ,(* %%%%%%%%%%%%%%%%%%%%%%%%%%% ./(* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% /(/, %%%%%%%%%%%%%%%%%%%%%%%%%% .,((# %%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .*(/.. %%%%# .,**/*. .,(((## %%%%%%%%%%%%%%%%%%%%%%%%**.%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,/(*... (## .%%%%%%#((((((((((((#((((((## %%%%%%%%%%%%%%%%%%%%%%, *, %%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,/*#, (((((((##.(%%%%%%##(((((((((((((((((((# (%%%%%%%%%%%%%%%%%%%% ,*(** %%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%. .*//#*(((((((((((*###%%%%#(#((((((((((((((((((#%.%%%%%%%%%%.%%%%%%% ,,,**,* %%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,*((#/((((. (((((/(((#########(((((((((((((((((#%% %%%%%%%%%./.%%%% , .,** %%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# .,*(##((( * (((((((((((((((((((((((((((((((( /(#%% %%%%%%%% ** #%% %.,. , *%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,/(##(( (((/, (**((((((((((((((((((((((((((* #% %%%%%%%%.*,/ /%%%% * %* #%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,/###( ((/ ,(/*(/((((((((((((*((( (((# %%%%%%% ,.%. %%%% * %%#%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%. ..*(###(/ , ,((//*/(((((/*(((, .(( %%%%%% ,*(%%%%%%%% *,%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ..,/###/. .*(/(//(((((((( ,( %%%%% ,/ %%%%%%%%(.*%%%%%%,* %%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .*(##/. .*(#(/. .*(((/((((((( ,/((*. , /%%%%. /,#%%%%%%%% * %%%% */ %%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# .*/#(*. (@%#%@(, .*((((((((( *@%#%@(, . %%%%% ,/, %%%%%%%.**.%%%/ * %%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,//*. .(%@%(, ./(((((((( .(&@@#*. %%%%%% *, .%# *,*/%%%%%(* %%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .,/ . *((((((/, %%%%%%%# * ,,,,,*,*** %%%%%%. *%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .*@ . ,*////* %# .%% ,**,, %%%% . %%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%, ##%#%%#(#%, .., ,,*//**, . #%&&&&% %%%%%%%%%% , % **. ,/ .%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%*((//(#&&&(&@@&&%#//* @@@&#(* ,,*(######/,. ,*/(%(&&#%%/* %%%%%% ,,#%% * * %%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (#%&@@@@@#@&(%( @@@@@@@&#* ............ @@ */%&&%&/%%%%%%%% ,, %%%%%%%#%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%( #%&&&%@/ %@@@@ %@@@@/@@&&&#/ .#@@ @@% /##% %%%%%%%% , %%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#/# &%&%%. ///##%%%&&&@@@ #/ &&&(*,. ..*/#@@@@*@@. (% %%%%%%%%% /* %%%%%%%%%%%%%%%%% // %%%%%%% %%%%%%%%%%%%%%%%%%%%(% # (%%& ,** ,. ((#%&&&&&..& *(/***//( */(%&@@ /@@ (% ..,(%%%%% ., %%%%%%%%%%%%%%%%%% // %%%%%%% /( (%%%%%%%%%%%%%%%%%%%%%%% //%%%/###/,,,,. (/ *(%&&&&&&&@&@@&& */(#(&%#. %%%%%%%%%%( *, %%%%%%%%%%%%%%%%%% // %%%%%%% **/(# %%%%%%%%%%%%%%%%%%%%%/* %.%%%/#(,,, .,. ./// %&&&&@&%( ,**, ,.%%% %%%%%%%%% /,/%%%%%%%%%%%%%%%%%% // %%%%%%% ,,,*((((#( %%%%%%%%%%%%%%%%%%% ( .#/(*/((((*/ * ..,,, *//. ,,. ..@, %%%%%%%%%%%%%%%% ,, %%%%%%%%%%%%%%%%%%% // %%%%%%%% ,,*((((((##### %%%%%%%%%%%%%%%%% ,,/***,,,,,*,* * #....... ,*,%%%%%%%%%%%%%%%%%% ,, %%%%%%%%%%%%%%%%%%% // %%%%%%%% ,,((/**//*. %%%%%%%%%%%%%%%%%%%%%%...%#.. . ..,,*,/ @ //* %%%%%%%%%%%%%%%%%* ,, %%%%%%%%%%%%%%%%%%% // %%%%%%%%% ,,*/*,***/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% . *(#(/**(%%%*( %%%%%%%%%%%%%%% @@@@ @@@@@ %%%%%%%%%%%% // %%%%%%%%%% ,,,,.. **// %%%%%%%%%%%%%%%%%%%%%%%/ ((/*,,........ .. #@@@@ /%%%%%%%%%%%%%%% @@@ @@@/ ( &@@@ %%%%%%%%%%% // %%%%%%%%%%%*.,... % ,//( %%%%%%%%%%%%%%%%%% %*(((((//***,...,..,,,**,*,, %%%%%%%%%%%%% @ @@@#%@@@ @@@@@@@ %%%%%%%%%%% // %%%%%%%%%%%%% .. (%% */(/.%%%%%%%%%%%%%%% ,%##((((((((((((/..,,,((/((*(((.* %%%%%%%%( ( @ /%@@% @@# /.%%%%%%%%%%%% // %%%%%%%%%%%%%%% %%%%%./(/ %%%%%%%%%%%%% %%##((/*,,,,,*/(((,,*/*((((./(((((*// /,### @% %%@@@& @@@%%@@ %%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%,/(* %%%%%%%%%%%% /%%%((*. %%%%( .,/(*,///(((((/(((((( ,,*****/*,* / %%%%%%.@%. .,%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%,/((* (%%%%%%%%%% (%%##/, %%%%% .**/*/(((((((,/((((((,... .. %%% %%% @@@@ %%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%% (((, ,%%%%%%%%%. *%###* #%%%%% .,,**/(((((((//(((((((* #%%%%%%%%%%%% ,, %%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%% ((/,. %%%%%%%%% *.##((* %%%%% ..,,**//(((((((((((((((**%%%%%%%%%%%%%%%% ,, (%%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%% ///,. %%%%%%%%% . (#(//*%@ @@@@@@( ...,,, */((((((((( ,(( (%%%%%%%%%%%%%%%, ,*, %%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%% ///*. *%%%%%%%%% (((/// @@/&@@@@@@@@@ ...,,**///(((((((((((( %%%%%%%%%%%%%%%% .,, %%%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%% .,/* . %%%%%%%%%% ((. @@@@ @ . @@@@ ...,,*//(((((##(((((( %%%%%%%%%%%%%%% **. %%%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%% ***,. %%%%%%%%% &&&@@& @@@@ @@@@@@@@@ ..,,*/(((((((#((((( %%%%%%%%%%%%%%% ,,, %%%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%% .,,,.. %%%%%%%%% /&&&@@@#@@@@@@@@@@ ...,,,//((/(((((((( ,%%%%%%%%%%%%%%% *,, %%%%%%%%%%%%%% // %%%%%%%%%%%%%%%%%%%%%% ..,.... %%%%%%* &&&&&&&@@@@@@@@ @ ..,,***((/(((((((( %%%%%%%%%%%%%%%# .,,, %%%%%%%%%%%%% //https://www.toonversestudios.com/ // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); } // 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/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.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.openzeppelin.com/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, allowance(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 = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * 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/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ // abstract contract Context { // function _msgSender() internal view virtual returns (address) { // return msg.sender; // } // function _msgData() internal view virtual returns (bytes calldata) { // return msg.data; // } // } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 /// @solidity memory-safe-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 (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.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 (last updated v4.7.0) (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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // 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: contracts/ERC721A.sol pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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 * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override virtual { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override virtual{ safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721A: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity ^0.8.11; contract $TOON is ERC20Burnable, Ownable { using SafeMath for uint256; ERC721A public devilCatzNft; uint256 public cost = 0.0005 ether; event Bought(uint256 amount); uint256 public maxSupply = 1235813; uint256 public stakedNfts = 0; uint256 public rewardsTime = 86400; bool public nftStakingPaused = false; bool public rewardsCollectionPaused = false; mapping(address => mapping(uint256 => uint256)) public nftStakersWithTime; mapping(address => uint256[]) private nftStakersWithArray; mapping(address => uint256) public rewardsInWei; constructor() payable ERC20("$TOON", "$TOON") { _mint(address(this), 935813); _mint(0x1aBC6efe814F2766003d0c4AA5496B9b0EBC6eA3, 150000); _mint(0x4538C3d93FfdE7677EF66aB548a4Dd7f39eca785, 150000); devilCatzNft = ERC721A(0x1c4a28690482b03F6991C8c24295016cba197C12); } function getUsersStakedNfts(address _staker) public view returns (uint256[] memory) { return nftStakersWithArray[_staker]; } function decimals() public view virtual override returns (uint8) { return 0; } function circulatingSupply() public view returns (uint256) { return (this.totalSupply() - balanceOf(address(this))); } function setMaxSupply(uint256 _amount) public onlyOwner { require( circulatingSupply() < _amount, "Cant set new total supply less than old supply." ); maxSupply = _amount; } function setNftStakingPaused(bool _b) public onlyOwner { nftStakingPaused = _b; } function setRewardsCollectionPaused(bool _b) public onlyOwner { rewardsCollectionPaused = _b; } function buy(uint256 _quantity) public payable { require(_quantity > 0, "Quantity needs to be greater than 1"); require( balanceOf(address(this)) > _quantity, "Not enough left in contract to buy.." ); uint256 totalCostEth = _quantity * cost; require(msg.value >= totalCostEth, "Did not send enough ETH"); _transfer(address(this), msg.sender, _quantity); emit Bought(_quantity); } function withdrawEthFromContract(uint256 _amount) public payable onlyOwner { (bool os, ) = payable(owner()).call{value: _amount}(""); require(os); } function withdrawToonFromContract(uint256 _amount) public payable onlyOwner { _transfer(address(this), owner(), _amount); } function sendToonFromConract(address addy, uint256 _amount) public payable onlyOwner { _transfer(address(this), addy, _amount); } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function burn(uint256 _amount) public virtual override { _burn(_msgSender(), _amount); maxSupply -= _amount; } function stakeNft(uint256 _tokenID) public { require(!nftStakingPaused, "Staking NFTs is currently paused."); require( nftStakersWithTime[msg.sender][_tokenID] == 0, "This token already staked." ); devilCatzNft.transferFrom(msg.sender, address(this), _tokenID); nftStakersWithTime[msg.sender][_tokenID] = block.timestamp; stakedNfts += 1; nftStakersWithArray[msg.sender].push(_tokenID); } function stakeMultipleNfts(uint256[] calldata _nftIds) public { require(!nftStakingPaused, "Staking NFTs is currently paused."); for (uint256 i = 0; i <= _nftIds.length - 1; i++) { require( devilCatzNft.ownerOf(_nftIds[i]) == msg.sender, "Not all of those NFTs are in your current wallet." ); devilCatzNft.transferFrom(msg.sender, address(this), _nftIds[i]); nftStakersWithTime[msg.sender][_nftIds[i]] = block.timestamp; stakedNfts += 1; nftStakersWithArray[msg.sender].push(_nftIds[i]); } } function potentialAllStakedNftReward(address _addy) public view returns (uint256) { uint256[] memory nfts = getUsersStakedNfts(_addy); uint256 intDate = 0; uint256 subtracted = 0; uint256 utilToken = 0; for (uint256 i = 0; i < nfts.length; i++) { if (nftStakersWithTime[_addy][nfts[i]] != 0) { intDate = nftStakersWithTime[_addy][nfts[i]]; subtracted = block.timestamp - intDate; utilToken += subtracted / rewardsTime; } } return utilToken * 1; } function potentialStakedNftReward(address _addy, uint256 _tokenID) public view returns (uint256) { require( nftStakersWithTime[_addy][_tokenID] != 0, "This token not staked." ); uint256 intDate = nftStakersWithTime[_addy][_tokenID]; uint256 subtracted = block.timestamp - intDate; uint256 tokens = subtracted / rewardsTime; return tokens * 1; } function collectStakedNftReward(address _addy, uint256 _tokenID) public { require(!nftStakingPaused, "Staking NFTs is currently paused."); require( nftStakersWithTime[_addy][_tokenID] != 0, "This token not staked." ); require( potentialStakedNftReward(_addy, _tokenID) != 0, "You dont have enough to claim." ); uint256 tokens = potentialStakedNftReward(_addy, _tokenID); _transfer(address(this), _addy, tokens); nftStakersWithTime[_addy][_tokenID] = block.timestamp; } function collectMultipleStakedNftReward(uint256[] calldata _nftIds) public { require( !rewardsCollectionPaused, "Collecting Rewards is currently paused." ); for (uint256 i = 0; i <= _nftIds.length - 1; i++) { require( nftStakersWithTime[msg.sender][_nftIds[i]] != 0, "Not all those tokens are staked." ); collectStakedNftReward(msg.sender, _nftIds[i]); } } function removeStakedNft(uint256 _stakedNFT) public { require( nftStakersWithTime[msg.sender][_stakedNFT] != 0, "Cant Unstake something your not staking." ); devilCatzNft.transferFrom(address(this), msg.sender, _stakedNFT); nftStakersWithTime[msg.sender][_stakedNFT] = 0; stakedNfts -= 1; uint256[] storage tempArray = nftStakersWithArray[msg.sender]; for (uint256 i = 0; i < tempArray.length; i++) { if (tempArray[i] == _stakedNFT) { if (i >= tempArray.length) return; for (uint256 j = i; j < tempArray.length - 1; j++) { tempArray[j] = tempArray[j + 1]; } tempArray.pop(); nftStakersWithArray[msg.sender] = tempArray; } } } function removeMultipleStakedNft(uint256[] calldata _nftIds) public { for (uint256 k = 0; k <= _nftIds.length - 1; k++) { require( nftStakersWithTime[msg.sender][_nftIds[k]] != 0, "Cant Unstake something your not staking." ); removeStakedNft(_nftIds[k]); } } } pragma solidity ^0.8.11; contract GatoDiablo is ERC721A, Ownable,DefaultOperatorFilterer { using Strings for uint256; $TOON public $toon; ERC721A public devilCatz; string public BASE_URI ="https://gatodiablo.s3.amazonaws.com/json/"; string public NOT_REVEALED_URI ="https://gatodiablo.s3.amazonaws.com/preReveal.png"; string public BASE_EXTENSION = ".json"; uint256 public immutable MAX_SUPPLY = 2222; uint256 public immutable MAX_MINT_AMOUNT = 50; uint256 public discountedCost = 0.02 ether; uint256 public publicMintCost = 0.04 ether; uint256 public toonMintCost = 100;// $TOON bool public PAUSED = true; bool public REVEALED = false; mapping(address => uint8) public devilCatOwnerMints; mapping(address => uint8) public stakerToonMints; uint64 mintedFromToon =0; address public ARTIST = 0xe09E300ED2a79F258e53E35d6FB6134e3C9Ed56c; address public DEV = 0x75939FA0D2F41542F5e8634ce88E2aE9bFD48767; //Sudo address public PARTNER = 0x689Ee5488a551E5d67ce38D971d998ab6C0Fa6EE;//TJ constructor() ERC721A("GatoDiablo", "GTD", MAX_SUPPLY, MAX_MINT_AMOUNT) { $toon = $TOON(0x61DED8A72cDc7762D159ab46bE880BE7127A2DeF); devilCatz = ERC721A(0x1c4a28690482b03F6991C8c24295016cba197C12); _safeMint(ARTIST, 50); _safeMint(PARTNER,100); _safeMint(DEV, 5); } modifier onlyDev() { require(msg.sender == DEV, "Dev only!"); _; } modifier onlyArtist() { require(msg.sender == ARTIST, "Artist only!"); _; } modifier mintChecks(uint256 _mintAmount) { require(PAUSED!= true, "Minting is paused."); require(_mintAmount > 0, "Mint amount has to be greater than 0."); require( totalSupply() + _mintAmount <= MAX_SUPPLY, "Minting that many would go over whats available." ); require( _mintAmount <= MAX_MINT_AMOUNT, "Can not exceed max mint amount." ); _; } function setDev(address _address) public onlyDev { DEV = _address; } function setArtist(address _address) public onlyArtist { ARTIST = _address; } function setPartner(address _address) public onlyOwner { PARTNER = _address; } function setpublicMintCost(uint256 _newCost) public onlyOwner { publicMintCost = _newCost; } function setToonMintCost(uint256 _newCost) public onlyOwner { toonMintCost = _newCost; } function setDiscountedCost(uint256 _newCost) public onlyOwner { discountedCost = _newCost; } function setIsPaused(bool b) public onlyOwner { PAUSED = b; } function setIsRevealed(bool b) public onlyOwner { REVEALED = b; } function setBaseURI(string memory _newBaseURI) public onlyArtist { BASE_URI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyArtist { BASE_EXTENSION = _newBaseExtension; } function publicMint(uint256 _mintAmount) public payable mintChecks(_mintAmount) { if (msg.sender != owner()) { require( msg.value >= publicMintCost * _mintAmount, "Not Enough Eth Sent." ); _safeMint(msg.sender, _mintAmount); teamFees(msg.value); } else { _safeMint(msg.sender, _mintAmount); } } function devilCatzOwnerMint(uint8 _mintAmount) public payable mintChecks(_mintAmount) { require(_mintAmount < 3, "Can only mint 2 at this price."); //Checks to see if they have staked cats require(devilCatOwnerMints[msg.sender] <= 1, "User has already minted 2."); require(devilCatOwnerMints[msg.sender] +_mintAmount<= 2, "Minting that would go over your 2 limit."); //Verifies they sent enough ETH to mint. require(_mintAmount * discountedCost <= msg.value, "Not Enough Eth sent."); require( devilCatz.balanceOf(msg.sender) > 0, "No devilcatz found." ); _safeMint(msg.sender, _mintAmount); teamFees(msg.value); devilCatOwnerMints[msg.sender]+=1; } // if 1 staked devil cat you can mint at .02 unlimited // can only mint 50 function stakersMint(uint8 _amount) public payable mintChecks(_amount) { require(_amount < 51, "Can only mint 50 at a time."); //Verifies they sent enough ETH to mint. require(_amount * discountedCost <= msg.value, "Not Enough Eth sent."); //Checks to see if they have staked cats require( $toon.getUsersStakedNfts(msg.sender).length > 0, "No staked catz found." ); _safeMint(msg.sender, _amount); teamFees(msg.value); } //each wallet can mint with 100 toon 2 times. //Only 350 can be minted with TOON function mintWithToon(uint64 _mintAmount) public payable mintChecks(_mintAmount ) { require(_mintAmount <= 2, "Can only mint 2."); require(stakerToonMints[msg.sender] <= 1, "User has already minted 2."); require(stakerToonMints[msg.sender] +_mintAmount <= 2, "Minting that would go over your 2 limit."); require(_mintAmount* toonMintCost <= $toon.balanceOf(msg.sender), "Not enough $TOON in wallet." ); require(mintedFromToon <= 350, "350 have already been claimed from $TOON."); $toon.transferFrom(msg.sender, owner(), _mintAmount * toonMintCost); _safeMint(msg.sender, _mintAmount); stakerToonMints[msg.sender]+=1; mintedFromToon += _mintAmount; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(BASE_URI).length > 0 ? string( abi.encodePacked( BASE_URI, (_tokenId).toString(), BASE_EXTENSION ) ) : ""; } function teamFees(uint256 _ethAmount) internal { //.10 Dev uint256 devFee = _ethAmount / 10; (bool devBool, ) = payable(DEV).call{value: devFee}(""); require(devBool); //.10 Partner uint256 partnerFee = _ethAmount / 10; (bool partnerBool, ) = payable(PARTNER).call{value: partnerFee}(""); require(partnerBool); //Rest goes to contract AUX wallet uint256 result = _ethAmount - partnerFee - devFee; (bool resultBool, ) = payable(ARTIST).call{value: result}(""); require(resultBool); } function withdraw(uint256 _amount) public payable onlyOwner { (bool resultBool, ) = payable(owner()).call{value: _amount}(""); require(resultBool); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"$toon","outputs":[{"internalType":"contract $TOON","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ARTIST","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_EXTENSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOT_REVEALED_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"address","name":"","type":"address"}],"name":"devilCatOwnerMints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devilCatz","outputs":[{"internalType":"contract ERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"}],"name":"devilCatzOwnerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"discountedCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_mintAmount","type":"uint64"}],"name":"mintWithToon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setArtist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setDiscountedCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"b","type":"bool"}],"name":"setIsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"b","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setPartner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setToonMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setpublicMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakerToonMints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"stakersMint","outputs":[],"stateMutability":"payable","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":"toonMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60008080556007556101606040526029610100818152906200442261012039600b906200002d908262000a1f565b506040518060600160405280603181526020016200444b60319139600c9062000057908262000a1f565b50604080518082019091526005815264173539b7b760d91b6020820152600d9062000083908262000a1f565b506108ae60c052603260e05266470de4df820000600e55668e1bc9bf040000600f5560646010556011805461ffff19166001179055601480547be09e300ed2a79f258e53e35d6fb6134e3c9ed56c00000000000000006001600160e01b0319909116179055601580546001600160a01b03199081167375939fa0d2f41542f5e8634ce88e2ae9bfd48767179091556016805490911673689ee5488a551e5d67ce38d971d998ab6c0fa6ee1790553480156200013d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a8152602001694761746f446961626c6f60b01b8152506040518060400160405280600381526020016211d51160ea1b81525060c05160e05160008111620002075760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620002695760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b6064820152608401620001fe565b600162000277858262000a1f565b50600262000286848262000a1f565b5060a091909152608052506200029e9050336200048a565b6daaeb6d7670e522a718067333cd4e3b15620003e35780156200033157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200031257600080fd5b505af115801562000327573d6000803e3d6000fd5b50505050620003e3565b6001600160a01b03821615620003825760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620002f7565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620003c957600080fd5b505af1158015620003de573d6000803e3d6000fd5b505050505b5050600980546001600160a01b03199081167361ded8a72cdc7762d159ab46be880be7127a2def17909155600a8054909116731c4a28690482b03f6991c8c24295016cba197c1217905560145462000452906801000000000000000090046001600160a01b03166032620004dc565b6016546200046b906001600160a01b03166064620004dc565b60155462000484906001600160a01b03166005620004dc565b62000bed565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004fe8282604051806020016040528060008152506200050260201b60201c565b5050565b6000546001600160a01b038416620005675760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401620001fe565b62000573816000541190565b15620005c25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401620001fe565b60a051831115620006215760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401620001fe565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906200067f90879062000b01565b6001600160801b031681526020018583602001516200069f919062000b01565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015620008035760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a462000785600088848862000812565b620007de5760405162461bcd60e51b815260206004820152603360248201526000805160206200447c83398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620001fe565b81620007ea8162000b2b565b9250508080620007fa9062000b2b565b91505062000735565b5060008190555b505050505050565b600062000833846001600160a01b03166200096f60201b62001e2a1760201c565b156200096357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200086d90339089908890889060040162000b47565b6020604051808303816000875af1925050508015620008ab575060408051601f3d908101601f19168201909252620008a89181019062000bba565b60015b62000948573d808015620008dc576040519150601f19603f3d011682016040523d82523d6000602084013e620008e1565b606091505b508051600003620009405760405162461bcd60e51b815260206004820152603360248201526000805160206200447c83398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620001fe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000967565b5060015b949350505050565b6001600160a01b03163b151590565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620009a957607f821691505b602082108103620009ca57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a1a57600081815260208120601f850160051c81016020861015620009f95750805b601f850160051c820191505b818110156200080a5782815560010162000a05565b505050565b81516001600160401b0381111562000a3b5762000a3b6200097e565b62000a538162000a4c845462000994565b84620009d0565b602080601f83116001811462000a8b576000841562000a725750858301515b600019600386901b1c1916600185901b1785556200080a565b600085815260208120601f198616915b8281101562000abc5788860151825594840194600190910190840162000a9b565b508582101562000adb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6001600160801b0381811683821601908082111562000b245762000b2462000aeb565b5092915050565b60006001820162000b405762000b4062000aeb565b5060010190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b8281101562000b965785810182015185820160a00152810162000b78565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b60006020828403121562000bcd57600080fd5b81516001600160e01b03198116811462000be657600080fd5b9392505050565b60805160a05160c05160e0516137b862000c6a6000396000818161099001528181610c6b01528181610fb4015281816113f7015261173f0152600081816104ff01528181610c1801528181610f61015281816113a401526116ec01526000818161228f015281816122b90152612aa60152600050506137b86000f3fe60806040526004361061031a5760003560e01c80638da5cb5b116101ab578063c87b56dd116100f7578063df3fdf0011610095578063ed99e1e21161006f578063ed99e1e214610949578063f2fde38b1461095e578063fa9b70181461097e578063fbe74095146109b257600080fd5b8063df3fdf00146108cb578063e985e9c5146108e0578063ebebcf3d1461092957600080fd5b8063d7224ba0116100d1578063d7224ba01461086a578063da3ef23f14610880578063dabc5afe146108a0578063dbddb26a146108b657600080fd5b8063c87b56dd1461080a578063d477f05f1461082a578063d4c975331461084a57600080fd5b8063a9aad58c11610164578063afbaab4a1161013e578063afbaab4a14610797578063b068519a146107b7578063b88d4fde146107ca578063c1eb5ddd146107ea57600080fd5b8063a9aad58c14610743578063acf4094a1461075d578063ad05d8291461078457600080fd5b80638da5cb5b1461068157806395d89b411461069f578063a16d5960146106b4578063a22cb465146106d4578063a4871724146106f4578063a76a95871461072457600080fd5b806332cb6b0c1161026a57806355f804b31161022357806370a08231116101fd57806370a0823114610616578063715018a6146106365780637363ce361461064b5780638c7700671461066b57600080fd5b806355f804b3146105b657806356935bc1146105d65780636352211e146105f657600080fd5b806332cb6b0c146104ed5780634085f71b1461052157806341f434341461053457806342842e0e1461055657806349a5980a146105765780634f6ccce71461059657600080fd5b806323b872dd116102d75780632db11544116102b15780632db11544146104655780632e1a7d4d146104785780632f745c591461048b5780632f7e7285146104ab57600080fd5b806323b872dd1461040f578063240976bf1461042f5780632b15bbeb1461044f57600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae57806315e3902f146103d057806318160ddd146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612dda565b6109d2565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b50610369610a3f565b60405161034b9190612e4e565b34801561038257600080fd5b50610396610391366004612e61565b610ad1565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612e96565b610b61565b005b3480156103dc57600080fd5b506103ce6103eb366004612e61565b610b7a565b3480156103fc57600080fd5b506000545b60405190815260200161034b565b34801561041b57600080fd5b506103ce61042a366004612ec0565b610b87565b34801561043b57600080fd5b506103ce61044a366004612f0a565b610bb2565b34801561045b57600080fd5b50610401600e5481565b6103ce610473366004612e61565b610bcd565b6103ce610486366004612e61565b610d30565b34801561049757600080fd5b506104016104a6366004612e96565b610da9565b3480156104b757600080fd5b506104db6104c6366004612f27565b60126020526000908152604090205460ff1681565b60405160ff909116815260200161034b565b3480156104f957600080fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b6103ce61052f366004612f42565b610f14565b34801561054057600080fd5b506103966daaeb6d7670e522a718067333cd4e81565b34801561056257600080fd5b506103ce610571366004612ec0565b611160565b34801561058257600080fd5b506103ce610591366004612f0a565b611185565b3480156105a257600080fd5b506104016105b1366004612e61565b6111a7565b3480156105c257600080fd5b506103ce6105d1366004613002565b611209565b3480156105e257600080fd5b50600a54610396906001600160a01b031681565b34801561060257600080fd5b50610396610611366004612e61565b611246565b34801561062257600080fd5b50610401610631366004612f27565b611258565b34801561064257600080fd5b506103ce6112e9565b34801561065757600080fd5b506103ce610666366004612e61565b6112fd565b34801561067757600080fd5b50610401600f5481565b34801561068d57600080fd5b506008546001600160a01b0316610396565b3480156106ab57600080fd5b5061036961130a565b3480156106c057600080fd5b506103ce6106cf366004612f27565b611319565b3480156106e057600080fd5b506103ce6106ef36600461304a565b611343565b34801561070057600080fd5b506104db61070f366004612f27565b60136020526000908152604090205460ff1681565b34801561073057600080fd5b5060115461033f90610100900460ff1681565b34801561074f57600080fd5b5060115461033f9060ff1681565b34801561076957600080fd5b5060145461039690600160401b90046001600160a01b031681565b6103ce610792366004612f42565b611357565b3480156107a357600080fd5b506103ce6107b2366004612e61565b61168b565b6103ce6107c5366004613081565b611698565b3480156107d657600080fd5b506103ce6107e53660046130aa565b611b05565b3480156107f657600080fd5b50601554610396906001600160a01b031681565b34801561081657600080fd5b50610369610825366004612e61565b611b32565b34801561083657600080fd5b506103ce610845366004612f27565b611c02565b34801561085657600080fd5b506103ce610865366004612f27565b611c6a565b34801561087657600080fd5b5061040160075481565b34801561088c57600080fd5b506103ce61089b366004613002565b611ccc565b3480156108ac57600080fd5b5061040160105481565b3480156108c257600080fd5b50610369611d09565b3480156108d757600080fd5b50610369611d97565b3480156108ec57600080fd5b5061033f6108fb366004613125565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561093557600080fd5b50601654610396906001600160a01b031681565b34801561095557600080fd5b50610369611da4565b34801561096a57600080fd5b506103ce610979366004612f27565b611db1565b34801561098a57600080fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b3480156109be57600080fd5b50600954610396906001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b1480610a0357506001600160e01b03198216635b5e139f60e01b145b80610a1e57506001600160e01b0319821663780e9d6360e01b145b80610a3957506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610a4e90613158565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a90613158565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b5050505050905090565b6000610ade826000541190565b610b455760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b81610b6b81611e39565b610b758383611ef2565b505050565b610b82612004565b600e55565b826001600160a01b0381163314610ba157610ba133611e39565b610bac84848461205e565b50505050565b610bba612004565b6011805460ff1916911515919091179055565b601154819060ff161515600103610bf65760405162461bcd60e51b8152600401610b3c90613192565b60008111610c165760405162461bcd60e51b8152600401610b3c906131be565b7f000000000000000000000000000000000000000000000000000000000000000081610c4160005490565b610c4b9190613219565b1115610c695760405162461bcd60e51b8152600401610b3c9061322c565b7f0000000000000000000000000000000000000000000000000000000000000000811115610ca95760405162461bcd60e51b8152600401610b3c9061327c565b6008546001600160a01b03163314610d265781600f54610cc991906132b3565b341015610d0f5760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341029b2b73a1760611b6044820152606401610b3c565b610d193383612069565b610d2234612083565b5050565b610d223383612069565b610d38612004565b6000610d4c6008546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d96576040519150601f19603f3d011682016040523d82523d6000602084013e610d9b565b606091505b5050905080610d2257600080fd5b6000610db483611258565b8210610e0d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b3c565b600080549080805b83811015610eb4576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610e6757805192505b876001600160a01b0316836001600160a01b031603610ea157868403610e9357509350610a3992505050565b83610e9d816132ca565b9450505b5080610eac816132ca565b915050610e15565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610b3c565b60115460ff80831691161515600103610f3f5760405162461bcd60e51b8152600401610b3c90613192565b60008111610f5f5760405162461bcd60e51b8152600401610b3c906131be565b7f000000000000000000000000000000000000000000000000000000000000000081610f8a60005490565b610f949190613219565b1115610fb25760405162461bcd60e51b8152600401610b3c9061322c565b7f0000000000000000000000000000000000000000000000000000000000000000811115610ff25760405162461bcd60e51b8152600401610b3c9061327c565b60338260ff16106110455760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206d696e7420353020617420612074696d652e00000000006044820152606401610b3c565b34600e548360ff1661105791906132b3565b111561109c5760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341039b2b73a1760611b6044820152606401610b3c565b6009546040516397fb843960e01b81523360048201526000916001600160a01b0316906397fb843990602401600060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261110d91908101906132e3565b51116111535760405162461bcd60e51b815260206004820152601560248201527427379039ba30b5b2b21031b0ba3d103337bab7321760591b6044820152606401610b3c565b610d19338360ff16612069565b826001600160a01b038116331461117a5761117a33611e39565b610bac8484846121f2565b61118d612004565b601180549115156101000261ff0019909216919091179055565b6000805482106112055760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610b3c565b5090565b601454600160401b90046001600160a01b0316331461123a5760405162461bcd60e51b8152600401610b3c90613388565b600b610d2282826133f4565b60006112518261220d565b5192915050565b60006001600160a01b0382166112c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610b3c565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6112f1612004565b6112fb60006123b6565b565b611305612004565b601055565b606060028054610a4e90613158565b611321612004565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b8161134d81611e39565b610b758383612408565b60115460ff808316911615156001036113825760405162461bcd60e51b8152600401610b3c90613192565b600081116113a25760405162461bcd60e51b8152600401610b3c906131be565b7f0000000000000000000000000000000000000000000000000000000000000000816113cd60005490565b6113d79190613219565b11156113f55760405162461bcd60e51b8152600401610b3c9061322c565b7f00000000000000000000000000000000000000000000000000000000000000008111156114355760405162461bcd60e51b8152600401610b3c9061327c565b60038260ff16106114885760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c79206d696e74203220617420746869732070726963652e00006044820152606401610b3c565b33600090815260126020526040902054600160ff90911611156114ed5760405162461bcd60e51b815260206004820152601a60248201527f557365722068617320616c7265616479206d696e74656420322e0000000000006044820152606401610b3c565b3360009081526012602052604090205460029061150e90849060ff166134b3565b60ff16111561152f5760405162461bcd60e51b8152600401610b3c906134cc565b34600e548360ff1661154191906132b3565b11156115865760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341039b2b73a1760611b6044820152606401610b3c565b600a546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f39190613514565b116116365760405162461bcd60e51b81526020600482015260136024820152722737903232bb34b631b0ba3d103337bab7321760691b6044820152606401610b3c565b611643338360ff16612069565b61164c34612083565b33600090815260126020526040812080546001929061166f90849060ff166134b3565b92506101000a81548160ff021916908360ff1602179055505050565b611693612004565b600f55565b6011546001600160401b0382169060ff1615156001036116ca5760405162461bcd60e51b8152600401610b3c90613192565b600081116116ea5760405162461bcd60e51b8152600401610b3c906131be565b7f00000000000000000000000000000000000000000000000000000000000000008161171560005490565b61171f9190613219565b111561173d5760405162461bcd60e51b8152600401610b3c9061322c565b7f000000000000000000000000000000000000000000000000000000000000000081111561177d5760405162461bcd60e51b8152600401610b3c9061327c565b6002826001600160401b031611156117ca5760405162461bcd60e51b815260206004820152601060248201526f21b0b71037b7363c9036b4b73a10191760811b6044820152606401610b3c565b33600090815260136020526040902054600160ff909116111561182f5760405162461bcd60e51b815260206004820152601a60248201527f557365722068617320616c7265616479206d696e74656420322e0000000000006044820152606401610b3c565b3360009081526013602052604090205460029061185090849060ff1661352d565b6001600160401b031611156118775760405162461bcd60e51b8152600401610b3c906134cc565b6009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e39190613514565b6010546118f9906001600160401b0385166132b3565b11156119475760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682024544f4f4e20696e2077616c6c65742e00000000006044820152606401610b3c565b60145461015e6001600160401b0390911611156119b85760405162461bcd60e51b815260206004820152602960248201527f333530206861766520616c7265616479206265656e20636c61696d656420667260448201526837b690122a27a7a71760b91b6064820152608401610b3c565b6009546001600160a01b03166323b872dd336119dc6008546001600160a01b031690565b6010546119f2906001600160401b0388166132b3565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015611a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6a9190613554565b50611a7e33836001600160401b0316612069565b336000908152601360205260408120805460019290611aa190849060ff166134b3565b92506101000a81548160ff021916908360ff16021790555081601460008282829054906101000a90046001600160401b0316611add919061352d565b92506101000a8154816001600160401b0302191690836001600160401b031602179055505050565b836001600160a01b0381163314611b1f57611b1f33611e39565b611b2b858585856124cc565b5050505050565b6060611b3f826000541190565b611ba35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b3c565b6000600b8054611bb290613158565b905011611bce5760405180602001604052806000815250610a39565b600b611bd9836124ff565b600d604051602001611bed939291906135e4565b60405160208183030381529060405292915050565b6015546001600160a01b03163314611c485760405162461bcd60e51b8152602060048201526009602482015268446576206f6e6c792160b81b6044820152606401610b3c565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b601454600160401b90046001600160a01b03163314611c9b5760405162461bcd60e51b8152600401610b3c90613388565b601480546001600160a01b03909216600160401b0268010000000000000000600160e01b0319909216919091179055565b601454600160401b90046001600160a01b03163314611cfd5760405162461bcd60e51b8152600401610b3c90613388565b600d610d2282826133f4565b600b8054611d1690613158565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4290613158565b8015611d8f5780601f10611d6457610100808354040283529160200191611d8f565b820191906000526020600020905b815481529060010190602001808311611d7257829003601f168201915b505050505081565b600d8054611d1690613158565b600c8054611d1690613158565b611db9612004565b6001600160a01b038116611e1e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b3c565b611e27816123b6565b50565b6001600160a01b03163b151590565b6daaeb6d7670e522a718067333cd4e3b15611e2757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eca9190613554565b611e2757604051633b79c77360e21b81526001600160a01b0382166004820152602401610b3c565b6000611efd82611246565b9050806001600160a01b0316836001600160a01b031603611f6b5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610b3c565b336001600160a01b0382161480611f875750611f8781336108fb565b611ff95760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b3c565b610b75838383612607565b6008546001600160a01b031633146112fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3c565b610b75838383612663565b610d228282604051806020016040528060008152506129e9565b6000612090600a8361362d565b6015546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146120e2576040519150601f19603f3d011682016040523d82523d6000602084013e6120e7565b606091505b50509050806120f557600080fd5b6000612102600a8561362d565b6016546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114612154576040519150601f19603f3d011682016040523d82523d6000602084013e612159565b606091505b505090508061216757600080fd5b6000846121748488613641565b61217e9190613641565b601454604051919250600091600160401b9091046001600160a01b03169083908381818185875af1925050503d80600081146121d6576040519150601f19603f3d011682016040523d82523d6000602084013e6121db565b606091505b50509050806121e957600080fd5b50505050505050565b610b7583838360405180602001604052806000815250611b05565b604080518082019091526000808252602082015261222c826000541190565b61228b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610b3c565b60007f000000000000000000000000000000000000000000000000000000000000000083106122ec576122de7f000000000000000000000000000000000000000000000000000000000000000084613641565b6122e9906001613219565b90505b825b818110612355576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561234257949350505050565b508061234d81613654565b9150506122ee565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610b3c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b038316036124605760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b3c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6124d7848484612663565b6124e384848484612cc3565b610bac5760405162461bcd60e51b8152600401610b3c9061366b565b6060816000036125265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612550578061253a816132ca565b91506125499050600a8361362d565b915061252a565b6000816001600160401b0381111561256a5761256a612f65565b6040519080825280601f01601f191660200182016040528015612594576020820181803683370190505b5090505b84156125ff576125a9600183613641565b91506125b6600a866136be565b6125c1906030613219565b60f81b8183815181106125d6576125d66136d2565b60200101906001600160f81b031916908160001a9053506125f8600a8661362d565b9450612598565b949350505050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061266e8261220d565b80519091506000906001600160a01b0316336001600160a01b031614806126a557503361269a84610ad1565b6001600160a01b0316145b806126b7575081516126b790336108fb565b9050806127215760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610b3c565b846001600160a01b031682600001516001600160a01b0316146127955760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610b3c565b6001600160a01b0384166127f95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610b3c565b6128096000848460000151612607565b6001600160a01b038516600090815260046020526040812080546001929061283b9084906001600160801b03166136e8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261288791859116613708565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561290e846001613219565b6000818152600360205260409020549091506001600160a01b031661299f57612938816000541190565b1561299f5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000546001600160a01b038416612a4c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610b3c565b612a57816000541190565b15612aa45760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610b3c565b7f0000000000000000000000000000000000000000000000000000000000000000831115612b1f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610b3c565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612b7b908790613708565b6001600160801b03168152602001858360200151612b999190613708565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612cb85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612c7c6000888488612cc3565b612c985760405162461bcd60e51b8152600401610b3c9061366b565b81612ca2816132ca565b9250508080612cb0906132ca565b915050612c2f565b5060008190556129e1565b60006001600160a01b0384163b15612db957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612d07903390899088908890600401613728565b6020604051808303816000875af1925050508015612d42575060408051601f3d908101601f19168201909252612d3f91810190613765565b60015b612d9f573d808015612d70576040519150601f19603f3d011682016040523d82523d6000602084013e612d75565b606091505b508051600003612d975760405162461bcd60e51b8152600401610b3c9061366b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125ff565b506001949350505050565b6001600160e01b031981168114611e2757600080fd5b600060208284031215612dec57600080fd5b8135612df781612dc4565b9392505050565b60005b83811015612e19578181015183820152602001612e01565b50506000910152565b60008151808452612e3a816020860160208601612dfe565b601f01601f19169290920160200192915050565b602081526000612df76020830184612e22565b600060208284031215612e7357600080fd5b5035919050565b80356001600160a01b0381168114612e9157600080fd5b919050565b60008060408385031215612ea957600080fd5b612eb283612e7a565b946020939093013593505050565b600080600060608486031215612ed557600080fd5b612ede84612e7a565b9250612eec60208501612e7a565b9150604084013590509250925092565b8015158114611e2757600080fd5b600060208284031215612f1c57600080fd5b8135612df781612efc565b600060208284031215612f3957600080fd5b612df782612e7a565b600060208284031215612f5457600080fd5b813560ff81168114612df757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612fa357612fa3612f65565b604052919050565b60006001600160401b03831115612fc457612fc4612f65565b612fd7601f8401601f1916602001612f7b565b9050828152838383011115612feb57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561301457600080fd5b81356001600160401b0381111561302a57600080fd5b8201601f8101841361303b57600080fd5b6125ff84823560208401612fab565b6000806040838503121561305d57600080fd5b61306683612e7a565b9150602083013561307681612efc565b809150509250929050565b60006020828403121561309357600080fd5b81356001600160401b0381168114612df757600080fd5b600080600080608085870312156130c057600080fd5b6130c985612e7a565b93506130d760208601612e7a565b92506040850135915060608501356001600160401b038111156130f957600080fd5b8501601f8101871361310a57600080fd5b61311987823560208401612fab565b91505092959194509250565b6000806040838503121561313857600080fd5b61314183612e7a565b915061314f60208401612e7a565b90509250929050565b600181811c9082168061316c57607f821691505b60208210810361318c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527126b4b73a34b7339034b9903830bab9b2b21760711b604082015260600190565b60208082526025908201527f4d696e7420616d6f756e742068617320746f206265206772656174657220746860408201526430b710181760d91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a3957610a39613203565b60208082526030908201527f4d696e74696e672074686174206d616e7920776f756c6420676f206f7665722060408201526f3bb430ba399030bb30b4b630b136329760811b606082015260800190565b6020808252601f908201527f43616e206e6f7420657863656564206d6178206d696e7420616d6f756e742e00604082015260600190565b8082028115828204841417610a3957610a39613203565b6000600182016132dc576132dc613203565b5060010190565b600060208083850312156132f657600080fd5b82516001600160401b038082111561330d57600080fd5b818501915085601f83011261332157600080fd5b81518181111561333357613333612f65565b8060051b9150613344848301612f7b565b818152918301840191848101908884111561335e57600080fd5b938501935b8385101561337c57845182529385019390850190613363565b98975050505050505050565b6020808252600c908201526b417274697374206f6e6c792160a01b604082015260600190565b601f821115610b7557600081815260208120601f850160051c810160208610156133d55750805b601f850160051c820191505b818110156129e1578281556001016133e1565b81516001600160401b0381111561340d5761340d612f65565b6134218161341b8454613158565b846133ae565b602080601f831160018114613456576000841561343e5750858301515b600019600386901b1c1916600185901b1785556129e1565b600085815260208120601f198616915b8281101561348557888601518255948401946001909101908401613466565b50858210156134a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60ff8181168382160190811115610a3957610a39613203565b60208082526028908201527f4d696e74696e67207468617420776f756c6420676f206f76657220796f75722060408201526719103634b6b4ba1760c11b606082015260800190565b60006020828403121561352657600080fd5b5051919050565b6001600160401b0381811683821601908082111561354d5761354d613203565b5092915050565b60006020828403121561356657600080fd5b8151612df781612efc565b6000815461357e81613158565b6001828116801561359657600181146135ab576135da565b60ff19841687528215158302870194506135da565b8560005260208060002060005b858110156135d15781548a8201529084019082016135b8565b50505082870194505b5050505092915050565b60006135f08286613571565b8451613600818360208901612dfe565b61360c81830186613571565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b60008261363c5761363c613617565b500490565b81810381811115610a3957610a39613203565b60008161366357613663613203565b506000190190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000826136cd576136cd613617565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160801b0382811682821603908082111561354d5761354d613203565b6001600160801b0381811683821601908082111561354d5761354d613203565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375b90830184612e22565b9695505050505050565b60006020828403121561377757600080fd5b8151612df781612dc456fea2646970667358221220365f251bcf6f91cffad4d0dc45ab69775c335837112dd9dd96fcbe707320e85064736f6c6343000812003368747470733a2f2f6761746f646961626c6f2e73332e616d617a6f6e6177732e636f6d2f6a736f6e2f68747470733a2f2f6761746f646961626c6f2e73332e616d617a6f6e6177732e636f6d2f70726552657665616c2e706e67455243373231413a207472616e7366657220746f206e6f6e2045524337323152
Deployed Bytecode
0x60806040526004361061031a5760003560e01c80638da5cb5b116101ab578063c87b56dd116100f7578063df3fdf0011610095578063ed99e1e21161006f578063ed99e1e214610949578063f2fde38b1461095e578063fa9b70181461097e578063fbe74095146109b257600080fd5b8063df3fdf00146108cb578063e985e9c5146108e0578063ebebcf3d1461092957600080fd5b8063d7224ba0116100d1578063d7224ba01461086a578063da3ef23f14610880578063dabc5afe146108a0578063dbddb26a146108b657600080fd5b8063c87b56dd1461080a578063d477f05f1461082a578063d4c975331461084a57600080fd5b8063a9aad58c11610164578063afbaab4a1161013e578063afbaab4a14610797578063b068519a146107b7578063b88d4fde146107ca578063c1eb5ddd146107ea57600080fd5b8063a9aad58c14610743578063acf4094a1461075d578063ad05d8291461078457600080fd5b80638da5cb5b1461068157806395d89b411461069f578063a16d5960146106b4578063a22cb465146106d4578063a4871724146106f4578063a76a95871461072457600080fd5b806332cb6b0c1161026a57806355f804b31161022357806370a08231116101fd57806370a0823114610616578063715018a6146106365780637363ce361461064b5780638c7700671461066b57600080fd5b806355f804b3146105b657806356935bc1146105d65780636352211e146105f657600080fd5b806332cb6b0c146104ed5780634085f71b1461052157806341f434341461053457806342842e0e1461055657806349a5980a146105765780634f6ccce71461059657600080fd5b806323b872dd116102d75780632db11544116102b15780632db11544146104655780632e1a7d4d146104785780632f745c591461048b5780632f7e7285146104ab57600080fd5b806323b872dd1461040f578063240976bf1461042f5780632b15bbeb1461044f57600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae57806315e3902f146103d057806318160ddd146103f0575b600080fd5b34801561032b57600080fd5b5061033f61033a366004612dda565b6109d2565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b50610369610a3f565b60405161034b9190612e4e565b34801561038257600080fd5b50610396610391366004612e61565b610ad1565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612e96565b610b61565b005b3480156103dc57600080fd5b506103ce6103eb366004612e61565b610b7a565b3480156103fc57600080fd5b506000545b60405190815260200161034b565b34801561041b57600080fd5b506103ce61042a366004612ec0565b610b87565b34801561043b57600080fd5b506103ce61044a366004612f0a565b610bb2565b34801561045b57600080fd5b50610401600e5481565b6103ce610473366004612e61565b610bcd565b6103ce610486366004612e61565b610d30565b34801561049757600080fd5b506104016104a6366004612e96565b610da9565b3480156104b757600080fd5b506104db6104c6366004612f27565b60126020526000908152604090205460ff1681565b60405160ff909116815260200161034b565b3480156104f957600080fd5b506104017f00000000000000000000000000000000000000000000000000000000000008ae81565b6103ce61052f366004612f42565b610f14565b34801561054057600080fd5b506103966daaeb6d7670e522a718067333cd4e81565b34801561056257600080fd5b506103ce610571366004612ec0565b611160565b34801561058257600080fd5b506103ce610591366004612f0a565b611185565b3480156105a257600080fd5b506104016105b1366004612e61565b6111a7565b3480156105c257600080fd5b506103ce6105d1366004613002565b611209565b3480156105e257600080fd5b50600a54610396906001600160a01b031681565b34801561060257600080fd5b50610396610611366004612e61565b611246565b34801561062257600080fd5b50610401610631366004612f27565b611258565b34801561064257600080fd5b506103ce6112e9565b34801561065757600080fd5b506103ce610666366004612e61565b6112fd565b34801561067757600080fd5b50610401600f5481565b34801561068d57600080fd5b506008546001600160a01b0316610396565b3480156106ab57600080fd5b5061036961130a565b3480156106c057600080fd5b506103ce6106cf366004612f27565b611319565b3480156106e057600080fd5b506103ce6106ef36600461304a565b611343565b34801561070057600080fd5b506104db61070f366004612f27565b60136020526000908152604090205460ff1681565b34801561073057600080fd5b5060115461033f90610100900460ff1681565b34801561074f57600080fd5b5060115461033f9060ff1681565b34801561076957600080fd5b5060145461039690600160401b90046001600160a01b031681565b6103ce610792366004612f42565b611357565b3480156107a357600080fd5b506103ce6107b2366004612e61565b61168b565b6103ce6107c5366004613081565b611698565b3480156107d657600080fd5b506103ce6107e53660046130aa565b611b05565b3480156107f657600080fd5b50601554610396906001600160a01b031681565b34801561081657600080fd5b50610369610825366004612e61565b611b32565b34801561083657600080fd5b506103ce610845366004612f27565b611c02565b34801561085657600080fd5b506103ce610865366004612f27565b611c6a565b34801561087657600080fd5b5061040160075481565b34801561088c57600080fd5b506103ce61089b366004613002565b611ccc565b3480156108ac57600080fd5b5061040160105481565b3480156108c257600080fd5b50610369611d09565b3480156108d757600080fd5b50610369611d97565b3480156108ec57600080fd5b5061033f6108fb366004613125565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561093557600080fd5b50601654610396906001600160a01b031681565b34801561095557600080fd5b50610369611da4565b34801561096a57600080fd5b506103ce610979366004612f27565b611db1565b34801561098a57600080fd5b506104017f000000000000000000000000000000000000000000000000000000000000003281565b3480156109be57600080fd5b50600954610396906001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b1480610a0357506001600160e01b03198216635b5e139f60e01b145b80610a1e57506001600160e01b0319821663780e9d6360e01b145b80610a3957506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610a4e90613158565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7a90613158565b8015610ac75780601f10610a9c57610100808354040283529160200191610ac7565b820191906000526020600020905b815481529060010190602001808311610aaa57829003601f168201915b5050505050905090565b6000610ade826000541190565b610b455760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b81610b6b81611e39565b610b758383611ef2565b505050565b610b82612004565b600e55565b826001600160a01b0381163314610ba157610ba133611e39565b610bac84848461205e565b50505050565b610bba612004565b6011805460ff1916911515919091179055565b601154819060ff161515600103610bf65760405162461bcd60e51b8152600401610b3c90613192565b60008111610c165760405162461bcd60e51b8152600401610b3c906131be565b7f00000000000000000000000000000000000000000000000000000000000008ae81610c4160005490565b610c4b9190613219565b1115610c695760405162461bcd60e51b8152600401610b3c9061322c565b7f0000000000000000000000000000000000000000000000000000000000000032811115610ca95760405162461bcd60e51b8152600401610b3c9061327c565b6008546001600160a01b03163314610d265781600f54610cc991906132b3565b341015610d0f5760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341029b2b73a1760611b6044820152606401610b3c565b610d193383612069565b610d2234612083565b5050565b610d223383612069565b610d38612004565b6000610d4c6008546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610d96576040519150601f19603f3d011682016040523d82523d6000602084013e610d9b565b606091505b5050905080610d2257600080fd5b6000610db483611258565b8210610e0d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b3c565b600080549080805b83811015610eb4576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610e6757805192505b876001600160a01b0316836001600160a01b031603610ea157868403610e9357509350610a3992505050565b83610e9d816132ca565b9450505b5080610eac816132ca565b915050610e15565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610b3c565b60115460ff80831691161515600103610f3f5760405162461bcd60e51b8152600401610b3c90613192565b60008111610f5f5760405162461bcd60e51b8152600401610b3c906131be565b7f00000000000000000000000000000000000000000000000000000000000008ae81610f8a60005490565b610f949190613219565b1115610fb25760405162461bcd60e51b8152600401610b3c9061322c565b7f0000000000000000000000000000000000000000000000000000000000000032811115610ff25760405162461bcd60e51b8152600401610b3c9061327c565b60338260ff16106110455760405162461bcd60e51b815260206004820152601b60248201527f43616e206f6e6c79206d696e7420353020617420612074696d652e00000000006044820152606401610b3c565b34600e548360ff1661105791906132b3565b111561109c5760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341039b2b73a1760611b6044820152606401610b3c565b6009546040516397fb843960e01b81523360048201526000916001600160a01b0316906397fb843990602401600060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261110d91908101906132e3565b51116111535760405162461bcd60e51b815260206004820152601560248201527427379039ba30b5b2b21031b0ba3d103337bab7321760591b6044820152606401610b3c565b610d19338360ff16612069565b826001600160a01b038116331461117a5761117a33611e39565b610bac8484846121f2565b61118d612004565b601180549115156101000261ff0019909216919091179055565b6000805482106112055760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610b3c565b5090565b601454600160401b90046001600160a01b0316331461123a5760405162461bcd60e51b8152600401610b3c90613388565b600b610d2282826133f4565b60006112518261220d565b5192915050565b60006001600160a01b0382166112c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610b3c565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6112f1612004565b6112fb60006123b6565b565b611305612004565b601055565b606060028054610a4e90613158565b611321612004565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b8161134d81611e39565b610b758383612408565b60115460ff808316911615156001036113825760405162461bcd60e51b8152600401610b3c90613192565b600081116113a25760405162461bcd60e51b8152600401610b3c906131be565b7f00000000000000000000000000000000000000000000000000000000000008ae816113cd60005490565b6113d79190613219565b11156113f55760405162461bcd60e51b8152600401610b3c9061322c565b7f00000000000000000000000000000000000000000000000000000000000000328111156114355760405162461bcd60e51b8152600401610b3c9061327c565b60038260ff16106114885760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c79206d696e74203220617420746869732070726963652e00006044820152606401610b3c565b33600090815260126020526040902054600160ff90911611156114ed5760405162461bcd60e51b815260206004820152601a60248201527f557365722068617320616c7265616479206d696e74656420322e0000000000006044820152606401610b3c565b3360009081526012602052604090205460029061150e90849060ff166134b3565b60ff16111561152f5760405162461bcd60e51b8152600401610b3c906134cc565b34600e548360ff1661154191906132b3565b11156115865760405162461bcd60e51b81526020600482015260146024820152732737ba1022b737bab3b41022ba341039b2b73a1760611b6044820152606401610b3c565b600a546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156115cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f39190613514565b116116365760405162461bcd60e51b81526020600482015260136024820152722737903232bb34b631b0ba3d103337bab7321760691b6044820152606401610b3c565b611643338360ff16612069565b61164c34612083565b33600090815260126020526040812080546001929061166f90849060ff166134b3565b92506101000a81548160ff021916908360ff1602179055505050565b611693612004565b600f55565b6011546001600160401b0382169060ff1615156001036116ca5760405162461bcd60e51b8152600401610b3c90613192565b600081116116ea5760405162461bcd60e51b8152600401610b3c906131be565b7f00000000000000000000000000000000000000000000000000000000000008ae8161171560005490565b61171f9190613219565b111561173d5760405162461bcd60e51b8152600401610b3c9061322c565b7f000000000000000000000000000000000000000000000000000000000000003281111561177d5760405162461bcd60e51b8152600401610b3c9061327c565b6002826001600160401b031611156117ca5760405162461bcd60e51b815260206004820152601060248201526f21b0b71037b7363c9036b4b73a10191760811b6044820152606401610b3c565b33600090815260136020526040902054600160ff909116111561182f5760405162461bcd60e51b815260206004820152601a60248201527f557365722068617320616c7265616479206d696e74656420322e0000000000006044820152606401610b3c565b3360009081526013602052604090205460029061185090849060ff1661352d565b6001600160401b031611156118775760405162461bcd60e51b8152600401610b3c906134cc565b6009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e39190613514565b6010546118f9906001600160401b0385166132b3565b11156119475760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682024544f4f4e20696e2077616c6c65742e00000000006044820152606401610b3c565b60145461015e6001600160401b0390911611156119b85760405162461bcd60e51b815260206004820152602960248201527f333530206861766520616c7265616479206265656e20636c61696d656420667260448201526837b690122a27a7a71760b91b6064820152608401610b3c565b6009546001600160a01b03166323b872dd336119dc6008546001600160a01b031690565b6010546119f2906001600160401b0388166132b3565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015611a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6a9190613554565b50611a7e33836001600160401b0316612069565b336000908152601360205260408120805460019290611aa190849060ff166134b3565b92506101000a81548160ff021916908360ff16021790555081601460008282829054906101000a90046001600160401b0316611add919061352d565b92506101000a8154816001600160401b0302191690836001600160401b031602179055505050565b836001600160a01b0381163314611b1f57611b1f33611e39565b611b2b858585856124cc565b5050505050565b6060611b3f826000541190565b611ba35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b3c565b6000600b8054611bb290613158565b905011611bce5760405180602001604052806000815250610a39565b600b611bd9836124ff565b600d604051602001611bed939291906135e4565b60405160208183030381529060405292915050565b6015546001600160a01b03163314611c485760405162461bcd60e51b8152602060048201526009602482015268446576206f6e6c792160b81b6044820152606401610b3c565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b601454600160401b90046001600160a01b03163314611c9b5760405162461bcd60e51b8152600401610b3c90613388565b601480546001600160a01b03909216600160401b0268010000000000000000600160e01b0319909216919091179055565b601454600160401b90046001600160a01b03163314611cfd5760405162461bcd60e51b8152600401610b3c90613388565b600d610d2282826133f4565b600b8054611d1690613158565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4290613158565b8015611d8f5780601f10611d6457610100808354040283529160200191611d8f565b820191906000526020600020905b815481529060010190602001808311611d7257829003601f168201915b505050505081565b600d8054611d1690613158565b600c8054611d1690613158565b611db9612004565b6001600160a01b038116611e1e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b3c565b611e27816123b6565b50565b6001600160a01b03163b151590565b6daaeb6d7670e522a718067333cd4e3b15611e2757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eca9190613554565b611e2757604051633b79c77360e21b81526001600160a01b0382166004820152602401610b3c565b6000611efd82611246565b9050806001600160a01b0316836001600160a01b031603611f6b5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610b3c565b336001600160a01b0382161480611f875750611f8781336108fb565b611ff95760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b3c565b610b75838383612607565b6008546001600160a01b031633146112fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3c565b610b75838383612663565b610d228282604051806020016040528060008152506129e9565b6000612090600a8361362d565b6015546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146120e2576040519150601f19603f3d011682016040523d82523d6000602084013e6120e7565b606091505b50509050806120f557600080fd5b6000612102600a8561362d565b6016546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114612154576040519150601f19603f3d011682016040523d82523d6000602084013e612159565b606091505b505090508061216757600080fd5b6000846121748488613641565b61217e9190613641565b601454604051919250600091600160401b9091046001600160a01b03169083908381818185875af1925050503d80600081146121d6576040519150601f19603f3d011682016040523d82523d6000602084013e6121db565b606091505b50509050806121e957600080fd5b50505050505050565b610b7583838360405180602001604052806000815250611b05565b604080518082019091526000808252602082015261222c826000541190565b61228b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610b3c565b60007f00000000000000000000000000000000000000000000000000000000000008ae83106122ec576122de7f00000000000000000000000000000000000000000000000000000000000008ae84613641565b6122e9906001613219565b90505b825b818110612355576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561234257949350505050565b508061234d81613654565b9150506122ee565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610b3c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b038316036124605760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b3c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6124d7848484612663565b6124e384848484612cc3565b610bac5760405162461bcd60e51b8152600401610b3c9061366b565b6060816000036125265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612550578061253a816132ca565b91506125499050600a8361362d565b915061252a565b6000816001600160401b0381111561256a5761256a612f65565b6040519080825280601f01601f191660200182016040528015612594576020820181803683370190505b5090505b84156125ff576125a9600183613641565b91506125b6600a866136be565b6125c1906030613219565b60f81b8183815181106125d6576125d66136d2565b60200101906001600160f81b031916908160001a9053506125f8600a8661362d565b9450612598565b949350505050565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061266e8261220d565b80519091506000906001600160a01b0316336001600160a01b031614806126a557503361269a84610ad1565b6001600160a01b0316145b806126b7575081516126b790336108fb565b9050806127215760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610b3c565b846001600160a01b031682600001516001600160a01b0316146127955760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610b3c565b6001600160a01b0384166127f95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610b3c565b6128096000848460000151612607565b6001600160a01b038516600090815260046020526040812080546001929061283b9084906001600160801b03166136e8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600460205260408120805460019450909261288791859116613708565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561290e846001613219565b6000818152600360205260409020549091506001600160a01b031661299f57612938816000541190565b1561299f5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000546001600160a01b038416612a4c5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610b3c565b612a57816000541190565b15612aa45760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610b3c565b7f00000000000000000000000000000000000000000000000000000000000008ae831115612b1f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610b3c565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612b7b908790613708565b6001600160801b03168152602001858360200151612b999190613708565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612cb85760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612c7c6000888488612cc3565b612c985760405162461bcd60e51b8152600401610b3c9061366b565b81612ca2816132ca565b9250508080612cb0906132ca565b915050612c2f565b5060008190556129e1565b60006001600160a01b0384163b15612db957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612d07903390899088908890600401613728565b6020604051808303816000875af1925050508015612d42575060408051601f3d908101601f19168201909252612d3f91810190613765565b60015b612d9f573d808015612d70576040519150601f19603f3d011682016040523d82523d6000602084013e612d75565b606091505b508051600003612d975760405162461bcd60e51b8152600401610b3c9061366b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125ff565b506001949350505050565b6001600160e01b031981168114611e2757600080fd5b600060208284031215612dec57600080fd5b8135612df781612dc4565b9392505050565b60005b83811015612e19578181015183820152602001612e01565b50506000910152565b60008151808452612e3a816020860160208601612dfe565b601f01601f19169290920160200192915050565b602081526000612df76020830184612e22565b600060208284031215612e7357600080fd5b5035919050565b80356001600160a01b0381168114612e9157600080fd5b919050565b60008060408385031215612ea957600080fd5b612eb283612e7a565b946020939093013593505050565b600080600060608486031215612ed557600080fd5b612ede84612e7a565b9250612eec60208501612e7a565b9150604084013590509250925092565b8015158114611e2757600080fd5b600060208284031215612f1c57600080fd5b8135612df781612efc565b600060208284031215612f3957600080fd5b612df782612e7a565b600060208284031215612f5457600080fd5b813560ff81168114612df757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612fa357612fa3612f65565b604052919050565b60006001600160401b03831115612fc457612fc4612f65565b612fd7601f8401601f1916602001612f7b565b9050828152838383011115612feb57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561301457600080fd5b81356001600160401b0381111561302a57600080fd5b8201601f8101841361303b57600080fd5b6125ff84823560208401612fab565b6000806040838503121561305d57600080fd5b61306683612e7a565b9150602083013561307681612efc565b809150509250929050565b60006020828403121561309357600080fd5b81356001600160401b0381168114612df757600080fd5b600080600080608085870312156130c057600080fd5b6130c985612e7a565b93506130d760208601612e7a565b92506040850135915060608501356001600160401b038111156130f957600080fd5b8501601f8101871361310a57600080fd5b61311987823560208401612fab565b91505092959194509250565b6000806040838503121561313857600080fd5b61314183612e7a565b915061314f60208401612e7a565b90509250929050565b600181811c9082168061316c57607f821691505b60208210810361318c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527126b4b73a34b7339034b9903830bab9b2b21760711b604082015260600190565b60208082526025908201527f4d696e7420616d6f756e742068617320746f206265206772656174657220746860408201526430b710181760d91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a3957610a39613203565b60208082526030908201527f4d696e74696e672074686174206d616e7920776f756c6420676f206f7665722060408201526f3bb430ba399030bb30b4b630b136329760811b606082015260800190565b6020808252601f908201527f43616e206e6f7420657863656564206d6178206d696e7420616d6f756e742e00604082015260600190565b8082028115828204841417610a3957610a39613203565b6000600182016132dc576132dc613203565b5060010190565b600060208083850312156132f657600080fd5b82516001600160401b038082111561330d57600080fd5b818501915085601f83011261332157600080fd5b81518181111561333357613333612f65565b8060051b9150613344848301612f7b565b818152918301840191848101908884111561335e57600080fd5b938501935b8385101561337c57845182529385019390850190613363565b98975050505050505050565b6020808252600c908201526b417274697374206f6e6c792160a01b604082015260600190565b601f821115610b7557600081815260208120601f850160051c810160208610156133d55750805b601f850160051c820191505b818110156129e1578281556001016133e1565b81516001600160401b0381111561340d5761340d612f65565b6134218161341b8454613158565b846133ae565b602080601f831160018114613456576000841561343e5750858301515b600019600386901b1c1916600185901b1785556129e1565b600085815260208120601f198616915b8281101561348557888601518255948401946001909101908401613466565b50858210156134a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60ff8181168382160190811115610a3957610a39613203565b60208082526028908201527f4d696e74696e67207468617420776f756c6420676f206f76657220796f75722060408201526719103634b6b4ba1760c11b606082015260800190565b60006020828403121561352657600080fd5b5051919050565b6001600160401b0381811683821601908082111561354d5761354d613203565b5092915050565b60006020828403121561356657600080fd5b8151612df781612efc565b6000815461357e81613158565b6001828116801561359657600181146135ab576135da565b60ff19841687528215158302870194506135da565b8560005260208060002060005b858110156135d15781548a8201529084019082016135b8565b50505082870194505b5050505092915050565b60006135f08286613571565b8451613600818360208901612dfe565b61360c81830186613571565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b60008261363c5761363c613617565b500490565b81810381811115610a3957610a39613203565b60008161366357613663613203565b506000190190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000826136cd576136cd613617565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160801b0382811682821603908082111561354d5761354d613203565b6001600160801b0381811683821601908082111561354d5761354d613203565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375b90830184612e22565b9695505050505050565b60006020828403121561377757600080fd5b8151612df781612dc456fea2646970667358221220365f251bcf6f91cffad4d0dc45ab69775c335837112dd9dd96fcbe707320e85064736f6c63430008120033
Deployed Bytecode Sourcemap
106934:8412:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85269:422;;;;;;;;;;-1:-1:-1;85269:422:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;85269:422:0;;;;;;;;87230:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;88933:292::-;;;;;;;;;;-1:-1:-1;88933:292:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;88933:292:0;1533:203:1;114598:157:0;;;;;;;;;;-1:-1:-1;114598:157:0;;;;;:::i;:::-;;:::i;:::-;;109523:106;;;;;;;;;;-1:-1:-1;109523:106:0;;;;;:::i;:::-;;:::i;83625:100::-;;;;;;;;;;-1:-1:-1;83678:7:0;83705:12;83625:100;;;2324:25:1;;;2312:2;2297:18;83625:100:0;2178:177:1;114763:163:0;;;;;;;;;;-1:-1:-1;114763:163:0;;;;;:::i;:::-;;:::i;109643:75::-;;;;;;;;;;-1:-1:-1;109643:75:0;;;;;:::i;:::-;;:::i;107405:42::-;;;;;;;;;;;;;;;;110090:456;;;;;;:::i;:::-;;:::i;114202:204::-;;;;;;:::i;:::-;;:::i;84333:864::-;;;;;;;;;;-1:-1:-1;84333:864:0;;;;;:::i;:::-;;:::i;107625:51::-;;;;;;;;;;-1:-1:-1;107625:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3425:4:1;3413:17;;;3395:36;;3383:2;3368:18;107625:51:0;3253:184:1;107304:42:0;;;;;;;;;;;;;;;111468:556;;;;;;:::i;:::-;;:::i;13972:143::-;;;;;;;;;;;;6300:42;13972:143;;114934:171;;;;;;;;;;-1:-1:-1;114934:171:0;;;;;:::i;:::-;;:::i;109726:79::-;;;;;;;;;;-1:-1:-1;109726:79:0;;;;;:::i;:::-;;:::i;83802:228::-;;;;;;;;;;-1:-1:-1;83802:228:0;;;;;:::i;:::-;;:::i;109813:106::-;;;;;;;;;;-1:-1:-1;109813:106:0;;;;;:::i;:::-;;:::i;107062:24::-;;;;;;;;;;-1:-1:-1;107062:24:0;;;;-1:-1:-1;;;;;107062:24:0;;;87039:124;;;;;;;;;;-1:-1:-1;87039:124:0;;;;;:::i;:::-;;:::i;85755:258::-;;;;;;;;;;-1:-1:-1;85755:258:0;;;;;:::i;:::-;;:::i;61327:103::-;;;;;;;;;;;;;:::i;109409:102::-;;;;;;;;;;-1:-1:-1;109409:102:0;;;;;:::i;:::-;;:::i;107459:42::-;;;;;;;;;;;;;;;;60679:87;;;;;;;;;;-1:-1:-1;60752:6:0;;-1:-1:-1;;;;;60752:6:0;60679:87;;87399:104;;;;;;;;;;;;;:::i;109191:92::-;;;;;;;;;;-1:-1:-1;109191:92:0;;;;;:::i;:::-;;:::i;114414:176::-;;;;;;;;;;-1:-1:-1;114414:176:0;;;;;:::i;:::-;;:::i;107684:48::-;;;;;;;;;;-1:-1:-1;107684:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;107590:28;;;;;;;;;;-1:-1:-1;107590:28:0;;;;;;;;;;;107558:25;;;;;;;;;;-1:-1:-1;107558:25:0;;;;;;;;107772:66;;;;;;;;;;-1:-1:-1;107772:66:0;;;;-1:-1:-1;;;107772:66:0;;-1:-1:-1;;;;;107772:66:0;;;110553:814;;;;;;:::i;:::-;;:::i;109291:106::-;;;;;;;;;;-1:-1:-1;109291:106:0;;;;;:::i;:::-;;:::i;112133:770::-;;;;;;:::i;:::-;;:::i;115113:228::-;;;;;;;;;;-1:-1:-1;115113:228:0;;;;;:::i;:::-;;:::i;107845:63::-;;;;;;;;;;-1:-1:-1;107845:63:0;;;;-1:-1:-1;;;;;107845:63:0;;;112913:582;;;;;;;;;;-1:-1:-1;112913:582:0;;;;;:::i;:::-;;:::i;109002:82::-;;;;;;;;;;-1:-1:-1;109002:82:0;;;;;:::i;:::-;;:::i;109092:91::-;;;;;;;;;;-1:-1:-1;109092:91:0;;;;;:::i;:::-;;:::i;95355:43::-;;;;;;;;;;;;;;;;109927:153;;;;;;;;;;-1:-1:-1;109927:153:0;;;;;:::i;:::-;;:::i;107509:33::-;;;;;;;;;;;;;;;;107095:67;;;;;;;;;;;;;:::i;107259:38::-;;;;;;;;;;;;;:::i;89687:214::-;;;;;;;;;;-1:-1:-1;89687:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;89858:25:0;;;89829:4;89858:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;89687:214;107925:67;;;;;;;;;;-1:-1:-1;107925:67:0;;;;-1:-1:-1;;;;;107925:67:0;;;107169:83;;;;;;;;;;;;;:::i;61585:238::-;;;;;;;;;;-1:-1:-1;61585:238:0;;;;;:::i;:::-;;:::i;107353:45::-;;;;;;;;;;;;;;;107037:18;;;;;;;;;;-1:-1:-1;107037:18:0;;;;-1:-1:-1;;;;;107037:18:0;;;85269:422;85416:4;-1:-1:-1;;;;;;85458:40:0;;-1:-1:-1;;;85458:40:0;;:105;;-1:-1:-1;;;;;;;85515:48:0;;-1:-1:-1;;;85515:48:0;85458:105;:172;;;-1:-1:-1;;;;;;;85580:50:0;;-1:-1:-1;;;85580:50:0;85458:172;:225;;;-1:-1:-1;;;;;;;;;;74186:40:0;;;85647:36;85438:245;85269:422;-1:-1:-1;;85269:422:0:o;87230:100::-;87284:13;87317:5;87310:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87230:100;:::o;88933:292::-;89037:7;89084:16;89092:7;91141:4;91175:12;-1:-1:-1;91165:22:0;91084:111;89084:16;89062:111;;;;-1:-1:-1;;;89062:111:0;;7816:2:1;89062:111:0;;;7798:21:1;7855:2;7835:18;;;7828:30;7894:34;7874:18;;;7867:62;-1:-1:-1;;;7945:18:1;;;7938:43;7998:19;;89062:111:0;;;;;;;;;-1:-1:-1;89193:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;89193:24:0;;88933:292::o;114598:157::-;114694:8;15754:30;15775:8;15754:20;:30::i;:::-;114715:32:::1;114729:8;114739:7;114715:13;:32::i;:::-;114598:157:::0;;;:::o;109523:106::-;60565:13;:11;:13::i;:::-;109596:14:::1;:25:::0;109523:106::o;114763:163::-;114864:4;-1:-1:-1;;;;;15480:18:0;;15488:10;15480:18;15476:83;;15515:32;15536:10;15515:20;:32::i;:::-;114881:37:::1;114900:4;114906:2;114910:7;114881:18;:37::i;:::-;114763:163:::0;;;;:::o;109643:75::-;60565:13;:11;:13::i;:::-;109700:6:::1;:10:::0;;-1:-1:-1;;109700:10:0::1;::::0;::::1;;::::0;;;::::1;::::0;;109643:75::o;110090:456::-;108590:6;;110184:11;;108590:6;;:13;;:6;:13;108582:44;;;;-1:-1:-1;;;108582:44:0;;;;;;;:::i;:::-;108659:1;108645:11;:15;108637:65;;;;-1:-1:-1;;;108637:65:0;;;;;;;:::i;:::-;108766:10;108751:11;108735:13;83678:7;83705:12;;83625:100;108735:13;:27;;;;:::i;:::-;:41;;108713:139;;;;-1:-1:-1;;;108713:139:0;;;;;;;:::i;:::-;108900:15;108885:11;:30;;108863:111;;;;-1:-1:-1;;;108863:111:0;;;;;;;:::i;:::-;60752:6;;-1:-1:-1;;;;;60752:6:0;110217:10:::1;:21;110213:326;;110311:11;110294:14;;:28;;;;:::i;:::-;110281:9;:41;;110255:123;;;::::0;-1:-1:-1;;;110255:123:0;;10195:2:1;110255:123:0::1;::::0;::::1;10177:21:1::0;10234:2;10214:18;;;10207:30;-1:-1:-1;;;10253:18:1;;;10246:50;10313:18;;110255:123:0::1;9993:344:1::0;110255:123:0::1;110393:34;110403:10;110415:11;110393:9;:34::i;:::-;110441:19;110450:9;110441:8;:19::i;:::-;110090:456:::0;;:::o;110213:326::-:1;110493:34;110503:10;110515:11;110493:9;:34::i;114202:204::-:0;60565:13;:11;:13::i;:::-;114298:15:::1;114327:7;60752:6:::0;;-1:-1:-1;;;;;60752:6:0;;60679:87;114327:7:::1;-1:-1:-1::0;;;;;114319:21:0::1;114348:7;114319:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114297:63;;;114383:10;114375:19;;;::::0;::::1;84333:864:::0;84458:7;84499:16;84509:5;84499:9;:16::i;:::-;84491:5;:24;84483:71;;;;-1:-1:-1;;;84483:71:0;;10754:2:1;84483:71:0;;;10736:21:1;10793:2;10773:18;;;10766:30;10832:34;10812:18;;;10805:62;-1:-1:-1;;;10883:18:1;;;10876:32;10925:19;;84483:71:0;10552:398:1;84483:71:0;84565:22;83705:12;;;84565:22;;84697:426;84721:14;84717:1;:18;84697:426;;;84757:31;84791:14;;;:11;:14;;;;;;;;;84757:48;;;;;;;;;-1:-1:-1;;;;;84757:48:0;;;;;-1:-1:-1;;;84757:48:0;;;-1:-1:-1;;;;;84757:48:0;;;;;;;;84824:28;84820:103;;84893:14;;;-1:-1:-1;84820:103:0;84962:5;-1:-1:-1;;;;;84941:26:0;:17;-1:-1:-1;;;;;84941:26:0;;84937:175;;85007:5;84992:11;:20;84988:77;;-1:-1:-1;85044:1:0;-1:-1:-1;85037:8:0;;-1:-1:-1;;;85037:8:0;84988:77;85083:13;;;;:::i;:::-;;;;84937:175;-1:-1:-1;84737:3:0;;;;:::i;:::-;;;;84697:426;;;-1:-1:-1;85133:56:0;;-1:-1:-1;;;85133:56:0;;11297:2:1;85133:56:0;;;11279:21:1;11336:2;11316:18;;;11309:30;11375:34;11355:18;;;11348:62;-1:-1:-1;;;11426:18:1;;;11419:44;11480:19;;85133:56:0;11095:410:1;111468:556:0;108590:6;;108530:464;;;;;108590:6;:13;;:6;:13;108582:44;;;;-1:-1:-1;;;108582:44:0;;;;;;;:::i;:::-;108659:1;108645:11;:15;108637:65;;;;-1:-1:-1;;;108637:65:0;;;;;;;:::i;:::-;108766:10;108751:11;108735:13;83678:7;83705:12;;83625:100;108735:13;:27;;;;:::i;:::-;:41;;108713:139;;;;-1:-1:-1;;;108713:139:0;;;;;;;:::i;:::-;108900:15;108885:11;:30;;108863:111;;;;-1:-1:-1;;;108863:111:0;;;;;;;:::i;:::-;111600:2:::1;111590:7;:12;;;111582:52;;;::::0;-1:-1:-1;;;111582:52:0;;11712:2:1;111582:52:0::1;::::0;::::1;11694:21:1::0;11751:2;11731:18;;;11724:30;11790:29;11770:18;;;11763:57;11837:18;;111582:52:0::1;11510:351:1::0;111582:52:0::1;111730:9;111712:14;;111702:7;:24;;;;;;:::i;:::-;:37;;111694:70;;;::::0;-1:-1:-1;;;111694:70:0;;12068:2:1;111694:70:0::1;::::0;::::1;12050:21:1::0;12107:2;12087:18;;;12080:30;-1:-1:-1;;;12126:18:1;;;12119:50;12186:18;;111694:70:0::1;11866:344:1::0;111694:70:0::1;111847:5;::::0;:36:::1;::::0;-1:-1:-1;;;111847:36:0;;111872:10:::1;111847:36;::::0;::::1;1679:51:1::0;111893:1:0::1;::::0;-1:-1:-1;;;;;111847:5:0::1;::::0;:24:::1;::::0;1652:18:1;;111847:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;111847:36:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;:43;:47;111825:118;;;::::0;-1:-1:-1;;;111825:118:0;;13358:2:1;111825:118:0::1;::::0;::::1;13340:21:1::0;13397:2;13377:18;;;13370:30;-1:-1:-1;;;13416:18:1;;;13409:51;13477:18;;111825:118:0::1;13156:345:1::0;111825:118:0::1;111954:30;111964:10;111976:7;111954:30;;:9;:30::i;114934:171::-:0;115039:4;-1:-1:-1;;;;;15480:18:0;;15488:10;15480:18;15476:83;;15515:32;15536:10;15515:20;:32::i;:::-;115056:41:::1;115079:4;115085:2;115089:7;115056:22;:41::i;109726:79::-:0;60565:13;:11;:13::i;:::-;109785:8:::1;:12:::0;;;::::1;;;;-1:-1:-1::0;;109785:12:0;;::::1;::::0;;;::::1;::::0;;109726:79::o;83802:228::-;83905:7;83705:12;;83938:5;:21;83930:69;;;;-1:-1:-1;;;83930:69:0;;13708:2:1;83930:69:0;;;13690:21:1;13747:2;13727:18;;;13720:30;13786:34;13766:18;;;13759:62;-1:-1:-1;;;13837:18:1;;;13830:33;13880:19;;83930:69:0;13506:399:1;83930:69:0;-1:-1:-1;84017:5:0;83802:228::o;109813:106::-;108479:6;;-1:-1:-1;;;108479:6:0;;-1:-1:-1;;;;;108479:6:0;108465:10;:20;108457:45;;;;-1:-1:-1;;;108457:45:0;;;;;;;:::i;:::-;109889:8:::1;:22;109900:11:::0;109889:8;:22:::1;:::i;87039:124::-:0;87103:7;87130:20;87142:7;87130:11;:20::i;:::-;:25;;87039:124;-1:-1:-1;;87039:124:0:o;85755:258::-;85819:7;-1:-1:-1;;;;;85861:19:0;;85839:112;;;;-1:-1:-1;;;85839:112:0;;16657:2:1;85839:112:0;;;16639:21:1;16696:2;16676:18;;;16669:30;16735:34;16715:18;;;16708:62;-1:-1:-1;;;16786:18:1;;;16779:41;16837:19;;85839:112:0;16455:407:1;85839:112:0;-1:-1:-1;;;;;;85977:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;85977:27:0;;85755:258::o;61327:103::-;60565:13;:11;:13::i;:::-;61392:30:::1;61419:1;61392:18;:30::i;:::-;61327:103::o:0;109409:102::-;60565:13;:11;:13::i;:::-;109480:12:::1;:23:::0;109409:102::o;87399:104::-;87455:13;87488:7;87481:14;;;;;:::i;109191:92::-;60565:13;:11;:13::i;:::-;109257:7:::1;:18:::0;;-1:-1:-1;;;;;;109257:18:0::1;-1:-1:-1::0;;;;;109257:18:0;;;::::1;::::0;;;::::1;::::0;;109191:92::o;114414:176::-;114518:8;15754:30;15775:8;15754:20;:30::i;:::-;114539:43:::1;114563:8;114573;114539:23;:43::i;110553:814::-:0;108590:6;;108530:464;;;;;108590:6;:13;;:6;:13;108582:44;;;;-1:-1:-1;;;108582:44:0;;;;;;;:::i;:::-;108659:1;108645:11;:15;108637:65;;;;-1:-1:-1;;;108637:65:0;;;;;;;:::i;:::-;108766:10;108751:11;108735:13;83678:7;83705:12;;83625:100;108735:13;:27;;;;:::i;:::-;:41;;108713:139;;;;-1:-1:-1;;;108713:139:0;;;;;;;:::i;:::-;108900:15;108885:11;:30;;108863:111;;;;-1:-1:-1;;;108863:111:0;;;;;;;:::i;:::-;110704:1:::1;110690:11;:15;;;110682:58;;;::::0;-1:-1:-1;;;110682:58:0;;17069:2:1;110682:58:0::1;::::0;::::1;17051:21:1::0;17108:2;17088:18;;;17081:30;17147:32;17127:18;;;17120:60;17197:18;;110682:58:0::1;16867:354:1::0;110682:58:0::1;110828:10;110809:30;::::0;;;:18:::1;:30;::::0;;;;;110843:1:::1;110809:30;::::0;;::::1;:35;;110801:74;;;::::0;-1:-1:-1;;;110801:74:0;;17428:2:1;110801:74:0::1;::::0;::::1;17410:21:1::0;17467:2;17447:18;;;17440:30;17506:28;17486:18;;;17479:56;17552:18;;110801:74:0::1;17226:350:1::0;110801:74:0::1;110913:10;110894:30;::::0;;;:18:::1;:30;::::0;;;;;110940:1:::1;::::0;110894:43:::1;::::0;110926:11;;110894:30:::1;;:43;:::i;:::-;:47;;;;110886:100;;;;-1:-1:-1::0;;;110886:100:0::1;;;;;;;:::i;:::-;111087:9;111069:14;;111055:11;:28;;;;;;:::i;:::-;:41;;111047:74;;;::::0;-1:-1:-1;;;111047:74:0;;12068:2:1;111047:74:0::1;::::0;::::1;12050:21:1::0;12107:2;12087:18;;;12080:30;-1:-1:-1;;;12126:18:1;;;12119:50;12186:18;;111047:74:0::1;11866:344:1::0;111047:74:0::1;111156:9;::::0;:31:::1;::::0;-1:-1:-1;;;111156:31:0;;111176:10:::1;111156:31;::::0;::::1;1679:51:1::0;111190:1:0::1;::::0;-1:-1:-1;;;;;111156:9:0::1;::::0;:19:::1;::::0;1652:18:1;;111156:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;111134:104;;;::::0;-1:-1:-1;;;111134:104:0;;18534:2:1;111134:104:0::1;::::0;::::1;18516:21:1::0;18573:2;18553:18;;;18546:30;-1:-1:-1;;;18592:18:1;;;18585:49;18651:18;;111134:104:0::1;18332:343:1::0;111134:104:0::1;111249:34;111259:10;111271:11;111249:34;;:9;:34::i;:::-;111294:19;111303:9;111294:8;:19::i;:::-;111343:10;111324:30;::::0;;;:18:::1;:30;::::0;;;;:33;;111356:1:::1;::::0;111324:30;:33:::1;::::0;111356:1;;111324:33:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;110553:814:::0;;:::o;109291:106::-;60565:13;:11;:13::i;:::-;109364:14:::1;:25:::0;109291:106::o;112133:770::-;108590:6;;-1:-1:-1;;;;;108530:464:0;;;108590:6;;:13;;:6;:13;108582:44;;;;-1:-1:-1;;;108582:44:0;;;;;;;:::i;:::-;108659:1;108645:11;:15;108637:65;;;;-1:-1:-1;;;108637:65:0;;;;;;;:::i;:::-;108766:10;108751:11;108735:13;83678:7;83705:12;;83625:100;108735:13;:27;;;;:::i;:::-;:41;;108713:139;;;;-1:-1:-1;;;108713:139:0;;;;;;;:::i;:::-;108900:15;108885:11;:30;;108863:111;;;;-1:-1:-1;;;108863:111:0;;;;;;;:::i;:::-;112274:1:::1;112259:11;-1:-1:-1::0;;;;;112259:16:0::1;;;112251:45;;;::::0;-1:-1:-1;;;112251:45:0;;18882:2:1;112251:45:0::1;::::0;::::1;18864:21:1::0;18921:2;18901:18;;;18894:30;-1:-1:-1;;;18940:18:1;;;18933:46;18996:18;;112251:45:0::1;18680:340:1::0;112251:45:0::1;112331:10;112315:27;::::0;;;:15:::1;:27;::::0;;;;;112346:1:::1;112315:27;::::0;;::::1;:32;;112307:71;;;::::0;-1:-1:-1;;;112307:71:0;;17428:2:1;112307:71:0::1;::::0;::::1;17410:21:1::0;17467:2;17447:18;;;17440:30;17506:28;17486:18;;;17479:56;17552:18;;112307:71:0::1;17226:350:1::0;112307:71:0::1;112413:10;112397:27;::::0;;;:15:::1;:27;::::0;;;;;112441:1:::1;::::0;112397:40:::1;::::0;112426:11;;112397:27:::1;;:40;:::i;:::-;-1:-1:-1::0;;;;;112397:45:0::1;;;112389:98;;;;-1:-1:-1::0;;;112389:98:0::1;;;;;;;:::i;:::-;112535:5;::::0;:27:::1;::::0;-1:-1:-1;;;112535:27:0;;112551:10:::1;112535:27;::::0;::::1;1679:51:1::0;-1:-1:-1;;;;;112535:5:0;;::::1;::::0;:15:::1;::::0;1652:18:1;;112535:27:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;112519:12;::::0;112506:25:::1;::::0;-1:-1:-1;;;;;112506:25:0;::::1;;:::i;:::-;:56;;112498:97;;;::::0;-1:-1:-1;;;112498:97:0;;19412:2:1;112498:97:0::1;::::0;::::1;19394:21:1::0;19451:2;19431:18;;;19424:30;19490:29;19470:18;;;19463:57;19537:18;;112498:97:0::1;19210:351:1::0;112498:97:0::1;112614:14;::::0;112632:3:::1;-1:-1:-1::0;;;;;112614:14:0;;::::1;:21;;112606:75;;;::::0;-1:-1:-1;;;112606:75:0;;19768:2:1;112606:75:0::1;::::0;::::1;19750:21:1::0;19807:2;19787:18;;;19780:30;19846:34;19826:18;;;19819:62;-1:-1:-1;;;19897:18:1;;;19890:39;19946:19;;112606:75:0::1;19566:405:1::0;112606:75:0::1;112692:5;::::0;-1:-1:-1;;;;;112692:5:0::1;:18;112711:10;112723:7;60752:6:::0;;-1:-1:-1;;;;;60752:6:0;;60679:87;112723:7:::1;112746:12;::::0;112732:26:::1;::::0;-1:-1:-1;;;;;112732:26:0;::::1;;:::i;:::-;112692:67;::::0;-1:-1:-1;;;;;;112692:67:0::1;::::0;;;;;;-1:-1:-1;;;;;20234:15:1;;;112692:67:0::1;::::0;::::1;20216:34:1::0;20286:15;;;;20266:18;;;20259:43;20318:18;;;20311:34;20151:18;;112692:67:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;112770:34;112780:10;112792:11;-1:-1:-1::0;;;;;112770:34:0::1;:9;:34::i;:::-;112831:10;112815:27;::::0;;;:15:::1;:27;::::0;;;;:30;;112844:1:::1;::::0;112815:27;:30:::1;::::0;112844:1;;112815:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;112874:11;112856:14;;:29;;;;;;;;;;-1:-1:-1::0;;;;;112856:29:0::1;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;;;;112856:29:0::1;;;;;-1:-1:-1::0;;;;;112856:29:0::1;;;;;;112133:770:::0;;:::o;115113:228::-;115264:4;-1:-1:-1;;;;;15480:18:0;;15488:10;15480:18;15476:83;;15515:32;15536:10;15515:20;:32::i;:::-;115286:47:::1;115309:4;115315:2;115319:7;115328:4;115286:22;:47::i;:::-;115113:228:::0;;;;;:::o;112913:582::-;113032:13;113085:17;113093:8;91141:4;91175:12;-1:-1:-1;91165:22:0;91084:111;113085:17;113063:114;;;;-1:-1:-1;;;113063:114:0;;20808:2:1;113063:114:0;;;20790:21:1;20847:2;20827:18;;;20820:30;20886:34;20866:18;;;20859:62;-1:-1:-1;;;20937:18:1;;;20930:45;20992:19;;113063:114:0;20606:411:1;113063:114:0;113233:1;113214:8;113208:22;;;;;:::i;:::-;;;:26;:279;;;;;;;;;;;;;;;;;113326:8;113361:21;113362:8;113361:19;:21::i;:::-;113409:14;113283:163;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;113188:299;112913:582;-1:-1:-1;;112913:582:0:o;109002:82::-;108379:3;;-1:-1:-1;;;;;108379:3:0;108365:10;:17;108357:39;;;;-1:-1:-1;;;108357:39:0;;22425:2:1;108357:39:0;;;22407:21:1;22464:1;22444:18;;;22437:29;-1:-1:-1;;;22482:18:1;;;22475:39;22531:18;;108357:39:0;22223:332:1;108357:39:0;109062:3:::1;:14:::0;;-1:-1:-1;;;;;;109062:14:0::1;-1:-1:-1::0;;;;;109062:14:0;;;::::1;::::0;;;::::1;::::0;;109002:82::o;109092:91::-;108479:6;;-1:-1:-1;;;108479:6:0;;-1:-1:-1;;;;;108479:6:0;108465:10;:20;108457:45;;;;-1:-1:-1;;;108457:45:0;;;;;;;:::i;:::-;109158:6:::1;:17:::0;;-1:-1:-1;;;;;109158:17:0;;::::1;-1:-1:-1::0;;;109158:17:0::1;-1:-1:-1::0;;;;;;109158:17:0;;::::1;::::0;;;::::1;::::0;;109092:91::o;109927:153::-;108479:6;;-1:-1:-1;;;108479:6:0;;-1:-1:-1;;;;;108479:6:0;108465:10;:20;108457:45;;;;-1:-1:-1;;;108457:45:0;;;;;;;:::i;:::-;110038:14:::1;:34;110055:17:::0;110038:14;:34:::1;:::i;107095:67::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;107259:38::-;;;;;;;:::i;107169:83::-;;;;;;;:::i;61585:238::-;60565:13;:11;:13::i;:::-;-1:-1:-1;;;;;61688:22:0;::::1;61666:110;;;::::0;-1:-1:-1;;;61666:110:0;;22762:2:1;61666:110:0::1;::::0;::::1;22744:21:1::0;22801:2;22781:18;;;22774:30;22840:34;22820:18;;;22813:62;-1:-1:-1;;;22891:18:1;;;22884:36;22937:19;;61666:110:0::1;22560:402:1::0;61666:110:0::1;61787:28;61806:8;61787:18;:28::i;:::-;61585:238:::0;:::o;63412:326::-;-1:-1:-1;;;;;63707:19:0;;:23;;;63412:326::o;15897:647::-;6300:42;16088:45;:49;16084:453;;16387:67;;-1:-1:-1;;;16387:67:0;;16438:4;16387:67;;;23179:34:1;-1:-1:-1;;;;;23249:15:1;;23229:18;;;23222:43;6300:42:0;;16387;;23114:18:1;;16387:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16382:144;;16482:28;;-1:-1:-1;;;16482:28:0;;-1:-1:-1;;;;;1697:32:1;;16482:28:0;;;1679:51:1;1652:18;;16482:28:0;1533:203:1;88446:421:0;88527:13;88543:24;88559:7;88543:15;:24::i;:::-;88527:40;;88592:5;-1:-1:-1;;;;;88586:11:0;:2;-1:-1:-1;;;;;88586:11:0;;88578:58;;;;-1:-1:-1;;;88578:58:0;;23478:2:1;88578:58:0;;;23460:21:1;23517:2;23497:18;;;23490:30;23556:34;23536:18;;;23529:62;-1:-1:-1;;;23607:18:1;;;23600:32;23649:19;;88578:58:0;23276:398:1;88578:58:0;25169:10;-1:-1:-1;;;;;88671:21:0;;;;:62;;-1:-1:-1;88696:37:0;88713:5;25169:10;89687:214;:::i;88696:37::-;88649:169;;;;-1:-1:-1;;;88649:169:0;;23881:2:1;88649:169:0;;;23863:21:1;23920:2;23900:18;;;23893:30;23959:34;23939:18;;;23932:62;24030:27;24010:18;;;24003:55;24075:19;;88649:169:0;23679:421:1;88649:169:0;88831:28;88840:2;88844:7;88853:5;88831:8;:28::i;60844:132::-;60752:6;;-1:-1:-1;;;;;60752:6:0;25169:10;60908:23;60900:68;;;;-1:-1:-1;;;60900:68:0;;24307:2:1;60900:68:0;;;24289:21:1;;;24326:18;;;24319:30;24385:34;24365:18;;;24358:62;24437:18;;60900:68:0;24105:356:1;89968:170:0;90102:28;90112:4;90118:2;90122:7;90102:9;:28::i;91203:104::-;91272:27;91282:2;91286:8;91272:27;;;;;;;;;;;;:9;:27::i;113501:691::-;113603:14;113620:15;113633:2;113620:10;:15;:::i;:::-;113678:3;;113670:36;;113603:32;;-1:-1:-1;113652:12:0;;-1:-1:-1;;;;;113678:3:0;;;;113603:32;;113652:12;113670:36;113652:12;113670:36;113603:32;113678:3;113670:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113651:55;;;113729:7;113721:16;;;;;;113781:18;113802:15;113815:2;113802:10;:15;:::i;:::-;113863:7;;113855:44;;113781:36;;-1:-1:-1;113833:16:0;;-1:-1:-1;;;;;113863:7:0;;;;113781:36;;113833:16;113855:44;113833:16;113855:44;113781:36;113863:7;113855:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113832:67;;;113922:11;113914:20;;;;;;113999:14;114042:6;114016:23;114029:10;114016;:23;:::i;:::-;:32;;;;:::i;:::-;114093:6;;114085:39;;113999:49;;-1:-1:-1;114064:15:0;;-1:-1:-1;;;114093:6:0;;;-1:-1:-1;;;;;114093:6:0;;113999:49;;114064:15;114085:39;114064:15;114085:39;113999:49;114093:6;114085:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114063:61;;;114147:10;114139:19;;;;;;113550:642;;;;;;113501:691;:::o;90209:185::-;90347:39;90364:4;90370:2;90374:7;90347:39;;;;;;;;;;;;:16;:39::i;86295:682::-;-1:-1:-1;;;;;;;;;;;;;;;;;86430:16:0;86438:7;91141:4;91175:12;-1:-1:-1;91165:22:0;91084:111;86430:16;86422:71;;;;-1:-1:-1;;;86422:71:0;;25058:2:1;86422:71:0;;;25040:21:1;25097:2;25077:18;;;25070:30;25136:34;25116:18;;;25109:62;-1:-1:-1;;;25187:18:1;;;25180:40;25237:19;;86422:71:0;24856:406:1;86422:71:0;86506:26;86558:12;86547:7;:23;86543:103;;86608:22;86618:12;86608:7;:22;:::i;:::-;:26;;86633:1;86608:26;:::i;:::-;86587:47;;86543:103;86678:7;86658:242;86695:18;86687:4;:26;86658:242;;86738:31;86772:17;;;:11;:17;;;;;;;;;86738:51;;;;;;;;;-1:-1:-1;;;;;86738:51:0;;;;;-1:-1:-1;;;86738:51:0;;;-1:-1:-1;;;;;86738:51:0;;;;;;;;86808:28;86804:85;;86864:9;86295:682;-1:-1:-1;;;;86295:682:0:o;86804:85::-;-1:-1:-1;86715:6:0;;;;:::i;:::-;;;;86658:242;;;-1:-1:-1;86912:57:0;;-1:-1:-1;;;86912:57:0;;25610:2:1;86912:57:0;;;25592:21:1;25649:2;25629:18;;;25622:30;25688:34;25668:18;;;25661:62;-1:-1:-1;;;25739:18:1;;;25732:45;25794:19;;86912:57:0;25408:411:1;61983:191:0;62076:6;;;-1:-1:-1;;;;;62093:17:0;;;-1:-1:-1;;;;;;62093:17:0;;;;;;;62126:40;;62076:6;;;62093:17;62076:6;;62126:40;;62057:16;;62126:40;62046:128;61983:191;:::o;89297:319::-;25169:10;-1:-1:-1;;;;;89423:24:0;;;89415:63;;;;-1:-1:-1;;;89415:63:0;;26026:2:1;89415:63:0;;;26008:21:1;26065:2;26045:18;;;26038:30;26104:28;26084:18;;;26077:56;26150:18;;89415:63:0;25824:350:1;89415:63:0;25169:10;89491:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;89491:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;89491:53:0;;;;;;;;;;89560:48;;540:41:1;;;89491:42:0;;25169:10;89560:48;;513:18:1;89560:48:0;;;;;;;89297:319;;:::o;90465:364::-;90633:28;90643:4;90649:2;90653:7;90633:9;:28::i;:::-;90694:48;90717:4;90723:2;90727:7;90736:5;90694:22;:48::i;:::-;90672:149;;;;-1:-1:-1;;;90672:149:0;;;;;;;:::i;56409:723::-;56465:13;56686:5;56695:1;56686:10;56682:53;;-1:-1:-1;;56713:10:0;;;;;;;;;;;;-1:-1:-1;;;56713:10:0;;;;;56409:723::o;56682:53::-;56760:5;56745:12;56801:78;56808:9;;56801:78;;56834:8;;;;:::i;:::-;;-1:-1:-1;56857:10:0;;-1:-1:-1;56865:2:0;56857:10;;:::i;:::-;;;56801:78;;;56889:19;56921:6;-1:-1:-1;;;;;56911:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56911:17:0;;56889:39;;56939:154;56946:10;;56939:154;;56973:11;56983:1;56973:11;;:::i;:::-;;-1:-1:-1;57042:10:0;57050:2;57042:5;:10;:::i;:::-;57029:24;;:2;:24;:::i;:::-;57016:39;;56999:6;57006;56999:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;56999:56:0;;;;;;;;-1:-1:-1;57070:11:0;57079:2;57070:11;;:::i;:::-;;;56939:154;;;57117:6;56409:723;-1:-1:-1;;;;56409:723:0:o;95151:196::-;95266:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;95266:29:0;-1:-1:-1;;;;;95266:29:0;;;;;;;;;95311:28;;95266:24;;95311:28;;;;;;;95151:196;;;:::o;93324:1709::-;93439:35;93477:20;93489:7;93477:11;:20::i;:::-;93552:18;;93439:58;;-1:-1:-1;93510:22:0;;-1:-1:-1;;;;;93536:34:0;25169:10;-1:-1:-1;;;;;93536:34:0;;:87;;;-1:-1:-1;25169:10:0;93587:20;93599:7;93587:11;:20::i;:::-;-1:-1:-1;;;;;93587:36:0;;93536:87;:154;;;-1:-1:-1;93657:18:0;;93640:50;;25169:10;89687:214;:::i;93640:50::-;93510:181;;93726:17;93704:117;;;;-1:-1:-1;;;93704:117:0;;27050:2:1;93704:117:0;;;27032:21:1;27089:2;27069:18;;;27062:30;27128:34;27108:18;;;27101:62;-1:-1:-1;;;27179:18:1;;;27172:48;27237:19;;93704:117:0;26848:414:1;93704:117:0;93878:4;-1:-1:-1;;;;;93856:26:0;:13;:18;;;-1:-1:-1;;;;;93856:26:0;;93834:114;;;;-1:-1:-1;;;93834:114:0;;27469:2:1;93834:114:0;;;27451:21:1;27508:2;27488:18;;;27481:30;27547:34;27527:18;;;27520:62;-1:-1:-1;;;27598:18:1;;;27591:36;27644:19;;93834:114:0;27267:402:1;93834:114:0;-1:-1:-1;;;;;93967:16:0;;93959:66;;;;-1:-1:-1;;;93959:66:0;;27876:2:1;93959:66:0;;;27858:21:1;27915:2;27895:18;;;27888:30;27954:34;27934:18;;;27927:62;-1:-1:-1;;;28005:18:1;;;27998:35;28050:19;;93959:66:0;27674:401:1;93959:66:0;94146:49;94163:1;94167:7;94176:13;:18;;;94146:8;:49::i;:::-;-1:-1:-1;;;;;94208:18:0;;;;;;:12;:18;;;;;:31;;94238:1;;94208:18;:31;;94238:1;;-1:-1:-1;;;;;94208:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;94208:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;94250:16:0;;-1:-1:-1;94250:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;94250:16:0;;:29;;-1:-1:-1;;94250:29:0;;:::i;:::-;;;-1:-1:-1;;;;;94250:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94313:43:0;;;;;;;;-1:-1:-1;;;;;94313:43:0;;;;;-1:-1:-1;;;;;94339:15:0;94313:43;;;;;;;;;-1:-1:-1;94290:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;94290:66:0;-1:-1:-1;;;;;;94290:66:0;;;;;;;;;;;94618:11;94302:7;-1:-1:-1;94618:11:0;:::i;:::-;94685:1;94644:24;;;:11;:24;;;;;:29;94596:33;;-1:-1:-1;;;;;;94644:29:0;94640:288;;94708:20;94716:11;91141:4;91175:12;-1:-1:-1;91165:22:0;91084:111;94708:20;94704:213;;;94776:125;;;;;;;;94813:18;;-1:-1:-1;;;;;94776:125:0;;;;;;94854:28;;;;-1:-1:-1;;;;;94776:125:0;;;;;;;;;-1:-1:-1;94749:24:0;;;:11;:24;;;;;;;:152;;;;;;;;;-1:-1:-1;;;94749:152:0;-1:-1:-1;;;;;;94749:152:0;;;;;;;;;;;;94704:213;94964:7;94960:2;-1:-1:-1;;;;;94945:27:0;94954:4;-1:-1:-1;;;;;94945:27:0;;;;;;;;;;;94983:42;93428:1605;;;93324:1709;;;:::o;91670:1400::-;91793:20;91816:12;-1:-1:-1;;;;;91847:16:0;;91839:62;;;;-1:-1:-1;;;91839:62:0;;28689:2:1;91839:62:0;;;28671:21:1;28728:2;28708:18;;;28701:30;28767:34;28747:18;;;28740:62;-1:-1:-1;;;28818:18:1;;;28811:31;28859:19;;91839:62:0;28487:397:1;91839:62:0;92046:21;92054:12;91141:4;91175:12;-1:-1:-1;91165:22:0;91084:111;92046:21;92045:22;92037:64;;;;-1:-1:-1;;;92037:64:0;;29091:2:1;92037:64:0;;;29073:21:1;29130:2;29110:18;;;29103:30;29169:31;29149:18;;;29142:59;29218:18;;92037:64:0;28889:353:1;92037:64:0;92132:12;92120:8;:24;;92112:71;;;;-1:-1:-1;;;92112:71:0;;29449:2:1;92112:71:0;;;29431:21:1;29488:2;29468:18;;;29461:30;29527:34;29507:18;;;29500:62;-1:-1:-1;;;29578:18:1;;;29571:32;29620:19;;92112:71:0;29247:398:1;92112:71:0;-1:-1:-1;;;;;92303:16:0;;92270:30;92303:16;;;:12;:16;;;;;;;;;92270:49;;;;;;;;;-1:-1:-1;;;;;92270:49:0;;;;;-1:-1:-1;;;92270:49:0;;;;;;;;;;;92349:135;;;;;;;;92375:19;;92270:49;;92349:135;;;92375:39;;92405:8;;92375:39;:::i;:::-;-1:-1:-1;;;;;92349:135:0;;;;;92464:8;92429:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;92349:135:0;;;;;;-1:-1:-1;;;;;92330:16:0;;;;;;;:12;:16;;;;;;;;:154;;;;;;;;-1:-1:-1;;;92330:154:0;;;;;;;;;;;;92523:43;;;;;;;;;;-1:-1:-1;;;;;92549:15:0;92523:43;;;;;;;;92495:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;92495:71:0;-1:-1:-1;;;;;;92495:71:0;;;;;;;;;;;;;;;;;;92507:12;;92627:325;92651:8;92647:1;:12;92627:325;;;92686:38;;92711:12;;-1:-1:-1;;;;;92686:38:0;;;92703:1;;92686:38;;92703:1;;92686:38;92765:59;92796:1;92800:2;92804:12;92818:5;92765:22;:59::i;:::-;92739:172;;;;-1:-1:-1;;;92739:172:0;;;;;;;:::i;:::-;92926:14;;;;:::i;:::-;;;;92661:3;;;;;:::i;:::-;;;;92627:325;;;-1:-1:-1;92964:12:0;:27;;;93002:60;114763:163;97026:985;97181:4;-1:-1:-1;;;;;97202:13:0;;63707:19;:23;97198:806;;97255:175;;-1:-1:-1;;;97255:175:0;;-1:-1:-1;;;;;97255:36:0;;;;;:175;;25169:10;;97349:4;;97376:7;;97406:5;;97255:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97255:175:0;;;;;;;;-1:-1:-1;;97255:175:0;;;;;;;;;;;;:::i;:::-;;;97234:715;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97617:6;:13;97634:1;97617:18;97613:321;;97660:109;;-1:-1:-1;;;97660:109:0;;;;;;;:::i;97613:321::-;97884:6;97878:13;97869:6;97865:2;97861:15;97854:38;97234:715;-1:-1:-1;;;;;;97494:55:0;-1:-1:-1;;;97494:55:0;;-1:-1:-1;97487:62:0;;97198:806;-1:-1:-1;97988:4:0;97026:985;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:118::-;2779:5;2772:13;2765:21;2758:5;2755:32;2745:60;;2801:1;2798;2791:12;2816:241;2872:6;2925:2;2913:9;2904:7;2900:23;2896:32;2893:52;;;2941:1;2938;2931:12;2893:52;2980:9;2967:23;2999:28;3021:5;2999:28;:::i;3062:186::-;3121:6;3174:2;3162:9;3153:7;3149:23;3145:32;3142:52;;;3190:1;3187;3180:12;3142:52;3213:29;3232:9;3213:29;:::i;3442:269::-;3499:6;3552:2;3540:9;3531:7;3527:23;3523:32;3520:52;;;3568:1;3565;3558:12;3520:52;3607:9;3594:23;3657:4;3650:5;3646:16;3639:5;3636:27;3626:55;;3677:1;3674;3667:12;3955:127;4016:10;4011:3;4007:20;4004:1;3997:31;4047:4;4044:1;4037:15;4071:4;4068:1;4061:15;4087:275;4158:2;4152:9;4223:2;4204:13;;-1:-1:-1;;4200:27:1;4188:40;;-1:-1:-1;;;;;4243:34:1;;4279:22;;;4240:62;4237:88;;;4305:18;;:::i;:::-;4341:2;4334:22;4087:275;;-1:-1:-1;4087:275:1:o;4367:407::-;4432:5;-1:-1:-1;;;;;4458:6:1;4455:30;4452:56;;;4488:18;;:::i;:::-;4526:57;4571:2;4550:15;;-1:-1:-1;;4546:29:1;4577:4;4542:40;4526:57;:::i;:::-;4517:66;;4606:6;4599:5;4592:21;4646:3;4637:6;4632:3;4628:16;4625:25;4622:45;;;4663:1;4660;4653:12;4622:45;4712:6;4707:3;4700:4;4693:5;4689:16;4676:43;4766:1;4759:4;4750:6;4743:5;4739:18;4735:29;4728:40;4367:407;;;;;:::o;4779:451::-;4848:6;4901:2;4889:9;4880:7;4876:23;4872:32;4869:52;;;4917:1;4914;4907:12;4869:52;4957:9;4944:23;-1:-1:-1;;;;;4982:6:1;4979:30;4976:50;;;5022:1;5019;5012:12;4976:50;5045:22;;5098:4;5090:13;;5086:27;-1:-1:-1;5076:55:1;;5127:1;5124;5117:12;5076:55;5150:74;5216:7;5211:2;5198:16;5193:2;5189;5185:11;5150:74;:::i;5459:315::-;5524:6;5532;5585:2;5573:9;5564:7;5560:23;5556:32;5553:52;;;5601:1;5598;5591:12;5553:52;5624:29;5643:9;5624:29;:::i;:::-;5614:39;;5703:2;5692:9;5688:18;5675:32;5716:28;5738:5;5716:28;:::i;:::-;5763:5;5753:15;;;5459:315;;;;;:::o;5779:284::-;5837:6;5890:2;5878:9;5869:7;5865:23;5861:32;5858:52;;;5906:1;5903;5896:12;5858:52;5945:9;5932:23;-1:-1:-1;;;;;5988:5:1;5984:30;5977:5;5974:41;5964:69;;6029:1;6026;6019:12;6068:667;6163:6;6171;6179;6187;6240:3;6228:9;6219:7;6215:23;6211:33;6208:53;;;6257:1;6254;6247:12;6208:53;6280:29;6299:9;6280:29;:::i;:::-;6270:39;;6328:38;6362:2;6351:9;6347:18;6328:38;:::i;:::-;6318:48;;6413:2;6402:9;6398:18;6385:32;6375:42;;6468:2;6457:9;6453:18;6440:32;-1:-1:-1;;;;;6487:6:1;6484:30;6481:50;;;6527:1;6524;6517:12;6481:50;6550:22;;6603:4;6595:13;;6591:27;-1:-1:-1;6581:55:1;;6632:1;6629;6622:12;6581:55;6655:74;6721:7;6716:2;6703:16;6698:2;6694;6690:11;6655:74;:::i;:::-;6645:84;;;6068:667;;;;;;;:::o;6740:260::-;6808:6;6816;6869:2;6857:9;6848:7;6844:23;6840:32;6837:52;;;6885:1;6882;6875:12;6837:52;6908:29;6927:9;6908:29;:::i;:::-;6898:39;;6956:38;6990:2;6979:9;6975:18;6956:38;:::i;:::-;6946:48;;6740:260;;;;;:::o;7229:380::-;7308:1;7304:12;;;;7351;;;7372:61;;7426:4;7418:6;7414:17;7404:27;;7372:61;7479:2;7471:6;7468:14;7448:18;7445:38;7442:161;;7525:10;7520:3;7516:20;7513:1;7506:31;7560:4;7557:1;7550:15;7588:4;7585:1;7578:15;7442:161;;7229:380;;;:::o;8028:342::-;8230:2;8212:21;;;8269:2;8249:18;;;8242:30;-1:-1:-1;;;8303:2:1;8288:18;;8281:48;8361:2;8346:18;;8028:342::o;8375:401::-;8577:2;8559:21;;;8616:2;8596:18;;;8589:30;8655:34;8650:2;8635:18;;8628:62;-1:-1:-1;;;8721:2:1;8706:18;;8699:35;8766:3;8751:19;;8375:401::o;8781:127::-;8842:10;8837:3;8833:20;8830:1;8823:31;8873:4;8870:1;8863:15;8897:4;8894:1;8887:15;8913:125;8978:9;;;8999:10;;;8996:36;;;9012:18;;:::i;9043:412::-;9245:2;9227:21;;;9284:2;9264:18;;;9257:30;9323:34;9318:2;9303:18;;9296:62;-1:-1:-1;;;9389:2:1;9374:18;;9367:46;9445:3;9430:19;;9043:412::o;9460:355::-;9662:2;9644:21;;;9701:2;9681:18;;;9674:30;9740:33;9735:2;9720:18;;9713:61;9806:2;9791:18;;9460:355::o;9820:168::-;9893:9;;;9924;;9941:15;;;9935:22;;9921:37;9911:71;;9962:18;;:::i;10955:135::-;10994:3;11015:17;;;11012:43;;11035:18;;:::i;:::-;-1:-1:-1;11082:1:1;11071:13;;10955:135::o;12215:936::-;12310:6;12341:2;12384;12372:9;12363:7;12359:23;12355:32;12352:52;;;12400:1;12397;12390:12;12352:52;12433:9;12427:16;-1:-1:-1;;;;;12503:2:1;12495:6;12492:14;12489:34;;;12519:1;12516;12509:12;12489:34;12557:6;12546:9;12542:22;12532:32;;12602:7;12595:4;12591:2;12587:13;12583:27;12573:55;;12624:1;12621;12614:12;12573:55;12653:2;12647:9;12675:2;12671;12668:10;12665:36;;;12681:18;;:::i;:::-;12727:2;12724:1;12720:10;12710:20;;12750:28;12774:2;12770;12766:11;12750:28;:::i;:::-;12812:15;;;12882:11;;;12878:20;;;12843:12;;;;12910:19;;;12907:39;;;12942:1;12939;12932:12;12907:39;12966:11;;;;12986:135;13002:6;12997:3;12994:15;12986:135;;;13068:10;;13056:23;;13019:12;;;;13099;;;;12986:135;;;13140:5;12215:936;-1:-1:-1;;;;;;;;12215:936:1:o;13910:336::-;14112:2;14094:21;;;14151:2;14131:18;;;14124:30;-1:-1:-1;;;14185:2:1;14170:18;;14163:42;14237:2;14222:18;;13910:336::o;14377:545::-;14479:2;14474:3;14471:11;14468:448;;;14515:1;14540:5;14536:2;14529:17;14585:4;14581:2;14571:19;14655:2;14643:10;14639:19;14636:1;14632:27;14626:4;14622:38;14691:4;14679:10;14676:20;14673:47;;;-1:-1:-1;14714:4:1;14673:47;14769:2;14764:3;14760:12;14757:1;14753:20;14747:4;14743:31;14733:41;;14824:82;14842:2;14835:5;14832:13;14824:82;;;14887:17;;;14868:1;14857:13;14824:82;;15098:1352;15224:3;15218:10;-1:-1:-1;;;;;15243:6:1;15240:30;15237:56;;;15273:18;;:::i;:::-;15302:97;15392:6;15352:38;15384:4;15378:11;15352:38;:::i;:::-;15346:4;15302:97;:::i;:::-;15454:4;;15518:2;15507:14;;15535:1;15530:663;;;;16237:1;16254:6;16251:89;;;-1:-1:-1;16306:19:1;;;16300:26;16251:89;-1:-1:-1;;15055:1:1;15051:11;;;15047:24;15043:29;15033:40;15079:1;15075:11;;;15030:57;16353:81;;15500:944;;15530:663;14324:1;14317:14;;;14361:4;14348:18;;-1:-1:-1;;15566:20:1;;;15684:236;15698:7;15695:1;15692:14;15684:236;;;15787:19;;;15781:26;15766:42;;15879:27;;;;15847:1;15835:14;;;;15714:19;;15684:236;;;15688:3;15948:6;15939:7;15936:19;15933:201;;;16009:19;;;16003:26;-1:-1:-1;;16092:1:1;16088:14;;;16104:3;16084:24;16080:37;16076:42;16061:58;16046:74;;15933:201;-1:-1:-1;;;;;16180:1:1;16164:14;;;16160:22;16147:36;;-1:-1:-1;15098:1352:1:o;17581:148::-;17669:4;17648:12;;;17662;;;17644:31;;17687:13;;17684:39;;;17703:18;;:::i;17734:404::-;17936:2;17918:21;;;17975:2;17955:18;;;17948:30;18014:34;18009:2;17994:18;;17987:62;-1:-1:-1;;;18080:2:1;18065:18;;18058:38;18128:3;18113:19;;17734:404::o;18143:184::-;18213:6;18266:2;18254:9;18245:7;18241:23;18237:32;18234:52;;;18282:1;18279;18272:12;18234:52;-1:-1:-1;18305:16:1;;18143:184;-1:-1:-1;18143:184:1:o;19025:180::-;-1:-1:-1;;;;;19130:10:1;;;19142;;;19126:27;;19165:11;;;19162:37;;;19179:18;;:::i;:::-;19162:37;19025:180;;;;:::o;20356:245::-;20423:6;20476:2;20464:9;20455:7;20451:23;20447:32;20444:52;;;20492:1;20489;20482:12;20444:52;20524:9;20518:16;20543:28;20565:5;20543:28;:::i;21022:722::-;21072:3;21113:5;21107:12;21142:36;21168:9;21142:36;:::i;:::-;21197:1;21214:18;;;21241:133;;;;21388:1;21383:355;;;;21207:531;;21241:133;-1:-1:-1;;21274:24:1;;21262:37;;21347:14;;21340:22;21328:35;;21319:45;;;-1:-1:-1;21241:133:1;;21383:355;21414:5;21411:1;21404:16;21443:4;21488:2;21485:1;21475:16;21513:1;21527:165;21541:6;21538:1;21535:13;21527:165;;;21619:14;;21606:11;;;21599:35;21662:16;;;;21556:10;;21527:165;;;21531:3;;;21721:6;21716:3;21712:16;21705:23;;21207:531;;;;;21022:722;;;;:::o;21749:469::-;21970:3;21998:38;22032:3;22024:6;21998:38;:::i;:::-;22065:6;22059:13;22081:65;22139:6;22135:2;22128:4;22120:6;22116:17;22081:65;:::i;:::-;22162:50;22204:6;22200:2;22196:15;22188:6;22162:50;:::i;:::-;22155:57;21749:469;-1:-1:-1;;;;;;;21749:469:1:o;24466:127::-;24527:10;24522:3;24518:20;24515:1;24508:31;24558:4;24555:1;24548:15;24582:4;24579:1;24572:15;24598:120;24638:1;24664;24654:35;;24669:18;;:::i;:::-;-1:-1:-1;24703:9:1;;24598:120::o;24723:128::-;24790:9;;;24811:11;;;24808:37;;;24825:18;;:::i;25267:136::-;25306:3;25334:5;25324:39;;25343:18;;:::i;:::-;-1:-1:-1;;;25379:18:1;;25267:136::o;26179:415::-;26381:2;26363:21;;;26420:2;26400:18;;;26393:30;26459:34;26454:2;26439:18;;26432:62;-1:-1:-1;;;26525:2:1;26510:18;;26503:49;26584:3;26569:19;;26179:415::o;26599:112::-;26631:1;26657;26647:35;;26662:18;;:::i;:::-;-1:-1:-1;26696:9:1;;26599:112::o;26716:127::-;26777:10;26772:3;26768:20;26765:1;26758:31;26808:4;26805:1;26798:15;26832:4;26829:1;26822:15;28080:200;-1:-1:-1;;;;;28216:10:1;;;28204;;;28200:27;;28239:12;;;28236:38;;;28254:18;;:::i;28285:197::-;-1:-1:-1;;;;;28407:10:1;;;28419;;;28403:27;;28442:11;;;28439:37;;;28456:18;;:::i;29650:489::-;-1:-1:-1;;;;;29919:15:1;;;29901:34;;29971:15;;29966:2;29951:18;;29944:43;30018:2;30003:18;;29996:34;;;30066:3;30061:2;30046:18;;30039:31;;;29844:4;;30087:46;;30113:19;;30105:6;30087:46;:::i;:::-;30079:54;29650:489;-1:-1:-1;;;;;;29650:489:1:o;30144:249::-;30213:6;30266:2;30254:9;30245:7;30241:23;30237:32;30234:52;;;30282:1;30279;30272:12;30234:52;30314:9;30308:16;30333:30;30357:5;30333:30;:::i
Swarm Source
ipfs://365f251bcf6f91cffad4d0dc45ab69775c335837112dd9dd96fcbe707320e850
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.