Token AA
Overview ERC-721
Total Supply:
2 BB
Holders:
2 addresses
Contract:
Balance
0 BB
[ Download CSV Export ]
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-08 */ // SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, 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; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 {} } // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [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); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) // 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; } } } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // ERC721A Contracts v4.0.0 // Creator: Chiru Labs // ERC721A Contracts v4.0.0 // Creator: Chiru Labs /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 offset; do { emit Transfer(address(0), to, startTokenId + offset++); } while (offset < quantity); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); address approvedAddress = _tokenApprovals[tokenId]; if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // import "./interfaces/IVault.sol"; interface IUniswapV2Router { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IWETH is IERC20 { function deposit() external payable; function withdraw(uint256 amount) external; } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } contract CollateralReserve is Ownable { using SafeERC20 for IERC20; using SafeMath for uint256; address public manager; address public bvault; uint256 public redemption_fees; address public uni_router; address[] public collaterals; mapping(address => bool) public isCollateral; uint256 private constant LIMIT_SWAP_TIME = 10 minutes; // receive() external payable { // IWETH(wftm).deposit{value: msg.value}(); // } constructor() { setManager(msg.sender); // setBalancerV2Vault(_bvault); setRedemptionFees(20000); // setUniRouterV2(unirouter)); } /* ========== MODIFIER ========== */ modifier onlyOwnerOrManager() { require( owner() == msg.sender || manager == msg.sender, 'Only owner or manager can trigger this function' ); _; } /* ========== RESTRICTED FUNCTIONS ========== */ function setManager(address _addr) public onlyOwner { require(_addr != address(0), 'Invalid address'); manager = _addr; emit ManagerChanged(_addr); } function setBalancerV2Vault(address _addr) public onlyOwner { require(_addr != address(0), 'Invalid address'); bvault = _addr; emit BalancerV2VaultChanged(_addr); } function setUniRouterV2(address _addr) public onlyOwner { require(_addr != address(0), 'Invalid address'); uni_router = _addr; emit UniV2RouterChanged(_addr); } function setRedemptionFees(uint _val) public onlyOwner { require(_val < 200000, 'wrong redemption fee'); // less than 20% redemption_fees = _val; emit RedemptionFeesChanged(_val); } // add a collatereal function addCollateral(address _token) public onlyOwnerOrManager { require(_token != address(0), 'invalid token'); isCollateral[_token] = true; if (!listContains(collaterals, _token)) { collaterals.push(_token); } emit CollateralAdded(_token); } // Remove a collatereal function removeCollateral(address _token) public onlyOwner { require(_token != address(0), 'invalid token'); // Delete from the mapping delete isCollateral[_token]; // 'Delete' from the array by setting the address to 0x0 for (uint256 i = 0; i < collaterals.length; i++) { if (collaterals[i] == _token) { // coffin_pools_array[i] = address(0); // This will leave a null in the array and keep the indices the same delete collaterals[i]; break; } } emit CollateralRemoved(_token); } // function joinPool( // bytes32 poolId, // address sender, // address recipient, // JoinPoolRequest memory request // ) external payable; // struct JoinPoolRequest { // IAsset[] assets; // uint256[] maxAmountsIn; // bytes userData; // bool fromInternalBalance; // } // function exitPool( // bytes32 poolId, // address sender, // address payable recipient, // ExitPoolRequest memory request // ) external; // struct ExitPoolRequest { // IAsset[] assets; // uint256[] minAmountsOut; // bytes userData; // bool toInternalBalance; // } function addLiquidity( address token0, address token1, uint256 amtToken0, uint256 amtToken1, uint256 minToken0, uint256 minToken1, address routerAddrsss ) public onlyOwnerOrManager returns ( uint256, uint256, uint256 ) { require(amtToken0 != 0 && amtToken1 != 0, "amounts can't be 0"); IERC20(token0).approve(address(routerAddrsss), 0); IERC20(token0).approve(address(routerAddrsss), amtToken0); IERC20(token1).approve(address(routerAddrsss), 0); IERC20(token1).approve(address(routerAddrsss), amtToken1); uint256 resultAmtToken0; uint256 resultAmtToken1; uint256 liquidity; (resultAmtToken0, resultAmtToken1, liquidity) = IUniswapV2Router(routerAddrsss) .addLiquidity( token0, token1, amtToken0, amtToken1, minToken0, minToken1, address(this), block.timestamp + LIMIT_SWAP_TIME ); return (resultAmtToken0, resultAmtToken1, liquidity); } /* ========== INTERNAL FUNCTIONS ========== */ function listContains(address[] storage _list, address _token) internal view returns (bool) { for (uint256 i = 0; i < _list.length; i++) { if (_list[i] == _token) { return true; } } return false; } function _redeem(uint _total, address _recipient) internal returns (bool) { for (uint256 i = 0; i < collaterals.length; i++) { if ( address(collaterals[i]) != address(0) ) { try IERC20(collaterals[i]).balanceOf(address(this)) returns ( uint256 bal ) { uint _amount = bal.div(_total); uint _fee = _amount.div(1000000).mul(redemption_fees); IERC20(collaterals[i]).safeTransfer(_recipient, _amount.sub(_fee)); emit Redeemed(collaterals[i], _amount.sub(_fee), _recipient); } catch Error( string memory /*reason*/ ) { // value_ = 0; } } } return true; } /* ========== EVENTS ========== */ event ManagerChanged(address indexed addr); event BalancerV2VaultChanged(address indexed addr); event UniV2RouterChanged(address indexed addr); event RedemptionFeesChanged(uint fees); event Redeemed(address _token, uint amt, address recipient); event CollateralRemoved(address _token); event CollateralAdded(address _token); } // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @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); } } // contract CollateralizedNFT is ERC721,Ownable , ERC721Burnable, ERC721Enumerable , ReentrancyGuard contract TheNFT is ERC721A, CollateralReserve, ReentrancyGuard // , ERC721ABurnable { using SafeMath for uint256; using SafeERC20 for ERC20; // using Strings for uint256; struct SaleConfig { uint32 auctionSaleStartTime; uint32 publicSaleStartTime; // uint64 mintlistPrice; uint64 publicPrice; uint64 presalePrice; // uint32 publicSaleKey; } SaleConfig public saleConfig; // string private __baseURI = ""; string public notRevealedUri; uint256 public maxSupply = 10000; uint256 public maxMintAmount = 5; uint256 public publicMaxPerTx = 10; address public baseToken; // usdc usually uint256 private whiteListCount = 0; mapping(address => uint256) private whiteList; bool public paused = true; bool public revealed = false; bool public presale = true; // address[] public collaterals; // mapping(address => bool) public isCollateral; // address immutable public weth; uint256 public burnFeePecent = 0; // burnFeePecent / 1000000. if burnFeePecent = 20000 => 2%. constructor( string memory _name, string memory _symbol, string memory _initNotRevealedUri, // address _weth, address _baseToken ) ERC721A(_name, _symbol) { setNotRevealedURI(_initNotRevealedUri); // weth = _weth; baseToken = _baseToken; } function setAuctionSaleStartTime(uint32 timestamp) external onlyOwner { saleConfig.auctionSaleStartTime = timestamp; } // receive() external payable { // IWETH(weth).deposit{ value: msg.value }(); // } // // ERC721Enumerable // function _beforeTokenTransfer(address from, address to, uint256 tokenId) // internal // override(ERC721, ERC721Enumerable) // { // super._beforeTokenTransfer(from, to, tokenId); // } // function supportsInterface(bytes4 interfaceId) // public // view // override(ERC721, ERC721Enumerable) // returns (bool) // { // return super.supportsInterface(interfaceId); // } // internal method. function payInERC20(address _erc20, uint256 _amt) private { uint256 bal = ERC20(baseToken).balanceOf(msg.sender); require(bal >= _amt, "Need to have more ERC20."); ERC20(_erc20).safeTransferFrom(msg.sender, address(this), _amt); } function payInETH(uint256 _amt) private { require(msg.value >= _amt, "Need to send more ETH."); if (msg.value > _amt) { payable(msg.sender).transfer(msg.value - _amt); } } // reveal function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function reveal() public onlyOwner { revealed = true; } function isRevealed() public view returns (bool) { return revealed; } //// mint // ownerMint // function ownerMint(uint256 count) public onlyOwner { // uint256 supply = totalSupply(); // require( // supply + count <= maxSupply, // "Total supply cannot exceed maxSupply" // ); // for (uint256 i = 1; i < count; i++) { // // _safeMint(msg.sender, supply + i); // _safeMint(msg.sender, count); // } // } // // For marketing etc. // function devMint(uint256 quantity) external onlyOwner { // require( // totalSupply() + quantity <= amountForDevs, // "too many already minted before dev mint" // ); // require( // quantity % maxBatchSize == 0, // "can only mint a multiple of the maxBatchSize" // ); // uint256 numChunks = quantity / maxBatchSize; // for (uint256 i = 0; i < numChunks; i++) { // _safeMint(msg.sender, maxBatchSize); // } // } // For marketing etc. function devMint(uint256 quantity) public onlyOwner { uint256 supply = totalSupply(); require( supply + quantity <= maxSupply, "Total supply cannot exceed maxSupply" ); _safeMint(msg.sender, quantity); } // public mint function publicMint(uint256 quantity) public payable { uint256 supply = totalSupply(); require( quantity <= publicMaxPerTx, "Mint amount cannot exceed 10 per Tx." ); uint256 cost = saleConfig.publicPrice * quantity; // mintCheck(quantity, supply, cost); require(!paused, "Public mint are lazy, call the king to wake them up"); require(!presale, "Public mint is paused while Presale is active."); require(quantity > 0, "Mint amount is 0"); require(quantity <= maxMintAmount, "max 5 "); require(supply + quantity <= maxSupply, "End of supply"); require(balanceOf(msg.sender) + quantity <= maxMintAmount, "Your NFTs can't be over 5 "); // if (msg.sender != owner()) { // require(msg.value >= cost * quantity, "Not enough funds for mint"); // require(balanceOf(msg.sender) + quantity <= maxMintAmount, "Your NFTs can't be over 5 "); // } payInERC20(baseToken, cost); _safeMint(msg.sender, quantity); // for (uint256 i = 1; i <= quantity; i++) { // _safeMint(msg.sender, supply + i); // } } // presale mint function presaleMint(uint256 quantity) public payable { uint256 supply = totalSupply(); uint256 cost = saleConfig.presalePrice * quantity; // mintCheck(quantity, supply, cost); require(!paused, "Mint is not active."); require(quantity > 0, "Mint amount cannot be zero"); require( supply + quantity <= maxSupply, "Total supply cannot exceed maxSupply" ); require(presale, "Presale is not active."); require( whiteList[msg.sender] >= quantity, "CL: Five cats max per address in Catlist." ); payInERC20(baseToken, cost); for (uint256 i = 1; i <= quantity; i++) { _safeMint(msg.sender, 1); whiteList[msg.sender]--; } } // function auctionMint(uint256 quantity) external payable callerIsUser { // uint256 _saleStartTime = uint256(saleConfig.auctionSaleStartTime); // require( // _saleStartTime != 0 && block.timestamp >= _saleStartTime, // "sale has not started yet" // ); // require( // totalSupply() + quantity <= amountForAuctionAndDev, // "not enough remaining reserved for auction to support desired mint amount" // ); // require( // numberMinted(msg.sender) + quantity <= maxPerAddressDuringMint, // "can not mint this many" // ); // uint256 totalCost = getAuctionPrice(_saleStartTime) * quantity; // _safeMint(msg.sender, quantity); // refundIfOver(totalCost); // } // // mintCheck // function mintCheck( // uint256 quantity, // uint256 supply, // uint256 cost // ) private view { // require(!paused, "Mint is not active."); // require(quantity > 0, "Mint amount cannot be zero"); // require( // supply + quantity <= maxSupply, // "Total supply cannot exceed maxSupply" // ); // require(msg.value >= cost, "Not enough funds provided for mint"); // } // uint256 public constant AUCTION_START_PRICE = 1 ether; // uint256 public constant AUCTION_END_PRICE = 0.15 ether; // uint256 public constant AUCTION_PRICE_CURVE_LENGTH = 340 minutes; // uint256 public constant AUCTION_DROP_INTERVAL = 20 minutes; // uint256 public constant AUCTION_DROP_PER_STEP = // (AUCTION_START_PRICE - AUCTION_END_PRICE) / // (AUCTION_PRICE_CURVE_LENGTH / AUCTION_DROP_INTERVAL); // function getAuctionPrice(uint256 _saleStartTime) // public // view // returns (uint256) // { // if (block.timestamp < _saleStartTime) { // return AUCTION_START_PRICE; // } // if (block.timestamp - _saleStartTime >= AUCTION_PRICE_CURVE_LENGTH) { // return AUCTION_END_PRICE; // } else { // uint256 steps = (block.timestamp - _saleStartTime) / // AUCTION_DROP_INTERVAL; // return AUCTION_START_PRICE - (steps * AUCTION_DROP_PER_STEP); // } // } // burn function setBurnFeePercent(uint256 _fee) public onlyOwner { require(_fee<=200000, "too big"); // up to 20% burnFeePecent = _fee; } function burn(uint256 tokenId) public //override { // require(_isApprovedOrOwner(msg.sender, tokenId)); require(ownerOf(tokenId)==msg.sender, "only owner can burn"); uint256 supply = totalSupply(); super._redeem(supply, msg.sender); // for (uint i = 0; i < collaterals.length; i++){ // if (address(collaterals[i])!=address(0)) // { // uint256 alloc = ERC20(collaterals[i]).balanceOf(address(this)).div(supply); // uint256 fee = alloc.mul(burnFeePecent).div(1000000); // ERC20(collaterals[i]).safeTransfer(msg.sender, alloc.sub(fee)); // } // } // _burn(ownerOf(tokenId), tokenId); // _burn(tokenId, msg.sender); _burn(tokenId); } event Burned(uint256 tokenId, address owner); //// withdraw function withdraw() public payable { (bool dev, ) = payable(owner()).call{value: address(this).balance}(""); require(dev); } function withdrawERC20() public payable { uint256 bal = IERC20(baseToken).balanceOf(address(this)); // IERC20(baseToken).safeTransfer(msg.sender, bal); IERC20(baseToken).transfer(msg.sender, bal); } //// settings // setPresale function setPresale(bool _state) public onlyOwner { presale = _state; } // setPresalePrice function setPresalePrice(uint64 _val) public onlyOwner { saleConfig.presalePrice = _val; } // setPublicPrice function setPublicPrice(uint64 _val) public onlyOwner { saleConfig.publicPrice = _val; } // getCurrentCost function getCurrentCost() public view returns (uint256) { if (presale) { return saleConfig.presalePrice; } else { return saleConfig.publicPrice; } } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmount = _newMaxMintAmount; } function pause(bool _state) public onlyOwner { paused = _state; } function isPaused() public view returns (bool) { return paused; } // function setBaseURI(string memory _newBaseURI) public onlyOwner { // __baseURI = _newBaseURI; // } // /** internal */ // function _baseURI() internal view virtual override returns (string memory) { // return __baseURI; // } string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } // // // function walletOfOwner(address _owner) // public // view // returns (uint256[] memory) // { // uint256 ownerTokenCount = balanceOf(_owner); // uint256[] memory tokenIds = new uint256[](ownerTokenCount); // for (uint256 i; i < ownerTokenCount; i++) { // tokenIds[i] = tokenOfOwnerByIndex(_owner, i); // } // return tokenIds; // } // NFT basic // function setBaseExtension(string memory _newBaseExtension) public onlyOwner { // baseExtension = _newBaseExtension; // } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if(revealed == false) { return notRevealedUri; } string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; // require( // _exists(tokenId), // "ERC721Metadata: URI query for nonexistent token" // ); // string memory currentBaseURI = _baseURI(); // return bytes(currentBaseURI).length > 0 // ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) // : ""; // return super.tokenURI(tokenId); } /** WL */ function whiteListCountOfOwner(address owner) public view returns (uint256) { return whiteList[owner]; } function deleteWL(address addr) public virtual onlyOwner { whiteListCount = whiteListCount - whiteList[addr]; delete (whiteList[addr]); } function updateWL(address addr, uint256 maxMint) public virtual onlyOwner { whiteListCount = whiteListCount - whiteList[addr]; whiteList[addr] = maxMint; whiteListCount = whiteListCount + maxMint; } // function pushMultiWL(address[] memory list) public virtual onlyOwner { // for (uint256 i = 0; i < list.length; i++) { // whiteList[list[i]]++; // whiteListCount++; // } // } function addWhiteList(address[] memory addresses, uint256[] memory numSlots) external onlyOwner { require( addresses.length == numSlots.length, "addresses does not match numSlots length" ); for (uint256 i = 0; i < addresses.length; i++) { whiteList[addresses[i]] = numSlots[i]; } } function getWhiteListCount() public view returns (uint256) { return whiteListCount; } // function setOwnersExplicit(uint256 quantity) external onlyOwner nonReentrant { // _setOwnersExplicit(quantity); // } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } // function getOwnershipData(uint256 tokenId) // external // view // returns (TokenOwnership memory) // { // return ownershipOf(tokenId); // } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"address","name":"_baseToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"BalancerV2VaultChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"CollateralAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"CollateralRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"ManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"}],"name":"Redeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fees","type":"uint256"}],"name":"RedemptionFeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"UniV2RouterChanged","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"addCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"amtToken0","type":"uint256"},{"internalType":"uint256","name":"amtToken1","type":"uint256"},{"internalType":"uint256","name":"minToken0","type":"uint256"},{"internalType":"uint256","name":"minToken1","type":"uint256"},{"internalType":"address","name":"routerAddrsss","type":"address"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numSlots","type":"uint256[]"}],"name":"addWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnFeePecent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bvault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"collaterals","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"deleteWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhiteListCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isCollateral","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMaxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"redemption_fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"removeCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"auctionSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"publicPrice","type":"uint64"},{"internalType":"uint64","name":"presalePrice","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setAuctionSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setBalancerV2Vault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setBurnFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_val","type":"uint64"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_val","type":"uint64"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setRedemptionFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setUniRouterV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uni_router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"updateWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"whiteListCountOfOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawERC20","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526127106012556005601355600a601455600060168190556018805462ffffff1916620100011790556019553480156200003c57600080fd5b50604051620052f7380380620052f78339810160408190526200005f91620004d8565b8351849084906200007890600290602085019062000365565b5080516200008e90600390602084019062000365565b50506000805550620000a033620000f2565b620000ab3362000144565b620000b8614e2062000227565b6001600f55620000c88262000301565b601580546001600160a01b0319166001600160a01b039290921691909117905550620005c7915050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001935760405162461bcd60e51b81526020600482018190526024820152600080516020620052d783398151915260448201526064015b60405180910390fd5b6001600160a01b038116620001dd5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016200018a565b600980546001600160a01b0319166001600160a01b0383169081179091556040517f198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b90600090a250565b6008546001600160a01b03163314620002725760405162461bcd60e51b81526020600482018190526024820152600080516020620052d783398151915260448201526064016200018a565b62030d408110620002c65760405162461bcd60e51b815260206004820152601460248201527f77726f6e6720726564656d7074696f6e2066656500000000000000000000000060448201526064016200018a565b600b8190556040518181527f9f15f2cac6afae28110bcd8afd2558e8da73b49548d04cc51e8b36f63af8c35c9060200160405180910390a150565b6008546001600160a01b031633146200034c5760405162461bcd60e51b81526020600482018190526024820152600080516020620052d783398151915260448201526064016200018a565b80516200036190601190602084019062000365565b5050565b82805462000373906200058b565b90600052602060002090601f016020900481019282620003975760008555620003e2565b82601f10620003b257805160ff1916838001178555620003e2565b82800160010185558215620003e2579182015b82811115620003e2578251825591602001919060010190620003c5565b50620003f0929150620003f4565b5090565b5b80821115620003f05760008155600101620003f5565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200043357600080fd5b81516001600160401b03808211156200045057620004506200040b565b604051601f8301601f19908116603f011681019082821181831017156200047b576200047b6200040b565b816040528381526020925086838588010111156200049857600080fd5b600091505b83821015620004bc57858201830151818301840152908201906200049d565b83821115620004ce5760008385830101525b9695505050505050565b60008060008060808587031215620004ef57600080fd5b84516001600160401b03808211156200050757600080fd5b620005158883890162000421565b955060208701519150808211156200052c57600080fd5b6200053a8883890162000421565b945060408701519150808211156200055157600080fd5b50620005608782880162000421565b606087015190935090506001600160a01b03811681146200058057600080fd5b939692955090935050565b600181811c90821680620005a057607f821691505b602082108103620005c157634e487b7160e01b600052602260045260246000fd5b50919050565b614d0080620005d76000396000f3fe6080604052600436106103de5760003560e01c80636ebc56011161020d578063c87b56dd11610128578063dc33e681116100bb578063f0d2d5a81161008a578063f2fde38b1161006f578063f2fde38b14610be0578063fd2bf4a114610c00578063fdea8e0b14610c2057600080fd5b8063f0d2d5a814610ba0578063f2c4ce1e14610bc057600080fd5b8063dc33e68114610b01578063e985e9c514610b21578063eeab60ad14610b6a578063efe8c4ac14610b8a57600080fd5b8063ccbe8031116100f7578063ccbe803114610a75578063cea2695814610aab578063d0ebdbe714610acb578063d5abeb0114610aeb57600080fd5b8063c87b56dd146109e7578063c99d3a0614610a07578063c9b298f114610a27578063ca3d653914610a3a57600080fd5b8063967cb395116101a0578063b187bd261161016f578063b187bd261461096f578063b88d4fde14610987578063c54e73e3146109a7578063c55dae63146109c757600080fd5b8063967cb395146108fa578063a0d41d9f1461091a578063a22cb4651461093a578063a475b5dd1461095a57600080fd5b80638da5cb5b116101dc5780638da5cb5b146108215780638f82b8c41461083f57806390aa0b0f1461085457806395d89b41146108e557600080fd5b80636ebc5601146107b757806370a08231146107d7578063715018a6146107f7578063831e60de1461080c57600080fd5b80632ed6d5e8116102fd578063518302271161029057806354214f691161025f57806354214f691461074057806355f804b31461075d5780635c975abb1461077d5780636352211e1461079757600080fd5b806351830227146106cb578063518d3e7d146106ea578063538b38851461070a578063538d89b71461072a57600080fd5b806342966c68116102cc57806342966c6814610655578063476cf536146106755780634818491e1461068b578063481c6a75146106ab57600080fd5b80632ed6d5e814610605578063375a069a1461060d5780633ccfd60b1461062d57806342842e0e1461063557600080fd5b80630c29dbae11610375578063239c70ae11610344578063239c70ae1461059c57806323b872dd146105b257806324c1173b146105d25780632db11544146105f257600080fd5b80630c29dbae146105095780630ee21e54146105295780631249ae191461055957806318160ddd1461057957600080fd5b8063081812fc116103b1578063081812fc1461047c578063081c8c44146104b4578063088a4ed0146104c9578063095ea7b3146104e957600080fd5b806301ffc9a7146103e3578063021f70ae1461041857806302329a291461043a57806306fdde031461045a575b600080fd5b3480156103ef57600080fd5b506104036103fe366004614302565b610c40565b60405190151581526020015b60405180910390f35b34801561042457600080fd5b5061043861043336600461433b565b610d25565b005b34801561044657600080fd5b50610438610455366004614364565b610dc7565b34801561046657600080fd5b5061046f610e52565b60405161040f91906143f7565b34801561048857600080fd5b5061049c61049736600461440a565b610ee4565b6040516001600160a01b03909116815260200161040f565b3480156104c057600080fd5b5061046f610f41565b3480156104d557600080fd5b506104386104e436600461440a565b610fcf565b3480156104f557600080fd5b50610438610504366004614423565b61102e565b34801561051557600080fd5b5061043861052436600461444d565b61111c565b34801561053557600080fd5b5061040361054436600461433b565b600e6020526000908152604090205460ff1681565b34801561056557600080fd5b50600c5461049c906001600160a01b031681565b34801561058557600080fd5b50600154600054035b60405190815260200161040f565b3480156105a857600080fd5b5061058e60135481565b3480156105be57600080fd5b506104386105cd366004614477565b6111bd565b3480156105de57600080fd5b5061049c6105ed36600461440a565b6111cd565b61043861060036600461440a565b6111f7565b610438611523565b34801561061957600080fd5b5061043861062836600461440a565b61163c565b610438611732565b34801561064157600080fd5b50610438610650366004614477565b6117a6565b34801561066157600080fd5b5061043861067036600461440a565b6117c1565b34801561068157600080fd5b5061058e600b5481565b34801561069757600080fd5b506104386106a636600461433b565b611846565b3480156106b757600080fd5b5060095461049c906001600160a01b031681565b3480156106d757600080fd5b5060185461040390610100900460ff1681565b3480156106f657600080fd5b50610438610705366004614423565b611958565b34801561071657600080fd5b5061043861072536600461440a565b611a0b565b34801561073657600080fd5b5061058e60195481565b34801561074c57600080fd5b50601854610100900460ff16610403565b34801561076957600080fd5b506104386107783660046144b3565b611af3565b34801561078957600080fd5b506018546104039060ff1681565b3480156107a357600080fd5b5061049c6107b236600461440a565b611b59565b3480156107c357600080fd5b506104386107d2366004614525565b611b64565b3480156107e357600080fd5b5061058e6107f236600461433b565b611bf5565b34801561080357600080fd5b50610438611c57565b34801561081857600080fd5b5061058e611cbd565b34801561082d57600080fd5b506008546001600160a01b031661049c565b34801561084b57600080fd5b5060165461058e565b34801561086057600080fd5b506010546108ad9063ffffffff8082169164010000000081049091169067ffffffffffffffff68010000000000000000820481169170010000000000000000000000000000000090041684565b6040805163ffffffff958616815294909316602085015267ffffffffffffffff9182169284019290925216606082015260800161040f565b3480156108f157600080fd5b5061046f611d16565b34801561090657600080fd5b5061043861091536600461444d565b611d25565b34801561092657600080fd5b5061043861093536600461465a565b611dce565b34801561094657600080fd5b50610438610955366004614725565b611f1a565b34801561096657600080fd5b50610438611fe6565b34801561097b57600080fd5b5060185460ff16610403565b34801561099357600080fd5b506104386109a23660046147d8565b61206e565b3480156109b357600080fd5b506104386109c2366004614364565b6120d1565b3480156109d357600080fd5b5060155461049c906001600160a01b031681565b3480156109f357600080fd5b5061046f610a0236600461440a565b612163565b348015610a1357600080fd5b50610438610a2236600461433b565b6122a6565b610438610a3536600461440a565b61246b565b348015610a4657600080fd5b50610a5a610a55366004614854565b61270d565b6040805193845260208401929092529082015260600161040f565b348015610a8157600080fd5b5061058e610a9036600461433b565b6001600160a01b031660009081526017602052604090205490565b348015610ab757600080fd5b50610438610ac636600461440a565b612b37565b348015610ad757600080fd5b50610438610ae636600461433b565b612be9565b348015610af757600080fd5b5061058e60125481565b348015610b0d57600080fd5b5061058e610b1c36600461433b565b612cfb565b348015610b2d57600080fd5b50610403610b3c3660046148be565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610b7657600080fd5b50600a5461049c906001600160a01b031681565b348015610b9657600080fd5b5061058e60145481565b348015610bac57600080fd5b50610438610bbb36600461433b565b612d26565b348015610bcc57600080fd5b50610438610bdb3660046148f1565b612f0d565b348015610bec57600080fd5b50610438610bfb36600461433b565b612f7a565b348015610c0c57600080fd5b50610438610c1b36600461433b565b613059565b348015610c2c57600080fd5b506018546104039062010000900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161480610cd357507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610d1f57507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6008546001600160a01b03163314610d845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116600090815260176020526040902054601654610daa9190614969565b6016556001600160a01b0316600090815260176020526040812055565b6008546001600160a01b03163314610e215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b601880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b606060028054610e6190614980565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8d90614980565b8015610eda5780601f10610eaf57610100808354040283529160200191610eda565b820191906000526020600020905b815481529060010190602001808311610ebd57829003601f168201915b5050505050905090565b6000610eef8261316b565b610f25576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60118054610f4e90614980565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7a90614980565b8015610fc75780601f10610f9c57610100808354040283529160200191610fc7565b820191906000526020600020905b815481529060010190602001808311610faa57829003601f168201915b505050505081565b6008546001600160a01b031633146110295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b601355565b6000611039826131ab565b9050336001600160a01b038216146110a8576001600160a01b038116600090815260076020908152604080832033845290915290205460ff166110a8576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146111765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6010805467ffffffffffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff909216919091179055565b6111c8838383613262565b505050565b600d81815481106111dd57600080fd5b6000918252602090912001546001600160a01b0316905081565b60006112066001546000540390565b905060145482111561127f5760405162461bcd60e51b8152602060048201526024808201527f4d696e7420616d6f756e742063616e6e6f74206578636565642031302070657260448201527f2054782e000000000000000000000000000000000000000000000000000000006064820152608401610d7b565b6010546000906112a690849068010000000000000000900467ffffffffffffffff166149d3565b60185490915060ff16156113225760405162461bcd60e51b815260206004820152603360248201527f5075626c6963206d696e7420617265206c617a792c2063616c6c20746865206b60448201527f696e6720746f2077616b65207468656d207570000000000000000000000000006064820152608401610d7b565b60185462010000900460ff16156113a15760405162461bcd60e51b815260206004820152602e60248201527f5075626c6963206d696e7420697320706175736564207768696c65205072657360448201527f616c65206973206163746976652e0000000000000000000000000000000000006064820152608401610d7b565b600083116113f15760405162461bcd60e51b815260206004820152601060248201527f4d696e7420616d6f756e742069732030000000000000000000000000000000006044820152606401610d7b565b6013548311156114435760405162461bcd60e51b815260206004820152600660248201527f6d617820352000000000000000000000000000000000000000000000000000006044820152606401610d7b565b6012546114508484614a10565b111561149e5760405162461bcd60e51b815260206004820152600d60248201527f456e64206f6620737570706c79000000000000000000000000000000000000006044820152606401610d7b565b601354836114ab33611bf5565b6114b59190614a10565b11156115035760405162461bcd60e51b815260206004820152601a60248201527f596f7572204e4654732063616e2774206265206f7665722035200000000000006044820152606401610d7b565b601554611519906001600160a01b0316826134d4565b6111c833846135c1565b6015546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611585573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a99190614a28565b6015546040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015611614573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116389190614a41565b5050565b6008546001600160a01b031633146116965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b60006116a56001546000540390565b6012549091506116b58383614a10565b11156117285760405162461bcd60e51b8152602060048201526024808201527f546f74616c20737570706c792063616e6e6f7420657863656564206d6178537560448201527f70706c79000000000000000000000000000000000000000000000000000000006064820152608401610d7b565b61163833836135c1565b60006117466008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611790576040519150601f19603f3d011682016040523d82523d6000602084013e611795565b606091505b50509050806117a357600080fd5b50565b6111c88383836040518060200160405280600081525061206e565b336117cb82611b59565b6001600160a01b0316146118215760405162461bcd60e51b815260206004820152601360248201527f6f6e6c79206f776e65722063616e206275726e000000000000000000000000006044820152606401610d7b565b60006118306001546000540390565b905061183c81336135db565b5061163882613824565b6008546001600160a01b031633146118a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b0381166118f65760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610d7b565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517feb8332b7b4e44b831bd223e7f5a9367ea8e9731d627314cbd8414aaaa3e7e1c390600090a250565b6008546001600160a01b031633146119b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b0382166000908152601760205260409020546016546119d89190614969565b60169081556001600160a01b038316600090815260176020526040902082905554611a04908290614a10565b6016555050565b6008546001600160a01b03163314611a655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b62030d408110611ab75760405162461bcd60e51b815260206004820152601460248201527f77726f6e6720726564656d7074696f6e206665650000000000000000000000006044820152606401610d7b565b600b8190556040518181527f9f15f2cac6afae28110bcd8afd2558e8da73b49548d04cc51e8b36f63af8c35c906020015b60405180910390a150565b6008546001600160a01b03163314611b4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6111c8601a83836141a9565b6000610d1f826131ab565b6008546001600160a01b03163314611bbe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff92909216919091179055565b600081600003611c31576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314611cb15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b611cbb600061382f565b565b60185460009062010000900460ff1615611cf65750601054700100000000000000000000000000000000900467ffffffffffffffff1690565b5060105468010000000000000000900467ffffffffffffffff1690565b90565b606060038054610e6190614980565b6008546001600160a01b03163314611d7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6010805467ffffffffffffffff909216700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b03163314611e285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b8051825114611e9f5760405162461bcd60e51b815260206004820152602860248201527f61646472657373657320646f6573206e6f74206d61746368206e756d536c6f7460448201527f73206c656e6774680000000000000000000000000000000000000000000000006064820152608401610d7b565b60005b82518110156111c857818181518110611ebd57611ebd614a5e565b602002602001015160176000858481518110611edb57611edb614a5e565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611f1290614a8d565b915050611ea2565b336001600160a01b03831603611f5c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146120405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b601880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b612079848484613262565b6001600160a01b0383163b156120cb5761209584848484613899565b6120cb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6008546001600160a01b0316331461212b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6018805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b606061216e8261316b565b6121a4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601854610100900460ff16151560000361224a57601180546121c590614980565b80601f01602080910402602001604051908101604052809291908181526020018280546121f190614980565b801561223e5780601f106122135761010080835404028352916020019161223e565b820191906000526020600020905b81548152906001019060200180831161222157829003601f168201915b50505050509050919050565b6000612254613a06565b90508051600003612274576040518060200160405280600081525061229f565b8061227e84613a15565b60405160200161228f929190614ac5565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146123005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b0381166123565760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610d7b565b6001600160a01b0381166000908152600e6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b600d5481101561243157816001600160a01b0316600d82815481106123bc576123bc614a5e565b6000918252602090912001546001600160a01b03160361241f57600d81815481106123e9576123e9614a5e565b600091825260209091200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055612431565b8061242981614a8d565b915050612395565b506040516001600160a01b03821681527fd89d2ee68ab04dca0193f48a4aff55e20fa5ec0429a8a8c1c51b8dad6178a59390602001611ae8565b600061247a6001546000540390565b6010549091506000906124ac908490700100000000000000000000000000000000900467ffffffffffffffff166149d3565b60185490915060ff16156125025760405162461bcd60e51b815260206004820152601360248201527f4d696e74206973206e6f74206163746976652e000000000000000000000000006044820152606401610d7b565b600083116125525760405162461bcd60e51b815260206004820152601a60248201527f4d696e7420616d6f756e742063616e6e6f74206265207a65726f0000000000006044820152606401610d7b565b60125461255f8484614a10565b11156125d25760405162461bcd60e51b8152602060048201526024808201527f546f74616c20737570706c792063616e6e6f7420657863656564206d6178537560448201527f70706c79000000000000000000000000000000000000000000000000000000006064820152608401610d7b565b60185462010000900460ff1661262a5760405162461bcd60e51b815260206004820152601660248201527f50726573616c65206973206e6f74206163746976652e000000000000000000006044820152606401610d7b565b336000908152601760205260409020548311156126af5760405162461bcd60e51b815260206004820152602960248201527f434c3a20466976652063617473206d617820706572206164647265737320696e60448201527f204361746c6973742e00000000000000000000000000000000000000000000006064820152608401610d7b565b6015546126c5906001600160a01b0316826134d4565b60015b8381116120cb576126da3360016135c1565b3360009081526017602052604081208054916126f583614af4565b9190505550808061270590614a8d565b9150506126c8565b60008080336127246008546001600160a01b031690565b6001600160a01b0316148061274357506009546001600160a01b031633145b6127b55760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c79206f776e6572206f72206d616e616765722063616e2074726967676560448201527f7220746869732066756e6374696f6e00000000000000000000000000000000006064820152608401610d7b565b87158015906127c357508615155b61280f5760405162461bcd60e51b815260206004820152601260248201527f616d6f756e74732063616e2774206265203000000000000000000000000000006044820152606401610d7b565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152600060248301528b169063095ea7b3906044016020604051808303816000875af1158015612877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289b9190614a41565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018a90528b169063095ea7b3906044016020604051808303816000875af1158015612904573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129289190614a41565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152600060248301528a169063095ea7b3906044016020604051808303816000875af1158015612991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129b59190614a41565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018990528a169063095ea7b3906044016020604051808303816000875af1158015612a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a429190614a41565b50600080806001600160a01b03871663e8e337008e8e8e8e8e8e30612a6961025842614a10565b60405160e08a901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b039889166004820152968816602488015260448701959095526064860193909352608485019190915260a484015290921660c482015260e4810191909152610104016060604051808303816000875af1158015612afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b219190614b29565b919f909e50909c509a5050505050505050505050565b6008546001600160a01b03163314612b915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b62030d40811115612be45760405162461bcd60e51b815260206004820152600760248201527f746f6f20626967000000000000000000000000000000000000000000000000006044820152606401610d7b565b601955565b6008546001600160a01b03163314612c435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b038116612c995760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610d7b565b600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f198db6e425fb8aafd1823c6ca50be2d51e5764571a5ae0f0f21c6812e45def0b90600090a250565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610d1f565b33612d396008546001600160a01b031690565b6001600160a01b03161480612d5857506009546001600160a01b031633145b612dca5760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c79206f776e6572206f72206d616e616765722063616e2074726967676560448201527f7220746869732066756e6374696f6e00000000000000000000000000000000006064820152608401610d7b565b6001600160a01b038116612e205760405162461bcd60e51b815260206004820152600d60248201527f696e76616c696420746f6b656e000000000000000000000000000000000000006044820152606401610d7b565b6001600160a01b0381166000908152600e6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055612e6c600d82613a82565b612ed457600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790555b6040516001600160a01b03821681527f7db05e63d635a68c62fd7fd8f3107ae8ab584a383e102d1bd8a40f4c977e465f90602001611ae8565b6008546001600160a01b03163314612f675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b805161163890601190602084019061424b565b6008546001600160a01b03163314612fd45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b0381166130505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d7b565b6117a38161382f565b6008546001600160a01b031633146130b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d7b565b6001600160a01b0381166131095760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610d7b565b600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517fa2390cf97e198040cec63fc27b3eab4a70e70f1b8f94402a7cdfd6f95f660a2490600090a250565b6000805482108015610d1f5750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b60008160005481101561323057600081815260046020526040812054907c01000000000000000000000000000000000000000000000000000000008216900361322e575b8060000361229f57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600460205260409020546131ef565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061326d826131ab565b9050836001600160a01b0316816001600160a01b0316146132ba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600660205260408120546001600160a01b039081169190861633148061330857506001600160a01b038616600090815260076020908152604080832033845290915290205460ff165b8061331b57506001600160a01b03821633145b905080613354576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8460000361338e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81156133c957600084815260066020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b6001600160a01b03868116600090815260056020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055928816825282822080546001019055868252600490529081207c02000000000000000000000000000000000000000000000000000000004260a01b881781179091558416900361348b576001840160008181526004602052604081205490036134895760005481146134895760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6015546040517f70a082310000000000000000000000000000000000000000000000000000000081523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015613536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061355a9190614a28565b9050818110156135ac5760405162461bcd60e51b815260206004820152601860248201527f4e65656420746f2068617665206d6f72652045524332302e00000000000000006044820152606401610d7b565b6111c86001600160a01b038416333085613aeb565b611638828260405180602001604052806000815250613bba565b6000805b600d5481101561381a5760006001600160a01b0316600d828154811061360757613607614a5e565b6000918252602090912001546001600160a01b03161461380857600d818154811061363457613634614a5e565b6000918252602090912001546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa9250505080156136d8575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136d591810190614a28565b60015b613715576136e4614b57565b806308c379a00361370957506136f8614b72565b80613703575061370b565b50613808565b505b3d6000803e3d6000fd5b60006137218287613c40565b90506000613747600b54613741620f424085613c4090919063ffffffff16565b90613c4c565b9050613786866137578484613c58565b600d878154811061376a5761376a614a5e565b6000918252602090912001546001600160a01b03169190613c64565b7f753fa485a7db01b79a5bf240795c914378b8fb5fcb2a848f2acd51aa6804adbf600d85815481106137ba576137ba614a5e565b6000918252602090912001546001600160a01b03166137d98484613c58565b604080516001600160a01b03938416815260208101929092529189168183015290519081900360600190a15050505b8061381281614a8d565b9150506135df565b5060019392505050565b6117a3816000613cad565b600880546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906138e7903390899088908890600401614c1a565b6020604051808303816000875af1925050508015613940575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261393d91810190614c56565b60015b6139b7573d80801561396e576040519150601f19603f3d011682016040523d82523d6000602084013e613973565b606091505b5080516000036139af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6060601a8054610e6190614980565b604080516080810191829052607f0190826030600a8206018353600a90045b8015613a5257600183039250600a81066030018353600a9004613a34565b508190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909101908152919050565b6000805b8354811015613ae157826001600160a01b0316848281548110613aab57613aab614a5e565b6000918252602090912001546001600160a01b031603613acf576001915050610d1f565b80613ad981614a8d565b915050613a86565b5060009392505050565b6040516001600160a01b03808516602483015283166044820152606481018290526120cb9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613ea5565b613bc48383613f8a565b6001600160a01b0383163b156111c8576000548281035b613bee6000868380600101945086613899565b613c24576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613bdb578160005414613c3957600080fd5b5050505050565b600061229f8284614c73565b600061229f82846149d3565b600061229f8284614969565b6040516001600160a01b0383166024820152604481018290526111c89084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401613b38565b6000613cb8836131ab565b60008481526006602052604090205490915081906001600160a01b03168315613d65576000336001600160a01b0384161480613d1757506001600160a01b038316600090815260076020908152604080832033845290915290205460ff165b80613d2a57506001600160a01b03821633145b905080613d63576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b8015613da057600085815260066020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b6001600160a01b038216600090815260056020908152604080832080546fffffffffffffffffffffffffffffffff019055878352600490915281207c03000000000000000000000000000000000000000000000000000000004260a01b85171790557c020000000000000000000000000000000000000000000000000000000084169003613e5e57600185016000818152600460205260408120549003613e5c576000548114613e5c5760008181526004602052604090208490555b505b60405185906000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a450506001805481019055505050565b6000613efa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166140959092919063ffffffff16565b8051909150156111c85780806020019051810190613f189190614a41565b6111c85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610d7b565b60005482600003613fc7576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600003614001576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915281204260a01b85176001851460e11b1790555b60405160018201918301906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a482811061404857500160005550565b60606139fe8484600085856001600160a01b0385163b6140f75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d7b565b600080866001600160a01b031685876040516141139190614cae565b60006040518083038185875af1925050503d8060008114614150576040519150601f19603f3d011682016040523d82523d6000602084013e614155565b606091505b5091509150614165828286614170565b979650505050505050565b6060831561417f57508161229f565b82511561418f5782518084602001fd5b8160405162461bcd60e51b8152600401610d7b91906143f7565b8280546141b590614980565b90600052602060002090601f0160209004810192826141d7576000855561423b565b82601f1061420e578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561423b565b8280016001018555821561423b579182015b8281111561423b578235825591602001919060010190614220565b506142479291506142bf565b5090565b82805461425790614980565b90600052602060002090601f016020900481019282614279576000855561423b565b82601f1061429257805160ff191683800117855561423b565b8280016001018555821561423b579182015b8281111561423b5782518255916020019190600101906142a4565b5b8082111561424757600081556001016142c0565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146117a357600080fd5b60006020828403121561431457600080fd5b813561229f816142d4565b80356001600160a01b038116811461433657600080fd5b919050565b60006020828403121561434d57600080fd5b61229f8261431f565b80151581146117a357600080fd5b60006020828403121561437657600080fd5b813561229f81614356565b60005b8381101561439c578181015183820152602001614384565b838111156120cb5750506000910152565b600081518084526143c5816020860160208601614381565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061229f60208301846143ad565b60006020828403121561441c57600080fd5b5035919050565b6000806040838503121561443657600080fd5b61443f8361431f565b946020939093013593505050565b60006020828403121561445f57600080fd5b813567ffffffffffffffff8116811461229f57600080fd5b60008060006060848603121561448c57600080fd5b6144958461431f565b92506144a36020850161431f565b9150604084013590509250925092565b600080602083850312156144c657600080fd5b823567ffffffffffffffff808211156144de57600080fd5b818501915085601f8301126144f257600080fd5b81358181111561450157600080fd5b86602082850101111561451357600080fd5b60209290920196919550909350505050565b60006020828403121561453757600080fd5b813563ffffffff8116811461229f57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156145be576145be61454b565b6040525050565b600067ffffffffffffffff8211156145df576145df61454b565b5060051b60200190565b600082601f8301126145fa57600080fd5b81356020614607826145c5565b604051614614828261457a565b83815260059390931b850182019282810191508684111561463457600080fd5b8286015b8481101561464f5780358352918301918301614638565b509695505050505050565b6000806040838503121561466d57600080fd5b823567ffffffffffffffff8082111561468557600080fd5b818501915085601f83011261469957600080fd5b813560206146a6826145c5565b6040516146b3828261457a565b83815260059390931b85018201928281019150898411156146d357600080fd5b948201945b838610156146f8576146e98661431f565b825294820194908201906146d8565b9650508601359250508082111561470e57600080fd5b5061471b858286016145e9565b9150509250929050565b6000806040838503121561473857600080fd5b6147418361431f565b9150602083013561475181614356565b809150509250929050565b600067ffffffffffffffff8311156147765761477661454b565b6040516147ab60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f870116018261457a565b8091508381528484840111156147c057600080fd5b83836020830137600060208583010152509392505050565b600080600080608085870312156147ee57600080fd5b6147f78561431f565b93506148056020860161431f565b925060408501359150606085013567ffffffffffffffff81111561482857600080fd5b8501601f8101871361483957600080fd5b6148488782356020840161475c565b91505092959194509250565b600080600080600080600060e0888a03121561486f57600080fd5b6148788861431f565b96506148866020890161431f565b955060408801359450606088013593506080880135925060a088013591506148b060c0890161431f565b905092959891949750929550565b600080604083850312156148d157600080fd5b6148da8361431f565b91506148e86020840161431f565b90509250929050565b60006020828403121561490357600080fd5b813567ffffffffffffffff81111561491a57600080fd5b8201601f8101841361492b57600080fd5b6139fe8482356020840161475c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561497b5761497b61493a565b500390565b600181811c9082168061499457607f821691505b6020821081036149cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a0b57614a0b61493a565b500290565b60008219821115614a2357614a2361493a565b500190565b600060208284031215614a3a57600080fd5b5051919050565b600060208284031215614a5357600080fd5b815161229f81614356565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614abe57614abe61493a565b5060010190565b60008351614ad7818460208801614381565b835190830190614aeb818360208801614381565b01949350505050565b600081614b0357614b0361493a565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600080600060608486031215614b3e57600080fd5b8351925060208401519150604084015190509250925092565b600060033d1115611d135760046000803e5060005160e01c90565b600060443d1015614b805790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715614bce57505050505090565b8285019150815181811115614be65750505050505090565b843d8701016020828501011115614c005750505050505090565b614c0f6020828601018761457a565b509095945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614c4c60808301846143ad565b9695505050505050565b600060208284031215614c6857600080fd5b815161229f816142d4565b600082614ca9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60008251614cc0818460208701614381565b919091019291505056fea2646970667358221220efb3b3ede5a2883b14da0e0e13f0796c74e70a6b82454a5843ff983cbc549e4c64736f6c634300080d00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b750000000000000000000000000000000000000000000000000000000000000002414100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024242000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f73322e636f696e6d61726b65746361702e636f6d2f7374617469632f696d672f636f696e732f36347836342f31323838352e706e67000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b750000000000000000000000000000000000000000000000000000000000000002414100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024242000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f73322e636f696e6d61726b65746361702e636f6d2f7374617469632f696d672f636f696e732f36347836342f31323838352e706e67000000
-----Decoded View---------------
Arg [0] : _name (string): AA
Arg [1] : _symbol (string): BB
Arg [2] : _initNotRevealedUri (string): https://s2.coinmarketcap.com/static/img/coins/64x64/12885.png
Arg [3] : _baseToken (address): 0x04068da6c83afcfa0e13ba15a6696662335d5b75
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b75
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 4141000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 4242000000000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000003d
Arg [9] : 68747470733a2f2f73322e636f696e6d61726b65746361702e636f6d2f737461
Arg [10] : 7469632f696d672f636f696e732f36347836342f31323838352e706e67000000
Deployed ByteCode Sourcemap
91906:15001:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51922:615;;;;;;;;;;-1:-1:-1;51922:615:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;51922:615:0;;;;;;;;105330:160;;;;;;;;;;-1:-1:-1;105330:160:0;;;;;:::i;:::-;;:::i;:::-;;102963:79;;;;;;;;;;-1:-1:-1;102963:79:0;;;;;:::i;:::-;;:::i;56958:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58967:204::-;;;;;;;;;;-1:-1:-1;58967:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2558:55:1;;;2540:74;;2528:2;2513:18;58967:204:0;2394:226:1;92410:28:0;;;;;;;;;;;;;:::i;102833:122::-;;;;;;;;;;-1:-1:-1;102833:122:0;;;;;:::i;:::-;;:::i;58486:415::-;;;;;;;;;;-1:-1:-1;58486:415:0;;;;;:::i;:::-;;:::i;102486:102::-;;;;;;;;;;-1:-1:-1;102486:102:0;;;;;:::i;:::-;;:::i;83657:44::-;;;;;;;;;;-1:-1:-1;83657:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;83588:25;;;;;;;;;;-1:-1:-1;83588:25:0;;;;-1:-1:-1;;;;;83588:25:0;;;50976:315;;;;;;;;;;-1:-1:-1;51242:12:0;;51029:7;51226:13;:28;50976:315;;;3319:25:1;;;3307:2;3292:18;50976:315:0;3173:177:1;92484:32:0;;;;;;;;;;;;;;;;59853:170;;;;;;;;;;-1:-1:-1;59853:170:0;;;;;:::i;:::-;;:::i;83622:28::-;;;;;;;;;;-1:-1:-1;83622:28:0;;;;;:::i;:::-;;:::i;96298:1232::-;;;;;;:::i;:::-;;:::i;101951:230::-;;;:::i;95998:270::-;;;;;;;;;;-1:-1:-1;95998:270:0;;;;;:::i;:::-;;:::i;101796:147::-;;;:::i;60094:185::-;;;;;;;;;;-1:-1:-1;60094:185:0;;;;;:::i;:::-;;:::i;100859:850::-;;;;;;;;;;-1:-1:-1;100859:850:0;;;;;:::i;:::-;;:::i;83549:30::-;;;;;;;;;;;;;;;;84722:186;;;;;;;;;;-1:-1:-1;84722:186:0;;;;;:::i;:::-;;:::i;83492:22::-;;;;;;;;;;-1:-1:-1;83492:22:0;;;;-1:-1:-1;;;;;83492:22:0;;;92750:28;;;;;;;;;;-1:-1:-1;92750:28:0;;;;;;;;;;;105498:230;;;;;;;;;;-1:-1:-1;105498:230:0;;;;;:::i;:::-;;:::i;84916:207::-;;;;;;;;;;-1:-1:-1;84916:207:0;;;;;:::i;:::-;;:::i;92953:32::-;;;;;;;;;;;;;;;;94862:83;;;;;;;;;;-1:-1:-1;94929:8:0;;;;;;;94862:83;;103576:106;;;;;;;;;;-1:-1:-1;103576:106:0;;;;;:::i;:::-;;:::i;92718:25::-;;;;;;;;;;-1:-1:-1;92718:25:0;;;;;;;;56747:144;;;;;;;;;;-1:-1:-1;56747:144:0;;;;;:::i;:::-;;:::i;93374:132::-;;;;;;;;;;-1:-1:-1;93374:132:0;;;;;:::i;:::-;;:::i;52601:234::-;;;;;;;;;;-1:-1:-1;52601:234:0;;;;;:::i;:::-;;:::i;77480:103::-;;;;;;;;;;;;;:::i;102619:206::-;;;;;;;;;;;;;:::i;76829:87::-;;;;;;;;;;-1:-1:-1;76902:6:0;;-1:-1:-1;;;;;76902:6:0;76829:87;;106347:99;;;;;;;;;;-1:-1:-1;106424:14:0;;106347:99;;92334:28;;;;;;;;;;-1:-1:-1;92334:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4799:10:1;4836:15;;;4818:34;;4888:15;;;;4883:2;4868:18;;4861:43;4923:18;4977:15;;;4957:18;;;4950:43;;;;5029:15;5024:2;5009:18;;5002:43;4776:3;4761:19;92334:28:0;4566:485:1;57127:104:0;;;;;;;;;;;;;:::i;102351:::-;;;;;;;;;;-1:-1:-1;102351:104:0;;;;;:::i;:::-;;:::i;105967:372::-;;;;;;;;;;-1:-1:-1;105967:372:0;;;;;:::i;:::-;;:::i;59243:308::-;;;;;;;;;;-1:-1:-1;59243:308:0;;;;;:::i;:::-;;:::i;94785:69::-;;;;;;;;;;;;;:::i;103050:79::-;;;;;;;;;;-1:-1:-1;103115:6:0;;;;103050:79;;60350:396;;;;;;;;;;-1:-1:-1;60350:396:0;;;;;:::i;:::-;;:::i;102234:85::-;;;;;;;;;;-1:-1:-1;102234:85:0;;;;;:::i;:::-;;:::i;92576:24::-;;;;;;;;;;-1:-1:-1;92576:24:0;;;;-1:-1:-1;;;;;92576:24:0;;;104280:865;;;;;;;;;;-1:-1:-1;104280:865:0;;;;;:::i;:::-;;:::i;85507:598::-;;;;;;;;;;-1:-1:-1;85507:598:0;;;;;:::i;:::-;;:::i;97559:820::-;;;;;;:::i;:::-;;:::i;86831:1066::-;;;;;;;;;;-1:-1:-1;86831:1066:0;;;;;:::i;:::-;;:::i;:::-;;;;10028:25:1;;;10084:2;10069:18;;10062:34;;;;10112:18;;;10105:34;10016:2;10001:18;86831:1066:0;9826:319:1;105172:150:0;;;;;;;;;;-1:-1:-1;105172:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;105298:16:0;105266:7;105298:16;;;:9;:16;;;;;;;105172:150;100701;;;;;;;;;;-1:-1:-1;100701:150:0;;;;;:::i;:::-;;:::i;84341:175::-;;;;;;;;;;-1:-1:-1;84341:175:0;;;;;:::i;:::-;;:::i;92445:32::-;;;;;;;;;;;;;;;;106595:113;;;;;;;;;;-1:-1:-1;106595:113:0;;;;;:::i;:::-;;:::i;59622:164::-;;;;;;;;;;-1:-1:-1;59622:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;59743:25:0;;;59719:4;59743:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;59622:164;83521:21;;;;;;;;;;-1:-1:-1;83521:21:0;;;;-1:-1:-1;;;;;83521:21:0;;;92523:34;;;;;;;;;;;;;;;;85157:315;;;;;;;;;;-1:-1:-1;85157:315:0;;;;;:::i;:::-;;:::i;94651:126::-;;;;;;;;;;-1:-1:-1;94651:126:0;;;;;:::i;:::-;;:::i;77738:201::-;;;;;;;;;;-1:-1:-1;77738:201:0;;;;;:::i;:::-;;:::i;84524:190::-;;;;;;;;;;-1:-1:-1;84524:190:0;;;;;:::i;:::-;;:::i;92785:26::-;;;;;;;;;;-1:-1:-1;92785:26:0;;;;;;;;;;;51922:615;52007:4;52307:25;;;;;;:102;;-1:-1:-1;52384:25:0;;;;;52307:102;:179;;;-1:-1:-1;52461:25:0;;;;;52307:179;52287:199;51922:615;-1:-1:-1;;51922:615:0:o;105330:160::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;;;;;;;;;-1:-1:-1;;;;;105432:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;;105415:14:::1;::::0;:32:::1;::::0;105432:15;105415:32:::1;:::i;:::-;105398:14;:49:::0;-1:-1:-1;;;;;105466:15:0::1;;::::0;;;:9:::1;:15;::::0;;;;105458:24;105330:160::o;102963:79::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;103019:6:::1;:15:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;102963:79::o;56958:100::-;57012:13;57045:5;57038:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56958:100;:::o;58967:204::-;59035:7;59060:16;59068:7;59060;:16::i;:::-;59055:64;;59085:34;;;;;;;;;;;;;;59055:64;-1:-1:-1;59139:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;59139:24:0;;58967:204::o;92410:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;102833:122::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;102914:13:::1;:33:::0;102833:122::o;58486:415::-;58559:13;58591:27;58610:7;58591:18;:27::i;:::-;58559:61;-1:-1:-1;4236:10:0;-1:-1:-1;;;;;58637:28:0;;;58633:175;;-1:-1:-1;;;;;59743:25:0;;59719:4;59743:25;;;:18;:25;;;;;;;;4236:10;59743:35;;;;;;;;;;58680:128;;58757:35;;;;;;;;;;;;;;58680:128;58820:24;;;;:15;:24;;;;;;:29;;;;-1:-1:-1;;;;;58820:29:0;;;;;;;;;58865:28;;58820:24;;58865:28;;;;;;;58548:353;58486:415;;:::o;102486:102::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;102551:10:::1;:29:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;102486:102::o;59853:170::-;59987:28;59997:4;60003:2;60007:7;59987:9;:28::i;:::-;59853:170;;;:::o;83622:28::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;83622:28:0;;-1:-1:-1;83622:28:0;:::o;96298:1232::-;96362:14;96379:13;51242:12;;51029:7;51226:13;:28;;50976:315;96379:13;96362:30;;96437:14;;96425:8;:26;;96403:112;;;;-1:-1:-1;;;96403:112:0;;12194:2:1;96403:112:0;;;12176:21:1;12233:2;12213:18;;;12206:30;12272:34;12252:18;;;12245:62;12343:6;12323:18;;;12316:34;12367:19;;96403:112:0;11992:400:1;96403:112:0;96541:10;:22;96526:12;;96541:33;;96566:8;;96541:22;;;;;:33;:::i;:::-;96645:6;;96526:48;;-1:-1:-1;96645:6:0;;96644:7;96636:71;;;;-1:-1:-1;;;96636:71:0;;12832:2:1;96636:71:0;;;12814:21:1;12871:2;12851:18;;;12844:30;12910:34;12890:18;;;12883:62;12981:21;12961:18;;;12954:49;13020:19;;96636:71:0;12630:415:1;96636:71:0;96727:7;;;;;;;96726:8;96718:67;;;;-1:-1:-1;;;96718:67:0;;13252:2:1;96718:67:0;;;13234:21:1;13291:2;13271:18;;;13264:30;13330:34;13310:18;;;13303:62;13401:16;13381:18;;;13374:44;13435:19;;96718:67:0;13050:410:1;96718:67:0;96815:1;96804:8;:12;96796:41;;;;-1:-1:-1;;;96796:41:0;;13667:2:1;96796:41:0;;;13649:21:1;13706:2;13686:18;;;13679:30;13745:18;13725;;;13718:46;13781:18;;96796:41:0;13465:340:1;96796:41:0;96868:13;;96856:8;:25;;96848:44;;;;-1:-1:-1;;;96848:44:0;;14012:2:1;96848:44:0;;;13994:21:1;14051:1;14031:18;;;14024:29;14089:8;14069:18;;;14062:36;14115:18;;96848:44:0;13810:329:1;96848:44:0;96932:9;;96911:17;96920:8;96911:6;:17;:::i;:::-;:30;;96903:56;;;;-1:-1:-1;;;96903:56:0;;14479:2:1;96903:56:0;;;14461:21:1;14518:2;14498:18;;;14491:30;14557:15;14537:18;;;14530:43;14590:18;;96903:56:0;14277:337:1;96903:56:0;97024:13;;97012:8;96988:21;96998:10;96988:9;:21::i;:::-;:32;;;;:::i;:::-;:49;;96980:88;;;;-1:-1:-1;;;96980:88:0;;14821:2:1;96980:88:0;;;14803:21:1;14860:2;14840:18;;;14833:30;14899:28;14879:18;;;14872:56;14945:18;;96980:88:0;14619:350:1;96980:88:0;97345:9;;97334:27;;-1:-1:-1;;;;;97345:9:0;97356:4;97334:10;:27::i;:::-;97372:31;97382:10;97394:8;97372:9;:31::i;101951:230::-;102023:9;;102016:42;;;;;102052:4;102016:42;;;2540:74:1;102002:11:0;;-1:-1:-1;;;;;102023:9:0;;102016:27;;2513:18:1;;102016:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;102137:9;;102130:43;;;;;102157:10;102130:43;;;15337:74:1;15427:18;;;15420:34;;;102002:56:0;;-1:-1:-1;;;;;;102137:9:0;;102130:26;;15310:18:1;;102130:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;101991:190;101951:230::o;95998:270::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;96061:14:::1;96078:13;51242:12:::0;;51029:7;51226:13;:28;;50976:315;96078:13:::1;96145:9;::::0;96061:30;;-1:-1:-1;96124:17:0::1;96133:8:::0;96061:30;96124:17:::1;:::i;:::-;:30;;96102:116;;;::::0;-1:-1:-1;;;96102:116:0;;15917:2:1;96102:116:0::1;::::0;::::1;15899:21:1::0;15956:2;15936:18;;;15929:30;15995:34;15975:18;;;15968:62;16066:6;16046:18;;;16039:34;16090:19;;96102:116:0::1;15715:400:1::0;96102:116:0::1;96229:31;96239:10;96251:8;96229:9;:31::i;101796:147::-:0;101843:8;101865:7;76902:6;;-1:-1:-1;;;;;76902:6:0;;76829:87;101865:7;-1:-1:-1;;;;;101857:21:0;101886;101857:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101842:70;;;101931:3;101923:12;;;;;;101831:112;101796:147::o;60094:185::-;60232:39;60249:4;60255:2;60259:7;60232:39;;;;;;;;;;;;:16;:39::i;100859:850::-;101033:10;101015:16;101023:7;101015;:16::i;:::-;-1:-1:-1;;;;;101015:28:0;;101007:60;;;;-1:-1:-1;;;101007:60:0;;16532:2:1;101007:60:0;;;16514:21:1;16571:2;16551:18;;;16544:30;16610:21;16590:18;;;16583:49;16649:18;;101007:60:0;16330:343:1;101007:60:0;101088:14;101105:13;51242:12;;51029:7;51226:13;:28;;50976:315;101105:13;101088:30;;101129:33;101143:6;101151:10;101129:13;:33::i;:::-;;101687:14;101693:7;101687:5;:14::i;84722:186::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;84795:19:0;::::1;84787:47;;;::::0;-1:-1:-1;;;84787:47:0;;16880:2:1;84787:47:0::1;::::0;::::1;16862:21:1::0;16919:2;16899:18;;;16892:30;16958:17;16938:18;;;16931:45;16993:18;;84787:47:0::1;16678:339:1::0;84787:47:0::1;84843:10;:18:::0;;;::::1;-1:-1:-1::0;;;;;84843:18:0;::::1;::::0;;::::1;::::0;;;84875:25:::1;::::0;::::1;::::0;-1:-1:-1;;84875:25:0::1;84722:186:::0;:::o;105498:230::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;105617:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;;105600:14:::1;::::0;:32:::1;::::0;105617:15;105600:32:::1;:::i;:::-;105583:14;:49:::0;;;-1:-1:-1;;;;;105643:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:25;;;105696:14;:24:::1;::::0;105661:7;;105696:24:::1;:::i;:::-;105679:14;:41:::0;-1:-1:-1;;105498:230:0:o;84916:207::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;84995:6:::1;84988:4;:13;84980:46;;;::::0;-1:-1:-1;;;84980:46:0;;17224:2:1;84980:46:0::1;::::0;::::1;17206:21:1::0;17263:2;17243:18;;;17236:30;17302:22;17282:18;;;17275:50;17342:18;;84980:46:0::1;17022:344:1::0;84980:46:0::1;85052:15;:22:::0;;;85088:27:::1;::::0;3319:25:1;;;85088:27:0::1;::::0;3307:2:1;3292:18;85088:27:0::1;;;;;;;;84916:207:::0;:::o;103576:106::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;103651:23:::1;:13;103667:7:::0;;103651:23:::1;:::i;56747:144::-:0;56811:7;56854:27;56873:7;56854:18;:27::i;93374:132::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;93455:10:::1;:43:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;93374:132::o;52601:234::-;52665:7;52707:5;52717:1;52689:29;52685:70;;52727:28;;;;;;;;;;;;;;52685:70;-1:-1:-1;;;;;;52773:25:0;;;;;:18;:25;;;;;;47946:13;52773:54;;52601:234::o;77480:103::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;77545:30:::1;77572:1;77545:18;:30::i;:::-;77480:103::o:0;102619:206::-;102690:7;;102666;;102690;;;;;102686:132;;;-1:-1:-1;102721:10:0;:23;;;;;;;102619:206::o;102686:132::-;-1:-1:-1;102784:10:0;:22;;;;;;;102619:206::o;102686:132::-;102619:206;:::o;57127:104::-;57183:13;57216:7;57209:14;;;;;:::i;102351:104::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;102417:10:::1;:30:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;102351:104::o;105967:372::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;106135:8:::1;:15;106115:9;:16;:35;106097:117;;;::::0;-1:-1:-1;;;106097:117:0;;17573:2:1;106097:117:0::1;::::0;::::1;17555:21:1::0;17612:2;17592:18;;;17585:30;17651:34;17631:18;;;17624:62;17722:10;17702:18;;;17695:38;17750:19;;106097:117:0::1;17371:404:1::0;106097:117:0::1;106230:9;106225:107;106249:9;:16;106245:1;:20;106225:107;;;106309:8;106318:1;106309:11;;;;;;;;:::i;:::-;;;;;;;106283:9;:23;106293:9;106303:1;106293:12;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;106283:23:0::1;-1:-1:-1::0;;;;;106283:23:0::1;;;;;;;;;;;;:37;;;;106267:3;;;;;:::i;:::-;;;;106225:107;;59243:308:::0;4236:10;-1:-1:-1;;;;;59342:31:0;;;59338:61;;59382:17;;;;;;;;;;;;;;59338:61;4236:10;59412:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;59412:49:0;;;;;;;;;;;;:60;;;;;;;;;;;;;59488:55;;586:41:1;;;59412:49:0;;4236:10;59488:55;;559:18:1;59488:55:0;;;;;;;59243:308;;:::o;94785:69::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;94831:8:::1;:15:::0;;;::::1;;;::::0;;94785:69::o;60350:396::-;60517:28;60527:4;60533:2;60537:7;60517:9;:28::i;:::-;-1:-1:-1;;;;;60560:14:0;;;:19;60556:183;;60599:56;60630:4;60636:2;60640:7;60649:5;60599:30;:56::i;:::-;60594:145;;60683:40;;;;;;;;;;;;;;60594:145;60350:396;;;;:::o;102234:85::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;102295:7:::1;:16:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;102234:85::o;104280:865::-;104398:13;104436:16;104444:7;104436;:16::i;:::-;104431:59;;104461:29;;;;;;;;;;;;;;104431:59;104516:8;;;;;;;:17;;104528:5;104516:17;104513:70;;104557:14;104550:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104280:865;;;:::o;104513:70::-;104593:21;104617:10;:8;:10::i;:::-;104593:34;;104653:7;104647:21;104672:1;104647:26;:87;;;;;;;;;;;;;;;;;104700:7;104709:18;104719:7;104709:9;:18::i;:::-;104683:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;104647:87;104640:94;104280:865;-1:-1:-1;;;104280:865:0:o;85507:598::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;85583:20:0;::::1;85575:46;;;::::0;-1:-1:-1;;;85575:46:0;;18846:2:1;85575:46:0::1;::::0;::::1;18828:21:1::0;18885:2;18865:18;;;18858:30;18924:15;18904:18;;;18897:43;18957:18;;85575:46:0::1;18644:337:1::0;85575:46:0::1;-1:-1:-1::0;;;;;85671:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;85664:27;;;::::1;::::0;;85766:293:::1;85790:11;:18:::0;85786:22;::::1;85766:293;;;85848:6;-1:-1:-1::0;;;;;85830:24:0::1;:11;85842:1;85830:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;85830:14:0::1;:24:::0;85826:224:::1;;86006:11;86018:1;86006:14;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;85999:21:::0;;;::::1;::::0;;86033:5:::1;;85826:224;85810:3:::0;::::1;::::0;::::1;:::i;:::-;;;;85766:293;;;-1:-1:-1::0;86072:25:0::1;::::0;-1:-1:-1;;;;;2558:55:1;;2540:74;;86072:25:0::1;::::0;2528:2:1;2513:18;86072:25:0::1;2394:226:1::0;97559:820:0;97624:14;97641:13;51242:12;;51029:7;51226:13;:28;;50976:315;97641:13;97680:10;:23;97624:30;;-1:-1:-1;97665:12:0;;97680:34;;97706:8;;97680:23;;;;;:34;:::i;:::-;97783:6;;97665:49;;-1:-1:-1;97783:6:0;;97782:7;97774:39;;;;-1:-1:-1;;;97774:39:0;;19188:2:1;97774:39:0;;;19170:21:1;19227:2;19207:18;;;19200:30;19266:21;19246:18;;;19239:49;19305:18;;97774:39:0;18986:343:1;97774:39:0;97843:1;97832:8;:12;97824:51;;;;-1:-1:-1;;;97824:51:0;;19536:2:1;97824:51:0;;;19518:21:1;19575:2;19555:18;;;19548:30;19614:28;19594:18;;;19587:56;19660:18;;97824:51:0;19334:350:1;97824:51:0;97929:9;;97908:17;97917:8;97908:6;:17;:::i;:::-;:30;;97886:116;;;;-1:-1:-1;;;97886:116:0;;15917:2:1;97886:116:0;;;15899:21:1;15956:2;15936:18;;;15929:30;15995:34;15975:18;;;15968:62;16066:6;16046:18;;;16039:34;16090:19;;97886:116:0;15715:400:1;97886:116:0;98021:7;;;;;;;98013:42;;;;-1:-1:-1;;;98013:42:0;;19891:2:1;98013:42:0;;;19873:21:1;19930:2;19910:18;;;19903:30;19969:24;19949:18;;;19942:52;20011:18;;98013:42:0;19689:346:1;98013:42:0;98100:10;98090:21;;;;:9;:21;;;;;;:33;-1:-1:-1;98090:33:0;98068:124;;;;-1:-1:-1;;;98068:124:0;;20242:2:1;98068:124:0;;;20224:21:1;20281:2;20261:18;;;20254:30;20320:34;20300:18;;;20293:62;20391:11;20371:18;;;20364:39;20420:19;;98068:124:0;20040:405:1;98068:124:0;98216:9;;98205:27;;-1:-1:-1;;;;;98216:9:0;98227:4;98205:10;:27::i;:::-;98260:1;98243:129;98268:8;98263:1;:13;98243:129;;98298:24;98308:10;98320:1;98298:9;:24::i;:::-;98347:10;98337:21;;;;:9;:21;;;;;:23;;;;;;:::i;:::-;;;;;;98278:3;;;;;:::i;:::-;;;;98243:129;;86831:1066;87082:7;;;84155:10;84144:7;76902:6;;-1:-1:-1;;;;;76902:6:0;;76829:87;84144:7;-1:-1:-1;;;;;84144:21:0;;:46;;;-1:-1:-1;84169:7:0;;-1:-1:-1;;;;;84169:7:0;84180:10;84169:21;84144:46;84126:133;;;;-1:-1:-1;;;84126:133:0;;20853:2:1;84126:133:0;;;20835:21:1;20892:2;20872:18;;;20865:30;20931:34;20911:18;;;20904:62;21002:17;20982:18;;;20975:45;21037:19;;84126:133:0;20651:411:1;84126:133:0;87147:14;;;::::1;::::0;:32:::1;;-1:-1:-1::0;87165:14:0;;::::1;87147:32;87139:63;;;::::0;-1:-1:-1;;;87139:63:0;;21269:2:1;87139:63:0::1;::::0;::::1;21251:21:1::0;21308:2;21288:18;;;21281:30;21347:20;21327:18;;;21320:48;21385:18;;87139:63:0::1;21067:342:1::0;87139:63:0::1;87211:49;::::0;;;;-1:-1:-1;;;;;15355:55:1;;;87211:49:0::1;::::0;::::1;15337:74:1::0;87258:1:0::1;15427:18:1::0;;;15420:34;87211:22:0;::::1;::::0;::::1;::::0;15310:18:1;;87211:49:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;87267:57:0::1;::::0;;;;-1:-1:-1;;;;;15355:55:1;;;87267:57:0::1;::::0;::::1;15337:74:1::0;15427:18;;;15420:34;;;87267:22:0;::::1;::::0;::::1;::::0;15310:18:1;;87267:57:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;87333:49:0::1;::::0;;;;-1:-1:-1;;;;;15355:55:1;;;87333:49:0::1;::::0;::::1;15337:74:1::0;87380:1:0::1;15427:18:1::0;;;15420:34;87333:22:0;::::1;::::0;::::1;::::0;15310:18:1;;87333:49:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;87389:57:0::1;::::0;;;;-1:-1:-1;;;;;15355:55:1;;;87389:57:0::1;::::0;::::1;15337:74:1::0;15427:18;;;15420:34;;;87389:22:0;::::1;::::0;::::1;::::0;15310:18:1;;87389:57:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;87455:23:0::1;::::0;;-1:-1:-1;;;;;87589:52:0;::::1;;87652:6:::0;87669;87686:9;87706;87726;87746;87774:4:::1;87790:33;83753:10;87790:15;:33;:::i;:::-;87589:243;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;;;22146:15:1;;;87589:243:0::1;::::0;::::1;22128:34:1::0;22198:15;;;22178:18;;;22171:43;22230:18;;;22223:34;;;;22273:18;;;22266:34;;;;22316:19;;;22309:35;;;;22360:19;;;22353:35;22425:15;;;22404:19;;;22397:44;22457:19;;;22450:35;;;;22039:19;;87589:243:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;87541:291:::0;;;;-1:-1:-1;87541:291:0;;-1:-1:-1;86831:1066:0;-1:-1:-1;;;;;;;;;;;86831:1066:0:o;100701:150::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;100782:6:::1;100776:4;:12;;100768:32;;;::::0;-1:-1:-1;;;100768:32:0;;23009:2:1;100768:32:0::1;::::0;::::1;22991:21:1::0;23048:1;23028:18;;;23021:29;23086:9;23066:18;;;23059:37;23113:18;;100768:32:0::1;22807:330:1::0;100768:32:0::1;100823:13;:20:::0;100701:150::o;84341:175::-;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;84410:19:0;::::1;84402:47;;;::::0;-1:-1:-1;;;84402:47:0;;16880:2:1;84402:47:0::1;::::0;::::1;16862:21:1::0;16919:2;16899:18;;;16892:30;16958:17;16938:18;;;16931:45;16993:18;;84402:47:0::1;16678:339:1::0;84402:47:0::1;84458:7;:15:::0;;;::::1;-1:-1:-1::0;;;;;84458:15:0;::::1;::::0;;::::1;::::0;;;84487:21:::1;::::0;::::1;::::0;-1:-1:-1;;84487:21:0::1;84341:175:::0;:::o;106595:113::-;-1:-1:-1;;;;;53006:25:0;;106653:7;53006:25;;;:18;:25;;48083:2;53006:25;;;;47946:13;53006:49;;53005:80;106680:20;52917:176;85157:315;84155:10;84144:7;76902:6;;-1:-1:-1;;;;;76902:6:0;;76829:87;84144:7;-1:-1:-1;;;;;84144:21:0;;:46;;;-1:-1:-1;84169:7:0;;-1:-1:-1;;;;;84169:7:0;84180:10;84169:21;84144:46;84126:133;;;;-1:-1:-1;;;84126:133:0;;20853:2:1;84126:133:0;;;20835:21:1;20892:2;20872:18;;;20865:30;20931:34;20911:18;;;20904:62;21002:17;20982:18;;;20975:45;21037:19;;84126:133:0;20651:411:1;84126:133:0;-1:-1:-1;;;;;85258:20:0;::::1;85250:46;;;::::0;-1:-1:-1;;;85250:46:0;;18846:2:1;85250:46:0::1;::::0;::::1;18828:21:1::0;18885:2;18865:18;;;18858:30;18924:15;18904:18;;;18897:43;18957:18;;85250:46:0::1;18644:337:1::0;85250:46:0::1;-1:-1:-1::0;;;;;85307:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;:27;;;::::1;85330:4;85307:27;::::0;;85348:33:::1;85361:11;85320:6:::0;85348:12:::1;:33::i;:::-;85343:85;;85394:11;:24:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;85394:24:0;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;85394:24:0;::::1;;::::0;;85343:85:::1;85441:23;::::0;-1:-1:-1;;;;;2558:55:1;;2540:74;;85441:23:0::1;::::0;2528:2:1;2513:18;85441:23:0::1;2394:226:1::0;94651:126:0;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;94737:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;77738:201::-:0;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;77827:22:0;::::1;77819:73;;;::::0;-1:-1:-1;;;77819:73:0;;23344:2:1;77819:73:0::1;::::0;::::1;23326:21:1::0;23383:2;23363:18;;;23356:30;23422:34;23402:18;;;23395:62;23493:8;23473:18;;;23466:36;23519:19;;77819:73:0::1;23142:402:1::0;77819:73:0::1;77903:28;77922:8;77903:18;:28::i;84524:190::-:0;76902:6;;-1:-1:-1;;;;;76902:6:0;4236:10;77049:23;77041:68;;;;-1:-1:-1;;;77041:68:0;;11072:2:1;77041:68:0;;;11054:21:1;;;11091:18;;;11084:30;11150:34;11130:18;;;11123:62;11202:18;;77041:68:0;10870:356:1;77041:68:0;-1:-1:-1;;;;;84601:19:0;::::1;84593:47;;;::::0;-1:-1:-1;;;84593:47:0;;16880:2:1;84593:47:0::1;::::0;::::1;16862:21:1::0;16919:2;16899:18;;;16892:30;16958:17;16938:18;;;16931:45;16993:18;;84593:47:0::1;16678:339:1::0;84593:47:0::1;84649:6;:14:::0;;;::::1;-1:-1:-1::0;;;;;84649:14:0;::::1;::::0;;::::1;::::0;;;84677:29:::1;::::0;::::1;::::0;-1:-1:-1;;84677:29:0::1;84524:190:::0;:::o;61001:273::-;61058:4;61148:13;;61138:7;:23;61095:152;;;;-1:-1:-1;;61199:26:0;;;;:17;:26;;;;;;48716:8;61199:43;:48;;61001:273::o;54262:1129::-;54329:7;54364;54466:13;;54459:4;:20;54455:869;;;54504:14;54521:23;;;:17;:23;;;;;;;48716:8;54610:23;;:28;;54606:699;;55129:113;55136:6;55146:1;55136:11;55129:113;;-1:-1:-1;55207:6:0;;55189:25;;;;:17;:25;;;;;;55129:113;;54606:699;54481:843;54455:869;55352:31;;;;;;;;;;;;;;64667:2654;64782:27;64812;64831:7;64812:18;:27::i;:::-;64782:57;;64897:4;-1:-1:-1;;;;;64856:45:0;64872:19;-1:-1:-1;;;;;64856:45:0;;64852:86;;64910:28;;;;;;;;;;;;;;64852:86;64951:23;64977:24;;;:15;:24;;;;;;-1:-1:-1;;;;;64977:24:0;;;;64951:23;65040:27;;4236:10;65040:27;;:87;;-1:-1:-1;;;;;;59743:25:0;;59719:4;59743:25;;;:18;:25;;;;;;;;4236:10;59743:35;;;;;;;;;;65084:43;65040:142;;;-1:-1:-1;;;;;;65144:38:0;;4236:10;65144:38;65040:142;65014:169;;65201:17;65196:66;;65227:35;;;;;;;;;;;;;;65196:66;65295:2;65302:1;65277:26;65273:62;;65312:23;;;;;;;;;;;;;;65273:62;65479:15;65461:39;65457:103;;65524:24;;;;:15;:24;;;;;65517:31;;;;;;65457:103;-1:-1:-1;;;;;65927:24:0;;;;;;;:18;:24;;;;;;;;65925:26;;;;;;65996:22;;;;;;;;65994:24;;-1:-1:-1;65994:24:0;;;66289:26;;;:17;:26;;;;;48994:8;66377:15;48600:3;66377:41;66335:84;;:128;;66289:174;;;66583:46;;:51;;66579:626;;66687:1;66677:11;;66655:19;66810:30;;;:17;:30;;;;;;:35;;66806:384;;66948:13;;66933:11;:28;66929:242;;67095:30;;;;:17;:30;;;;;:52;;;66929:242;66636:569;66579:626;67252:7;67248:2;-1:-1:-1;;;;;67233:27:0;67242:4;-1:-1:-1;;;;;67233:27:0;;;;;;;;;;;64771:2550;;;64667:2654;;;:::o;94143:262::-;94232:9;;94226:38;;;;;94253:10;94226:38;;;2540:74:1;94212:11:0;;-1:-1:-1;;;;;94232:9:0;;94226:26;;2513:18:1;;94226:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;94212:52;;94290:4;94283:3;:11;;94275:48;;;;-1:-1:-1;;;94275:48:0;;23751:2:1;94275:48:0;;;23733:21:1;23790:2;23770:18;;;23763:30;23829:26;23809:18;;;23802:54;23873:18;;94275:48:0;23549:348:1;94275:48:0;94334:63;-1:-1:-1;;;;;94334:30:0;;94365:10;94385:4;94392;94334:30;:63::i;61358:104::-;61427:27;61437:2;61441:8;61427:27;;;;;;;;;;;;:9;:27::i;88217:774::-;88285:4;;88309:653;88333:11;:18;88329:22;;88309:653;;;88420:1;-1:-1:-1;;;;;88385:37:0;88393:11;88405:1;88393:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;88393:14:0;88385:37;88369:584;;88458:11;88470:1;88458:14;;;;;;;;:::i;:::-;;;;;;;;;;;88451:47;;;;;88492:4;88451:47;;;2540:74:1;-1:-1:-1;;;;;88458:14:0;;;;88451:32;;2513:18:1;;88451:47:0;;;;;;;;;;;;;;;;;;-1:-1:-1;88451:47:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;88447:495;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;88836:106;88447:495;;;;;;;;;;;;;88562:12;88577:15;:3;88585:6;88577:7;:15::i;:::-;88562:30;;88607:9;88622:41;88647:15;;88622:20;88634:7;88622;:11;;:20;;;;:::i;:::-;:24;;:41::i;:::-;88607:56;-1:-1:-1;88678:66:0;88714:10;88726:17;:7;88607:56;88726:11;:17::i;:::-;88685:11;88697:1;88685:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;88685:14:0;;88678:66;:35;:66::i;:::-;88764:55;88773:11;88785:1;88773:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;88773:14:0;88789:17;:7;88801:4;88789:11;:17::i;:::-;88764:55;;;-1:-1:-1;;;;;25103:15:1;;;25085:34;;25150:2;25135:18;;25128:34;;;;25198:15;;;25178:18;;;25171:43;88764:55:0;;;;;;25012:2:1;88764:55:0;;;88547:288;;88499:336;88447:495;88353:3;;;;:::i;:::-;;;;88309:653;;;-1:-1:-1;88979:4:0;;88217:774;-1:-1:-1;;;88217:774:0:o;67399:89::-;67459:21;67465:7;67474:5;67459;:21::i;78099:191::-;78192:6;;;-1:-1:-1;;;;;78209:17:0;;;;;;;;;;;78242:40;;78192:6;;;78209:17;78192:6;;78242:40;;78173:16;;78242:40;78162:128;78099:191;:::o;71144:716::-;71328:88;;;;;71307:4;;-1:-1:-1;;;;;71328:45:0;;;;;:88;;4236:10;;71395:4;;71401:7;;71410:5;;71328:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71328:88:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;71324:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71611:6;:13;71628:1;71611:18;71607:235;;71657:40;;;;;;;;;;;;;;71607:235;71800:6;71794:13;71785:6;71781:2;71777:15;71770:38;71324:529;71487:64;;71497:54;71487:64;;-1:-1:-1;71324:529:0;71144:716;;;;;;:::o;103454:114::-;103514:13;103547;103540:20;;;;;:::i;73886:1960::-;74355:4;74349:11;;74362:3;74345:21;;74440:17;;;;75136:11;;;75015:5;75268:2;75282;75272:13;;75264:22;75136:11;75251:36;75323:2;75313:13;;74907:697;75342:4;74907:697;;;75533:1;75528:3;75524:11;75517:18;;75584:2;75578:4;75574:13;75570:2;75566:22;75561:3;75553:36;75437:2;75427:13;;74907:697;;;-1:-1:-1;75634:13:0;;;75749:12;;;;75809:19;;;75749:12;73886:1960;-1:-1:-1;73886:1960:0:o;87957:252::-;88043:4;;88058:123;88082:12;;88078:16;;88058:123;;;88128:6;-1:-1:-1;;;;;88116:18:0;:5;88122:1;88116:8;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;88116:8:0;:18;88112:60;;88156:4;88149:11;;;;;88112:60;88096:3;;;;:::i;:::-;;;;88058:123;;;-1:-1:-1;88196:5:0;;87957:252;-1:-1:-1;;;87957:252:0:o;26419:248::-;26590:68;;-1:-1:-1;;;;;26277:15:1;;;26590:68:0;;;26259:34:1;26329:15;;26309:18;;;26302:43;26361:18;;;26354:34;;;26563:96:0;;26583:5;;26613:27;;26171:18:1;;26590:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26563:19;:96::i;61849:681::-;61972:19;61978:2;61982:8;61972:5;:19::i;:::-;-1:-1:-1;;;;;62033:14:0;;;:19;62029:483;;62073:11;62087:13;62135:14;;;62168:233;62199:62;62238:1;62242:2;62246:7;;;;;;62255:5;62199:30;:62::i;:::-;62194:167;;62297:40;;;;;;;;;;;;;;62194:167;62396:3;62388:5;:11;62168:233;;62483:3;62466:13;;:20;62462:34;;62488:8;;;62462:34;62054:458;;61849:681;;;:::o;33420:98::-;33478:7;33505:5;33509:1;33505;:5;:::i;33021:98::-;33079:7;33106:5;33110:1;33106;:5;:::i;32664:98::-;32722:7;32749:5;32753:1;32749;:5;:::i;26200:211::-;26344:58;;-1:-1:-1;;;;;15355:55:1;;26344:58:0;;;15337:74:1;15427:18;;;15420:34;;;26317:86:0;;26337:5;;26367:23;;15310:18:1;;26344:58:0;15163:297:1;67717:2935:0;67797:27;67827;67846:7;67827:18;:27::i;:::-;67867:12;67956:24;;;:15;:24;;;;;;67797:57;;-1:-1:-1;67797:57:0;;-1:-1:-1;;;;;67956:24:0;67993:306;;;;68027:22;4236:10;-1:-1:-1;;;;;68053:27:0;;;;:91;;-1:-1:-1;;;;;;59743:25:0;;59719:4;59743:25;;;:18;:25;;;;;;;;4236:10;59743:35;;;;;;;;;;68101:43;68053:150;;;-1:-1:-1;;;;;;68165:38:0;;4236:10;68165:38;68053:150;68027:177;;68226:17;68221:66;;68252:35;;;;;;;;;;;;;;68221:66;68012:287;67993:306;68450:15;68432:39;68428:103;;68495:24;;;;:15;:24;;;;;68488:31;;;;;;68428:103;-1:-1:-1;;;;;69119:24:0;;;;;;:18;:24;;;;;;;;:59;;69147:31;69119:59;;;69416:26;;;:17;:26;;;;;69462:164;69506:15;48600:3;69506:41;69462:86;;:164;69416:210;;48994:8;69746:46;;:51;;69742:626;;69850:1;69840:11;;69818:19;69973:30;;;:17;:30;;;;;;:35;;69969:384;;70111:13;;70096:11;:28;70092:242;;70258:30;;;;:17;:30;;;;;:52;;;70092:242;69799:569;69742:626;70396:35;;70423:7;;70419:1;;-1:-1:-1;;;;;70396:35:0;;;;;70419:1;;70396:35;-1:-1:-1;;70619:12:0;:14;;;;;;-1:-1:-1;;;67717:2935:0:o;28773:716::-;29197:23;29223:69;29251:4;29223:69;;;;;;;;;;;;;;;;;29231:5;-1:-1:-1;;;;;29223:27:0;;;:69;;;;;:::i;:::-;29307:17;;29197:95;;-1:-1:-1;29307:21:0;29303:179;;29404:10;29393:30;;;;;;;;;;;;:::i;:::-;29385:85;;;;-1:-1:-1;;;29385:85:0;;26880:2:1;29385:85:0;;;26862:21:1;26919:2;26899:18;;;26892:30;26958:34;26938:18;;;26931:62;27029:12;27009:18;;;27002:40;27059:19;;29385:85:0;26678:406:1;62803:1610:0;62868:20;62891:13;62937:2;62944:1;62919:26;62915:58;;62954:19;;;;;;;;;;;;;;62915:58;62988:8;63000:1;62988:13;62984:44;;63010:18;;;;;;;;;;;;;;62984:44;-1:-1:-1;;;;;63577:22:0;;;;;;:18;:22;;;;48083:2;63577:22;;;:70;;63615:31;63603:44;;63577:70;;;63890:31;;;:17;:31;;;;;63983:15;48600:3;63983:41;63941:84;;-1:-1:-1;64061:13:0;;48859:3;64046:56;63941:162;63890:213;;64149:119;64176:49;;64216:8;;;;64201:23;;;-1:-1:-1;;;;;64176:49:0;;;64193:1;;64176:49;;64193:1;;64176:49;64258:8;64249:6;:17;64149:119;;-1:-1:-1;64300:23:0;64284:13;:39;-1:-1:-1;59853:170:0:o;21099:229::-;21236:12;21268:52;21290:6;21298:4;21304:1;21307:12;21236;-1:-1:-1;;;;;18649:19:0;;;22506:60;;;;-1:-1:-1;;;22506:60:0;;27698:2:1;22506:60:0;;;27680:21:1;27737:2;27717:18;;;27710:30;27776:31;27756:18;;;27749:59;27825:18;;22506:60:0;27496:353:1;22506:60:0;22580:12;22594:23;22621:6;-1:-1:-1;;;;;22621:11:0;22640:5;22647:4;22621:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22579:73;;;;22670:51;22687:7;22696:10;22708:12;22670:16;:51::i;:::-;22663:58;22219:510;-1:-1:-1;;;;;;;22219:510:0:o;24905:762::-;25055:12;25084:7;25080:580;;;-1:-1:-1;25115:10:0;25108:17;;25080:580;25229:17;;:21;25225:424;;25477:10;25471:17;25538:15;25525:10;25521:2;25517:19;25510:44;25225:424;25620:12;25613:20;;-1:-1:-1;;;25613:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:177:1;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:196::-;706:20;;-1:-1:-1;;;;;755:54:1;;745:65;;735:93;;824:1;821;814:12;735:93;638:196;;;:::o;839:186::-;898:6;951:2;939:9;930:7;926:23;922:32;919:52;;;967:1;964;957:12;919:52;990:29;1009:9;990:29;:::i;1030:118::-;1116:5;1109:13;1102:21;1095:5;1092:32;1082:60;;1138:1;1135;1128:12;1153:241;1209:6;1262:2;1250:9;1241:7;1237:23;1233:32;1230:52;;;1278:1;1275;1268:12;1230:52;1317:9;1304:23;1336:28;1358:5;1336:28;:::i;1399:258::-;1471:1;1481:113;1495:6;1492:1;1489:13;1481:113;;;1571:11;;;1565:18;1552:11;;;1545:39;1517:2;1510:10;1481:113;;;1612:6;1609:1;1606:13;1603:48;;;-1:-1:-1;;1647:1:1;1629:16;;1622:27;1399:258::o;1662:317::-;1704:3;1742:5;1736:12;1769:6;1764:3;1757:19;1785:63;1841:6;1834:4;1829:3;1825:14;1818:4;1811:5;1807:16;1785:63;:::i;:::-;1893:2;1881:15;1898:66;1877:88;1868:98;;;;1968:4;1864:109;;1662:317;-1:-1:-1;;1662:317:1:o;1984:220::-;2133:2;2122:9;2115:21;2096:4;2153:45;2194:2;2183:9;2179:18;2171:6;2153:45;:::i;2209:180::-;2268:6;2321:2;2309:9;2300:7;2296:23;2292:32;2289:52;;;2337:1;2334;2327:12;2289:52;-1:-1:-1;2360:23:1;;2209:180;-1:-1:-1;2209:180:1:o;2625:254::-;2693:6;2701;2754:2;2742:9;2733:7;2729:23;2725:32;2722:52;;;2770:1;2767;2760:12;2722:52;2793:29;2812:9;2793:29;:::i;:::-;2783:39;2869:2;2854:18;;;;2841:32;;-1:-1:-1;;;2625:254:1:o;2884:284::-;2942:6;2995:2;2983:9;2974:7;2970:23;2966:32;2963:52;;;3011:1;3008;3001:12;2963:52;3050:9;3037:23;3100:18;3093:5;3089:30;3082:5;3079:41;3069:69;;3134:1;3131;3124:12;3355:328;3432:6;3440;3448;3501:2;3489:9;3480:7;3476:23;3472:32;3469:52;;;3517:1;3514;3507:12;3469:52;3540:29;3559:9;3540:29;:::i;:::-;3530:39;;3588:38;3622:2;3611:9;3607:18;3588:38;:::i;:::-;3578:48;;3673:2;3662:9;3658:18;3645:32;3635:42;;3355:328;;;;;:::o;3688:592::-;3759:6;3767;3820:2;3808:9;3799:7;3795:23;3791:32;3788:52;;;3836:1;3833;3826:12;3788:52;3876:9;3863:23;3905:18;3946:2;3938:6;3935:14;3932:34;;;3962:1;3959;3952:12;3932:34;4000:6;3989:9;3985:22;3975:32;;4045:7;4038:4;4034:2;4030:13;4026:27;4016:55;;4067:1;4064;4057:12;4016:55;4107:2;4094:16;4133:2;4125:6;4122:14;4119:34;;;4149:1;4146;4139:12;4119:34;4194:7;4189:2;4180:6;4176:2;4172:15;4168:24;4165:37;4162:57;;;4215:1;4212;4205:12;4162:57;4246:2;4238:11;;;;;4268:6;;-1:-1:-1;3688:592:1;;-1:-1:-1;;;;3688:592:1:o;4285:276::-;4343:6;4396:2;4384:9;4375:7;4371:23;4367:32;4364:52;;;4412:1;4409;4402:12;4364:52;4451:9;4438:23;4501:10;4494:5;4490:22;4483:5;4480:33;4470:61;;4527:1;4524;4517:12;5056:184;5108:77;5105:1;5098:88;5205:4;5202:1;5195:15;5229:4;5226:1;5219:15;5245:308;5351:66;5346:2;5340:4;5336:13;5332:86;5324:6;5320:99;5485:6;5473:10;5470:22;5449:18;5437:10;5434:34;5431:62;5428:88;;;5496:18;;:::i;:::-;5532:2;5525:22;-1:-1:-1;;5245:308:1:o;5558:183::-;5618:4;5651:18;5643:6;5640:30;5637:56;;;5673:18;;:::i;:::-;-1:-1:-1;5718:1:1;5714:14;5730:4;5710:25;;5558:183::o;5746:724::-;5800:5;5853:3;5846:4;5838:6;5834:17;5830:27;5820:55;;5871:1;5868;5861:12;5820:55;5907:6;5894:20;5933:4;5956:43;5996:2;5956:43;:::i;:::-;6028:2;6022:9;6040:31;6068:2;6060:6;6040:31;:::i;:::-;6106:18;;;6198:1;6194:10;;;;6182:23;;6178:32;;;6140:15;;;;-1:-1:-1;6222:15:1;;;6219:35;;;6250:1;6247;6240:12;6219:35;6286:2;6278:6;6274:15;6298:142;6314:6;6309:3;6306:15;6298:142;;;6380:17;;6368:30;;6418:12;;;;6331;;6298:142;;;-1:-1:-1;6458:6:1;5746:724;-1:-1:-1;;;;;;5746:724:1:o;6475:1208::-;6593:6;6601;6654:2;6642:9;6633:7;6629:23;6625:32;6622:52;;;6670:1;6667;6660:12;6622:52;6710:9;6697:23;6739:18;6780:2;6772:6;6769:14;6766:34;;;6796:1;6793;6786:12;6766:34;6834:6;6823:9;6819:22;6809:32;;6879:7;6872:4;6868:2;6864:13;6860:27;6850:55;;6901:1;6898;6891:12;6850:55;6937:2;6924:16;6959:4;6982:43;7022:2;6982:43;:::i;:::-;7054:2;7048:9;7066:31;7094:2;7086:6;7066:31;:::i;:::-;7132:18;;;7220:1;7216:10;;;;7208:19;;7204:28;;;7166:15;;;;-1:-1:-1;7244:19:1;;;7241:39;;;7276:1;7273;7266:12;7241:39;7300:11;;;;7320:148;7336:6;7331:3;7328:15;7320:148;;;7402:23;7421:3;7402:23;:::i;:::-;7390:36;;7353:12;;;;7446;;;;7320:148;;;7487:6;-1:-1:-1;;7531:18:1;;7518:32;;-1:-1:-1;;7562:16:1;;;7559:36;;;7591:1;7588;7581:12;7559:36;;7614:63;7669:7;7658:8;7647:9;7643:24;7614:63;:::i;:::-;7604:73;;;6475:1208;;;;;:::o;7688:315::-;7753:6;7761;7814:2;7802:9;7793:7;7789:23;7785:32;7782:52;;;7830:1;7827;7820:12;7782:52;7853:29;7872:9;7853:29;:::i;:::-;7843:39;;7932:2;7921:9;7917:18;7904:32;7945:28;7967:5;7945:28;:::i;:::-;7992:5;7982:15;;;7688:315;;;;;:::o;8008:527::-;8072:5;8106:18;8098:6;8095:30;8092:56;;;8128:18;;:::i;:::-;8177:2;8171:9;8189:128;8311:4;8242:66;8237:2;8229:6;8225:15;8221:88;8217:99;8209:6;8189:128;:::i;:::-;8335:6;8326:15;;8365:6;8357;8350:22;8405:3;8396:6;8391:3;8387:16;8384:25;8381:45;;;8422:1;8419;8412:12;8381:45;8472:6;8467:3;8460:4;8452:6;8448:17;8435:44;8527:1;8520:4;8511:6;8503;8499:19;8495:30;8488:41;;8008:527;;;;;:::o;8540:666::-;8635:6;8643;8651;8659;8712:3;8700:9;8691:7;8687:23;8683:33;8680:53;;;8729:1;8726;8719:12;8680:53;8752:29;8771:9;8752:29;:::i;:::-;8742:39;;8800:38;8834:2;8823:9;8819:18;8800:38;:::i;:::-;8790:48;;8885:2;8874:9;8870:18;8857:32;8847:42;;8940:2;8929:9;8925:18;8912:32;8967:18;8959:6;8956:30;8953:50;;;8999:1;8996;8989:12;8953:50;9022:22;;9075:4;9067:13;;9063:27;-1:-1:-1;9053:55:1;;9104:1;9101;9094:12;9053:55;9127:73;9192:7;9187:2;9174:16;9169:2;9165;9161:11;9127:73;:::i;:::-;9117:83;;;8540:666;;;;;;;:::o;9211:610::-;9324:6;9332;9340;9348;9356;9364;9372;9425:3;9413:9;9404:7;9400:23;9396:33;9393:53;;;9442:1;9439;9432:12;9393:53;9465:29;9484:9;9465:29;:::i;:::-;9455:39;;9513:38;9547:2;9536:9;9532:18;9513:38;:::i;:::-;9503:48;;9598:2;9587:9;9583:18;9570:32;9560:42;;9649:2;9638:9;9634:18;9621:32;9611:42;;9700:3;9689:9;9685:19;9672:33;9662:43;;9752:3;9741:9;9737:19;9724:33;9714:43;;9776:39;9810:3;9799:9;9795:19;9776:39;:::i;:::-;9766:49;;9211:610;;;;;;;;;;:::o;10150:260::-;10218:6;10226;10279:2;10267:9;10258:7;10254:23;10250:32;10247:52;;;10295:1;10292;10285:12;10247:52;10318:29;10337:9;10318:29;:::i;:::-;10308:39;;10366:38;10400:2;10389:9;10385:18;10366:38;:::i;:::-;10356:48;;10150:260;;;;;:::o;10415:450::-;10484:6;10537:2;10525:9;10516:7;10512:23;10508:32;10505:52;;;10553:1;10550;10543:12;10505:52;10593:9;10580:23;10626:18;10618:6;10615:30;10612:50;;;10658:1;10655;10648:12;10612:50;10681:22;;10734:4;10726:13;;10722:27;-1:-1:-1;10712:55:1;;10763:1;10760;10753:12;10712:55;10786:73;10851:7;10846:2;10833:16;10828:2;10824;10820:11;10786:73;:::i;11231:184::-;11283:77;11280:1;11273:88;11380:4;11377:1;11370:15;11404:4;11401:1;11394:15;11420:125;11460:4;11488:1;11485;11482:8;11479:34;;;11493:18;;:::i;:::-;-1:-1:-1;11530:9:1;;11420:125::o;11550:437::-;11629:1;11625:12;;;;11672;;;11693:61;;11747:4;11739:6;11735:17;11725:27;;11693:61;11800:2;11792:6;11789:14;11769:18;11766:38;11763:218;;11837:77;11834:1;11827:88;11938:4;11935:1;11928:15;11966:4;11963:1;11956:15;11763:218;;11550:437;;;:::o;12397:228::-;12437:7;12563:1;12495:66;12491:74;12488:1;12485:81;12480:1;12473:9;12466:17;12462:105;12459:131;;;12570:18;;:::i;:::-;-1:-1:-1;12610:9:1;;12397:228::o;14144:128::-;14184:3;14215:1;14211:6;14208:1;14205:13;14202:39;;;14221:18;;:::i;:::-;-1:-1:-1;14257:9:1;;14144:128::o;14974:184::-;15044:6;15097:2;15085:9;15076:7;15072:23;15068:32;15065:52;;;15113:1;15110;15103:12;15065:52;-1:-1:-1;15136:16:1;;14974:184;-1:-1:-1;14974:184:1:o;15465:245::-;15532:6;15585:2;15573:9;15564:7;15560:23;15556:32;15553:52;;;15601:1;15598;15591:12;15553:52;15633:9;15627:16;15652:28;15674:5;15652:28;:::i;17780:184::-;17832:77;17829:1;17822:88;17929:4;17926:1;17919:15;17953:4;17950:1;17943:15;17969:195;18008:3;18039:66;18032:5;18029:77;18026:103;;18109:18;;:::i;:::-;-1:-1:-1;18156:1:1;18145:13;;17969:195::o;18169:470::-;18348:3;18386:6;18380:13;18402:53;18448:6;18443:3;18436:4;18428:6;18424:17;18402:53;:::i;:::-;18518:13;;18477:16;;;;18540:57;18518:13;18477:16;18574:4;18562:17;;18540:57;:::i;:::-;18613:20;;18169:470;-1:-1:-1;;;;18169:470:1:o;20450:196::-;20489:3;20517:5;20507:39;;20526:18;;:::i;:::-;-1:-1:-1;20573:66:1;20562:78;;20450:196::o;22496:306::-;22584:6;22592;22600;22653:2;22641:9;22632:7;22628:23;22624:32;22621:52;;;22669:1;22666;22659:12;22621:52;22698:9;22692:16;22682:26;;22748:2;22737:9;22733:18;22727:25;22717:35;;22792:2;22781:9;22777:18;22771:25;22761:35;;22496:306;;;;;:::o;23902:179::-;23937:3;23979:1;23961:16;23958:23;23955:120;;;24025:1;24022;24019;24004:23;-1:-1:-1;24062:1:1;24056:8;24051:3;24047:18;23902:179;:::o;24086:731::-;24125:3;24167:4;24149:16;24146:26;24143:39;;;24086:731;:::o;24143:39::-;24209:2;24203:9;24231:66;24352:2;24334:16;24330:25;24327:1;24321:4;24306:50;24385:4;24379:11;24409:16;24444:18;24515:2;24508:4;24500:6;24496:17;24493:25;24488:2;24480:6;24477:14;24474:45;24471:58;;;24522:5;;;;;24086:731;:::o;24471:58::-;24559:6;24553:4;24549:17;24538:28;;24595:3;24589:10;24622:2;24614:6;24611:14;24608:27;;;24628:5;;;;;;24086:731;:::o;24608:27::-;24712:2;24693:16;24687:4;24683:27;24679:36;24672:4;24663:6;24658:3;24654:16;24650:27;24647:69;24644:82;;;24719:5;;;;;;24086:731;:::o;24644:82::-;24735:57;24786:4;24777:6;24769;24765:19;24761:30;24755:4;24735:57;:::i;:::-;-1:-1:-1;24808:3:1;;24086:731;-1:-1:-1;;;;;24086:731:1:o;25225:512::-;25419:4;-1:-1:-1;;;;;25529:2:1;25521:6;25517:15;25506:9;25499:34;25581:2;25573:6;25569:15;25564:2;25553:9;25549:18;25542:43;;25621:6;25616:2;25605:9;25601:18;25594:34;25664:3;25659:2;25648:9;25644:18;25637:31;25685:46;25726:3;25715:9;25711:19;25703:6;25685:46;:::i;:::-;25677:54;25225:512;-1:-1:-1;;;;;;25225:512:1:o;25742:249::-;25811:6;25864:2;25852:9;25843:7;25839:23;25835:32;25832:52;;;25880:1;25877;25870:12;25832:52;25912:9;25906:16;25931:30;25955:5;25931:30;:::i;26399:274::-;26439:1;26465;26455:189;;26500:77;26497:1;26490:88;26601:4;26598:1;26591:15;26629:4;26626:1;26619:15;26455:189;-1:-1:-1;26658:9:1;;26399:274::o;27854:::-;27983:3;28021:6;28015:13;28037:53;28083:6;28078:3;28071:4;28063:6;28059:17;28037:53;:::i;:::-;28106:16;;;;;27854:274;-1:-1:-1;;27854:274:1:o
Swarm Source
ipfs://efb3b3ede5a2883b14da0e0e13f0796c74e70a6b82454a5843ff983cbc549e4c