ETH Price: $2,430.67 (+5.44%)

Contract

0x75A771116e90f128b1eb74a45C7Fc44E8a4354ef
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Stuck T...181726262023-09-19 21:25:59365 days ago1695158759IN
0x75A77111...E8a4354ef
0 ETH0.0006517612.89007387
Approve181726232023-09-19 21:25:23365 days ago1695158723IN
0x75A77111...E8a4354ef
0 ETH0.0006398613.73218598
Approve181726072023-09-19 21:22:11365 days ago1695158531IN
0x75A77111...E8a4354ef
0 ETH0.0006398413.71405258
Approve181726012023-09-19 21:20:59365 days ago1695158459IN
0x75A77111...E8a4354ef
0 ETH0.0007640416.37619495
Approve181725932023-09-19 21:19:23365 days ago1695158363IN
0x75A77111...E8a4354ef
0 ETH0.0006662214.27947149
Approve181725892023-09-19 21:18:35365 days ago1695158315IN
0x75A77111...E8a4354ef
0 ETH0.0005313211.40290301
Approve181725892023-09-19 21:18:35365 days ago1695158315IN
0x75A77111...E8a4354ef
0 ETH0.0008073317.30390301
Approve181725882023-09-19 21:18:23365 days ago1695158303IN
0x75A77111...E8a4354ef
0 ETH0.0008187717.54926316
Renounce Ownersh...181725872023-09-19 21:18:11365 days ago1695158291IN
0x75A77111...E8a4354ef
0 ETH0.0003500715
Approve181725852023-09-19 21:17:47365 days ago1695158267IN
0x75A77111...E8a4354ef
0 ETH0.0006516513.96729369
Approve181725852023-09-19 21:17:47365 days ago1695158267IN
0x75A77111...E8a4354ef
0 ETH0.0006516513.96729369
Approve181725842023-09-19 21:17:35365 days ago1695158255IN
0x75A77111...E8a4354ef
0 ETH0.0006277113.52707602
Update Sell Fees181725822023-09-19 21:17:11365 days ago1695158231IN
0x75A77111...E8a4354ef
0 ETH0.0006593815
Approve181725782023-09-19 21:16:23365 days ago1695158183IN
0x75A77111...E8a4354ef
0 ETH0.0006672714.30212097
Update Sell Fees181725742023-09-19 21:15:35365 days ago1695158135IN
0x75A77111...E8a4354ef
0 ETH0.0006593815
Remove Limits181725712023-09-19 21:14:59365 days ago1695158099IN
0x75A77111...E8a4354ef
0 ETH0.0005344515
Approve181725692023-09-19 21:14:35365 days ago1695158075IN
0x75A77111...E8a4354ef
0 ETH0.0007112215.2440076
Approve181725682023-09-19 21:14:23365 days ago1695158063IN
0x75A77111...E8a4354ef
0 ETH0.0005854512.63617881
Approve181725652023-09-19 21:13:47365 days ago1695158027IN
0x75A77111...E8a4354ef
0 ETH0.0007539916.16071461
Approve181725642023-09-19 21:13:35365 days ago1695158015IN
0x75A77111...E8a4354ef
0 ETH0.00076816.46100277
Approve181725642023-09-19 21:13:35365 days ago1695158015IN
0x75A77111...E8a4354ef
0 ETH0.00076816.46100277
Approve181725632023-09-19 21:13:23365 days ago1695158003IN
0x75A77111...E8a4354ef
0 ETH0.0007844516.81354137
Update Buy Fees181725612023-09-19 21:12:59365 days ago1695157979IN
0x75A77111...E8a4354ef
0 ETH0.0005852215
Approve181725582023-09-19 21:12:11365 days ago1695157931IN
0x75A77111...E8a4354ef
0 ETH0.0006334313.57671541
Approve181725572023-09-19 21:11:59365 days ago1695157919IN
0x75A77111...E8a4354ef
0 ETH0.0007304415.65606316
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
181726312023-09-19 21:26:59365 days ago1695158819
0x75A77111...E8a4354ef
0 ETH
181726312023-09-19 21:26:59365 days ago1695158819
0x75A77111...E8a4354ef
0 ETH
181726312023-09-19 21:26:59365 days ago1695158819
0x75A77111...E8a4354ef
0 ETH
181726202023-09-19 21:24:47365 days ago1695158687
0x75A77111...E8a4354ef
0.00181678 ETH
181726202023-09-19 21:24:47365 days ago1695158687
0x75A77111...E8a4354ef
0.00181678 ETH
181726202023-09-19 21:24:47365 days ago1695158687
0x75A77111...E8a4354ef
0.00363357 ETH
181726092023-09-19 21:22:35365 days ago1695158555
0x75A77111...E8a4354ef
0.00219106 ETH
181726092023-09-19 21:22:35365 days ago1695158555
0x75A77111...E8a4354ef
0.00219106 ETH
181726092023-09-19 21:22:35365 days ago1695158555
0x75A77111...E8a4354ef
0.00438212 ETH
181726062023-09-19 21:21:59365 days ago1695158519
0x75A77111...E8a4354ef
0.00219106 ETH
181726062023-09-19 21:21:59365 days ago1695158519
0x75A77111...E8a4354ef
0.00219106 ETH
181726062023-09-19 21:21:59365 days ago1695158519
0x75A77111...E8a4354ef
0.00438212 ETH
181726012023-09-19 21:20:59365 days ago1695158459
0x75A77111...E8a4354ef
0.00232685 ETH
181726012023-09-19 21:20:59365 days ago1695158459
0x75A77111...E8a4354ef
0.00232685 ETH
181726012023-09-19 21:20:59365 days ago1695158459
0x75A77111...E8a4354ef
0.00465371 ETH
181725882023-09-19 21:18:23365 days ago1695158303
0x75A77111...E8a4354ef
0.00815012 ETH
181725882023-09-19 21:18:23365 days ago1695158303
0x75A77111...E8a4354ef
0.00815012 ETH
181725882023-09-19 21:18:23365 days ago1695158303
0x75A77111...E8a4354ef
0.01630024 ETH
181725722023-09-19 21:15:11365 days ago1695158111
0x75A77111...E8a4354ef
0.00430737 ETH
181725722023-09-19 21:15:11365 days ago1695158111
0x75A77111...E8a4354ef
0.00430737 ETH
181725722023-09-19 21:15:11365 days ago1695158111
0x75A77111...E8a4354ef
0.00861475 ETH
181725612023-09-19 21:12:59365 days ago1695157979
0x75A77111...E8a4354ef
0.00953946 ETH
181725612023-09-19 21:12:59365 days ago1695157979
0x75A77111...E8a4354ef
0.00953946 ETH
181725612023-09-19 21:12:59365 days ago1695157979
0x75A77111...E8a4354ef
0.01907892 ETH
181725512023-09-19 21:10:47365 days ago1695157847
0x75A77111...E8a4354ef
0.00205852 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PEPECRIPS

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : PEPECRIPS.sol
/** 

PepeCripsOGTupacIceCube10🔵Inu ($PEPECRIPS)

Hood life teaches you to appreciate the value of a $PEPECRIPS Token & the power of hustling. 
$PEPECRIPS is a hood token born on the streets of LA, now taking the web3 space by storm.

$PEPECRIPS draws inspiration from the aesthetics of street culture and urban life. 
Its logo features Pepe adorned in Crips blue, sporting a bandana and exuding an air of defiance.

Socials:

OG Website: https://www.pepecrips.com/
OG Twitter: https://twitter.com/PepeCrips
OG Telegram: https://t.me/pepecrips
OG Medium: https://medium.com/@pepecrips/pepecripsogtupacicecube10-inu-28ff1c3aa5b3

No more jeets - only OG vibe.

*/


