Token Fandoo

 

Overview ERC-20

Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
1,000,000,000 FANDOO

Holders:
1 addresses

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Fandoo platform allows you to be more engaged with your favorite teams by participating in the project.


Update? Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Fandoo

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : AggregatorV3Interface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface AggregatorV3Interface {
  function decimals() external view returns (uint8);

  function description() external view returns (string memory);

  function version() external view returns (uint256);

  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 15 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 6 of 15 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 15 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 8 of 15 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.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);
}

File 9 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 10 of 15 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        }
    }
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 13 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 14 of 15 : Fandoo.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "./PolygonRealTimePrice.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";


contract Fandoo is ERC20, Pausable, Ownable, ERC20Burnable, ReentrancyGuard  {

  uint _totalSupply = 1000000000 * 10 ** decimals();
  uint public minInvest = 100 * 10 ** decimals();
  uint public maxInvest = 10000 * 10 ** decimals();
  constructor() ERC20("Fandoo", "FANDOO") {
    setReleasedPercentFor(msg.sender, 100);
    setReleasedPercentFor(address(this), 100);
    _mint(address(this), _totalSupply);
    approve(msg.sender, _totalSupply);
  }

  uint public priceUSD;
  uint public releasedPercent;

  PolygonRealTimePrice realTimePrice = PolygonRealTimePrice(address(0x39B5038AA29D745639593f5058E0dC5df9D5B993));

  using Counters for Counters.Counter;
  using SafeERC20 for ERC20;

  mapping(address => uint) addressToReleased;
  mapping(address => uint) addressToWhitdrawed;

  event ReleasedEdited(uint _percent);
  event PriceEdited(uint _price);
  event Buy(address _address, uint _totalAmount, uint _bonusAmount, uint _ethPrice, uint _price, uint _paymentAmount, string _currency, uint _timestamp);
  event Airdrop(address _address, uint _amount, uint _timestamp);
  event Withdraw(uint _amount);

  function pause() public onlyOwner {
    _pause();
  }

  function unpause() public onlyOwner {
    _unpause();
  }

  function _beforeTokenTransfer(address from, address to, uint256 amount)
    internal
    whenNotPaused
    override
  {
    address owner = super.owner();
    if(msg.sender != owner) {
      uint withdrawable = getWithdrawableAmountFor(from);
      require(amount <= withdrawable, "This amount is not transferable now");
      addressToWhitdrawed[from] = amount;
    }
    super._beforeTokenTransfer(from, to, amount);
  }

  function setReleasedPercent(uint _percent) public onlyOwner {
    releasedPercent = _percent;
    emit ReleasedEdited(releasedPercent);
  }

  function setMaxInvest(uint amount) public onlyOwner {
    maxInvest = amount;
  }

  function setMinInvest(uint amount) public onlyOwner {
    minInvest = amount;
  }

  function getNativeTokenPrice() public view returns(uint) {
    return uint(realTimePrice.getThePrice());
  }

  function setPriceUSD(uint _price) public onlyOwner {
    priceUSD = _price;
    emit PriceEdited(_price);
  }

  function setReleasedPercentFor(address _address, uint _percent) public onlyOwner{
    addressToReleased[_address] = _percent;
  }

  function airdrop(address _address, uint amount) public onlyOwner {
    _transfer(address(this), _address, amount);
    addInvestor(_address);
    emit Airdrop(_address, amount, block.timestamp);
  }

  function bulkAirdrop(uint count, address[] memory _addresses, uint[] memory amounts) public onlyOwner {
    for(uint i = 0; i < count; i++) {
      airdrop(_addresses[i], amounts[i]);
    }
  }

  function getReleasedPercentFor(address _address) public view returns(uint) {
    uint _percent;
    if(addressToReleased[_address] != 0) {
        _percent = addressToReleased[_address];
    } else {
        _percent = releasedPercent;
    }
    return _percent;
  }

  function getWhitdrawedAmountFor(address _address) public view returns(uint) {
    return addressToWhitdrawed[_address];
  }

  function getWithdrawableAmountFor(address _address) public view returns(uint) {
    uint balance = balanceOf(_address);
    uint amount;
    uint _percent = getReleasedPercentFor(_address);
    uint withdrawed = getWhitdrawedAmountFor(_address);
    uint totalInvest = withdrawed + balance;
    amount = (totalInvest * _percent / 100) - withdrawed;
    require(amount >= 0, "Something is wrong with your account");
    return amount;
  }

  Counters.Counter private _stageIdCounter;
  Counters.Counter private _holderCounter;
  uint _priceConversionDecimals = 8;

  function buy() payable external {
    uint currentPrice = getNativeTokenPrice();
    uint usdtValue = currentPrice * msg.value / (10 ** _priceConversionDecimals);
    require(usdtValue >= minInvest && usdtValue <= maxInvest, "Invesment amount not acceptable");
    uint tokenAmount = usdtValue / (priceUSD) * (10 ** 18);
    uint bonusAmount = getBuyBonusPercent(usdtValue) * tokenAmount / 100;
    uint finalAmount = tokenAmount + bonusAmount;
    _transfer(address(this), msg.sender, finalAmount);
    addInvestor(msg.sender);
    emit Buy(msg.sender, finalAmount, bonusAmount, currentPrice, priceUSD, msg.value, "Native", block.timestamp);
  }

  function buyERC20(uint amount, address _address) public payable {
    IERC20 stableToken = IERC20(address(_address));
    require(amount * 10 ** 12 >= minInvest && amount * 10 ** 12 <= maxInvest, "Invesment amount not acceptable");
    uint currentPrice = getNativeTokenPrice();
    address _owner = super.owner();
    uint tokenAmount = uint(amount * (10 ** 12)) / priceUSD * 10 ** 18;
    uint bonusAmount = getBuyBonusPercent(amount * 10 ** 12) * tokenAmount / 100;
    uint finalAmount = tokenAmount + bonusAmount;
    stableToken.transferFrom(msg.sender, _owner, amount);
    _transfer(address(this), msg.sender, finalAmount);
    addInvestor(msg.sender);
    emit Buy(msg.sender, finalAmount, bonusAmount, currentPrice, priceUSD, amount, "USDT", block.timestamp);
  }

  mapping(address => uint) _investors;
  mapping(uint => address) _reverse;
  Counters.Counter private _investorCount;

  function getInvestorsCount() public view onlyOwner returns(uint) {
    return _investorCount.current();
  }

  function addInvestor(address _address) private {
    if(_investors[_address] == 0) {
      _investorCount.increment();
      uint current = _investorCount.current();
      _investors[_address] = current;
      _reverse[current] = _address;
    }
  }

  function getInvestors(uint from, uint to) public view onlyOwner returns(address[] memory) {
    address[] memory list = new address[](to - from);
    uint counter = 0;
    for(uint i = from + 1; i <= to; i++) {
      list[counter] = _reverse[i];
      counter += 1;
    }
    return list;
  }

  function withdraw(uint _amount) public onlyOwner {
    require(_amount > 0, "Amount must be more than zero");
    require(_amount <address(this).balance , "Requested amount is more than balance");
    payable(msg.sender).transfer(_amount);
    emit Withdraw(_amount);
  }

  function income() public view onlyOwner returns(uint) {
    return address(this).balance;
  }

  Counters.Counter private _bonusIdCounter;
  struct Bonus {
    uint from;
    uint to;
    uint bonusPercent;
  }

  mapping(uint => Bonus) _bonuses;

  function createBonus(uint _from, uint _to, uint _percent) public onlyOwner {
    _bonusIdCounter.increment();
    uint currentId = _bonusIdCounter.current();
    Bonus memory bonus = Bonus (
      _from,
      _to,
      _percent
    );
    _bonuses[currentId] = bonus;
  }

  function deleteBonuses() public onlyOwner {
    for(uint i = 1; i <= _bonusIdCounter.current(); i++) {
      delete _bonuses[i];
    }
    _bonusIdCounter.reset();
  }

  function getBonuses() public view returns(Bonus[] memory) {
    Bonus[] memory bonuses = new Bonus[](_bonusIdCounter.current());
    for(uint i = 0; i < _bonusIdCounter.current(); i++) {
      bonuses[i] = _bonuses[i + 1];
    }
    return bonuses;
  }

  function getBuyBonusPercent(uint _usdValue) public view returns(uint) {
    uint count = _bonusIdCounter.current();
    uint percent;
    for(uint i = 1; i <= count; i++) {
      if(_usdValue >= _bonuses[i].from && _usdValue < _bonuses[i].to) {
        percent = _bonuses[i].bonusPercent;
      }
    }
    return percent;
  }

  function getCurrentTime()
  public
  virtual
  view
  returns(uint256){
    return block.timestamp;
  }
}

