ETH Price: $2,426.15 (-1.99%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve182052672023-09-24 11:09:47407 days ago1695553787IN
0x50DE756A...07B40B66c
0 ETH0.000311566.59762838
Approve181798462023-09-20 21:40:11411 days ago1695246011IN
0x50DE756A...07B40B66c
0 ETH0.0009299719.66782513
Approve181798452023-09-20 21:39:59411 days ago1695245999IN
0x50DE756A...07B40B66c
0 ETH0.0008844518.70519774
Approve181797692023-09-20 21:24:47411 days ago1695245087IN
0x50DE756A...07B40B66c
0 ETH0.0008723918.47357444
Approve181797672023-09-20 21:24:23411 days ago1695245063IN
0x50DE756A...07B40B66c
0 ETH0.0011969725.31461132
Approve181797372023-09-20 21:18:23411 days ago1695244703IN
0x50DE756A...07B40B66c
0 ETH0.0010796522.83344464
Approve181797272023-09-20 21:16:23411 days ago1695244583IN
0x50DE756A...07B40B66c
0 ETH0.0011042523.35360234
Renounce Ownersh...181797222023-09-20 21:15:23411 days ago1695244523IN
0x50DE756A...07B40B66c
0 ETH0.0004420318.75241442
Approve181797212023-09-20 21:15:11411 days ago1695244511IN
0x50DE756A...07B40B66c
0 ETH0.0010031521.21551572
Approve181797182023-09-20 21:14:35411 days ago1695244475IN
0x50DE756A...07B40B66c
0 ETH0.0009933821.00885814
Update Sell Fees181797182023-09-20 21:14:35411 days ago1695244475IN
0x50DE756A...07B40B66c
0 ETH0.001144518.30885814
Update Sell Fees181797172023-09-20 21:14:23411 days ago1695244463IN
0x50DE756A...07B40B66c
0 ETH0.0007355818.11839303
Approve181797172023-09-20 21:14:23411 days ago1695244463IN
0x50DE756A...07B40B66c
0 ETH0.000889818.81839303
Approve181797162023-09-20 21:14:11411 days ago1695244451IN
0x50DE756A...07B40B66c
0 ETH0.0009619420.34391694
Approve181797162023-09-20 21:14:11411 days ago1695244451IN
0x50DE756A...07B40B66c
0 ETH0.0010562422.34391694
Approve181797162023-09-20 21:14:11411 days ago1695244451IN
0x50DE756A...07B40B66c
0 ETH0.001292627.34391694
Approve181797152023-09-20 21:13:59411 days ago1695244439IN
0x50DE756A...07B40B66c
0 ETH0.0013140427.79758632
Update Buy Fees181797102023-09-20 21:12:59411 days ago1695244379IN
0x50DE756A...07B40B66c
0 ETH0.0017289818.40868593
Approve181797102023-09-20 21:12:59411 days ago1695244379IN
0x50DE756A...07B40B66c
0 ETH0.0013287528.10868593
Approve181797092023-09-20 21:12:47411 days ago1695244367IN
0x50DE756A...07B40B66c
0 ETH0.0009937621.01700998
Approve181797092023-09-20 21:12:47411 days ago1695244367IN
0x50DE756A...07B40B66c
0 ETH0.0010880623.01700998
Approve181797092023-09-20 21:12:47411 days ago1695244367IN
0x50DE756A...07B40B66c
0 ETH0.0010880623.01700998
Approve181797092023-09-20 21:12:47411 days ago1695244367IN
0x50DE756A...07B40B66c
0 ETH0.0010880623.01700998
Approve181797072023-09-20 21:12:23411 days ago1695244343IN
0x50DE756A...07B40B66c
0 ETH0.0010002121.15330915
Approve181797072023-09-20 21:12:23411 days ago1695244343IN
0x50DE756A...07B40B66c
0 ETH0.000510818.65330915
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
181797682023-09-20 21:24:35411 days ago1695245075
0x50DE756A...07B40B66c
0.04044461 ETH
181797682023-09-20 21:24:35411 days ago1695245075
0x50DE756A...07B40B66c
0.01195039 ETH
181797682023-09-20 21:24:35411 days ago1695245075
0x50DE756A...07B40B66c
0.03046901 ETH
181797682023-09-20 21:24:35411 days ago1695245075
0x50DE756A...07B40B66c
0.02651942 ETH
181797682023-09-20 21:24:35411 days ago1695245075
0x50DE756A...07B40B66c
0.08548265 ETH
181797202023-09-20 21:14:59411 days ago1695244499
0x50DE756A...07B40B66c
0.02445484 ETH
181797202023-09-20 21:14:59411 days ago1695244499
0x50DE756A...07B40B66c
0.0078593 ETH
181797202023-09-20 21:14:59411 days ago1695244499
0x50DE756A...07B40B66c
0.02192966 ETH
181797202023-09-20 21:14:59411 days ago1695244499
0x50DE756A...07B40B66c
0.01126141 ETH
181797202023-09-20 21:14:59411 days ago1695244499
0x50DE756A...07B40B66c
0.04978662 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.02445484 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.0078593 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.02192966 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.01126141 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.04978662 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.02445484 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.0078593 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.02192966 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.01126141 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.04978662 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.01964708 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.00614979 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.01804513 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.00596629 ETH
181797182023-09-20 21:14:35411 days ago1695244475
0x50DE756A...07B40B66c
0.03750872 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xd30fd420...E91AF2929
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SpectrolFinance

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : SpectrolFinance.sol
// SPDX-License-Identifier: MIT

// Website: https://spectrol.finance/
// Telegram: https://t.me/Spectrolfinance
// Twitter: https://twitter.com/SpectrolFinance

pragma solidity 0.8.9;
pragma experimental ABIEncoderV2;

////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (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);
}

////// lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts v4.4.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

    /**
     * @dev 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 {}
}

////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

/* pragma solidity ^0.8.0; */

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

////// src/IUniswapV2Factory.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

////// src/IUniswapV2Router02.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}



contract SpectrolFinance is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;

    address public treasuryFundWallet;
    address public marketingWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    uint256 public percentForLPBurn = 25; // 25 = .25%
    bool public lpBurnEnabled = true;
    uint256 public lpBurnFrequency = 3600 seconds;
    uint256 public lastLpBurnTime;

    uint256 public manualBurnFrequency = 30 minutes;
    uint256 public lastManualLpBurnTime;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
    bool public transferDelayEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buytreasuryFundFee;
    uint256 public buyLiquidityFee;
    uint256 public buyMarketingFee;

    uint256 public sellTotalFees;
    uint256 public selltreasuryFundFee;
    uint256 public sellLiquidityFee;
    uint256 public sellMarketingFee;

    uint256 public tokensFortreasuryFund;
    uint256 public tokensForLiquidity;
    uint256 public tokensForMarketing;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event treasuryFundWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    event AutoNukeLP();

    event ManualNukeLP();

    constructor() ERC20("SpectrolFinance", "SPT") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buytreasuryFundFee = 0;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyMarketingFee = 0;

        uint256 _selltreasuryFundFee = 2;
        uint256 _sellLiquidityFee = 1;
        uint256 _sellMarketingFee = 2;

        uint256 totalSupply = 1_000_000_000 * 1e18;

        maxTransactionAmount = 9_981_111 * 1e18; 
        maxWallet = 9_981_111 * 1e18; 
        swapTokensAtAmount = (totalSupply * 5) / 10000;

        buytreasuryFundFee = _buytreasuryFundFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyMarketingFee = _buyMarketingFee;
        buyTotalFees = buytreasuryFundFee + buyLiquidityFee + buyMarketingFee;

        selltreasuryFundFee = _selltreasuryFundFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellMarketingFee = _sellMarketingFee;
        sellTotalFees = selltreasuryFundFee + sellLiquidityFee + sellMarketingFee;

        treasuryFundWallet = address(0x9ef86D336a121D7fcf1a2D9BAcF6362E384c0DA5); // set as treasuryFund wallet
        marketingWallet = address(0x9ef86D336a121D7fcf1a2D9BAcF6362E384c0DA5); // set as marketing wallet

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
        lastLpBurnTime = block.timestamp;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool) {
        transferDelayEnabled = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _treasuryFundFee,
        uint256 _liquidityFee,
        uint256 _marketingFee
    ) external onlyOwner {
        buytreasuryFundFee = _treasuryFundFee;
        buyLiquidityFee = _liquidityFee;
        buyMarketingFee = _marketingFee;
        buyTotalFees = buytreasuryFundFee + buyLiquidityFee + buyMarketingFee;
        require(buyTotalFees <= 100); // Must keep fees at 10% or less
    }

    function updateSellFees(
        uint256 _treasuryFundFee,
        uint256 _liquidityFee,
        uint256 _marketingFee
    ) external onlyOwner {
        selltreasuryFundFee = _treasuryFundFee;
        sellLiquidityFee = _liquidityFee;
        sellMarketingFee = _marketingFee;
        sellTotalFees = selltreasuryFundFee + sellLiquidityFee + sellMarketingFee;
        require(sellTotalFees <= 100); // Must keep fees at 10% or less
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    event BoughtEarly(address indexed sniper);

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                if (transferDelayEnabled) {
                    if (
                        to != owner() &&
                        to != address(uniswapV2Router) &&
                        to != address(uniswapV2Pair)
                    ) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number,
                            "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        if (
            !swapping &&
            automatedMarketMakerPairs[to] &&
            lpBurnEnabled &&
            block.timestamp >= lastLpBurnTime + lpBurnFrequency &&
            !_isExcludedFromFees[from]
        ) {
            autoBurnLiquidityPairTokens();
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
                tokensFortreasuryFund += (fees * selltreasuryFundFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
                tokensFortreasuryFund += (fees * buytreasuryFundFee) / buyTotalFees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            deadAddress,
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensFortreasuryFund +
            tokensForMarketing;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        uint256 ethFortreasuryFund = ethBalance.mul(tokensFortreasuryFund).div(
            totalTokensToSwap
        );
        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(totalTokensToSwap);

        uint256 ethForLiquidity = ethBalance - ethFortreasuryFund - ethForMarketing;

        tokensForLiquidity = 0;
        tokensFortreasuryFund = 0;
        tokensForMarketing = 0;

        (success, ) = address(marketingWallet).call{value: ethForMarketing}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

        (success, ) = address(treasuryFundWallet).call{
            value: address(this).balance
        }("");
    }

    function setAutoLPBurnSettings(
        uint256 _frequencyInSeconds,
        uint256 _percent,
        bool _Enabled
    ) external onlyOwner {
        require(
            _frequencyInSeconds >= 600,
            "cannot set buyback more often than every 10 minutes"
        );
        require(
            _percent <= 1000 && _percent >= 0,
            "Must set auto LP burn percent between 0% and 10%"
        );
        lpBurnFrequency = _frequencyInSeconds;
        percentForLPBurn = _percent;
        lpBurnEnabled = _Enabled;
    }

    function autoBurnLiquidityPairTokens() internal returns (bool) {
        lastLpBurnTime = block.timestamp;

        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        // calculate amount to burn
        uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div(
            10000
        );

        // pull tokens from pancakePair liquidity and move to dead address permanently
        if (amountToBurn > 0) {
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }

        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit AutoNukeLP();
        return true;
    }

    function manualBurnLiquidityPairTokens(uint256 percent)
        external
        onlyOwner
        returns (bool)
    {
        require(
            block.timestamp > lastManualLpBurnTime + manualBurnFrequency,
            "Must wait for cooldown to finish"
        );
        require(percent <= 1000, "May not nuke more than 10% of tokens in LP");
        lastManualLpBurnTime = block.timestamp;

        // get balance of liquidity pair
        uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);

        // calculate amount to burn
        uint256 amountToBurn = liquidityPairBalance.mul(percent).div(10000);

        // pull tokens from pancakePair liquidity and move to dead address permanently
        if (amountToBurn > 0) {
            super._transfer(uniswapV2Pair, address(0xdead), amountToBurn);
        }

        //sync price since this is not in a swap transaction!
        IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
        pair.sync();
        emit ManualNukeLP();
        return true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"name":"AutoNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[],"name":"ManualNukeLP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryFundWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buytreasuryFundFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"disableTransferDelay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastManualLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualBurnLiquidityPairTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"selltreasuryFundFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensFortreasuryFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"treasuryFundWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFundFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFundFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x60806040526004361061039b5760003560e01c80637bce5a04116101dc578063c17b5b8c11610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610d9b578063f637434214610dc4578063f8b45b0514610def578063fe72b27a14610e1a576103a2565b8063e2f4560514610cef578063e884f26014610d1a578063f11a24d314610d45578063f1a77fec14610d70576103a2565b8063c8c8ebe4116100dc578063c8c8ebe414610c1f578063d257b34f14610c4a578063d85ba06314610c87578063dd62ed3e14610cb2576103a2565b8063c17b5b8c14610ba2578063c18bc19514610bcb578063c876d0b914610bf4576103a2565b80639a7a23d61161017a578063a9059cbb11610149578063a9059cbb14610ad4578063b62496f514610b11578063bbc0c74214610b4e578063c024666814610b79576103a2565b80639a7a23d614610a185780639ec22c0e14610a41578063a457c2d714610a6c578063a4c82a0014610aa9576103a2565b80638da5cb5b116101b65780638da5cb5b1461096e5780639213691314610999578063924de9b7146109c457806395d89b41146109ed576103a2565b80637bce5a04146109035780638095d5641461092e5780638a8c523c14610957576103a2565b8063313ce567116102c15780636cfcce161161025f578063730c18881161022e578063730c18881461085b578063751039fc146108845780637571336a146108af57806375f0a874146108d8576103a2565b80636cfcce16146107b15780636ddd1713146107dc57806370a0823114610807578063715018a614610844576103a2565b806349bd5a5e1161029b57806349bd5a5e146106f35780634a62bb651461071e5780634fbee193146107495780636a486a8e14610786576103a2565b8063313ce56714610660578063395093511461068b57806343724a7b146106c8576103a2565b8063199ffc721161033957806323b872dd1161030857806323b872dd146105a257806327c8f835146105df5780632c3e486c1461060a5780632e82f1a014610635576103a2565b8063199ffc72146104f85780631a8145bb146105235780631f3fed8f1461054e578063203e727e14610579576103a2565b806310d5de531161037557806310d5de531461043a5780631694505e1461047757806318160ddd146104a2578063184c16c5146104cd576103a2565b806306fdde03146103a7578063088ee509146103d2578063095ea7b3146103fd576103a2565b366103a257005b600080fd5b3480156103b357600080fd5b506103bc610e57565b6040516103c991906141d2565b60405180910390f35b3480156103de57600080fd5b506103e7610ee9565b6040516103f4919061420d565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f91906142b7565b610eef565b6040516104319190614312565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c919061432d565b610f0d565b60405161046e9190614312565b60405180910390f35b34801561048357600080fd5b5061048c610f2c565b60405161049991906143b9565b60405180910390f35b3480156104ae57600080fd5b506104b7610f50565b6040516104c4919061420d565b60405180910390f35b3480156104d957600080fd5b506104e2610f5a565b6040516104ef919061420d565b60405180910390f35b34801561050457600080fd5b5061050d610f60565b60405161051a919061420d565b60405180910390f35b34801561052f57600080fd5b50610538610f66565b604051610545919061420d565b60405180910390f35b34801561055a57600080fd5b50610563610f6c565b604051610570919061420d565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b91906143d4565b610f72565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190614401565b611081565b6040516105d69190614312565b60405180910390f35b3480156105eb57600080fd5b506105f4611179565b6040516106019190614463565b60405180910390f35b34801561061657600080fd5b5061061f61117f565b60405161062c919061420d565b60405180910390f35b34801561064157600080fd5b5061064a611185565b6040516106579190614312565b60405180910390f35b34801561066c57600080fd5b50610675611198565b604051610682919061449a565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad91906142b7565b6111a1565b6040516106bf9190614312565b60405180910390f35b3480156106d457600080fd5b506106dd61124d565b6040516106ea9190614463565b60405180910390f35b3480156106ff57600080fd5b50610708611273565b6040516107159190614463565b60405180910390f35b34801561072a57600080fd5b50610733611297565b6040516107409190614312565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b919061432d565b6112aa565b60405161077d9190614312565b60405180910390f35b34801561079257600080fd5b5061079b611300565b6040516107a8919061420d565b60405180910390f35b3480156107bd57600080fd5b506107c6611306565b6040516107d3919061420d565b60405180910390f35b3480156107e857600080fd5b506107f161130c565b6040516107fe9190614312565b60405180910390f35b34801561081357600080fd5b5061082e6004803603810190610829919061432d565b61131f565b60405161083b919061420d565b60405180910390f35b34801561085057600080fd5b50610859611367565b005b34801561086757600080fd5b50610882600480360381019061087d91906144e1565b6113ef565b005b34801561089057600080fd5b5061089961152f565b6040516108a69190614312565b60405180910390f35b3480156108bb57600080fd5b506108d660048036038101906108d19190614534565b6115cf565b005b3480156108e457600080fd5b506108ed6116a6565b6040516108fa9190614463565b60405180910390f35b34801561090f57600080fd5b506109186116cc565b604051610925919061420d565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190614574565b6116d2565b005b34801561096357600080fd5b5061096c61179b565b005b34801561097a57600080fd5b50610983611856565b6040516109909190614463565b60405180910390f35b3480156109a557600080fd5b506109ae611880565b6040516109bb919061420d565b60405180910390f35b3480156109d057600080fd5b506109eb60048036038101906109e691906145c7565b611886565b005b3480156109f957600080fd5b50610a0261191f565b604051610a0f91906141d2565b60405180910390f35b348015610a2457600080fd5b50610a3f6004803603810190610a3a9190614534565b6119b1565b005b348015610a4d57600080fd5b50610a56611aca565b604051610a63919061420d565b60405180910390f35b348015610a7857600080fd5b50610a936004803603810190610a8e91906142b7565b611ad0565b604051610aa09190614312565b60405180910390f35b348015610ab557600080fd5b50610abe611bbb565b604051610acb919061420d565b60405180910390f35b348015610ae057600080fd5b50610afb6004803603810190610af691906142b7565b611bc1565b604051610b089190614312565b60405180910390f35b348015610b1d57600080fd5b50610b386004803603810190610b33919061432d565b611bdf565b604051610b459190614312565b60405180910390f35b348015610b5a57600080fd5b50610b63611bff565b604051610b709190614312565b60405180910390f35b348015610b8557600080fd5b50610ba06004803603810190610b9b9190614534565b611c12565b005b348015610bae57600080fd5b50610bc96004803603810190610bc49190614574565b611d37565b005b348015610bd757600080fd5b50610bf26004803603810190610bed91906143d4565b611e00565b005b348015610c0057600080fd5b50610c09611f0f565b604051610c169190614312565b60405180910390f35b348015610c2b57600080fd5b50610c34611f22565b604051610c41919061420d565b60405180910390f35b348015610c5657600080fd5b50610c716004803603810190610c6c91906143d4565b611f28565b604051610c7e9190614312565b60405180910390f35b348015610c9357600080fd5b50610c9c61207d565b604051610ca9919061420d565b60405180910390f35b348015610cbe57600080fd5b50610cd96004803603810190610cd491906145f4565b612083565b604051610ce6919061420d565b60405180910390f35b348015610cfb57600080fd5b50610d0461210a565b604051610d11919061420d565b60405180910390f35b348015610d2657600080fd5b50610d2f612110565b604051610d3c9190614312565b60405180910390f35b348015610d5157600080fd5b50610d5a6121b0565b604051610d67919061420d565b60405180910390f35b348015610d7c57600080fd5b50610d856121b6565b604051610d92919061420d565b60405180910390f35b348015610da757600080fd5b50610dc26004803603810190610dbd919061432d565b6121bc565b005b348015610dd057600080fd5b50610dd96122b4565b604051610de6919061420d565b60405180910390f35b348015610dfb57600080fd5b50610e046122ba565b604051610e11919061420d565b60405180910390f35b348015610e2657600080fd5b50610e416004803603810190610e3c91906143d4565b6122c0565b604051610e4e9190614312565b60405180910390f35b606060038054610e6690614663565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9290614663565b8015610edf5780601f10610eb457610100808354040283529160200191610edf565b820191906000526020600020905b815481529060010190602001808311610ec257829003601f168201915b5050505050905090565b601c5481565b6000610f03610efc6125a7565b84846125af565b6001905092915050565b602080528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b600f5481565b600b5481565b601d5481565b601e5481565b610f7a6125a7565b73ffffffffffffffffffffffffffffffffffffffff16610f98611856565b73ffffffffffffffffffffffffffffffffffffffff1614610fee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe5906146e1565b60405180910390fd5b670de0b6b3a76400006103e86001611004610f50565b61100e9190614730565b61101891906147b9565b61102291906147b9565b811015611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b9061485c565b60405180910390fd5b670de0b6b3a7640000816110789190614730565b60088190555050565b600061108e84848461277a565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006110d96125a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611150906148ee565b60405180910390fd5b61116d856111656125a7565b8584036125af565b60019150509392505050565b61dead81565b600d5481565b600c60009054906101000a900460ff1681565b60006012905090565b60006112436111ae6125a7565b8484600160006111bc6125a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461123e919061490e565b6125af565b6001905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed81565b601160009054906101000a900460ff1681565b6000601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60185481565b60195481565b601160029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61136f6125a7565b73ffffffffffffffffffffffffffffffffffffffff1661138d611856565b73ffffffffffffffffffffffffffffffffffffffff16146113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da906146e1565b60405180910390fd5b6113ed6000613512565b565b6113f76125a7565b73ffffffffffffffffffffffffffffffffffffffff16611415611856565b73ffffffffffffffffffffffffffffffffffffffff161461146b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611462906146e1565b60405180910390fd5b6102588310156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906149d6565b60405180910390fd5b6103e882111580156114c3575060008210155b611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614a68565b60405180910390fd5b82600d8190555081600b8190555080600c60006101000a81548160ff021916908315150217905550505050565b60006115396125a7565b73ffffffffffffffffffffffffffffffffffffffff16611557611856565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a4906146e1565b60405180910390fd5b6000601160006101000a81548160ff0219169083151502179055506001905090565b6115d76125a7565b73ffffffffffffffffffffffffffffffffffffffff166115f5611856565b73ffffffffffffffffffffffffffffffffffffffff161461164b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611642906146e1565b60405180910390fd5b80602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60175481565b6116da6125a7565b73ffffffffffffffffffffffffffffffffffffffff166116f8611856565b73ffffffffffffffffffffffffffffffffffffffff161461174e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611745906146e1565b60405180910390fd5b826015819055508160168190555080601781905550601754601654601554611776919061490e565b611780919061490e565b6014819055506064601454111561179657600080fd5b505050565b6117a36125a7565b73ffffffffffffffffffffffffffffffffffffffff166117c1611856565b73ffffffffffffffffffffffffffffffffffffffff1614611817576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180e906146e1565b60405180910390fd5b6001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff02191690831515021790555042600e81905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601b5481565b61188e6125a7565b73ffffffffffffffffffffffffffffffffffffffff166118ac611856565b73ffffffffffffffffffffffffffffffffffffffff1614611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f9906146e1565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b60606004805461192e90614663565b80601f016020809104026020016040519081016040528092919081815260200182805461195a90614663565b80156119a75780601f1061197c576101008083540402835291602001916119a7565b820191906000526020600020905b81548152906001019060200180831161198a57829003601f168201915b5050505050905090565b6119b96125a7565b73ffffffffffffffffffffffffffffffffffffffff166119d7611856565b73ffffffffffffffffffffffffffffffffffffffff1614611a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a24906146e1565b60405180910390fd5b7f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614afa565b60405180910390fd5b611ac682826135d8565b5050565b60105481565b60008060016000611adf6125a7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9390614b8c565b60405180910390fd5b611bb0611ba76125a7565b858584036125af565b600191505092915050565b600e5481565b6000611bd5611bce6125a7565b848461277a565b6001905092915050565b60216020528060005260406000206000915054906101000a900460ff1681565b601160019054906101000a900460ff1681565b611c1a6125a7565b73ffffffffffffffffffffffffffffffffffffffff16611c38611856565b73ffffffffffffffffffffffffffffffffffffffff1614611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c85906146e1565b60405180910390fd5b80601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051611d2b9190614312565b60405180910390a25050565b611d3f6125a7565b73ffffffffffffffffffffffffffffffffffffffff16611d5d611856565b73ffffffffffffffffffffffffffffffffffffffff1614611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa906146e1565b60405180910390fd5b8260198190555081601a8190555080601b81905550601b54601a54601954611ddb919061490e565b611de5919061490e565b60188190555060646018541115611dfb57600080fd5b505050565b611e086125a7565b73ffffffffffffffffffffffffffffffffffffffff16611e26611856565b73ffffffffffffffffffffffffffffffffffffffff1614611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e73906146e1565b60405180910390fd5b670de0b6b3a76400006103e86005611e92610f50565b611e9c9190614730565b611ea691906147b9565b611eb091906147b9565b811015611ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee990614c1e565b60405180910390fd5b670de0b6b3a764000081611f069190614730565b600a8190555050565b601360009054906101000a900460ff1681565b60085481565b6000611f326125a7565b73ffffffffffffffffffffffffffffffffffffffff16611f50611856565b73ffffffffffffffffffffffffffffffffffffffff1614611fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9d906146e1565b60405180910390fd5b620186a06001611fb4610f50565b611fbe9190614730565b611fc891906147b9565b82101561200a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200190614cb0565b60405180910390fd5b6103e86005612017610f50565b6120219190614730565b61202b91906147b9565b82111561206d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206490614d42565b60405180910390fd5b8160098190555060019050919050565b60145481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60095481565b600061211a6125a7565b73ffffffffffffffffffffffffffffffffffffffff16612138611856565b73ffffffffffffffffffffffffffffffffffffffff161461218e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612185906146e1565b60405180910390fd5b6000601360006101000a81548160ff0219169083151502179055506001905090565b60165481565b60155481565b6121c46125a7565b73ffffffffffffffffffffffffffffffffffffffff166121e2611856565b73ffffffffffffffffffffffffffffffffffffffff1614612238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222f906146e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f90614dd4565b60405180910390fd5b6122b181613512565b50565b601a5481565b600a5481565b60006122ca6125a7565b73ffffffffffffffffffffffffffffffffffffffff166122e8611856565b73ffffffffffffffffffffffffffffffffffffffff161461233e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612335906146e1565b60405180910390fd5b600f5460105461234e919061490e565b421161238f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238690614e40565b60405180910390fd5b6103e88211156123d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cb90614ed2565b60405180910390fd5b4260108190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed6040518263ffffffff1660e01b81526004016124369190614463565b60206040518083038186803b15801561244e57600080fd5b505afa158015612462573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124869190614f07565b905060006124b16127106124a3868561367990919063ffffffff16565b61368f90919063ffffffff16565b905060008111156124ea576124e97f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed61dead836136a5565b5b60007f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed90508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561255757600080fd5b505af115801561256b573d6000803e3d6000fd5b505050507f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb60405160405180910390a160019350505050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690614fa6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268690615038565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161276d919061420d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e1906150ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561285a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128519061515c565b60405180910390fd5b60008114156128745761286f838360006136a5565b61350d565b601160009054906101000a900460ff1615612f3757612891611856565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128ff57506128cf611856565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156129385750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612972575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561298b5750600560149054906101000a900460ff16155b15612f3657601160019054906101000a900460ff16612a8557601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612a455750601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612a84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7b906151c8565b60405180910390fd5b5b601360009054906101000a900460ff1615612c4d57612aa2611856565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612b2957507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612b8157507f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612c4c5743601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfe90615280565b60405180910390fd5b43601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612cf05750602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612d9757600854811115612d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3190615312565b60405180910390fd5b600a54612d468361131f565b82612d51919061490e565b1115612d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d899061537e565b60405180910390fd5b612f35565b602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612e3a5750602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612e8957600854811115612e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b90615410565b60405180910390fd5b612f34565b602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612f3357600a54612ee68361131f565b82612ef1919061490e565b1115612f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f299061537e565b60405180910390fd5b5b5b5b5b5b6000612f423061131f565b905060006009548210159050808015612f675750601160029054906101000a900460ff165b8015612f805750600560149054906101000a900460ff16155b8015612fd65750602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561302c5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156130825750601f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156130c6576001600560146101000a81548160ff0219169083151502179055506130aa613926565b6000600560146101000a81548160ff0219169083151502179055505b600560149054906101000a900460ff1615801561312c5750602160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80156131445750600c60009054906101000a900460ff165b801561315f5750600d54600e5461315b919061490e565b4210155b80156131b55750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156131c4576131c2613c0d565b505b6000600560149054906101000a900460ff16159050601f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061327a5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561328457600090505b600081156134fd57602160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156132e757506000601854115b156133b45761331460646133066018548861367990919063ffffffff16565b61368f90919063ffffffff16565b9050601854601a54826133279190614730565b61333191906147b9565b601d6000828254613342919061490e565b92505081905550601854601b548261335a9190614730565b61336491906147b9565b601e6000828254613375919061490e565b925050819055506018546019548261338d9190614730565b61339791906147b9565b601c60008282546133a8919061490e565b925050819055506134d9565b602160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561340f57506000601454115b156134d85761343c606461342e6014548861367990919063ffffffff16565b61368f90919063ffffffff16565b90506014546016548261344f9190614730565b61345991906147b9565b601d600082825461346a919061490e565b92505081905550601454601754826134829190614730565b61348c91906147b9565b601e600082825461349d919061490e565b92505081905550601454601554826134b59190614730565b6134bf91906147b9565b601c60008282546134d0919061490e565b925050819055505b5b60008111156134ee576134ed8730836136a5565b5b80856134fa9190615430565b94505b6135088787876136a5565b505050505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600081836136879190614730565b905092915050565b6000818361369d91906147b9565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370c906150ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377c9061515c565b60405180910390fd5b613790838383613de2565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380d906154d6565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138a9919061490e565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161390d919061420d565b60405180910390a3613920848484613de7565b50505050565b60006139313061131f565b90506000601e54601c54601d54613948919061490e565b613952919061490e565b90506000808314806139645750600082145b1561397157505050613c0b565b60146009546139809190614730565b8311156139995760146009546139969190614730565b92505b6000600283601d54866139ac9190614730565b6139b691906147b9565b6139c091906147b9565b905060006139d78286613dec90919063ffffffff16565b905060004790506139e782613e02565b60006139fc8247613dec90919063ffffffff16565b90506000613a2787613a19601c548561367990919063ffffffff16565b61368f90919063ffffffff16565b90506000613a5288613a44601e548661367990919063ffffffff16565b61368f90919063ffffffff16565b90506000818385613a639190615430565b613a6d9190615430565b90506000601d819055506000601c819055506000601e81905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051613acd90615527565b60006040518083038185875af1925050503d8060008114613b0a576040519150601f19603f3d011682016040523d82523d6000602084013e613b0f565b606091505b505080985050600087118015613b255750600081115b15613b7257613b34878261404e565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618682601d54604051613b699392919061553c565b60405180910390a15b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051613bb890615527565b60006040518083038185875af1925050503d8060008114613bf5576040519150601f19603f3d011682016040523d82523d6000602084013e613bfa565b606091505b505080985050505050505050505050505b565b600042600e8190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed6040518263ffffffff1660e01b8152600401613c719190614463565b60206040518083038186803b158015613c8957600080fd5b505afa158015613c9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc19190614f07565b90506000613cee612710613ce0600b548561367990919063ffffffff16565b61368f90919063ffffffff16565b90506000811115613d2757613d267f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed61dead836136a5565b5b60007f00000000000000000000000020ea783037bb23e7c6f3f6b82feac590bb9b99ed90508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613d9457600080fd5b505af1158015613da8573d6000803e3d6000fd5b505050507f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d60405160405180910390a16001935050505090565b505050565b505050565b60008183613dfa9190615430565b905092915050565b6000600267ffffffffffffffff811115613e1f57613e1e615573565b5b604051908082528060200260200182016040528015613e4d5781602001602082028036833780820191505090505b5090503081600081518110613e6557613e646155a2565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015613f0557600080fd5b505afa158015613f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f3d91906155e6565b81600181518110613f5157613f506155a2565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613fb6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846125af565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161401895949392919061570c565b600060405180830381600087803b15801561403257600080fd5b505af1158015614046573d6000803e3d6000fd5b505050505050565b614079307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846125af565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061dead426040518863ffffffff1660e01b81526004016140e096959493929190615766565b6060604051808303818588803b1580156140f957600080fd5b505af115801561410d573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061413291906157c7565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614173578082015181840152602081019050614158565b83811115614182576000848401525b50505050565b6000601f19601f8301169050919050565b60006141a482614139565b6141ae8185614144565b93506141be818560208601614155565b6141c781614188565b840191505092915050565b600060208201905081810360008301526141ec8184614199565b905092915050565b6000819050919050565b614207816141f4565b82525050565b600060208201905061422260008301846141fe565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142588261422d565b9050919050565b6142688161424d565b811461427357600080fd5b50565b6000813590506142858161425f565b92915050565b614294816141f4565b811461429f57600080fd5b50565b6000813590506142b18161428b565b92915050565b600080604083850312156142ce576142cd614228565b5b60006142dc85828601614276565b92505060206142ed858286016142a2565b9150509250929050565b60008115159050919050565b61430c816142f7565b82525050565b60006020820190506143276000830184614303565b92915050565b60006020828403121561434357614342614228565b5b600061435184828501614276565b91505092915050565b6000819050919050565b600061437f61437a6143758461422d565b61435a565b61422d565b9050919050565b600061439182614364565b9050919050565b60006143a382614386565b9050919050565b6143b381614398565b82525050565b60006020820190506143ce60008301846143aa565b92915050565b6000602082840312156143ea576143e9614228565b5b60006143f8848285016142a2565b91505092915050565b60008060006060848603121561441a57614419614228565b5b600061442886828701614276565b935050602061443986828701614276565b925050604061444a868287016142a2565b9150509250925092565b61445d8161424d565b82525050565b60006020820190506144786000830184614454565b92915050565b600060ff82169050919050565b6144948161447e565b82525050565b60006020820190506144af600083018461448b565b92915050565b6144be816142f7565b81146144c957600080fd5b50565b6000813590506144db816144b5565b92915050565b6000806000606084860312156144fa576144f9614228565b5b6000614508868287016142a2565b9350506020614519868287016142a2565b925050604061452a868287016144cc565b9150509250925092565b6000806040838503121561454b5761454a614228565b5b600061455985828601614276565b925050602061456a858286016144cc565b9150509250929050565b60008060006060848603121561458d5761458c614228565b5b600061459b868287016142a2565b93505060206145ac868287016142a2565b92505060406145bd868287016142a2565b9150509250925092565b6000602082840312156145dd576145dc614228565b5b60006145eb848285016144cc565b91505092915050565b6000806040838503121561460b5761460a614228565b5b600061461985828601614276565b925050602061462a85828601614276565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061467b57607f821691505b6020821081141561468f5761468e614634565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146cb602083614144565b91506146d682614695565b602082019050919050565b600060208201905081810360008301526146fa816146be565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061473b826141f4565b9150614746836141f4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561477f5761477e614701565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147c4826141f4565b91506147cf836141f4565b9250826147df576147de61478a565b5b828204905092915050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e31250000000000000000000000000000000000602082015250565b6000614846602f83614144565b9150614851826147ea565b604082019050919050565b6000602082019050818103600083015261487581614839565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006148d8602883614144565b91506148e38261487c565b604082019050919050565b60006020820190508181036000830152614907816148cb565b9050919050565b6000614919826141f4565b9150614924836141f4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561495957614958614701565b5b828201905092915050565b7f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e20746860008201527f616e206576657279203130206d696e7574657300000000000000000000000000602082015250565b60006149c0603383614144565b91506149cb82614964565b604082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f4d75737420736574206175746f204c50206275726e2070657263656e7420626560008201527f747765656e20302520616e642031302500000000000000000000000000000000602082015250565b6000614a52603083614144565b9150614a5d826149f6565b604082019050919050565b60006020820190508181036000830152614a8181614a45565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000614ae4603983614144565b9150614aef82614a88565b604082019050919050565b60006020820190508181036000830152614b1381614ad7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614b76602583614144565b9150614b8182614b1a565b604082019050919050565b60006020820190508181036000830152614ba581614b69565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b6000614c08602483614144565b9150614c1382614bac565b604082019050919050565b60006020820190508181036000830152614c3781614bfb565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000614c9a603583614144565b9150614ca582614c3e565b604082019050919050565b60006020820190508181036000830152614cc981614c8d565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b6000614d2c603483614144565b9150614d3782614cd0565b604082019050919050565b60006020820190508181036000830152614d5b81614d1f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614dbe602683614144565b9150614dc982614d62565b604082019050919050565b60006020820190508181036000830152614ded81614db1565b9050919050565b7f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e697368600082015250565b6000614e2a602083614144565b9150614e3582614df4565b602082019050919050565b60006020820190508181036000830152614e5981614e1d565b9050919050565b7f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60008201527f6b656e7320696e204c5000000000000000000000000000000000000000000000602082015250565b6000614ebc602a83614144565b9150614ec782614e60565b604082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b600081519050614f018161428b565b92915050565b600060208284031215614f1d57614f1c614228565b5b6000614f2b84828501614ef2565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f90602483614144565b9150614f9b82614f34565b604082019050919050565b60006020820190508181036000830152614fbf81614f83565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000615022602283614144565b915061502d82614fc6565b604082019050919050565b6000602082019050818103600083015261505181615015565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006150b4602583614144565b91506150bf82615058565b604082019050919050565b600060208201905081810360008301526150e3816150a7565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615146602383614144565b9150615151826150ea565b604082019050919050565b6000602082019050818103600083015261517581615139565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006151b2601683614144565b91506151bd8261517c565b602082019050919050565b600060208201905081810360008301526151e1816151a5565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60008201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b60208201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000604082015250565b600061526a604983614144565b9150615275826151e8565b606082019050919050565b600060208201905081810360008301526152998161525d565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006152fc603583614144565b9150615307826152a0565b604082019050919050565b6000602082019050818103600083015261532b816152ef565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b6000615368601383614144565b915061537382615332565b602082019050919050565b600060208201905081810360008301526153978161535b565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b60006153fa603683614144565b91506154058261539e565b604082019050919050565b60006020820190508181036000830152615429816153ed565b9050919050565b600061543b826141f4565b9150615446836141f4565b92508282101561545957615458614701565b5b828203905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006154c0602683614144565b91506154cb82615464565b604082019050919050565b600060208201905081810360008301526154ef816154b3565b9050919050565b600081905092915050565b50565b60006155116000836154f6565b915061551c82615501565b600082019050919050565b600061553282615504565b9150819050919050565b600060608201905061555160008301866141fe565b61555e60208301856141fe565b61556b60408301846141fe565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506155e08161425f565b92915050565b6000602082840312156155fc576155fb614228565b5b600061560a848285016155d1565b91505092915050565b6000819050919050565b600061563861563361562e84615613565b61435a565b6141f4565b9050919050565b6156488161561d565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6156838161424d565b82525050565b6000615695838361567a565b60208301905092915050565b6000602082019050919050565b60006156b98261564e565b6156c38185615659565b93506156ce8361566a565b8060005b838110156156ff5781516156e68882615689565b97506156f1836156a1565b9250506001810190506156d2565b5085935050505092915050565b600060a08201905061572160008301886141fe565b61572e602083018761563f565b818103604083015261574081866156ae565b905061574f6060830185614454565b61575c60808301846141fe565b9695505050505050565b600060c08201905061577b6000830189614454565b61578860208301886141fe565b615795604083018761563f565b6157a2606083018661563f565b6157af6080830185614454565b6157bc60a08301846141fe565b979650505050505050565b6000806000606084860312156157e0576157df614228565b5b60006157ee86828701614ef2565b93505060206157ff86828701614ef2565b925050604061581086828701614ef2565b915050925092509256fea2646970667358221220eb5277159118714fb1a2f2baf2da89e8654181763d7f1cc3e39d7bab032a231e64736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.