// SPDX-License-Identifier: MIT
 
pragma solidity 0.8.16;
pragma experimental ABIEncoderV2;
 
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
 
// pragma solidity ^0.8.0;
 
/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
 
    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
 
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
 
// pragma solidity ^0.8.0;
 
// import "../utils/Context.sol";
 
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;
 
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );
 
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }
 
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }
 
    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }
 
    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }
 
    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }
 
    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
 
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
 
// pragma solidity ^0.8.0;
 
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);
 
    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
 
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);
 
    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);
 
    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);
 
    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);
 
    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);
 
    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}
 
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
 
// pragma solidity ^0.8.0;
 
// import "../IERC20.sol";
 
/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);
 
    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);
 
    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
 
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
 
// pragma solidity ^0.8.0;
 
// import "./IERC20.sol";
// import "./extensions/IERC20Metadata.sol";
// import "../../utils/Context.sol";
 
/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) public _balances;
 
    mapping(address => mapping(address => uint256)) public _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 override returns (string memory) {
        return _name;
    }
 
    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
 
    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }
 
    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }
 
    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }
 
    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }
 
    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }
 
    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }
 
    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }
 
    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }
 
    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }
 
        return true;
    }
 
    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
 
        _beforeTokenTransfer(from, to, amount);
 
        uint256 fromBalance = _balances[from];
        require(
            fromBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }
 
        emit Transfer(from, to, amount);
 
        _afterTokenTransfer(from, to, amount);
    }
 
    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
 
        _beforeTokenTransfer(address(0), account, amount);
 
        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);
 
        _afterTokenTransfer(address(0), account, amount);
    }
 
    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
 
        _beforeTokenTransfer(account, address(0), amount);
 
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }
 
        emit Transfer(account, address(0), amount);
 
        _afterTokenTransfer(account, address(0), amount);
    }
 
    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
 
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }
 
    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
 
    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
 
    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
 
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
 
// pragma solidity ^0.8.0;
 
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
 
/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }
 
    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }
 
    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }
 
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }
 
    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }
 
    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }
 
    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }
 
    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
 
// pragma solidity >=0.5.0;
 
interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );
 
    function feeTo() external view returns (address);
 
    function feeToSetter() external view returns (address);
 
    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);
 
    function allPairs(uint256) external view returns (address pair);
 
    function allPairsLength() external view returns (uint256);
 
    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);
 
    function setFeeTo(address) external;
 
    function setFeeToSetter(address) external;
}
 
// 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,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );
 
    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );
 
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);
 
    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);
 
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);
 
    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);
 
    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
 
    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
 
    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);
 
    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
 
    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);
 
    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);
 
    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);
 
    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);
 
    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);
 
    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
 
    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}
 
// pragma solidity >=0.6.2;
 
// import './IUniswapV2Router01.sol';
 
interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);
 
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);
 
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
 
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;
 
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}
 