File 15 of 15 : PolygonRealTimePrice.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";

contract PolygonRealTimePrice {

    AggregatorV3Interface internal priceFeed;

    constructor() {
        priceFeed = AggregatorV3Interface(0xAB594600376Ec9fD91F8e885dADF0CE036862dE0);
    }

    function getThePrice() public view returns (int) {
        (
            uint80 roundID,
            int price,
            uint startedAt,
            uint timeStamp,
            uint80 answeredInRound
        ) = priceFeed.latestRoundData();
        return price;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_bonusAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_ethPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_paymentAmount","type":"uint256"},{"indexed":false,"internalType":"string","name":"_currency","type":"string"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"PriceEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"ReleasedEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"bulkAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"buyERC20","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"createBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteBonuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBonuses","outputs":[{"components":[{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"},{"internalType":"uint256","name":"bonusPercent","type":"uint256"}],"internalType":"struct Fandoo.Bonus[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_usdValue","type":"uint256"}],"name":"getBuyBonusPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"}],"name":"getInvestors","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getInvestorsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNativeTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getReleasedPercentFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getWhitdrawedAmountFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getWithdrawableAmountFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"income","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxInvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minInvest","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releasedPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxInvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinInvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPriceUSD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setReleasedPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setReleasedPercentFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052620000146200023560201b60201c565b600a62000022919062000d74565b633b9aca0062000033919062000dc5565b600755620000466200023560201b60201c565b600a62000054919062000d74565b606462000062919062000dc5565b600855620000756200023560201b60201c565b600a62000083919062000d74565b61271062000092919062000dc5565b6009557339b5038aa29d745639593f5058e0dc5df9d5b993600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008601155348015620000fc57600080fd5b506040518060400160405280600681526020017f46616e646f6f00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f46414e444f4f000000000000000000000000000000000000000000000000000081525081600390805190602001906200018192919062000b2a565b5080600490805190602001906200019a92919062000b2a565b5050506000600560006101000a81548160ff021916908315150217905550620001d8620001cc6200023e60201b60201c565b6200024660201b60201c565b6001600681905550620001f33360646200030c60201b60201c565b620002063060646200030c60201b60201c565b6200021a306007546200036460201b60201c565b6200022e33600754620004d260201b60201c565b506200137f565b60006012905090565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200031c6200050560201b60201c565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ce9062000e87565b60405180910390fd5b620003eb600083836200059660201b60201c565b8060026000828254620003ff919062000ea9565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004b2919062000f17565b60405180910390a3620004ce60008383620006b260201b60201c565b5050565b600080620004e56200023e60201b60201c565b9050620004fa818585620006b760201b60201c565b600191505092915050565b620005156200023e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200053b6200088a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000594576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200058b9062000f84565b60405180910390fd5b565b620005a6620008b460201b60201c565b6000620005bd6200088a60201b6200146e1760201c565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200069457600062000606856200090960201b60201c565b9050808311156200064e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000645906200101c565b60405180910390fd5b82600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b620006ac848484620009db60201b62001ae11760201c565b50505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200072a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200072190620010b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000794906200114c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200087d919062000f17565b60405180910390a3505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620008c4620009e060201b60201c565b1562000907576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008fe90620011be565b60405180910390fd5b565b6000806200091d83620009f760201b60201c565b9050600080620009338562000a3f60201b60201c565b90506000620009488662000ae160201b60201c565b9050600084826200095a919062000ea9565b905081606484836200096d919062000dc5565b6200097991906200120f565b62000985919062001247565b93506000841015620009ce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009c590620012f8565b60405180910390fd5b8395505050505050919050565b505050565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000ad257600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905062000ad8565b600b5490505b80915050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000b389062001349565b90600052602060002090601f01602090048101928262000b5c576000855562000ba8565b82601f1062000b7757805160ff191683800117855562000ba8565b8280016001018555821562000ba8579182015b8281111562000ba757825182559160200191906001019062000b8a565b5b50905062000bb7919062000bbb565b5090565b5b8082111562000bd657600081600090555060010162000bbc565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000c685780860481111562000c405762000c3f62000bda565b5b600185161562000c505780820291505b808102905062000c608562000c09565b945062000c20565b94509492505050565b60008262000c83576001905062000d56565b8162000c93576000905062000d56565b816001811462000cac576002811462000cb75762000ced565b600191505062000d56565b60ff84111562000ccc5762000ccb62000bda565b5b8360020a91508482111562000ce65762000ce562000bda565b5b5062000d56565b5060208310610133831016604e8410600b841016171562000d275782820a90508381111562000d215762000d2062000bda565b5b62000d56565b62000d36848484600162000c16565b9250905081840481111562000d505762000d4f62000bda565b5b81810290505b9392505050565b6000819050919050565b600060ff82169050919050565b600062000d818262000d5d565b915062000d8e8362000d67565b925062000dbd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000c71565b905092915050565b600062000dd28262000d5d565b915062000ddf8362000d5d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e1b5762000e1a62000bda565b5b828202905092915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000e6f601f8362000e26565b915062000e7c8262000e37565b602082019050919050565b6000602082019050818103600083015262000ea28162000e60565b9050919050565b600062000eb68262000d5d565b915062000ec38362000d5d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000efb5762000efa62000bda565b5b828201905092915050565b62000f118162000d5d565b82525050565b600060208201905062000f2e600083018462000f06565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000f6c60208362000e26565b915062000f798262000f34565b602082019050919050565b6000602082019050818103600083015262000f9f8162000f5d565b9050919050565b7f5468697320616d6f756e74206973206e6f74207472616e7366657261626c652060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b60006200100460238362000e26565b9150620010118262000fa6565b604082019050919050565b60006020820190508181036000830152620010378162000ff5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006200109c60248362000e26565b9150620010a9826200103e565b604082019050919050565b60006020820190508181036000830152620010cf816200108d565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006200113460228362000e26565b91506200114182620010d6565b604082019050919050565b60006020820190508181036000830152620011678162001125565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620011a660108362000e26565b9150620011b3826200116e565b602082019050919050565b60006020820190508181036000830152620011d98162001197565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006200121c8262000d5d565b9150620012298362000d5d565b9250826200123c576200123b620011e0565b5b828204905092915050565b6000620012548262000d5d565b9150620012618362000d5d565b92508282101562001277576200127662000bda565b5b828203905092915050565b7f536f6d657468696e672069732077726f6e67207769746820796f75722061636360008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b6000620012e060248362000e26565b9150620012ed8262001282565b604082019050919050565b600060208201905081810360008301526200131381620012d1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200136257607f821691505b602082108114156200137957620013786200131a565b5b50919050565b613f4c806200138f6000396000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063a457c2d7116100c1578063d52e85b61161007a578063d52e85b614610938578063dd62ed3e14610961578063ed21187a1461099e578063f2fde38b146109c9578063fb50d7dd146109f2578063fe47e23014610a2f57610272565b8063a457c2d714610825578063a6f2ae3a14610862578063a9059cbb1461086c578063b1860814146108a9578063c1307e12146108e6578063d0ae9aec1461090f57610272565b80638ba4cc3c116101135780638ba4cc3c146107275780638da5cb5b1461075057806393a408d71461077b57806394c77638146107a657806395d89b41146107d157806397ebd805146107fc57610272565b8063715018a61461066857806379cc67901461067f5780638456cb59146106a857806388b45046146106bf5780638aa42013146106ea57610272565b80633f4ba83a116101e8578063632f5c71116101ac578063632f5c711461053257806363fd9e381461056f5780636597a0761461059a5780636b75af83146105c55780636dd548c21461060257806370a082311461062b57610272565b80633f4ba83a1461048057806342966c68146104975780634424fbd6146104c05780635c975abb146104eb578063605f84991461051657610272565b806329cb924d1161023a57806329cb924d146103705780632e1a7d4d1461039b5780633110235a146103c4578063313ce567146103ef5780633894f4e31461041a578063395093511461044357610272565b806306fdde0314610277578063095ea7b3146102a257806318160ddd146102df5780631eed0f271461030a57806323b872dd14610333575b600080fd5b34801561028357600080fd5b5061028c610a46565b6040516102999190612701565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c491906127cb565b610ad8565b6040516102d69190612826565b60405180910390f35b3480156102eb57600080fd5b506102f4610afb565b6040516103019190612850565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c919061286b565b610b05565b005b34801561033f57600080fd5b5061035a60048036038101906103559190612898565b610b4e565b6040516103679190612826565b60405180910390f35b34801561037c57600080fd5b50610385610b7d565b6040516103929190612850565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd919061286b565b610b85565b005b3480156103d057600080fd5b506103d9610c93565b6040516103e69190612850565b60405180910390f35b3480156103fb57600080fd5b50610404610c99565b6040516104119190612907565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c9190612b2d565b610ca2565b005b34801561044f57600080fd5b5061046a600480360381019061046591906127cb565b610d0c565b6040516104779190612826565b60405180910390f35b34801561048c57600080fd5b50610495610d43565b005b3480156104a357600080fd5b506104be60048036038101906104b9919061286b565b610d55565b005b3480156104cc57600080fd5b506104d5610d69565b6040516104e29190612850565b60405180910390f35b3480156104f757600080fd5b50610500610d6f565b60405161050d9190612826565b60405180910390f35b610530600480360381019061052b9190612bb8565b610d86565b005b34801561053e57600080fd5b5061055960048036038101906105549190612bf8565b610f82565b6040516105669190612850565b60405180910390f35b34801561057b57600080fd5b50610584611031565b6040516105919190612850565b60405180910390f35b3480156105a657600080fd5b506105af611037565b6040516105bc9190612d25565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190612bf8565b61112f565b6040516105f99190612850565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190612d47565b6111cf565b005b34801561063757600080fd5b50610652600480360381019061064d9190612bf8565b61124a565b60405161065f9190612850565b60405180910390f35b34801561067457600080fd5b5061067d611292565b005b34801561068b57600080fd5b506106a660048036038101906106a191906127cb565b6112a6565b005b3480156106b457600080fd5b506106bd6112c6565b005b3480156106cb57600080fd5b506106d46112d8565b6040516106e19190612850565b60405180910390f35b3480156106f657600080fd5b50610711600480360381019061070c9190612d9a565b6112e8565b60405161071e9190612e98565b60405180910390f35b34801561073357600080fd5b5061074e600480360381019061074991906127cb565b611413565b005b34801561075c57600080fd5b5061076561146e565b6040516107729190612ec9565b60405180910390f35b34801561078757600080fd5b50610790611498565b60405161079d9190612850565b60405180910390f35b3480156107b257600080fd5b506107bb61149e565b6040516107c89190612850565b60405180910390f35b3480156107dd57600080fd5b506107e6611545565b6040516107f39190612701565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e91906127cb565b6115d7565b005b34801561083157600080fd5b5061084c600480360381019061084791906127cb565b611627565b6040516108599190612826565b60405180910390f35b61086a61169e565b005b34801561087857600080fd5b50610893600480360381019061088e91906127cb565b6117df565b6040516108a09190612826565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb919061286b565b611802565b6040516108dd9190612850565b60405180910390f35b3480156108f257600080fd5b5061090d6004803603810190610908919061286b565b611898565b005b34801561091b57600080fd5b506109366004803603810190610931919061286b565b6118aa565b005b34801561094457600080fd5b5061095f600480360381019061095a919061286b565b6118bc565b005b34801561096d57600080fd5b5061098860048036038101906109839190612ee4565b611907565b6040516109959190612850565b60405180910390f35b3480156109aa57600080fd5b506109b361198e565b6040516109c09190612850565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb9190612bf8565b6119a7565b005b3480156109fe57600080fd5b50610a196004803603810190610a149190612bf8565b611a2b565b604051610a269190612850565b60405180910390f35b348015610a3b57600080fd5b50610a44611a74565b005b606060038054610a5590612f53565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8190612f53565b8015610ace5780601f10610aa357610100808354040283529160200191610ace565b820191906000526020600020905b815481529060010190602001808311610ab157829003601f168201915b5050505050905090565b600080610ae3611ae6565b9050610af0818585611aee565b600191505092915050565b6000600254905090565b610b0d611cb9565b80600a819055507ff9a5e63f5066520484752c57f4415af0437e68cfc1aab8f165ff38ce8cd4e5ce81604051610b439190612850565b60405180910390a150565b600080610b59611ae6565b9050610b66858285611d37565b610b71858585611dc3565b60019150509392505050565b600042905090565b610b8d611cb9565b60008111610bd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc790612fd1565b60405180910390fd5b478110610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0990613063565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c58573d6000803e3d6000fd5b507f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d81604051610c889190612850565b60405180910390a150565b60095481565b60006012905090565b610caa611cb9565b60005b83811015610d0657610cf3838281518110610ccb57610cca613083565b5b6020026020010151838381518110610ce657610ce5613083565b5b6020026020010151611413565b8080610cfe906130e1565b915050610cad565b50505050565b600080610d17611ae6565b9050610d38818585610d298589611907565b610d33919061312a565b611aee565b600191505092915050565b610d4b611cb9565b610d5361203b565b565b610d66610d60611ae6565b8261209e565b50565b600b5481565b6000600560009054906101000a900460ff16905090565b600081905060085464e8d4a5100084610d9f9190613180565b10158015610dbf575060095464e8d4a5100084610dbc9190613180565b11155b610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590613226565b60405180910390fd5b6000610e0861149e565b90506000610e1461146e565b90506000670de0b6b3a7640000600a5464e8d4a5100088610e359190613180565b610e3f9190613275565b610e499190613180565b90506000606482610e6964e8d4a510008a610e649190613180565b611802565b610e739190613180565b610e7d9190613275565b905060008183610e8d919061312a565b90508573ffffffffffffffffffffffffffffffffffffffff166323b872dd33868b6040518463ffffffff1660e01b8152600401610ecc939291906132a6565b602060405180830381600087803b158015610ee657600080fd5b505af1158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190613309565b50610f2a303383611dc3565b610f333361226c565b7f5e74239bc61cc584c533c9d0708d838783a0ec09ddaf292f22ae494b0b2df42733828488600a548d42604051610f709796959493929190613382565b60405180910390a15050505050505050565b600080610f8e8361124a565b9050600080610f9c8561112f565b90506000610fa986611a2b565b905060008482610fb9919061312a565b90508160648483610fca9190613180565b610fd49190613275565b610fde9190613405565b93506000841015611024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101b906134ab565b60405180910390fd5b8395505050505050919050565b60085481565b606060006110456015612367565b67ffffffffffffffff81111561105e5761105d612927565b5b60405190808252806020026020018201604052801561109757816020015b611084612647565b81526020019060019003908161107c5790505b50905060005b6110a76015612367565b81101561112757601660006001836110bf919061312a565b8152602001908152602001600020604051806060016040529081600082015481526020016001820154815260200160028201548152505082828151811061110957611108613083565b5b6020026020010181905250808061111f906130e1565b91505061109d565b508091505090565b6000806000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146111c057600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506111c6565b600b5490505b80915050919050565b6111d7611cb9565b6111e16015612375565b60006111ed6015612367565b90506000604051806060016040528086815260200185815260200184815250905080601660008481526020019081526020016000206000820151816000015560208201518160010155604082015181600201559050505050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61129a611cb9565b6112a4600061238b565b565b6112b8826112b2611ae6565b83611d37565b6112c2828261209e565b5050565b6112ce611cb9565b6112d6612451565b565b60006112e2611cb9565b47905090565b60606112f2611cb9565b600083836113009190613405565b67ffffffffffffffff81111561131957611318612927565b5b6040519080825280602002602001820160405280156113475781602001602082028036833780820191505090505b50905060008060018661135a919061312a565b90505b848111611407576013600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168383815181106113ab576113aa613083565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506001826113f2919061312a565b915080806113ff906130e1565b91505061135d565b50819250505092915050565b61141b611cb9565b611426308383611dc3565b61142f8261226c565b7fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272828242604051611462939291906134cb565b60405180910390a15050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638c3c9a556040518163ffffffff1660e01b815260040160206040518083038186803b15801561150857600080fd5b505afa15801561151c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115409190613538565b905090565b60606004805461155490612f53565b80601f016020809104026020016040519081016040528092919081815260200182805461158090612f53565b80156115cd5780601f106115a2576101008083540402835291602001916115cd565b820191906000526020600020905b8154815290600101906020018083116115b057829003601f168201915b5050505050905090565b6115df611cb9565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600080611632611ae6565b905060006116408286611907565b905083811015611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906135d7565b60405180910390fd5b6116928286868403611aee565b60019250505092915050565b60006116a861149e565b90506000601154600a6116bb919061372a565b34836116c79190613180565b6116d19190613275565b905060085481101580156116e757506009548111155b611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90613226565b60405180910390fd5b6000670de0b6b3a7640000600a548361173f9190613275565b6117499190613180565b9050600060648261175985611802565b6117639190613180565b61176d9190613275565b90506000818361177d919061312a565b905061178a303383611dc3565b6117933361226c565b7f5e74239bc61cc584c533c9d0708d838783a0ec09ddaf292f22ae494b0b2df42733828488600a5434426040516117d097969594939291906137c1565b60405180910390a15050505050565b6000806117ea611ae6565b90506117f7818585611dc3565b600191505092915050565b60008061180f6015612367565b9050600080600190505b82811161188d576016600082815260200190815260200160002060000154851015801561185b5750601660008281526020019081526020016000206001015485105b1561187a57601660008281526020019081526020016000206002015491505b8080611885906130e1565b915050611819565b508092505050919050565b6118a0611cb9565b8060098190555050565b6118b2611cb9565b8060088190555050565b6118c4611cb9565b80600b819055507f2104edf4ea0a854256a7874f63142354b56e18fae995053aa8433f70c041d712600b546040516118fc9190612850565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000611998611cb9565b6119a26014612367565b905090565b6119af611cb9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a16906138b6565b60405180910390fd5b611a288161238b565b50565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a7c611cb9565b6000600190505b611a8d6015612367565b8111611ad457601660008281526020019081526020016000206000808201600090556001820160009055600282016000905550508080611acc906130e1565b915050611a83565b50611adf60156124b4565b565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5590613948565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc5906139da565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611cac9190612850565b60405180910390a3505050565b611cc1611ae6565b73ffffffffffffffffffffffffffffffffffffffff16611cdf61146e565b73ffffffffffffffffffffffffffffffffffffffff1614611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90613a46565b60405180910390fd5b565b6000611d438484611907565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611dbd5781811015611daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da690613ab2565b60405180910390fd5b611dbc8484848403611aee565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2a90613b44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a90613bd6565b60405180910390fd5b611eae8383836124c1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2b90613c68565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120229190612850565b60405180910390a36120358484846125af565b50505050565b6120436125b4565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612087611ae6565b6040516120949190612ec9565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561210e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210590613cfa565b60405180910390fd5b61211a826000836124c1565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156121a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219790613d8c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516122539190612850565b60405180910390a3612267836000846125af565b505050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415612364576122be6014612375565b60006122ca6014612367565b905080601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816013600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b50565b600081600001549050919050565b6001816000016000828254019250508190555050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124596125fd565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861249d611ae6565b6040516124aa9190612ec9565b60405180910390a1565b6000816000018190555050565b6124c96125fd565b60006124d361146e565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461259e57600061251385610f82565b905080831115612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90613e1e565b60405180910390fd5b82600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b6125a9848484611ae1565b50505050565b505050565b6125bc610d6f565b6125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f290613e8a565b60405180910390fd5b565b612605610d6f565b15612645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263c90613ef6565b60405180910390fd5b565b60405180606001604052806000815260200160008152602001600081525090565b600081519050919050565b600082825260208201905092915050565b60005b838110156126a2578082015181840152602081019050612687565b838111156126b1576000848401525b50505050565b6000601f19601f8301169050919050565b60006126d382612668565b6126dd8185612673565b93506126ed818560208601612684565b6126f6816126b7565b840191505092915050565b6000602082019050818103600083015261271b81846126c8565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061276282612737565b9050919050565b61277281612757565b811461277d57600080fd5b50565b60008135905061278f81612769565b92915050565b6000819050919050565b6127a881612795565b81146127b357600080fd5b50565b6000813590506127c58161279f565b92915050565b600080604083850312156127e2576127e161272d565b5b60006127f085828601612780565b9250506020612801858286016127b6565b9150509250929050565b60008115159050919050565b6128208161280b565b82525050565b600060208201905061283b6000830184612817565b92915050565b61284a81612795565b82525050565b60006020820190506128656000830184612841565b92915050565b6000602082840312156128815761288061272d565b5b600061288f848285016127b6565b91505092915050565b6000806000606084860312156128b1576128b061272d565b5b60006128bf86828701612780565b93505060206128d086828701612780565b92505060406128e1868287016127b6565b9150509250925092565b600060ff82169050919050565b612901816128eb565b82525050565b600060208201905061291c60008301846128f8565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61295f826126b7565b810181811067ffffffffffffffff8211171561297e5761297d612927565b5b80604052505050565b6000612991612723565b905061299d8282612956565b919050565b600067ffffffffffffffff8211156129bd576129bc612927565b5b602082029050602081019050919050565b600080fd5b60006129e66129e1846129a2565b612987565b90508083825260208201905060208402830185811115612a0957612a086129ce565b5b835b81811015612a325780612a1e8882612780565b845260208401935050602081019050612a0b565b5050509392505050565b600082601f830112612a5157612a50612922565b5b8135612a618482602086016129d3565b91505092915050565b600067ffffffffffffffff821115612a8557612a84612927565b5b602082029050602081019050919050565b6000612aa9612aa484612a6a565b612987565b90508083825260208201905060208402830185811115612acc57612acb6129ce565b5b835b81811015612af55780612ae188826127b6565b845260208401935050602081019050612ace565b5050509392505050565b600082601f830112612b1457612b13612922565b5b8135612b24848260208601612a96565b91505092915050565b600080600060608486031215612b4657612b4561272d565b5b6000612b54868287016127b6565b935050602084013567ffffffffffffffff811115612b7557612b74612732565b5b612b8186828701612a3c565b925050604084013567ffffffffffffffff811115612ba257612ba1612732565b5b612bae86828701612aff565b9150509250925092565b60008060408385031215612bcf57612bce61272d565b5b6000612bdd858286016127b6565b9250506020612bee85828601612780565b9150509250929050565b600060208284031215612c0e57612c0d61272d565b5b6000612c1c84828501612780565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612c5a81612795565b82525050565b606082016000820151612c766000850182612c51565b506020820151612c896020850182612c51565b506040820151612c9c6040850182612c51565b50505050565b6000612cae8383612c60565b60608301905092915050565b6000602082019050919050565b6000612cd282612c25565b612cdc8185612c30565b9350612ce783612c41565b8060005b83811015612d18578151612cff8882612ca2565b9750612d0a83612cba565b925050600181019050612ceb565b5085935050505092915050565b60006020820190508181036000830152612d3f8184612cc7565b905092915050565b600080600060608486031215612d6057612d5f61272d565b5b6000612d6e868287016127b6565b9350506020612d7f868287016127b6565b9250506040612d90868287016127b6565b9150509250925092565b60008060408385031215612db157612db061272d565b5b6000612dbf858286016127b6565b9250506020612dd0858286016127b6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612e0f81612757565b82525050565b6000612e218383612e06565b60208301905092915050565b6000602082019050919050565b6000612e4582612dda565b612e4f8185612de5565b9350612e5a83612df6565b8060005b83811015612e8b578151612e728882612e15565b9750612e7d83612e2d565b925050600181019050612e5e565b5085935050505092915050565b60006020820190508181036000830152612eb28184612e3a565b905092915050565b612ec381612757565b82525050565b6000602082019050612ede6000830184612eba565b92915050565b60008060408385031215612efb57612efa61272d565b5b6000612f0985828601612780565b9250506020612f1a85828601612780565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f6b57607f821691505b60208210811415612f7f57612f7e612f24565b5b50919050565b7f416d6f756e74206d757374206265206d6f7265207468616e207a65726f000000600082015250565b6000612fbb601d83612673565b9150612fc682612f85565b602082019050919050565b60006020820190508181036000830152612fea81612fae565b9050919050565b7f52657175657374656420616d6f756e74206973206d6f7265207468616e20626160008201527f6c616e6365000000000000000000000000000000000000000000000000000000602082015250565b600061304d602583612673565b915061305882612ff1565b604082019050919050565b6000602082019050818103600083015261307c81613040565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130ec82612795565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561311f5761311e6130b2565b5b600182019050919050565b600061313582612795565b915061314083612795565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613175576131746130b2565b5b828201905092915050565b600061318b82612795565b915061319683612795565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156131cf576131ce6130b2565b5b828202905092915050565b7f496e7665736d656e7420616d6f756e74206e6f742061636365707461626c6500600082015250565b6000613210601f83612673565b915061321b826131da565b602082019050919050565b6000602082019050818103600083015261323f81613203565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061328082612795565b915061328b83612795565b92508261329b5761329a613246565b5b828204905092915050565b60006060820190506132bb6000830186612eba565b6132c86020830185612eba565b6132d56040830184612841565b949350505050565b6132e68161280b565b81146132f157600080fd5b50565b600081519050613303816132dd565b92915050565b60006020828403121561331f5761331e61272d565b5b600061332d848285016132f4565b91505092915050565b7f5553445400000000000000000000000000000000000000000000000000000000600082015250565b600061336c600483612673565b915061337782613336565b602082019050919050565b600061010082019050613398600083018a612eba565b6133a56020830189612841565b6133b26040830188612841565b6133bf6060830187612841565b6133cc6080830186612841565b6133d960a0830185612841565b81810360c08301526133ea8161335f565b90506133f960e0830184612841565b98975050505050505050565b600061341082612795565b915061341b83612795565b92508282101561342e5761342d6130b2565b5b828203905092915050565b7f536f6d657468696e672069732077726f6e67207769746820796f75722061636360008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b6000613495602483612673565b91506134a082613439565b604082019050919050565b600060208201905081810360008301526134c481613488565b9050919050565b60006060820190506134e06000830186612eba565b6134ed6020830185612841565b6134fa6040830184612841565b949350505050565b6000819050919050565b61351581613502565b811461352057600080fd5b50565b6000815190506135328161350c565b92915050565b60006020828403121561354e5761354d61272d565b5b600061355c84828501613523565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006135c1602583612673565b91506135cc82613565565b604082019050919050565b600060208201905081810360008301526135f0816135b4565b9050919050565b60008160011c9050919050565b6000808291508390505b600185111561364e5780860481111561362a576136296130b2565b5b60018516156136395780820291505b8081029050613647856135f7565b945061360e565b94509492505050565b6000826136675760019050613723565b816136755760009050613723565b816001811461368b5760028114613695576136c4565b6001915050613723565b60ff8411156136a7576136a66130b2565b5b8360020a9150848211156136be576136bd6130b2565b5b50613723565b5060208310610133831016604e8410600b84101617156136f95782820a9050838111156136f4576136f36130b2565b5b613723565b6137068484846001613604565b9250905081840481111561371d5761371c6130b2565b5b81810290505b9392505050565b600061373582612795565b915061374083612795565b925061376d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613657565b905092915050565b7f4e61746976650000000000000000000000000000000000000000000000000000600082015250565b60006137ab600683612673565b91506137b682613775565b602082019050919050565b6000610100820190506137d7600083018a612eba565b6137e46020830189612841565b6137f16040830188612841565b6137fe6060830187612841565b61380b6080830186612841565b61381860a0830185612841565b81810360c08301526138298161379e565b905061383860e0830184612841565b98975050505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138a0602683612673565b91506138ab82613844565b604082019050919050565b600060208201905081810360008301526138cf81613893565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613932602483612673565b915061393d826138d6565b604082019050919050565b6000602082019050818103600083015261396181613925565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006139c4602283612673565b91506139cf82613968565b604082019050919050565b600060208201905081810360008301526139f3816139b7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a30602083612673565b9150613a3b826139fa565b602082019050919050565b60006020820190508181036000830152613a5f81613a23565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613a9c601d83612673565b9150613aa782613a66565b602082019050919050565b60006020820190508181036000830152613acb81613a8f565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613b2e602583612673565b9150613b3982613ad2565b604082019050919050565b60006020820190508181036000830152613b5d81613b21565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613bc0602383612673565b9150613bcb82613b64565b604082019050919050565b60006020820190508181036000830152613bef81613bb3565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613c52602683612673565b9150613c5d82613bf6565b604082019050919050565b60006020820190508181036000830152613c8181613c45565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ce4602183612673565b9150613cef82613c88565b604082019050919050565b60006020820190508181036000830152613d1381613cd7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d76602283612673565b9150613d8182613d1a565b604082019050919050565b60006020820190508181036000830152613da581613d69565b9050919050565b7f5468697320616d6f756e74206973206e6f74207472616e7366657261626c652060008201527f6e6f770000000000000000000000000000000000000000000000000000000000602082015250565b6000613e08602383612673565b9150613e1382613dac565b604082019050919050565b60006020820190508181036000830152613e3781613dfb565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613e74601483612673565b9150613e7f82613e3e565b602082019050919050565b60006020820190508181036000830152613ea381613e67565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613ee0601083612673565b9150613eeb82613eaa565b602082019050919050565b60006020820190508181036000830152613f0f81613ed3565b905091905056fea2646970667358221220c94d71395224f82b0aca6aad350819852d56b787c62067ec00aa46a55d72254f64736f6c63430008090033

Loading