ETH Price: $3,125.57 (+0.79%)

Contract

0xedA8DB2F0F8F00f0aeDD6Fdd756402Ed86cd002f
 

Overview

ETH Balance

0.00000000002406095 ETH

Eth Value

Less Than $0.01 (@ $3,125.57/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve211993022024-11-16 9:16:351 hr ago1731748595IN
0xedA8DB2F...d86cd002f
0 ETH0.0006376813.48937833
Approve211992832024-11-16 9:12:471 hr ago1731748367IN
0xedA8DB2F...d86cd002f
0 ETH0.0005914712.49608764
Approve211992382024-11-16 9:03:471 hr ago1731747827IN
0xedA8DB2F...d86cd002f
0 ETH0.0006987114.87857574
Approve211971592024-11-16 2:06:238 hrs ago1731722783IN
0xedA8DB2F...d86cd002f
0 ETH0.000685414.49884663
Transfer211969202024-11-16 1:18:239 hrs ago1731719903IN
0xedA8DB2F...d86cd002f
0 ETH0.0011977616.89583559
Approve211967872024-11-16 0:51:359 hrs ago1731718295IN
0xedA8DB2F...d86cd002f
0 ETH0.0009131419.29196923
Approve211967312024-11-16 0:40:239 hrs ago1731717623IN
0xedA8DB2F...d86cd002f
0 ETH0.0007618416.11592806
Approve211966932024-11-16 0:32:359 hrs ago1731717155IN
0xedA8DB2F...d86cd002f
0 ETH0.0008444317.84029044
Approve211963002024-11-15 23:13:3511 hrs ago1731712415IN
0xedA8DB2F...d86cd002f
0 ETH0.0010425122.03080039
Approve211962262024-11-15 22:58:4711 hrs ago1731711527IN
0xedA8DB2F...d86cd002f
0 ETH0.0009751820.62881366
Approve211959402024-11-15 22:01:3512 hrs ago1731708095IN
0xedA8DB2F...d86cd002f
0 ETH0.0011016923.30499789
Approve211959002024-11-15 21:53:3512 hrs ago1731707615IN
0xedA8DB2F...d86cd002f
0 ETH0.0010799922.997791
Approve211957182024-11-15 21:16:4713 hrs ago1731705407IN
0xedA8DB2F...d86cd002f
0 ETH0.001304727.56445364
Approve211957102024-11-15 21:15:1113 hrs ago1731705311IN
0xedA8DB2F...d86cd002f
0 ETH0.0012431826.26457247
Transfer211955942024-11-15 20:51:5913 hrs ago1731703919IN
0xedA8DB2F...d86cd002f
0 ETH0.0016938528.78850316
Approve211955272024-11-15 20:38:3513 hrs ago1731703115IN
0xedA8DB2F...d86cd002f
0 ETH0.0012173225.75104377
Approve211951572024-11-15 19:23:3515 hrs ago1731698615IN
0xedA8DB2F...d86cd002f
0 ETH0.0008594318.18023572
Approve211948962024-11-15 18:30:5916 hrs ago1731695459IN
0xedA8DB2F...d86cd002f
0 ETH0.0009294519.63661506
Approve211948422024-11-15 18:20:1116 hrs ago1731694811IN
0xedA8DB2F...d86cd002f
0 ETH0.0009707720.53554667
Approve211947552024-11-15 18:02:4716 hrs ago1731693767IN
0xedA8DB2F...d86cd002f
0 ETH0.0011022823.44240975
Change Fees211945172024-11-15 17:14:5917 hrs ago1731690899IN
0xedA8DB2F...d86cd002f
0 ETH0.0019792529.9677894
Approve211942852024-11-15 16:27:4718 hrs ago1731688067IN
0xedA8DB2F...d86cd002f
0 ETH0.0014113830.054453
Approve211941412024-11-15 15:58:4718 hrs ago1731686327IN
0xedA8DB2F...d86cd002f
0 ETH0.0014036529.65485391
Approve211941102024-11-15 15:52:3518 hrs ago1731685955IN
0xedA8DB2F...d86cd002f
0 ETH0.001330228.1388536
Approve211939222024-11-15 15:14:5919 hrs ago1731683699IN
0xedA8DB2F...d86cd002f
0 ETH0.001332528.18748724
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
211993062024-11-16 9:17:231 hr ago1731748643
0xedA8DB2F...d86cd002f
0.02613318 ETH
211993062024-11-16 9:17:231 hr ago1731748643
0xedA8DB2F...d86cd002f
0.02613318 ETH
211993062024-11-16 9:17:231 hr ago1731748643
0xedA8DB2F...d86cd002f
0.15668696 ETH
211993062024-11-16 9:17:231 hr ago1731748643
0xedA8DB2F...d86cd002f
0.05223881 ETH
211993062024-11-16 9:17:231 hr ago1731748643
0xedA8DB2F...d86cd002f
0.26119214 ETH
211963992024-11-15 23:33:2310 hrs ago1731713603
0xedA8DB2F...d86cd002f
0.02707191 ETH
211963992024-11-15 23:33:2310 hrs ago1731713603
0xedA8DB2F...d86cd002f
0.02707191 ETH
211963992024-11-15 23:33:2310 hrs ago1731713603
0xedA8DB2F...d86cd002f
0.15979581 ETH
211963992024-11-15 23:33:2310 hrs ago1731713603
0xedA8DB2F...d86cd002f
0.05349615 ETH
211963992024-11-15 23:33:2310 hrs ago1731713603
0xedA8DB2F...d86cd002f
0.26743579 ETH
211952442024-11-15 19:41:1114 hrs ago1731699671
0xedA8DB2F...d86cd002f
0.03253447 ETH
211952442024-11-15 19:41:1114 hrs ago1731699671
0xedA8DB2F...d86cd002f
0.03253447 ETH
211952442024-11-15 19:41:1114 hrs ago1731699671
0xedA8DB2F...d86cd002f
0.1345293 ETH
211952442024-11-15 19:41:1114 hrs ago1731699671
0xedA8DB2F...d86cd002f
0.05015846 ETH
211952442024-11-15 19:41:1114 hrs ago1731699671
0xedA8DB2F...d86cd002f
0.24975672 ETH
211941012024-11-15 15:50:4718 hrs ago1731685847
0xedA8DB2F...d86cd002f
0.06273855 ETH
211941012024-11-15 15:50:4718 hrs ago1731685847
0xedA8DB2F...d86cd002f
0.06273855 ETH
211941012024-11-15 15:50:4718 hrs ago1731685847
0xedA8DB2F...d86cd002f
0.12547711 ETH
211941012024-11-15 15:50:4718 hrs ago1731685847
0xedA8DB2F...d86cd002f
0.06273855 ETH
211941012024-11-15 15:50:4718 hrs ago1731685847
0xedA8DB2F...d86cd002f
0.31369278 ETH
211933342024-11-15 13:16:3521 hrs ago1731676595
0xedA8DB2F...d86cd002f
0.07770893 ETH
211933342024-11-15 13:16:3521 hrs ago1731676595
0xedA8DB2F...d86cd002f
0.07770893 ETH
211933342024-11-15 13:16:3521 hrs ago1731676595
0xedA8DB2F...d86cd002f
0.15541787 ETH
211933342024-11-15 13:16:3521 hrs ago1731676595
0xedA8DB2F...d86cd002f
0.07770893 ETH
211933342024-11-15 13:16:3521 hrs ago1731676595
0xedA8DB2F...d86cd002f
0.38854469 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
Token

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-22
*/

/// This token was incubated and launched by PROOF: https://proofplatform.io/projects. The smart contract is audited by SourceHat: https://sourcehat.com/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: contracts/interfaces/ITeamFinanceLocker.sol



pragma solidity ^0.8.24;

interface ITeamFinanceLocker {
    function lockToken(
        address _tokenAddress,
        address _withdrawalAddress,
        uint256 _amount,
        uint256 _unlockTime,
        bool _mintNFT, 
        address referrer
    ) external payable returns (uint256 _id);
}
// File: contracts/interfaces/IToken.sol



pragma solidity ^0.8.24;

interface IToken {
    struct FeeInfo {
        uint256 main;
        uint256 secondary;
        uint256 liquidity;
        uint256 proof;
        uint256 total;
    }

    struct ProofInfo {
        address locker;
        address router;
        address proofWallet;
        address proofStaking;
    }

    error ExceedsMaxTxAmount();
    error ExceedsMaxWalletAmount();
    error InvalidConfiguration();
    error TradingNotEnabled();
    error TransferDelayEnabled(uint256 currentBlock, uint256 delayedUntil);
}
// File: contracts/ProofStandardStealth.sol



pragma solidity ^0.8.24;


contract Token is IToken, ERC20, Ownable {

    struct UserInfo {
        bool isFeeExempt;
        bool isTxLimitExempt;
        uint256 lastTxBlock;
    }

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable pair;

    address payable public mainWallet;
    address payable public secondaryWallet;

    address payable public immutable proofWallet;
    address payable public immutable proofStaking;

    bool public isTradingEnabled;
    
    bool public isAntiSnipeActive = true;
    uint256 public antiSnipeEndBlock;
    uint256 public launchedAt;

    uint256 public maxTxAmount;
    uint256 public maxWallet;
    uint256 public initMaxWallet;
    bool public restrictWhales = true;
    bool public maxWalletChanged;

    uint256 public swapping;
    bool public swapEnabled = true;
    uint256 public swapTokensAtAmount;

    FeeInfo public feeTokens;
    FeeInfo public buyFees;
    FeeInfo public sellFees;

    uint256 public restingBuyTotal;
    uint256 public restingSellTotal;

    bool public buyTaxesSettled;
    bool public sellTaxesSettled;

    bool public proofFeeReduced;
    bool public proofFeeRemoved;

    bool public cancelled;

    uint256 public lockID;
    uint256 public immutable lpLockDuration;
    address public immutable lockerAddress;

    mapping (address => UserInfo) public userInfo;
    mapping (uint256 => bool) public swapThrottle;

    event SwapAndLiquify(uint256 tokensAutoLiq, uint256 ethAutoLiq);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event TokenCancelled(uint256 returnedETH);

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _totalSupply,
        FeeInfo memory _buyFees,
        FeeInfo memory _sellFees,
        uint256 _percentToLP,
        uint256 _lpLockDuration,
        uint256 _initMaxWallet,
        address _mainWallet,
        address _secondaryWallet,
        ProofInfo memory _addresses
    ) ERC20(_name, _symbol) Ownable(msg.sender) payable lockTheSwap {

        if (_lpLockDuration < 30 days || msg.value < 1 ether || _initMaxWallet < 1) {
            revert InvalidConfiguration();
        }

        (_buyFees.proof, _sellFees.proof) = (2,2);
        _validateFees(_buyFees, _sellFees);

        restingBuyTotal = _buyFees.total;
        restingSellTotal = _sellFees.total;
        _buyFees.main = 15 - _buyFees.proof - _buyFees.secondary - _buyFees.liquidity;
        _buyFees.total = 15;
        _sellFees.main = 20 - _sellFees.proof - _sellFees.secondary - _sellFees.liquidity;
        _sellFees.total = 20;

        buyFees = _buyFees;
        sellFees = _sellFees;
        // set addresses
        mainWallet = payable(_mainWallet);
        secondaryWallet = payable(_secondaryWallet);

        lockerAddress = _addresses.locker;
        proofWallet = payable(_addresses.proofWallet);
        proofStaking = payable(_addresses.proofStaking);

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_addresses.router);
        uniswapV2Router = _uniswapV2Router;

        pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set basic data

        lpLockDuration = _lpLockDuration;
        swapTokensAtAmount = _totalSupply * 5 / 4000;
        maxTxAmount = _totalSupply * 5 / 1000;
        initMaxWallet = _initMaxWallet;
        maxWallet = _totalSupply * _initMaxWallet / 1000;

        userInfo[address(this)] = UserInfo(true, true, 0);
        userInfo[pair].isTxLimitExempt = true;

        uint256 amountToPair = _totalSupply * _percentToLP / 100;
        super._update(address(0), address(this), amountToPair); // mint to contract for liquidity
        super._update(address(0), owner(), _totalSupply - amountToPair); // mint to owner
    }

    function fundLiquidity() external onlyOwner lockTheSwap {
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        isTradingEnabled = true;
        addLiquidity(balanceOf(address(this)), address(this).balance, address(this));
        isTradingEnabled = false;
    }

    function launch(uint256 bundleBuyAmount) external payable onlyOwner lockTheSwap {
        if (launchedAt != 0 || cancelled) {
            revert InvalidConfiguration();
        }

        // enable trading
        antiSnipeEndBlock = block.number + 10;
        launchedAt = block.timestamp;
        isTradingEnabled = true;

        if (bundleBuyAmount != 0) {
            //execute bundle buy
            address[] memory path = new address[](2);
            path[0] = uniswapV2Router.WETH();
            path[1] = address(this);
            uniswapV2Router.swapExactETHForTokens{ value: bundleBuyAmount }(
                0, 
                path, 
                msg.sender, 
                block.timestamp
            );
        }

        // lock liquidity using remaining ETH
        uint256 lpBalance = IERC20(pair).balanceOf(address(this));
        IERC20(pair).approve(lockerAddress, lpBalance);
        
        lockID = ITeamFinanceLocker(lockerAddress).lockToken{value: address(this).balance}(pair, msg.sender, lpBalance, block.timestamp + lpLockDuration, false, address(0));    }

    function cancel() external onlyOwner lockTheSwap {
        if (launchedAt != 0) {
            revert InvalidConfiguration();
        }

        isTradingEnabled = true;
        IERC20(pair).approve(address(uniswapV2Router), IERC20(pair).balanceOf(address(this)));
        (uint256 ethAmt) = uniswapV2Router.removeLiquidityETHSupportingFeeOnTransferTokens(
            address(this),
            IERC20(pair).balanceOf(address(this)),
            0, // liq pool should be untouchable
            0, // liq pool should be untouchable
            msg.sender,
            block.timestamp
        );
        emit TokenCancelled(ethAmt);

        isTradingEnabled = false;
        cancelled = true;

        // send the tokens and eth back to the owner
        super._update(address(this), owner(), balanceOf(address(this)));
        uint256 bal = address(this).balance;
        if (bal > 0) {
            address(msg.sender).call{value: bal}("");
        }
    }

    function _update(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (!isTradingEnabled) {
            revert TradingNotEnabled();
        }

        if (swapping == 2 || from == owner() || to == owner() || amount == 0) {
            super._update(from, to, amount);
            return;
        }

        UserInfo storage sender = userInfo[from];
        UserInfo storage recipient = userInfo[to];

        // 1 purchase per block for the first 10 blocks
        if (isAntiSnipeActive) {
            if (block.number < antiSnipeEndBlock) {
                UserInfo storage user = userInfo[tx.origin];
                
                uint256 delayedUntil = user.lastTxBlock + 1;
                if (delayedUntil > block.number) {
                    revert TransferDelayEnabled(block.number, delayedUntil);
                }
                user.lastTxBlock = block.number;
            } else {
                isAntiSnipeActive = false;
            }
        }

        //start at anywhere from 0.1% to 0.5%, increase by 0.1%, every 10 blocks, until it reaches 1%
        if (!maxWalletChanged) {
            uint256 secondsPassed = block.timestamp - launchedAt;
            uint256 percentage = initMaxWallet + (secondsPassed / 120);
            if (percentage > 9) {
                percentage = 10;
                maxWalletChanged = true;
            }
            uint256 newMax = totalSupply() * percentage / 1000;
            if (newMax != maxWallet) {
                maxWallet = newMax;
            }
        }
        
        if (restrictWhales) {
            if (to == pair && !sender.isTxLimitExempt && amount > maxTxAmount) {
                revert ExceedsMaxTxAmount();
            }

            if (!recipient.isTxLimitExempt && amount + balanceOf(to) > maxWallet) {
                revert ExceedsMaxWalletAmount();
            }
        }

        uint256 total = feeTokens.total;
        bool canSwap = total >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            from != pair &&
            !swapThrottle[block.number]
        ) {
            swapThrottle[block.number] = true;
            processFees(total, swapTokensAtAmount);
        }
        
        if (!sender.isFeeExempt && !recipient.isFeeExempt) {

            FeeInfo storage _buyFees = buyFees;
            FeeInfo storage _sellFees = sellFees;

            if (!proofFeeRemoved) {
                uint256 secondsPassed = block.timestamp - launchedAt;
                if (!proofFeeReduced && secondsPassed > 1 days) {
                    uint256 totalBuy = _buyFees.total - _buyFees.proof;
                    if (totalBuy == 0) {
                        _buyFees.total = 0;
                        _buyFees.proof = 0;
                    } else {
                        _buyFees.total = totalBuy + 1;
                        _buyFees.proof = 1;
                    }
                    uint256 totalSell = _sellFees.total - _sellFees.proof;
                    if (totalSell == 0) {
                        _sellFees.total = 0;
                        _sellFees.proof = 0;
                    } else {
                        _sellFees.total = totalSell + 1;
                        _sellFees.proof = 1;
                    }
                    proofFeeReduced = true;
                } else if (secondsPassed > 31 days) {
                    _buyFees.total -= _buyFees.proof;
                    _sellFees.total -= _sellFees.proof;
                    _buyFees.proof = 0;
                    _sellFees.proof = 0;
                    proofFeeRemoved = true;
                } else {
                    if (!buyTaxesSettled) {
                        uint256 restingTotal = restingBuyTotal;
                        uint256 feeTotal = restingTotal;
                        if (secondsPassed < 1801) {
                            feeTotal = 15 - (secondsPassed / 120);
                        }
                        if (feeTotal <= restingTotal) {
                            _buyFees.total = restingTotal;
                            _buyFees.main = restingTotal - _buyFees.liquidity - _buyFees.secondary - _buyFees.proof;
                            buyTaxesSettled = true;
                        } else if (feeTotal != _buyFees.total) {
                            _buyFees.total = feeTotal;
                            _buyFees.main = feeTotal - _buyFees.liquidity - _buyFees.secondary - _buyFees.proof;
                        }
                    }
                    if (!sellTaxesSettled) {
                        uint256 restingTotal = restingSellTotal;
                        uint256 feeTotal = restingTotal;
                        if (secondsPassed < 2401) {
                            feeTotal = 20 - (secondsPassed / 120);
                        }
                        if (feeTotal <= restingTotal) {
                            _sellFees.total = restingTotal;
                            _sellFees.main = restingTotal - _sellFees.liquidity - _sellFees.secondary - _sellFees.proof;
                            sellTaxesSettled = true;
                        } else if (feeTotal != _sellFees.total) {
                            _sellFees.total = feeTotal;
                            _sellFees.main = feeTotal - _sellFees.liquidity - _sellFees.secondary - _sellFees.proof;
                        }
                    }
                }
            }

            uint256 fees;
            if (to == pair) { //sell
                fees = _calculateFees(_sellFees, amount);
            } else if (from == pair) { //buy
                fees = _calculateFees(_buyFees, amount);
            }
            if (fees > 0) {
                amount -= fees;
                super._update(from, address(this), fees);
            }
        }

        super._update(from, to, amount);

    }

    function _calculateFees(FeeInfo memory feeRate, uint256 amount) internal returns (uint256 fees) {
        if (feeRate.total != 0) {
            fees = amount * feeRate.total / 100;
            
            FeeInfo storage _feeTokens = feeTokens;
            _feeTokens.main += fees * feeRate.main / feeRate.total;
            _feeTokens.secondary += fees * feeRate.secondary / feeRate.total;
            _feeTokens.liquidity += fees * feeRate.liquidity / feeRate.total;
            _feeTokens.proof += fees * feeRate.proof / feeRate.total;
            _feeTokens.total += fees;
        }
    }

    function processFees(uint256 total, uint256 amountToSwap) internal lockTheSwap {
        FeeInfo storage _feeTokens = feeTokens;

        FeeInfo memory swapTokens;
        swapTokens.main = amountToSwap * _feeTokens.main / total;
        swapTokens.secondary = amountToSwap * _feeTokens.secondary / total;
        swapTokens.liquidity = amountToSwap * _feeTokens.liquidity / total;
        swapTokens.proof = amountToSwap * _feeTokens.proof / total;
        
        uint256 amountToPair = swapTokens.liquidity / 2;

        swapTokens.total = amountToSwap - amountToPair;

        uint256 ethBalance = swapTokensForETH(swapTokens.total);

        FeeInfo memory ethSplit;

        ethSplit.main = ethBalance * swapTokens.main / swapTokens.total;
        if (ethSplit.main > 0) {
           address(mainWallet).call{value: ethSplit.main}("");
        }
 
        ethSplit.secondary = ethBalance * swapTokens.secondary / swapTokens.total;
        if (ethSplit.secondary > 0) {
            address(secondaryWallet).call{value: ethSplit.secondary}("");
        }

        ethSplit.proof = ethBalance * swapTokens.proof / swapTokens.total;
        if (ethSplit.proof > 0) {
            uint256 revenueSplit = ethSplit.proof / 2;
            address(proofStaking).call{value: revenueSplit}("");
            address(proofWallet).call{value: ethSplit.proof - revenueSplit}("");
        }

        uint256 amountPaired;
        ethSplit.liquidity = address(this).balance;
        if (amountToPair > 0 && ethSplit.liquidity > 0) {
            amountPaired = addLiquidity(amountToPair, ethSplit.liquidity, address(0xdead));
            emit SwapAndLiquify(amountToPair, ethSplit.liquidity);
        }

        uint256 liquidityAdjustment = swapTokens.liquidity - (amountToPair - amountPaired);

        _feeTokens.main -= swapTokens.main;
        _feeTokens.secondary -= swapTokens.secondary;
        _feeTokens.liquidity -= liquidityAdjustment;
        _feeTokens.proof -= swapTokens.proof;
        _feeTokens.total -= swapTokens.main + swapTokens.secondary + swapTokens.proof + liquidityAdjustment;
    }

    function swapTokensForETH(uint256 tokenAmount) internal returns (uint256 ethBalance) {
        uint256 ethBalBefore = address(this).balance;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        ethBalance = address(this).balance - ethBalBefore;
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount, address recipient) private returns (uint256) {
        (uint256 amountA,,) = uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            recipient,
            block.timestamp
        );
        return amountA;
    }

    function changeFees(
        uint256 liquidityBuy,
        uint256 mainBuy,
        uint256 secondaryBuy,
        uint256 liquiditySell,
        uint256 mainSell,
        uint256 secondarySell
    ) external onlyOwner {
        if (!buyTaxesSettled || !sellTaxesSettled) {
            revert InvalidConfiguration();
        }
        FeeInfo memory _buyFees;
        _buyFees.liquidity = liquidityBuy;
        _buyFees.main = mainBuy;
        _buyFees.secondary = secondaryBuy;

        FeeInfo memory _sellFees;
        _sellFees.liquidity = liquiditySell;
        _sellFees.main = mainSell;
        _sellFees.secondary = secondarySell;

        (_buyFees.proof, _sellFees.proof) = launchedAt != 0 ? _calculateProofFee() : (2,2);
        _validateFees(_buyFees, _sellFees);
        buyFees = _buyFees;
        sellFees = _sellFees;
    }

    function _calculateProofFee() internal returns (uint256, uint256) {
        uint256 secondsPassed = block.timestamp - launchedAt;
        if (secondsPassed > 31 days) {
            proofFeeRemoved = true;
            return (0,0);
        } else if (secondsPassed > 1 days) {
            proofFeeReduced = true;
            return (1,1);
        } else {
            return (2,2);
        }
    }

    function _validateFees(FeeInfo memory _buyFees, FeeInfo memory _sellFees) internal pure {
        _buyFees.total = _buyFees.liquidity + _buyFees.main + _buyFees.secondary;
        if (_buyFees.total == 0) {
            _buyFees.proof = 0;
        } else {
             _buyFees.total += _buyFees.proof;
        }

        _sellFees.total = _sellFees.liquidity + _sellFees.main + _sellFees.secondary;
        if (_sellFees.total == 0) {
            _sellFees.proof = 0;
        } else {
            _sellFees.total += _sellFees.proof;
        }

        if (_buyFees.total > 7 || _sellFees.total > 7) {
            revert InvalidConfiguration();
        }

    }

    function setMaxTxAmount(uint256 _maxTxAmt) external onlyOwner() {
        if (launchedAt == 0 ||
            _maxTxAmt < (totalSupply() * 5) / 1000 ||
            _maxTxAmt > (totalSupply() * 3) / 100
           ) {
            revert InvalidConfiguration();
        }
        maxTxAmount = _maxTxAmt;
    }

    function setMaxWalletSize(uint256 _maxWalletSize) external onlyOwner() {
        if (launchedAt == 0 ||
            _maxWalletSize < (totalSupply() * 5) / 1000 ||
            _maxWalletSize > (totalSupply() * 3) / 100
           ) {
            revert InvalidConfiguration();
        }
        maxWallet = _maxWalletSize;
        maxWalletChanged = true;
    }

    function setRestrictWhalesEnabled(bool _enabled) external onlyOwner{
        restrictWhales = _enabled;
    }

    function setFeeExempt(address account, bool value) public onlyOwner {
        userInfo[account].isFeeExempt = value;
    }

    function setFeeExempt(address[] memory accounts) public onlyOwner {
        uint256 len = accounts.length;
        for (uint256 i; i < len; i++) {
            userInfo[accounts[i]].isFeeExempt = true;
        }
    }

    function setTxLimitExempt(address account, bool value) public onlyOwner {
        userInfo[account].isTxLimitExempt = value;
    }

    function setTxLimitExempt(address[] memory accounts) public onlyOwner {
        uint256 len = accounts.length;
        for (uint256 i; i < len; i++) {
            userInfo[accounts[i]].isTxLimitExempt = true;
        }
    }

    function setMainWallet(address newWallet) external onlyOwner {
        mainWallet = payable(newWallet);
    }

    function setSecondaryWallet(address newWallet) external onlyOwner {
        secondaryWallet = payable(newWallet);
    }

    function setSwapAndLiquifyEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    function setSwapAtAmount(uint256 amount) external onlyOwner {
        swapTokensAtAmount = amount;
    }

    function withdrawStuckTokens() external onlyOwner {
        super._update(address(this), _msgSender(), balanceOf(address(this)) - feeTokens.total);
    }

    function getCirculatingSupply() external view returns (uint256) {
        return totalSupply() - balanceOf(address(0xdead));
    }

    modifier lockTheSwap() {
        swapping = 2;
        _;
        swapping = 1;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    function version() public pure returns (uint8) {
        return 3;
    }

    receive() external payable {}
 
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"components":[{"internalType":"uint256","name":"main","type":"uint256"},{"internalType":"uint256","name":"secondary","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"proof","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"internalType":"struct IToken.FeeInfo","name":"_buyFees","type":"tuple"},{"components":[{"internalType":"uint256","name":"main","type":"uint256"},{"internalType":"uint256","name":"secondary","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"proof","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"internalType":"struct IToken.FeeInfo","name":"_sellFees","type":"tuple"},{"internalType":"uint256","name":"_percentToLP","type":"uint256"},{"internalType":"uint256","name":"_lpLockDuration","type":"uint256"},{"internalType":"uint256","name":"_initMaxWallet","type":"uint256"},{"internalType":"address","name":"_mainWallet","type":"address"},{"internalType":"address","name":"_secondaryWallet","type":"address"},{"components":[{"internalType":"address","name":"locker","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"proofWallet","type":"address"},{"internalType":"address","name":"proofStaking","type":"address"}],"internalType":"struct IToken.ProofInfo","name":"_addresses","type":"tuple"}],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"ExceedsMaxTxAmount","type":"error"},{"inputs":[],"name":"ExceedsMaxWalletAmount","type":"error"},{"inputs":[],"name":"InvalidConfiguration","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TradingNotEnabled","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentBlock","type":"uint256"},{"internalType":"uint256","name":"delayedUntil","type":"uint256"}],"name":"TransferDelayEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensAutoLiq","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAutoLiq","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"returnedETH","type":"uint256"}],"name":"TokenCancelled","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"},{"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":[],"name":"antiSnipeEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"main","type":"uint256"},{"internalType":"uint256","name":"secondary","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"proof","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxesSettled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityBuy","type":"uint256"},{"internalType":"uint256","name":"mainBuy","type":"uint256"},{"internalType":"uint256","name":"secondaryBuy","type":"uint256"},{"internalType":"uint256","name":"liquiditySell","type":"uint256"},{"internalType":"uint256","name":"mainSell","type":"uint256"},{"internalType":"uint256","name":"secondarySell","type":"uint256"}],"name":"changeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeTokens","outputs":[{"internalType":"uint256","name":"main","type":"uint256"},{"internalType":"uint256","name":"secondary","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"proof","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initMaxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAntiSnipeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"bundleBuyAmount","type":"uint256"}],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpLockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","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":"maxWalletChanged","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofFeeReduced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofFeeRemoved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofStaking","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proofWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restingBuyTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"restingSellTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"restrictWhales","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondaryWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"main","type":"uint256"},{"internalType":"uint256","name":"secondary","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"proof","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxesSettled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"setFeeExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMainWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmt","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setRestrictWhalesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setSecondaryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"setTxLimitExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setTxLimitExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"swapThrottle","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":"swapping","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"bool","name":"isFeeExempt","type":"bool"},{"internalType":"bool","name":"isTxLimitExempt","type":"bool"},{"internalType":"uint256","name":"lastTxBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106103bb575f3560e01c806388cda873116101f1578063cb29813c1161010c578063ea8a1af01161009f578063f8b45b051161006e578063f8b45b0514610d8a578063f8f9892814610db4578063f954662114610ddc578063f9f4bfdd14610e06576103c2565b8063ea8a1af014610cfa578063ec28438a14610d10578063f2fde38b14610d38578063f66a79a014610d60576103c2565b8063e0f3ccf5116100db578063e0f3ccf514610c4c578063e2f4560514610c7a578063e4748b9e14610ca4578063ea1644d514610cd2576103c2565b8063cb29813c14610b96578063d0a5eb4e14610bbe578063dd62ed3e14610be6578063de35eb2414610c22576103c2565b8063a87f2ac911610184578063baae066611610153578063baae066614610aee578063bee0d6ad14610b16578063bf56b37114610b44578063c49b9a8014610b6e576103c2565b8063a87f2ac914610a48578063a8aa1b3114610a5e578063a9059cbb14610a88578063acb52a9814610ac4576103c2565b80638ebfc796116101c05780638ebfc7961461099057806395d89b41146109b85780639a82a09a146109e25780639ff77da414610a0c576103c2565b806388cda873146108ea5780638c0b5e22146109145780638d7a8ba71461093e5780638da5cb5b14610966576103c2565b80634a829e79116102e15780636ddd1713116102745780638384201311610243578063838420131461085057806383ebc78d1461087a57806385b12c7c146108a457806387f86db7146108c0576103c2565b80636ddd1713146107be57806370a08231146107e8578063715018a6146108245780638183b3c81461083a576103c2565b80635ace1122116102b05780635ace11221461071a5780636101f1f8146107425780636402511e1461076c57806367dd017914610794576103c2565b80634a829e79146106745780634b78286a1461069e57806353027501146106c657806354fd4d50146106f0576103c2565b806323b62b7511610359578063313ce56711610328578063313ce567146105cc57806332a8db87146105f65780633675f29b1461062057806344de2e4c1461064a576103c2565b806323b62b751461051257806323b872dd1461053c5780632b112e49146105785780632ffe729a146105a2576103c2565b80631694505e116103955780631694505e146104565780631732cded1461048057806318160ddd146104aa5780631959a002146104d4576103c2565b8063064a59d0146103c657806306fdde03146103f0578063095ea7b31461041a576103c2565b366103c257005b5f80fd5b3480156103d1575f80fd5b506103da610e30565b6040516103e7919061402e565b60405180910390f35b3480156103fb575f80fd5b50610404610e43565b60405161041191906140b7565b60405180910390f35b348015610425575f80fd5b50610440600480360381019061043b9190614175565b610ed3565b60405161044d919061402e565b60405180910390f35b348015610461575f80fd5b5061046a610ef5565b604051610477919061420e565b60405180910390f35b34801561048b575f80fd5b50610494610f19565b6040516104a19190614236565b60405180910390f35b3480156104b5575f80fd5b506104be610f1f565b6040516104cb9190614236565b60405180910390f35b3480156104df575f80fd5b506104fa60048036038101906104f5919061424f565b610f28565b6040516105099392919061427a565b60405180910390f35b34801561051d575f80fd5b50610526610f66565b60405161053391906142cf565b60405180910390f35b348015610547575f80fd5b50610562600480360381019061055d91906142e8565b610f8b565b60405161056f919061402e565b60405180910390f35b348015610583575f80fd5b5061058c610fb9565b6040516105999190614236565b60405180910390f35b3480156105ad575f80fd5b506105b6610fdc565b6040516105c39190614236565b60405180910390f35b3480156105d7575f80fd5b506105e0610fe2565b6040516105ed9190614353565b60405180910390f35b348015610601575f80fd5b5061060a610fea565b6040516106179190614236565b60405180910390f35b34801561062b575f80fd5b50610634610ff0565b604051610641919061437b565b60405180910390f35b348015610655575f80fd5b5061065e611014565b60405161066b919061402e565b60405180910390f35b34801561067f575f80fd5b50610688611026565b604051610695919061402e565b60405180910390f35b3480156106a9575f80fd5b506106c460048036038101906106bf919061424f565b611039565b005b3480156106d1575f80fd5b506106da611084565b6040516106e7919061402e565b60405180910390f35b3480156106fb575f80fd5b50610704611096565b6040516107119190614353565b60405180910390f35b348015610725575f80fd5b50610740600480360381019061073b91906144d4565b61109e565b005b34801561074d575f80fd5b50610756611139565b60405161076391906142cf565b60405180910390f35b348015610777575f80fd5b50610792600480360381019061078d919061451b565b61115d565b005b34801561079f575f80fd5b506107a861116f565b6040516107b591906142cf565b60405180910390f35b3480156107c9575f80fd5b506107d2611193565b6040516107df919061402e565b60405180910390f35b3480156107f3575f80fd5b5061080e6004803603810190610809919061424f565b6111a5565b60405161081b9190614236565b60405180910390f35b34801561082f575f80fd5b506108386111ea565b005b348015610845575f80fd5b5061084e6111fd565b005b34801561085b575f80fd5b50610864611231565b604051610871919061402e565b60405180910390f35b348015610885575f80fd5b5061088e611244565b60405161089b9190614236565b60405180910390f35b6108be60048036038101906108b9919061451b565b61124a565b005b3480156108cb575f80fd5b506108d4611760565b6040516108e1919061402e565b60405180910390f35b3480156108f5575f80fd5b506108fe611773565b60405161090b919061402e565b60405180910390f35b34801561091f575f80fd5b50610928611786565b6040516109359190614236565b60405180910390f35b348015610949575f80fd5b50610964600480360381019061095f9190614570565b61178c565b005b348015610971575f80fd5b5061097a6117ef565b604051610987919061437b565b60405180910390f35b34801561099b575f80fd5b506109b660048036038101906109b19190614570565b611817565b005b3480156109c3575f80fd5b506109cc611879565b6040516109d991906140b7565b60405180910390f35b3480156109ed575f80fd5b506109f6611909565b604051610a03919061402e565b60405180910390f35b348015610a17575f80fd5b50610a326004803603810190610a2d919061451b565b61191c565b604051610a3f919061402e565b60405180910390f35b348015610a53575f80fd5b50610a5c611939565b005b348015610a69575f80fd5b50610a726119e7565b604051610a7f919061437b565b60405180910390f35b348015610a93575f80fd5b50610aae6004803603810190610aa99190614175565b611a0b565b604051610abb919061402e565b60405180910390f35b348015610acf575f80fd5b50610ad8611a2d565b604051610ae59190614236565b60405180910390f35b348015610af9575f80fd5b50610b146004803603810190610b0f91906145ae565b611a33565b005b348015610b21575f80fd5b50610b2a611a57565b604051610b3b9594939291906145d9565b60405180910390f35b348015610b4f575f80fd5b50610b58611a7a565b604051610b659190614236565b60405180910390f35b348015610b79575f80fd5b50610b946004803603810190610b8f91906145ae565b611a80565b005b348015610ba1575f80fd5b50610bbc6004803603810190610bb7919061462a565b611adb565b005b348015610bc9575f80fd5b50610be46004803603810190610bdf919061424f565b611c38565b005b348015610bf1575f80fd5b50610c0c6004803603810190610c0791906146b3565b611c83565b604051610c199190614236565b60405180910390f35b348015610c2d575f80fd5b50610c36611d05565b604051610c439190614236565b60405180910390f35b348015610c57575f80fd5b50610c60611d29565b604051610c719594939291906145d9565b60405180910390f35b348015610c85575f80fd5b50610c8e611d4c565b604051610c9b9190614236565b60405180910390f35b348015610caf575f80fd5b50610cb8611d52565b604051610cc99594939291906145d9565b60405180910390f35b348015610cdd575f80fd5b50610cf86004803603810190610cf3919061451b565b611d75565b005b348015610d05575f80fd5b50610d0e611e31565b005b348015610d1b575f80fd5b50610d366004803603810190610d31919061451b565b61222c565b005b348015610d43575f80fd5b50610d5e6004803603810190610d59919061424f565b6122cd565b005b348015610d6b575f80fd5b50610d74612351565b604051610d8191906142cf565b60405180910390f35b348015610d95575f80fd5b50610d9e612376565b604051610dab9190614236565b60405180910390f35b348015610dbf575f80fd5b50610dda6004803603810190610dd591906144d4565b61237c565b005b348015610de7575f80fd5b50610df0612416565b604051610dfd9190614236565b60405180910390f35b348015610e11575f80fd5b50610e1a61241c565b604051610e27919061402e565b60405180910390f35b600760149054906101000a900460ff1681565b606060038054610e529061471e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7e9061471e565b8015610ec95780601f10610ea057610100808354040283529160200191610ec9565b820191905f5260205f20905b815481529060010190602001808311610eac57829003601f168201915b5050505050905090565b5f80610edd61242f565b9050610eea818585612436565b600191505092915050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b600e5481565b5f600254905090565b6024602052805f5260405f205f91509050805f015f9054906101000a900460ff1690805f0160019054906101000a900460ff16908060010154905083565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f80610f9561242f565b9050610fa2858285612448565b610fad8585856124da565b60019150509392505050565b5f610fc561dead6111a5565b610fcd610f1f565b610fd7919061477b565b905090565b600c5481565b5f6009905090565b60215481565b7f000000000000000000000000e2fe530c047f2d85298b07d9333c05737f1435fb81565b600d5f9054906101000a900460ff1681565b600d60019054906101000a900460ff1681565b6110416125ca565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60225f9054906101000a900460ff1681565b5f6003905090565b6110a66125ca565b5f815190505f5b8181101561113457600160245f8584815181106110cd576110cc6147ae565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160016101000a81548160ff02191690831515021790555080806001019150506110ad565b505050565b7f000000000000000000000000e9b4d32f829951a3ce145d2caa84cf66af56ca5e81565b6111656125ca565b8060108190555050565b7f000000000000000000000000377e168af6a06075423aede50856de177efaac3e81565b600f5f9054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6111f26125ca565b6111fb5f612651565b565b6112056125ca565b61122f3061121161242f565b601160040154611220306111a5565b61122a919061477b565b612714565b565b602260039054906101000a900460ff1681565b60205481565b6112526125ca565b6002600e819055505f6009541415806112775750602260049054906101000a900460ff165b156112ae576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a436112bb91906147db565b600881905550426009819055506001600760146101000a81548160ff0219169083151502179055505f8114611507575f600267ffffffffffffffff81111561130657611305614398565b5b6040519080825280602002602001820160405280156113345781602001602082028036833780820191505090505b5090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c49190614822565b815f815181106113d7576113d66147ae565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110611426576114256147ae565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff16637ff36ab5835f8433426040518663ffffffff1660e01b81526004016114c0949392919061493d565b5f6040518083038185885af11580156114db573d5f803e3d5ffd5b50505050506040513d5f823e3d601f19601f820116820180604052508101906115049190614a5b565b50505b5f7f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611561919061437b565b602060405180830381865afa15801561157c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a09190614aa2565b90507f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f000000000000000000000000e2fe530c047f2d85298b07d9333c05737f1435fb836040518363ffffffff1660e01b815260040161161d929190614acd565b6020604051808303815f875af1158015611639573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061165d9190614b08565b507f000000000000000000000000e2fe530c047f2d85298b07d9333c05737f1435fb73ffffffffffffffffffffffffffffffffffffffff16635af06fed477f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379233857f0000000000000000000000000000000000000000000000000000000001e13380426116ea91906147db565b5f806040518863ffffffff1660e01b815260040161170d96959493929190614b33565b60206040518083038185885af1158015611729573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061174e9190614aa2565b602381905550506001600e8190555050565b600760159054906101000a900460ff1681565b602260029054906101000a900460ff1681565b600a5481565b6117946125ca565b8060245f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0160016101000a81548160ff0219169083151502179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61181f6125ca565b8060245f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015f6101000a81548160ff0219169083151502179055505050565b6060600480546118889061471e565b80601f01602080910402602001604051908101604052809291908181526020018280546118b49061471e565b80156118ff5780601f106118d6576101008083540402835291602001916118ff565b820191905f5260205f20905b8154815290600101906020018083116118e257829003601f168201915b5050505050905090565b602260049054906101000a900460ff1681565b6025602052805f5260405f205f915054906101000a900460ff1681565b6119416125ca565b6002600e81905550611994307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff612436565b6001600760146101000a81548160ff0219169083151502179055506119c26119bb306111a5565b473061292d565b505f600760146101000a81548160ff0219169083151502179055506001600e81905550565b7f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379281565b5f80611a1561242f565b9050611a228185856124da565b600191505092915050565b60085481565b611a3b6125ca565b80600d5f6101000a81548160ff02191690831515021790555050565b6011805f0154908060010154908060020154908060030154908060040154905085565b60095481565b611a886125ca565b80600f5f6101000a81548160ff0219169083151502179055507f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15981604051611ad0919061402e565b60405180910390a150565b611ae36125ca565b60225f9054906101000a900460ff161580611b0b5750602260019054906101000a900460ff16155b15611b42576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b4a613fea565b8681604001818152505085815f01818152505084816020018181525050611b6f613fea565b8481604001818152505083815f018181525050828160200181815250505f60095403611b9d57600280611ba6565b611ba56129e3565b5b836060018360600182815250828152505050611bc28282612a68565b8160165f820151815f01556020820151816001015560408201518160020155606082015181600301556080820151816004015590505080601b5f820151815f0155602082015181600101556040820151816002015560608201518160030155608082015181600401559050505050505050505050565b611c406125ca565b8060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b7f0000000000000000000000000000000000000000000000000000000001e1338081565b601b805f0154908060010154908060020154908060030154908060040154905085565b60105481565b6016805f0154908060010154908060020154908060030154908060040154905085565b611d7d6125ca565b5f6009541480611dac57506103e86005611d95610f1f565b611d9f9190614b92565b611da99190614c00565b81105b80611dd5575060646003611dbe610f1f565b611dc89190614b92565b611dd29190614c00565b81115b15611e0c576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b819055506001600d60016101000a81548160ff02191690831515021790555050565b611e396125ca565b6002600e819055505f60095414611e7c576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600760146101000a81548160ff0219169083151502179055507f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611f4d919061437b565b602060405180830381865afa158015611f68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8c9190614aa2565b6040518363ffffffff1660e01b8152600401611fa9929190614acd565b6020604051808303815f875af1158015611fc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe99190614b08565b505f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663af2979eb307f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612081919061437b565b602060405180830381865afa15801561209c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c09190614aa2565b5f8033426040518763ffffffff1660e01b81526004016120e596959493929190614c30565b6020604051808303815f875af1158015612101573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121259190614aa2565b90507fcb4776c88e89a1336e8703163e15bfe474d287d489b9ea0fbc19157d673036bc816040516121569190614236565b60405180910390a15f600760146101000a81548160ff0219169083151502179055506001602260046101000a81548160ff0219169083151502179055506121ad3061219f6117ef565b6121a8306111a5565b612714565b5f4790505f811115612220573373ffffffffffffffffffffffffffffffffffffffff16816040516121dd90614cbc565b5f6040518083038185875af1925050503d805f8114612217576040519150601f19603f3d011682016040523d82523d5f602084013e61221c565b606091505b5050505b50506001600e81905550565b6122346125ca565b5f600954148061226357506103e8600561224c610f1f565b6122569190614b92565b6122609190614c00565b81105b8061228c575060646003612275610f1f565b61227f9190614b92565b6122899190614c00565b81115b156122c3576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a8190555050565b6122d56125ca565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612345575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161233c919061437b565b60405180910390fd5b61234e81612651565b50565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b6123846125ca565b5f815190505f5b8181101561241157600160245f8584815181106123ab576123aa6147ae565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015f6101000a81548160ff021916908315150217905550808060010191505061238b565b505050565b60235481565b602260019054906101000a900460ff1681565b5f33905090565b6124438383836001612b80565b505050565b5f6124538484611c83565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146124d457818110156124c5578281836040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526004016124bc93929190614cd0565b60405180910390fd5b6124d384848484035f612b80565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361254a575f6040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401612541919061437b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125ba575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016125b1919061437b565b60405180910390fd5b6125c5838383612d4f565b505050565b6125d261242f565b73ffffffffffffffffffffffffffffffffffffffff166125f06117ef565b73ffffffffffffffffffffffffffffffffffffffff161461264f5761261361242f565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401612646919061437b565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612764578060025f82825461275891906147db565b92505081905550612832565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156127ed578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016127e493929190614cd0565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612879578060025f82825403925050819055506128c3565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516129209190614236565b60405180910390a3505050565b5f807f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7198530885f8089426040518863ffffffff1660e01b815260040161299396959493929190614c30565b60606040518083038185885af11580156129af573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906129d49190614d05565b50509050809150509392505050565b5f805f600954426129f4919061477b565b90506228de80811115612a28576001602260036101000a81548160ff0219169083151502179055505f809250925050612a64565b62015180811115612a5b576001602260026101000a81548160ff0219169083151502179055506001809250925050612a64565b60028092509250505b9091565b8160200151825f01518360400151612a8091906147db565b612a8a91906147db565b8260800181815250505f826080015103612aad575f826060018181525050612acb565b816060015182608001818151612ac391906147db565b915081815250505b8060200151815f01518260400151612ae391906147db565b612aed91906147db565b8160800181815250505f816080015103612b10575f816060018181525050612b2e565b806060015181608001818151612b2691906147db565b915081815250505b600782608001511180612b45575060078160800151115b15612b7c576040517fc52a9bd300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612bf0575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401612be7919061437b565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c60575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401612c57919061437b565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015612d49578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051612d409190614236565b60405180910390a35b50505050565b600760149054906101000a900460ff16612d95576040517f12f1f92300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600e541480612dd85750612da96117ef565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80612e155750612de66117ef565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612e1f57505f81145b15612e3457612e2f838383612714565b613777565b5f60245f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f60245f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f209050600760159054906101000a900460ff1615612f9a57600854431015612f7e575f60245f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f60018260010154612f2591906147db565b905043811115612f6e5743816040517f4a24f3d2000000000000000000000000000000000000000000000000000000008152600401612f65929190614d55565b60405180910390fd5b4382600101819055505050612f99565b5f600760156101000a81548160ff0219169083151502179055505b5b600d60019054906101000a900460ff1661303d575f60095442612fbd919061477b565b90505f607882612fcd9190614c00565b600c54612fda91906147db565b9050600981111561300557600a90506001600d60016101000a81548160ff0219169083151502179055505b5f6103e882613012610f1f565b61301c9190614b92565b6130269190614c00565b9050600b5481146130395780600b819055505b5050505b600d5f9054906101000a900460ff1615613168577f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156130ba5750815f0160019054906101000a900460ff16155b80156130c75750600a5483115b156130fe576040517fa504b6d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f0160019054906101000a900460ff161580156131305750600b54613123856111a5565b8461312e91906147db565b115b15613167576040517ffd42866100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f60116004015490505f60105482101590508080156131925750600f5f9054906101000a900460ff165b80156131ea57507f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614155b8015613211575060255f4381526020019081526020015f205f9054906101000a900460ff16155b1561324c57600160255f4381526020019081526020015f205f6101000a81548160ff02191690831515021790555061324b8260105461377c565b5b835f015f9054906101000a900460ff161580156132765750825f015f9054906101000a900460ff16155b15613767575f601690505f601b9050602260039054906101000a900460ff16613603575f600954426132a8919061477b565b9050602260029054906101000a900460ff161580156132c957506201518081115b1561339a575f836003015484600401546132e3919061477b565b90505f8103613303575f84600401819055505f8460030181905550613323565b60018161331091906147db565b8460040181905550600184600301819055505b5f83600301548460040154613338919061477b565b90505f8103613358575f84600401819055505f8460030181905550613378565b60018161336591906147db565b8460040181905550600184600301819055505b6001602260026101000a81548160ff0219169083151502179055505050613601565b6228de80811115613413578260030154836004015f8282546133bc919061477b565b925050819055508160030154826004015f8282546133da919061477b565b925050819055505f83600301819055505f82600301819055506001602260036101000a81548160ff021916908315150217905550613600565b60225f9054906101000a900460ff16613508575f60205490505f819050610709831015613456576078836134479190614c00565b600f613453919061477b565b90505b8181116134ba5781856004018190555084600301548560010154866002015484613480919061477b565b61348a919061477b565b613494919061477b565b855f0181905550600160225f6101000a81548160ff021916908315150217905550613505565b8460040154811461350457808560040181905550846003015485600101548660020154836134e8919061477b565b6134f2919061477b565b6134fc919061477b565b855f01819055505b5b50505b602260019054906101000a900460ff166135ff575f60215490505f81905061096183101561354c5760788361353d9190614c00565b6014613549919061477b565b90505b8181116135b15781846004018190555083600301548460010154856002015484613576919061477b565b613580919061477b565b61358a919061477b565b845f01819055506001602260016101000a81548160ff0219169083151502179055506135fc565b836004015481146135fb57808460040181905550836003015484600101548560020154836135df919061477b565b6135e9919061477b565b6135f3919061477b565b845f01819055505b5b50505b5b5b505b5f7f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16036136a45761369d826040518060a00160405290815f820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505089613c9d565b9050613741565b7f000000000000000000000000d32feedccb15530da9d5cc64b3074c5dfc58379273ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff16036137405761373d836040518060a00160405290815f820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505089613c9d565b90505b5b5f811115613763578088613755919061477b565b97506137628a3083612714565b5b5050505b613772878787612714565b505050505b505050565b6002600e819055505f60119050613791613fea565b83825f0154846137a19190614b92565b6137ab9190614c00565b815f018181525050838260010154846137c49190614b92565b6137ce9190614c00565b816020018181525050838260020154846137e89190614b92565b6137f29190614c00565b8160400181815250508382600301548461380c9190614b92565b6138169190614c00565b8160600181815250505f600282604001516138319190614c00565b9050808461383f919061477b565b8260800181815250505f6138568360800151613dcc565b9050613860613fea565b8360800151845f0151836138749190614b92565b61387e9190614c00565b815f0181815250505f815f0151111561391c5760065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815f01516040516138d990614cbc565b5f6040518083038185875af1925050503d805f8114613913576040519150601f19603f3d011682016040523d82523d5f602084013e613918565b606091505b5050505b83608001518460200151836139319190614b92565b61393b9190614c00565b8160200181815250505f816020015111156139dc5760075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16816020015160405161399990614cbc565b5f6040518083038185875af1925050503d805f81146139d3576040519150601f19603f3d011682016040523d82523d5f602084013e6139d8565b606091505b5050505b83608001518460600151836139f19190614b92565b6139fb9190614c00565b8160600181815250505f81606001511115613b41575f60028260600151613a229190614c00565b90507f000000000000000000000000377e168af6a06075423aede50856de177efaac3e73ffffffffffffffffffffffffffffffffffffffff1681604051613a6890614cbc565b5f6040518083038185875af1925050503d805f8114613aa2576040519150601f19603f3d011682016040523d82523d5f602084013e613aa7565b606091505b5050507f000000000000000000000000e9b4d32f829951a3ce145d2caa84cf66af56ca5e73ffffffffffffffffffffffffffffffffffffffff16818360600151613af1919061477b565b604051613afd90614cbc565b5f6040518083038185875af1925050503d805f8114613b37576040519150601f19603f3d011682016040523d82523d5f602084013e613b3c565b606091505b505050505b5f478260400181815250505f84118015613b5e57505f8260400151115b15613bb457613b7484836040015161dead61292d565b90507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486848360400151604051613bab929190614d55565b60405180910390a15b5f8185613bc1919061477b565b8660400151613bd0919061477b565b9050855f0151875f015f828254613be7919061477b565b925050819055508560200151876001015f828254613c05919061477b565b9250508190555080876002015f828254613c1f919061477b565b925050819055508560600151876003015f828254613c3d919061477b565b925050819055508086606001518760200151885f0151613c5d91906147db565b613c6791906147db565b613c7191906147db565b876004015f828254613c83919061477b565b92505081905550505050505050506001600e819055505050565b5f80836080015114613dc6576064836080015183613cbb9190614b92565b613cc59190614c00565b90505f601190508360800151845f015183613ce09190614b92565b613cea9190614c00565b815f015f828254613cfb91906147db565b925050819055508360800151846020015183613d179190614b92565b613d219190614c00565b816001015f828254613d3391906147db565b925050819055508360800151846040015183613d4f9190614b92565b613d599190614c00565b816002015f828254613d6b91906147db565b925050819055508360800151846060015183613d879190614b92565b613d919190614c00565b816003015f828254613da391906147db565b9250508190555081816004015f828254613dbd91906147db565b92505081905550505b92915050565b5f804790505f600267ffffffffffffffff811115613ded57613dec614398565b5b604051908082528060200260200182016040528015613e1b5781602001602082028036833780820191505090505b50905030815f81518110613e3257613e316147ae565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ed5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ef99190614822565b81600181518110613f0d57613f0c6147ae565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947855f8430426040518663ffffffff1660e01b8152600401613fa8959493929190614d7c565b5f604051808303815f87803b158015613fbf575f80fd5b505af1158015613fd1573d5f803e3d5ffd5b505050508147613fe1919061477b565b92505050919050565b6040518060a001604052805f81526020015f81526020015f81526020015f81526020015f81525090565b5f8115159050919050565b61402881614014565b82525050565b5f6020820190506140415f83018461401f565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61408982614047565b6140938185614051565b93506140a3818560208601614061565b6140ac8161406f565b840191505092915050565b5f6020820190508181035f8301526140cf818461407f565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f614111826140e8565b9050919050565b61412181614107565b811461412b575f80fd5b50565b5f8135905061413c81614118565b92915050565b5f819050919050565b61415481614142565b811461415e575f80fd5b50565b5f8135905061416f8161414b565b92915050565b5f806040838503121561418b5761418a6140e0565b5b5f6141988582860161412e565b92505060206141a985828601614161565b9150509250929050565b5f819050919050565b5f6141d66141d16141cc846140e8565b6141b3565b6140e8565b9050919050565b5f6141e7826141bc565b9050919050565b5f6141f8826141dd565b9050919050565b614208816141ee565b82525050565b5f6020820190506142215f8301846141ff565b92915050565b61423081614142565b82525050565b5f6020820190506142495f830184614227565b92915050565b5f60208284031215614264576142636140e0565b5b5f6142718482850161412e565b91505092915050565b5f60608201905061428d5f83018661401f565b61429a602083018561401f565b6142a76040830184614227565b949350505050565b5f6142b9826140e8565b9050919050565b6142c9816142af565b82525050565b5f6020820190506142e25f8301846142c0565b92915050565b5f805f606084860312156142ff576142fe6140e0565b5b5f61430c8682870161412e565b935050602061431d8682870161412e565b925050604061432e86828701614161565b9150509250925092565b5f60ff82169050919050565b61434d81614338565b82525050565b5f6020820190506143665f830184614344565b92915050565b61437581614107565b82525050565b5f60208201905061438e5f83018461436c565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6143ce8261406f565b810181811067ffffffffffffffff821117156143ed576143ec614398565b5b80604052505050565b5f6143ff6140d7565b905061440b82826143c5565b919050565b5f67ffffffffffffffff82111561442a57614429614398565b5b602082029050602081019050919050565b5f80fd5b5f61445161444c84614410565b6143f6565b905080838252602082019050602084028301858111156144745761447361443b565b5b835b8181101561449d5780614489888261412e565b845260208401935050602081019050614476565b5050509392505050565b5f82601f8301126144bb576144ba614394565b5b81356144cb84826020860161443f565b91505092915050565b5f602082840312156144e9576144e86140e0565b5b5f82013567ffffffffffffffff811115614506576145056140e4565b5b614512848285016144a7565b91505092915050565b5f602082840312156145305761452f6140e0565b5b5f61453d84828501614161565b91505092915050565b61454f81614014565b8114614559575f80fd5b50565b5f8135905061456a81614546565b92915050565b5f8060408385031215614586576145856140e0565b5b5f6145938582860161412e565b92505060206145a48582860161455c565b9150509250929050565b5f602082840312156145c3576145c26140e0565b5b5f6145d08482850161455c565b91505092915050565b5f60a0820190506145ec5f830188614227565b6145f96020830187614227565b6146066040830186614227565b6146136060830185614227565b6146206080830184614227565b9695505050505050565b5f805f805f8060c08789031215614644576146436140e0565b5b5f61465189828a01614161565b965050602061466289828a01614161565b955050604061467389828a01614161565b945050606061468489828a01614161565b935050608061469589828a01614161565b92505060a06146a689828a01614161565b9150509295509295509295565b5f80604083850312156146c9576146c86140e0565b5b5f6146d68582860161412e565b92505060206146e78582860161412e565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061473557607f821691505b602082108103614748576147476146f1565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61478582614142565b915061479083614142565b92508282039050818111156147a8576147a761474e565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6147e582614142565b91506147f083614142565b92508282019050808211156148085761480761474e565b5b92915050565b5f8151905061481c81614118565b92915050565b5f60208284031215614837576148366140e0565b5b5f6148448482850161480e565b91505092915050565b5f819050919050565b5f61487061486b6148668461484d565b6141b3565b614142565b9050919050565b61488081614856565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6148b881614107565b82525050565b5f6148c983836148af565b60208301905092915050565b5f602082019050919050565b5f6148eb82614886565b6148f58185614890565b9350614900836148a0565b805f5b8381101561493057815161491788826148be565b9750614922836148d5565b925050600181019050614903565b5085935050505092915050565b5f6080820190506149505f830187614877565b818103602083015261496281866148e1565b9050614971604083018561436c565b61497e6060830184614227565b95945050505050565b5f67ffffffffffffffff8211156149a1576149a0614398565b5b602082029050602081019050919050565b5f815190506149c08161414b565b92915050565b5f6149d86149d384614987565b6143f6565b905080838252602082019050602084028301858111156149fb576149fa61443b565b5b835b81811015614a245780614a1088826149b2565b8452602084019350506020810190506149fd565b5050509392505050565b5f82601f830112614a4257614a41614394565b5b8151614a528482602086016149c6565b91505092915050565b5f60208284031215614a7057614a6f6140e0565b5b5f82015167ffffffffffffffff811115614a8d57614a8c6140e4565b5b614a9984828501614a2e565b91505092915050565b5f60208284031215614ab757614ab66140e0565b5b5f614ac4848285016149b2565b91505092915050565b5f604082019050614ae05f83018561436c565b614aed6020830184614227565b9392505050565b5f81519050614b0281614546565b92915050565b5f60208284031215614b1d57614b1c6140e0565b5b5f614b2a84828501614af4565b91505092915050565b5f60c082019050614b465f83018961436c565b614b53602083018861436c565b614b606040830187614227565b614b6d6060830186614227565b614b7a608083018561401f565b614b8760a083018461436c565b979650505050505050565b5f614b9c82614142565b9150614ba783614142565b9250828202614bb581614142565b91508282048414831517614bcc57614bcb61474e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f614c0a82614142565b9150614c1583614142565b925082614c2557614c24614bd3565b5b828204905092915050565b5f60c082019050614c435f83018961436c565b614c506020830188614227565b614c5d6040830187614877565b614c6a6060830186614877565b614c77608083018561436c565b614c8460a0830184614227565b979650505050505050565b5f81905092915050565b50565b5f614ca75f83614c8f565b9150614cb282614c99565b5f82019050919050565b5f614cc682614c9c565b9150819050919050565b5f606082019050614ce35f83018661436c565b614cf06020830185614227565b614cfd6040830184614227565b949350505050565b5f805f60608486031215614d1c57614d1b6140e0565b5b5f614d29868287016149b2565b9350506020614d3a868287016149b2565b9250506040614d4b868287016149b2565b9150509250925092565b5f604082019050614d685f830185614227565b614d756020830184614227565b9392505050565b5f60a082019050614d8f5f830188614227565b614d9c6020830187614877565b8181036040830152614dae81866148e1565b9050614dbd606083018561436c565b614dca6080830184614227565b969550505050505056fea26469706673582212200a13f4f2f07f5a8bb8075bace9243ff153d24f7e17ddf0d85661ecd79aaac1dc64736f6c634300081a0033

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.