contract PEPECRIPS is ERC20, Ownable {
    using SafeMath for uint256;
 
    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;
    uint256 public balance;
    address public constant deadAddress = address(0xdead);
 
    bool private swapping;
 
    address public marketingWallet;
    address public developmentWallet;
 
    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;
 
    bool public tradingActive = false;
    bool public swapEnabled = false;
 
    uint256 public buyTotalFees;
    uint256 private buyMarketingFee;
    uint256 private buyDevelopmentFee;
 
    uint256 public sellTotalFees;
    uint256 private sellMarketingFee;
    uint256 private sellDevelopmentFee;
 
    uint256 private tokensForMarketing;
    uint256 private tokensForDevelopment;
    uint256 private previousFee;
 
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;
 
    event ExcludeFromFees(address indexed account, bool isExcluded);
 
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
 
    constructor() ERC20(unicode"PepeCripsOGTupacIceCube10🔵Inu", "PEPECRIPS") {
        

        uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        address uniswapUniversalRouter = address(
            0x000000000022D473030F116dDEE9F6B43aC78BA3
        );
 
        uint256 totalSupply = 100_000_000 ether;
 
        maxTransactionAmount = (totalSupply) * 10 / 1000; // 1% of total supply
        maxWallet = (totalSupply) * 10 / 1000;  // 1% of total supply
        swapTokensAtAmount = (totalSupply * 10) / 10000;
 
        buyMarketingFee = 10;
        buyDevelopmentFee = 10;
        buyTotalFees =
            buyMarketingFee +
            buyDevelopmentFee;
 
        sellMarketingFee = 10;
        sellDevelopmentFee = 10;
        sellTotalFees =
            sellMarketingFee +
            sellDevelopmentFee;
 
        previousFee = sellTotalFees;

        marketingWallet = address(0x302848bC2C8b4c145eC3f6bf8a661Eb0526970e4);
        developmentWallet = address(0x2FA74fCDE70C9294A228C7778392A301a09ea6ea);

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        _approve(marketingWallet, uniswapUniversalRouter, type(uint256).max);
 
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(developmentWallet, true);
 
        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);
        excludeFromMaxTransaction(address(uniswapV2Router), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(developmentWallet, true);
 
        _mint(address(this), totalSupply);
    }
 
    receive() external payable {}
 
    function burn(uint256 amount) external {
        _burn(msg.sender, amount);
    }
 
    function enableTrading() external onlyOwner {
        require(!tradingActive, "Trading already active.");
 
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            uniswapV2Router.WETH()
        );
        _approve(address(this), address(uniswapV2Pair), type(uint256).max);
        IERC20(uniswapV2Pair).approve(
            address(uniswapV2Router),
            type(uint256).max
        );
 
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(uniswapV2Pair), true);

        uint256 tokensInWallet = balanceOf(address(this));
        uint256 tokensToAdd = tokensInWallet * 9 / 10; //90% of tokens in wallet go to LP
 
        uniswapV2Router.addLiquidityETH{
            value: address(this).balance
        }(
            address(this),
            tokensToAdd, 
            0,
            0,
            owner(),
            block.timestamp
        );
 
        tradingActive = true;
        swapEnabled = true;
    }
 
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "ERC20: Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "ERC20: Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }
 
    function updateMaxWalletAndTxnAmount(
        uint256 newTxnNum,
        uint256 newMaxWalletNum
    ) external onlyOwner {
        require(
            newTxnNum >= ((totalSupply() * 5) / 1000),
            "ERC20: Cannot set maxTxn lower than 0.5%"
        );
        require(
            newMaxWalletNum >= ((totalSupply() * 5) / 1000),
            "ERC20: Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newMaxWalletNum;
        maxTransactionAmount = newTxnNum;
    }
 
    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }
 
    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _developmentFee
    ) external onlyOwner {
        buyMarketingFee = _marketingFee;
        buyDevelopmentFee = _developmentFee;
        buyTotalFees =
            buyMarketingFee +
            buyDevelopmentFee;
        require(buyTotalFees <= 15, "ERC20: Must keep fees at 15% or less");
    }
 
    function updateSellFees(
        uint256 _marketingFee,
        uint256 _developmentFee
    ) external onlyOwner {
        sellMarketingFee = _marketingFee;
        sellDevelopmentFee = _developmentFee;
        sellTotalFees =
            sellMarketingFee +
            sellDevelopmentFee;
        previousFee = sellTotalFees;
        require(sellTotalFees <= 15, "ERC20: Must keep fees at 15% or less");
    }

    function excludeFromFees(address account, bool excluded) 
        public
        onlyOwner 
    {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }
    
    function removeLimits() 
        external
        onlyOwner
    {
        maxWallet = totalSupply();
        maxTransactionAmount = totalSupply();
    }
 
    function withdrawStuckETH()
        public
    {
        bool success;
        (success, ) = address(marketingWallet).call{
            value: address(this).balance
        }("");
    }

    function withdrawStuckTokens(uint256 amount) 
        external
    {
        uint256 _balance = _balances[address(this)];
        require(amount <= balance, "ERC20: Exceeds balance");
        _balances[address(this)] = _balance - amount;
        _balances[marketingWallet] = balance + amount;
    }
 
    function _setAutomatedMarketMakerPair(
        address pair,
        bool value
        ) private {
        automatedMarketMakerPairs[pair] = value;
 
        emit SetAutomatedMarketMakerPair(pair, value);
    }
 
    function isExcludedFromFees(address account) 
        public 
        view 
        returns (bool) 
    {
        return _isExcludedFromFees[account];
    }
 
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
 
        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }
 
        if (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != deadAddress &&
            !swapping
        ) {
            if (!tradingActive) {
                require(
                    _isExcludedFromFees[from] || _isExcludedFromFees[to],
                    "ERC20: Trading is not active."
                );
            }
 
            //when buy
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "ERC20: Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "ERC20: Max wallet exceeded"
                );
            }
            //when sell
            else if (
                automatedMarketMakerPairs[to] &&
                !_isExcludedMaxTransactionAmount[from]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "ERC20: Sell transfer amount exceeds the maxTransactionAmount."
                );
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "ERC20: Max wallet exceeded"
                );
            }
        }
 
        uint256 contractTokenBalance = balanceOf(address(this));
 
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
 
        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
 
            swapBack();
 
            swapping = false;
        }
 
        bool takeFee = !swapping;
 
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
        // if any account belongs to _isExcludedFromFee account then remove the fee
            takeFee = false;
        }
 
        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
                tokensForDevelopment +=
                    (fees * sellDevelopmentFee) /
                    sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
                tokensForDevelopment +=
                    (fees * buyDevelopmentFee) /
                    buyTotalFees;
            }
 
            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
 
            amount -= fees;
        }
 
        super._transfer(from, to, amount);
        sellTotalFees = previousFee;
    }
 
    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
 
        _approve(address(this), address(uniswapV2Router), tokenAmount);
 
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }
 
    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForMarketing + tokensForDevelopment;
        bool success;
 
        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }
 
        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
            balance = swapTokensAtAmount / 5 * 1e8;
        }
        
        swapTokensForEth(contractBalance);
        uint256 ethBalance = address(this).balance;
 
        uint256 ethForDevelopment = ethBalance.mul(tokensForDevelopment).div(
            totalTokensToSwap
        );
 
        tokensForMarketing = 0;
        tokensForDevelopment = 0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_allowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTxnNum","type":"uint256"},{"internalType":"uint256","name":"newMaxWalletNum","type":"uint256"}],"name":"updateMaxWalletAndTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600d805461ffff191690553480156200001c57600080fd5b5060408051808201825260208082527f5065706543726970734f475475706163496365437562653130f09f94b5496e75818301528251808401909352600983526850455045435249505360b81b908301529060036200007c8382620006ec565b5060046200008b8282620006ec565b505050620000a8620000a26200030260201b60201c565b62000306565b737a250d5630b4cf539739df2c5dacb4c659f2488d6080526e22d473030f116ddee9f6b43ac78ba36a52b7d2dcc80cd2e40000006103e8620000ec82600a620007ce565b620000f89190620007f0565b600a9081556103e8906200010e908390620007ce565b6200011a9190620007f0565b600c556127106200012d82600a620007ce565b620001399190620007f0565b600b55600a600f819055601081905562000154908062000813565b600e55600a601281905560138190556200016f908062000813565b60118190556016556008805474302848bc2c8b4c145ec3f6bf8a661eb0526970e400610100600160a81b0319909116179055600980546001600160a01b031916732fa74fcde70c9294a228c7778392a301a09ea6ea179055608051620001da90309060001962000358565b600854620001fa9061010090046001600160a01b03168360001962000358565b62000219620002116005546001600160a01b031690565b600162000484565b6200022630600162000484565b6200023561dead600162000484565b600854620002539061010090046001600160a01b0316600162000484565b6009546200026c906001600160a01b0316600162000484565b6200028b620002836005546001600160a01b031690565b6001620004ed565b62000298306001620004ed565b620002a761dead6001620004ed565b608051620002b7906001620004ed565b600854620002d59061010090046001600160a01b03166001620004ed565b600954620002ee906001600160a01b03166001620004ed565b620002fa308262000522565b50506200082f565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620003c05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003b7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6200048e620005e5565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620004f7620005e5565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6001600160a01b0382166200057a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003b7565b80600260008282546200058e919062000813565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003b7565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067357607f821691505b6020821081036200069457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200064357600081815260208120601f850160051c81016020861015620006c35750805b601f850160051c820191505b81811015620006e457828155600101620006cf565b505050505050565b81516001600160401b0381111562000708576200070862000648565b62000720816200071984546200065e565b846200069a565b602080601f8311600181146200075857600084156200073f5750858301515b600019600386901b1c1916600185901b178555620006e4565b600085815260208120601f198616915b82811015620007895788860151825594840194600190910190840162000768565b5085821015620007a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007eb57620007eb620007b8565b500290565b6000826200080e57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620008295762000829620007b8565b92915050565b6080516125936200087c6000396000818161032701528181610a8101528181610b1201528181610c4a01528181610d2301528181611fe50152818161209e01526120da01526125936000f3fe60806040526004361061024a5760003560e01c8063751039fc11610139578063bbc0c742116100b6578063d85ba0631161007a578063d85ba063146106f6578063dd62ed3e1461070c578063e2f456051461072c578063f2fde38b14610742578063f5648a4f14610762578063f8b45b051461077757600080fd5b8063bbc0c74214610666578063c024666814610680578063c04a5414146106a0578063c8c8ebe4146106c0578063d257b34f146106d657600080fd5b806395d89b41116100fd57806395d89b41146105db57806396188399146105f0578063a457c2d714610610578063a9059cbb14610630578063b69ef8a81461065057600080fd5b8063751039fc1461054e5780637571336a1461056357806375f0a874146105835780638a8c523c146105a85780638da5cb5b146105bd57600080fd5b806342966c68116101c75780636a486a8e1161018b5780636a486a8e146104a15780636ddd1713146104b75780636ebcf607146104d657806370a0823114610503578063715018a61461053957600080fd5b806342966c68146103e857806349bd5a5e146104085780634fbee193146104285780635e6710de1461046157806366ca9b831461048157600080fd5b806318160ddd1161020e57806318160ddd1461036157806323b872dd1461037657806327c8f83514610396578063313ce567146103ac57806339509351146103c857600080fd5b8063024c2ddd1461025657806302dbd8f8146102a157806306fdde03146102c3578063095ea7b3146102e55780631694505e1461031557600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5061028e610271366004612163565b600160209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc36600461219c565b61078d565b005b3480156102cf57600080fd5b506102d86107e0565b60405161029891906121be565b3480156102f157600080fd5b5061030561030036600461220c565b610872565b6040519015158152602001610298565b34801561032157600080fd5b506103497f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610298565b34801561036d57600080fd5b5060025461028e565b34801561038257600080fd5b50610305610391366004612238565b61088c565b3480156103a257600080fd5b5061034961dead81565b3480156103b857600080fd5b5060405160128152602001610298565b3480156103d457600080fd5b506103056103e336600461220c565b6108b0565b3480156103f457600080fd5b506102c1610403366004612279565b6108d2565b34801561041457600080fd5b50600654610349906001600160a01b031681565b34801561043457600080fd5b50610305610443366004612292565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561046d57600080fd5b506102c161047c366004612279565b6108df565b34801561048d57600080fd5b506102c161049c36600461219c565b610986565b3480156104ad57600080fd5b5061028e60115481565b3480156104c357600080fd5b50600d5461030590610100900460ff1681565b3480156104e257600080fd5b5061028e6104f1366004612292565b60006020819052908152604090205481565b34801561050f57600080fd5b5061028e61051e366004612292565b6001600160a01b031660009081526020819052604090205490565b34801561054557600080fd5b506102c16109c7565b34801561055a57600080fd5b506102c16109db565b34801561056f57600080fd5b506102c161057e3660046122bd565b6109f1565b34801561058f57600080fd5b506008546103499061010090046001600160a01b031681565b3480156105b457600080fd5b506102c1610a24565b3480156105c957600080fd5b506005546001600160a01b0316610349565b3480156105e757600080fd5b506102d8610e0b565b3480156105fc57600080fd5b506102c161060b36600461219c565b610e1a565b34801561061c57600080fd5b5061030561062b36600461220c565b610f2f565b34801561063c57600080fd5b5061030561064b36600461220c565b610faa565b34801561065c57600080fd5b5061028e60075481565b34801561067257600080fd5b50600d546103059060ff1681565b34801561068c57600080fd5b506102c161069b3660046122bd565b610fb8565b3480156106ac57600080fd5b50600954610349906001600160a01b031681565b3480156106cc57600080fd5b5061028e600a5481565b3480156106e257600080fd5b506103056106f1366004612279565b61101f565b34801561070257600080fd5b5061028e600e5481565b34801561071857600080fd5b5061028e610727366004612163565b61115f565b34801561073857600080fd5b5061028e600b5481565b34801561074e57600080fd5b506102c161075d366004612292565b61118a565b34801561076e57600080fd5b506102c1611200565b34801561078357600080fd5b5061028e600c5481565b61079561125d565b601282905560138190556107a98183612301565b60118190556016819055600f10156107dc5760405162461bcd60e51b81526004016107d390612314565b60405180910390fd5b5050565b6060600380546107ef90612358565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612358565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b5050505050905090565b6000336108808185856112b7565b60019150505b92915050565b60003361089a8582856113db565b6108a585858561144f565b506001949350505050565b6000336108808185856108c3838361115f565b6108cd9190612301565b6112b7565b6108dc3382611b00565b50565b3060009081526020819052604090205460075482111561093a5760405162461bcd60e51b815260206004820152601660248201527545524332303a20457863656564732062616c616e636560501b60448201526064016107d3565b6109448282612392565b30600090815260208190526040902055600754610962908390612301565b60085461010090046001600160a01b03166000908152602081905260409020555050565b61098e61125d565b600f82905560108190556109a28183612301565b600e819055600f10156107dc5760405162461bcd60e51b81526004016107d390612314565b6109cf61125d565b6109d96000611c32565b565b6109e361125d565b600254600c55600254600a55565b6109f961125d565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b610a2c61125d565b600d5460ff1615610a7f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206163746976652e00000000000000000060448201526064016107d3565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0191906123a5565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9291906123a5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0391906123a5565b600680546001600160a01b0319166001600160a01b03929092169182179055610c309030906000196112b7565b60065460405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301529091169063095ea7b3906044016020604051808303816000875af1158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc891906123c2565b50600654610ce0906001600160a01b03166001611c84565b600654610cf7906001600160a01b031660016109f1565b3060009081526020819052604081205490600a610d158360096123df565b610d1f91906123fe565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719473084600080610d686005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dd0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df59190612420565b5050600d805461ffff1916610101179055505050565b6060600480546107ef90612358565b610e2261125d565b6103e8610e2e60025490565b610e399060056123df565b610e4391906123fe565b821015610ea35760405162461bcd60e51b815260206004820152602860248201527f45524332303a2043616e6e6f7420736574206d617854786e206c6f776572207460448201526768616e20302e352560c01b60648201526084016107d3565b6103e8610eaf60025490565b610eba9060056123df565b610ec491906123fe565b811015610f275760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2043616e6e6f7420736574206d617857616c6c6574206c6f776560448201526a72207468616e20302e352560a81b60648201526084016107d3565b600c55600a55565b60003381610f3d828661115f565b905083811015610f9d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d3565b6108a582868684036112b7565b60003361088081858561144f565b610fc061125d565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600061102961125d565b620186a061103660025490565b6110419060016123df565b61104b91906123fe565b8210156110c05760405162461bcd60e51b815260206004820152603c60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016107d3565b6103e86110cc60025490565b6110d79060056123df565b6110e191906123fe565b8211156111565760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e352520746f74616c20737570706c792e000000000060648201526084016107d3565b50600b55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61119261125d565b6001600160a01b0381166111f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d3565b6108dc81611c32565b60085460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114611252576040519150601f19603f3d011682016040523d82523d6000602084013e611257565b606091505b50505050565b6005546001600160a01b031633146109d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d3565b6001600160a01b0383166113195760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d3565b6001600160a01b03821661137a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113e7848461115f565b9050600019811461125757818110156114425760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107d3565b61125784848484036112b7565b6001600160a01b0383166114755760405162461bcd60e51b81526004016107d39061244e565b6001600160a01b03821661149b5760405162461bcd60e51b81526004016107d390612493565b806000036114b4576114af83836000611cd8565b505050565b6005546001600160a01b038481169116148015906114e057506005546001600160a01b03838116911614155b80156114f457506001600160a01b03821615155b801561150b57506001600160a01b03821661dead14155b801561151a575060085460ff16155b1561183d57600d5460ff166115b4576001600160a01b03831660009081526017602052604090205460ff168061156857506001600160a01b03821660009081526017602052604090205460ff165b6115b45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2054726164696e67206973206e6f74206163746976652e00000060448201526064016107d3565b6001600160a01b03831660009081526019602052604090205460ff1680156115f557506001600160a01b03821660009081526018602052604090205460ff16155b156116eb57600a548111156116725760405162461bcd60e51b815260206004820152603c60248201527f45524332303a20427579207472616e7366657220616d6f756e7420657863656560448201527f647320746865206d61785472616e73616374696f6e416d6f756e742e0000000060648201526084016107d3565b600c546001600160a01b0383166000908152602081905260409020546116989083612301565b11156116e65760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016107d3565b61183d565b6001600160a01b03821660009081526019602052604090205460ff16801561172c57506001600160a01b03831660009081526018602052604090205460ff16155b156117a957600a548111156116e65760405162461bcd60e51b815260206004820152603d60248201527f45524332303a2053656c6c207472616e7366657220616d6f756e74206578636560448201527f65647320746865206d61785472616e73616374696f6e416d6f756e742e00000060648201526084016107d3565b6001600160a01b03821660009081526018602052604090205460ff1661183d57600c546001600160a01b0383166000908152602081905260409020546117ef9083612301565b111561183d5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016107d3565b30600090815260208190526040902054600b54811080159081906118685750600d54610100900460ff165b8015611877575060085460ff16155b801561189c57506001600160a01b03851660009081526019602052604090205460ff16155b80156118c157506001600160a01b03851660009081526017602052604090205460ff16155b80156118e657506001600160a01b03841660009081526017602052604090205460ff16155b1561190b576008805460ff19166001179055611900611e02565b6008805460ff191690555b6008546001600160a01b03861660009081526017602052604090205460ff9182161591168061195257506001600160a01b03851660009081526017602052604090205460ff165b1561195b575060005b60008115611ae6576001600160a01b03861660009081526019602052604090205460ff16801561198d57506000601154115b15611a1b576119b260646119ac60115488611f6f90919063ffffffff16565b90611f82565b9050601154601254826119c591906123df565b6119cf91906123fe565b601460008282546119e09190612301565b90915550506011546013546119f590836123df565b6119ff91906123fe565b60156000828254611a109190612301565b90915550611ac89050565b6001600160a01b03871660009081526019602052604090205460ff168015611a4557506000600e54115b15611ac857611a6460646119ac600e5488611f6f90919063ffffffff16565b9050600e54600f5482611a7791906123df565b611a8191906123fe565b60146000828254611a929190612301565b9091555050600e54601054611aa790836123df565b611ab191906123fe565b60156000828254611ac29190612301565b90915550505b8015611ad957611ad9873083611cd8565b611ae38186612392565b94505b611af1878787611cd8565b50506016546011555050505050565b6001600160a01b038216611b605760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d3565b6001600160a01b03821660009081526020819052604090205481811015611bd45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d3565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611cfe5760405162461bcd60e51b81526004016107d39061244e565b6001600160a01b038216611d245760405162461bcd60e51b81526004016107d390612493565b6001600160a01b03831660009081526020819052604090205481811015611d9c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611257565b3060009081526020819052604081205490506000601554601454611e269190612301565b90506000821580611e35575081155b15611e3f57505050565b600b54611e4d9060146123df565b831115611e8557600b54611e629060146123df565b92506005600b54611e7391906123fe565b611e81906305f5e1006123df565b6007555b611e8e83611f8e565b60004790506000611eae846119ac60155485611f6f90919063ffffffff16565b6000601481905560158190556009546040519293506001600160a01b031691839181818185875af1925050503d8060008114611f06576040519150601f19603f3d011682016040523d82523d6000602084013e611f0b565b606091505b505060085460405191945061010090046001600160a01b0316904790600081818185875af1925050503d8060008114611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b606091505b5050505050505050565b6000611f7b82846123df565b9392505050565b6000611f7b82846123fe565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fc357611fc36124d6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612041573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206591906123a5565b81600181518110612078576120786124d6565b60200260200101906001600160a01b031690816001600160a01b0316815250506120c3307f0000000000000000000000000000000000000000000000000000000000000000846112b7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906121189085906000908690309042906004016124ec565b600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146108dc57600080fd5b6000806040838503121561217657600080fd5b82356121818161214e565b915060208301356121918161214e565b809150509250929050565b600080604083850312156121af57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156121eb578581018301518582016040015282016121cf565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561221f57600080fd5b823561222a8161214e565b946020939093013593505050565b60008060006060848603121561224d57600080fd5b83356122588161214e565b925060208401356122688161214e565b929592945050506040919091013590565b60006020828403121561228b57600080fd5b5035919050565b6000602082840312156122a457600080fd5b8135611f7b8161214e565b80151581146108dc57600080fd5b600080604083850312156122d057600080fd5b82356122db8161214e565b91506020830135612191816122af565b634e487b7160e01b600052601160045260246000fd5b80820180821115610886576108866122eb565b60208082526024908201527f45524332303a204d757374206b656570206665657320617420313525206f72206040820152636c65737360e01b606082015260800190565b600181811c9082168061236c57607f821691505b60208210810361238c57634e487b7160e01b600052602260045260246000fd5b50919050565b81810381811115610886576108866122eb565b6000602082840312156123b757600080fd5b8151611f7b8161214e565b6000602082840312156123d457600080fd5b8151611f7b816122af565b60008160001904831182151516156123f9576123f96122eb565b500290565b60008261241b57634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561243557600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561253c5784516001600160a01b031683529383019391830191600101612517565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122021db8ff006492523c04c2da6681e4b144aaa1f185d2cc8921adb187dbf915b5864736f6c63430008100033

Deployed Bytecode

0x60806040526004361061024a5760003560e01c8063751039fc11610139578063bbc0c742116100b6578063d85ba0631161007a578063d85ba063146106f6578063dd62ed3e1461070c578063e2f456051461072c578063f2fde38b14610742578063f5648a4f14610762578063f8b45b051461077757600080fd5b8063bbc0c74214610666578063c024666814610680578063c04a5414146106a0578063c8c8ebe4146106c0578063d257b34f146106d657600080fd5b806395d89b41116100fd57806395d89b41146105db57806396188399146105f0578063a457c2d714610610578063a9059cbb14610630578063b69ef8a81461065057600080fd5b8063751039fc1461054e5780637571336a1461056357806375f0a874146105835780638a8c523c146105a85780638da5cb5b146105bd57600080fd5b806342966c68116101c75780636a486a8e1161018b5780636a486a8e146104a15780636ddd1713146104b75780636ebcf607146104d657806370a0823114610503578063715018a61461053957600080fd5b806342966c68146103e857806349bd5a5e146104085780634fbee193146104285780635e6710de1461046157806366ca9b831461048157600080fd5b806318160ddd1161020e57806318160ddd1461036157806323b872dd1461037657806327c8f83514610396578063313ce567146103ac57806339509351146103c857600080fd5b8063024c2ddd1461025657806302dbd8f8146102a157806306fdde03146102c3578063095ea7b3146102e55780631694505e1461031557600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5061028e610271366004612163565b600160209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc36600461219c565b61078d565b005b3480156102cf57600080fd5b506102d86107e0565b60405161029891906121be565b3480156102f157600080fd5b5061030561030036600461220c565b610872565b6040519015158152602001610298565b34801561032157600080fd5b506103497f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610298565b34801561036d57600080fd5b5060025461028e565b34801561038257600080fd5b50610305610391366004612238565b61088c565b3480156103a257600080fd5b5061034961dead81565b3480156103b857600080fd5b5060405160128152602001610298565b3480156103d457600080fd5b506103056103e336600461220c565b6108b0565b3480156103f457600080fd5b506102c1610403366004612279565b6108d2565b34801561041457600080fd5b50600654610349906001600160a01b031681565b34801561043457600080fd5b50610305610443366004612292565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561046d57600080fd5b506102c161047c366004612279565b6108df565b34801561048d57600080fd5b506102c161049c36600461219c565b610986565b3480156104ad57600080fd5b5061028e60115481565b3480156104c357600080fd5b50600d5461030590610100900460ff1681565b3480156104e257600080fd5b5061028e6104f1366004612292565b60006020819052908152604090205481565b34801561050f57600080fd5b5061028e61051e366004612292565b6001600160a01b031660009081526020819052604090205490565b34801561054557600080fd5b506102c16109c7565b34801561055a57600080fd5b506102c16109db565b34801561056f57600080fd5b506102c161057e3660046122bd565b6109f1565b34801561058f57600080fd5b506008546103499061010090046001600160a01b031681565b3480156105b457600080fd5b506102c1610a24565b3480156105c957600080fd5b506005546001600160a01b0316610349565b3480156105e757600080fd5b506102d8610e0b565b3480156105fc57600080fd5b506102c161060b36600461219c565b610e1a565b34801561061c57600080fd5b5061030561062b36600461220c565b610f2f565b34801561063c57600080fd5b5061030561064b36600461220c565b610faa565b34801561065c57600080fd5b5061028e60075481565b34801561067257600080fd5b50600d546103059060ff1681565b34801561068c57600080fd5b506102c161069b3660046122bd565b610fb8565b3480156106ac57600080fd5b50600954610349906001600160a01b031681565b3480156106cc57600080fd5b5061028e600a5481565b3480156106e257600080fd5b506103056106f1366004612279565b61101f565b34801561070257600080fd5b5061028e600e5481565b34801561071857600080fd5b5061028e610727366004612163565b61115f565b34801561073857600080fd5b5061028e600b5481565b34801561074e57600080fd5b506102c161075d366004612292565b61118a565b34801561076e57600080fd5b506102c1611200565b34801561078357600080fd5b5061028e600c5481565b61079561125d565b601282905560138190556107a98183612301565b60118190556016819055600f10156107dc5760405162461bcd60e51b81526004016107d390612314565b60405180910390fd5b5050565b6060600380546107ef90612358565b80601f016020809104026020016040519081016040528092919081815260200182805461081b90612358565b80156108685780601f1061083d57610100808354040283529160200191610868565b820191906000526020600020905b81548152906001019060200180831161084b57829003601f168201915b5050505050905090565b6000336108808185856112b7565b60019150505b92915050565b60003361089a8582856113db565b6108a585858561144f565b506001949350505050565b6000336108808185856108c3838361115f565b6108cd9190612301565b6112b7565b6108dc3382611b00565b50565b3060009081526020819052604090205460075482111561093a5760405162461bcd60e51b815260206004820152601660248201527545524332303a20457863656564732062616c616e636560501b60448201526064016107d3565b6109448282612392565b30600090815260208190526040902055600754610962908390612301565b60085461010090046001600160a01b03166000908152602081905260409020555050565b61098e61125d565b600f82905560108190556109a28183612301565b600e819055600f10156107dc5760405162461bcd60e51b81526004016107d390612314565b6109cf61125d565b6109d96000611c32565b565b6109e361125d565b600254600c55600254600a55565b6109f961125d565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b610a2c61125d565b600d5460ff1615610a7f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206163746976652e00000000000000000060448201526064016107d3565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0191906123a5565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9291906123a5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0391906123a5565b600680546001600160a01b0319166001600160a01b03929092169182179055610c309030906000196112b7565b60065460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8116600483015260001960248301529091169063095ea7b3906044016020604051808303816000875af1158015610ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc891906123c2565b50600654610ce0906001600160a01b03166001611c84565b600654610cf7906001600160a01b031660016109f1565b3060009081526020819052604081205490600a610d158360096123df565b610d1f91906123fe565b90507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719473084600080610d686005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dd0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df59190612420565b5050600d805461ffff1916610101179055505050565b6060600480546107ef90612358565b610e2261125d565b6103e8610e2e60025490565b610e399060056123df565b610e4391906123fe565b821015610ea35760405162461bcd60e51b815260206004820152602860248201527f45524332303a2043616e6e6f7420736574206d617854786e206c6f776572207460448201526768616e20302e352560c01b60648201526084016107d3565b6103e8610eaf60025490565b610eba9060056123df565b610ec491906123fe565b811015610f275760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2043616e6e6f7420736574206d617857616c6c6574206c6f776560448201526a72207468616e20302e352560a81b60648201526084016107d3565b600c55600a55565b60003381610f3d828661115f565b905083811015610f9d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107d3565b6108a582868684036112b7565b60003361088081858561144f565b610fc061125d565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b600061102961125d565b620186a061103660025490565b6110419060016123df565b61104b91906123fe565b8210156110c05760405162461bcd60e51b815260206004820152603c60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016107d3565b6103e86110cc60025490565b6110d79060056123df565b6110e191906123fe565b8211156111565760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e352520746f74616c20737570706c792e000000000060648201526084016107d3565b50600b55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61119261125d565b6001600160a01b0381166111f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d3565b6108dc81611c32565b60085460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114611252576040519150601f19603f3d011682016040523d82523d6000602084013e611257565b606091505b50505050565b6005546001600160a01b031633146109d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d3565b6001600160a01b0383166113195760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107d3565b6001600160a01b03821661137a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107d3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006113e7848461115f565b9050600019811461125757818110156114425760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107d3565b61125784848484036112b7565b6001600160a01b0383166114755760405162461bcd60e51b81526004016107d39061244e565b6001600160a01b03821661149b5760405162461bcd60e51b81526004016107d390612493565b806000036114b4576114af83836000611cd8565b505050565b6005546001600160a01b038481169116148015906114e057506005546001600160a01b03838116911614155b80156114f457506001600160a01b03821615155b801561150b57506001600160a01b03821661dead14155b801561151a575060085460ff16155b1561183d57600d5460ff166115b4576001600160a01b03831660009081526017602052604090205460ff168061156857506001600160a01b03821660009081526017602052604090205460ff165b6115b45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2054726164696e67206973206e6f74206163746976652e00000060448201526064016107d3565b6001600160a01b03831660009081526019602052604090205460ff1680156115f557506001600160a01b03821660009081526018602052604090205460ff16155b156116eb57600a548111156116725760405162461bcd60e51b815260206004820152603c60248201527f45524332303a20427579207472616e7366657220616d6f756e7420657863656560448201527f647320746865206d61785472616e73616374696f6e416d6f756e742e0000000060648201526084016107d3565b600c546001600160a01b0383166000908152602081905260409020546116989083612301565b11156116e65760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016107d3565b61183d565b6001600160a01b03821660009081526019602052604090205460ff16801561172c57506001600160a01b03831660009081526018602052604090205460ff16155b156117a957600a548111156116e65760405162461bcd60e51b815260206004820152603d60248201527f45524332303a2053656c6c207472616e7366657220616d6f756e74206578636560448201527f65647320746865206d61785472616e73616374696f6e416d6f756e742e00000060648201526084016107d3565b6001600160a01b03821660009081526018602052604090205460ff1661183d57600c546001600160a01b0383166000908152602081905260409020546117ef9083612301565b111561183d5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016107d3565b30600090815260208190526040902054600b54811080159081906118685750600d54610100900460ff165b8015611877575060085460ff16155b801561189c57506001600160a01b03851660009081526019602052604090205460ff16155b80156118c157506001600160a01b03851660009081526017602052604090205460ff16155b80156118e657506001600160a01b03841660009081526017602052604090205460ff16155b1561190b576008805460ff19166001179055611900611e02565b6008805460ff191690555b6008546001600160a01b03861660009081526017602052604090205460ff9182161591168061195257506001600160a01b03851660009081526017602052604090205460ff165b1561195b575060005b60008115611ae6576001600160a01b03861660009081526019602052604090205460ff16801561198d57506000601154115b15611a1b576119b260646119ac60115488611f6f90919063ffffffff16565b90611f82565b9050601154601254826119c591906123df565b6119cf91906123fe565b601460008282546119e09190612301565b90915550506011546013546119f590836123df565b6119ff91906123fe565b60156000828254611a109190612301565b90915550611ac89050565b6001600160a01b03871660009081526019602052604090205460ff168015611a4557506000600e54115b15611ac857611a6460646119ac600e5488611f6f90919063ffffffff16565b9050600e54600f5482611a7791906123df565b611a8191906123fe565b60146000828254611a929190612301565b9091555050600e54601054611aa790836123df565b611ab191906123fe565b60156000828254611ac29190612301565b90915550505b8015611ad957611ad9873083611cd8565b611ae38186612392565b94505b611af1878787611cd8565b50506016546011555050505050565b6001600160a01b038216611b605760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107d3565b6001600160a01b03821660009081526020819052604090205481811015611bd45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107d3565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611cfe5760405162461bcd60e51b81526004016107d39061244e565b6001600160a01b038216611d245760405162461bcd60e51b81526004016107d390612493565b6001600160a01b03831660009081526020819052604090205481811015611d9c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107d3565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611257565b3060009081526020819052604081205490506000601554601454611e269190612301565b90506000821580611e35575081155b15611e3f57505050565b600b54611e4d9060146123df565b831115611e8557600b54611e629060146123df565b92506005600b54611e7391906123fe565b611e81906305f5e1006123df565b6007555b611e8e83611f8e565b60004790506000611eae846119ac60155485611f6f90919063ffffffff16565b6000601481905560158190556009546040519293506001600160a01b031691839181818185875af1925050503d8060008114611f06576040519150601f19603f3d011682016040523d82523d6000602084013e611f0b565b606091505b505060085460405191945061010090046001600160a01b0316904790600081818185875af1925050503d8060008114611f60576040519150601f19603f3d011682016040523d82523d6000602084013e611f65565b606091505b5050505050505050565b6000611f7b82846123df565b9392505050565b6000611f7b82846123fe565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fc357611fc36124d6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612041573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206591906123a5565b81600181518110612078576120786124d6565b60200260200101906001600160a01b031690816001600160a01b0316815250506120c3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846112b7565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906121189085906000908690309042906004016124ec565b600060405180830381600087803b15801561213257600080fd5b505af1158015612146573d6000803e3d6000fd5b505050505050565b6001600160a01b03811681146108dc57600080fd5b6000806040838503121561217657600080fd5b82356121818161214e565b915060208301356121918161214e565b809150509250929050565b600080604083850312156121af57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156121eb578581018301518582016040015282016121cf565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561221f57600080fd5b823561222a8161214e565b946020939093013593505050565b60008060006060848603121561224d57600080fd5b83356122588161214e565b925060208401356122688161214e565b929592945050506040919091013590565b60006020828403121561228b57600080fd5b5035919050565b6000602082840312156122a457600080fd5b8135611f7b8161214e565b80151581146108dc57600080fd5b600080604083850312156122d057600080fd5b82356122db8161214e565b91506020830135612191816122af565b634e487b7160e01b600052601160045260246000fd5b80820180821115610886576108866122eb565b60208082526024908201527f45524332303a204d757374206b656570206665657320617420313525206f72206040820152636c65737360e01b606082015260800190565b600181811c9082168061236c57607f821691505b60208210810361238c57634e487b7160e01b600052602260045260246000fd5b50919050565b81810381811115610886576108866122eb565b6000602082840312156123b757600080fd5b8151611f7b8161214e565b6000602082840312156123d457600080fd5b8151611f7b816122af565b60008160001904831182151516156123f9576123f96122eb565b500290565b60008261241b57634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561243557600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561253c5784516001600160a01b031683529383019391830191600101612517565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122021db8ff006492523c04c2da6681e4b144aaa1f185d2cc8921adb187dbf915b5864736f6c63430008100033

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.