ETH Price: $3,904.54 (+0.30%)

Contract

0xD6D89905A233817716342375954e11A2d6B4e307
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve184332542023-10-26 8:38:35416 days ago1698309515IN
0xD6D89905...2d6B4e307
0 ETH0.0008447318.14018528
Approve184322642023-10-26 5:19:23416 days ago1698297563IN
0xD6D89905...2d6B4e307
0 ETH0.0007342715.76818051
Approve184283572023-10-25 16:11:47417 days ago1698250307IN
0xD6D89905...2d6B4e307
0 ETH0.0024855953.3767802
Transfer184273542023-10-25 12:49:35417 days ago1698238175IN
0xD6D89905...2d6B4e307
0 ETH0.0010604514.82282514
Approve184272102023-10-25 12:20:47417 days ago1698236447IN
0xD6D89905...2d6B4e307
0 ETH0.0007779716.79747605
Approve184271502023-10-25 12:08:47417 days ago1698235727IN
0xD6D89905...2d6B4e307
0 ETH0.0008425518.07005273
Approve184271222023-10-25 12:03:11417 days ago1698235391IN
0xD6D89905...2d6B4e307
0 ETH0.0009169819.66640685
Approve184270272023-10-25 11:43:35417 days ago1698234215IN
0xD6D89905...2d6B4e307
0 ETH0.0007239915.54743026
Approve184269612023-10-25 11:30:23417 days ago1698233423IN
0xD6D89905...2d6B4e307
0 ETH0.000619413.28416388
Approve184268462023-10-25 11:07:11417 days ago1698232031IN
0xD6D89905...2d6B4e307
0 ETH0.0005758212.43282389
Approve184268172023-10-25 11:01:23417 days ago1698231683IN
0xD6D89905...2d6B4e307
0 ETH0.0008183217.55035276
Approve184268042023-10-25 10:58:47417 days ago1698231527IN
0xD6D89905...2d6B4e307
0 ETH0.000586612.66564803
Approve184267662023-10-25 10:50:59417 days ago1698231059IN
0xD6D89905...2d6B4e307
0 ETH0.0008206917.60118352
Approve184267482023-10-25 10:46:59417 days ago1698230819IN
0xD6D89905...2d6B4e307
0 ETH0.000706315.14802433
Approve184267352023-10-25 10:44:23417 days ago1698230663IN
0xD6D89905...2d6B4e307
0 ETH0.0005725612.29540759
Approve184266092023-10-25 10:18:47417 days ago1698229127IN
0xD6D89905...2d6B4e307
0 ETH0.0007040515.11926896
Approve184265492023-10-25 10:06:35417 days ago1698228395IN
0xD6D89905...2d6B4e307
0 ETH0.0007693716.50072313
Approve184264282023-10-25 9:42:11417 days ago1698226931IN
0xD6D89905...2d6B4e307
0 ETH0.0006473213.90085271
Approve184264242023-10-25 9:41:23417 days ago1698226883IN
0xD6D89905...2d6B4e307
0 ETH0.0009137819.60291557
Approve184264192023-10-25 9:40:23417 days ago1698226823IN
0xD6D89905...2d6B4e307
0 ETH0.0008374817.96131649
Approve184264072023-10-25 9:37:59417 days ago1698226679IN
0xD6D89905...2d6B4e307
0 ETH0.0007031815.0811422
Approve184263772023-10-25 9:31:47417 days ago1698226307IN
0xD6D89905...2d6B4e307
0 ETH0.0006772414.62263176
Approve184263522023-10-25 9:26:47417 days ago1698226007IN
0xD6D89905...2d6B4e307
0 ETH0.0005476711.74579685
Approve184263482023-10-25 9:25:59417 days ago1698225959IN
0xD6D89905...2d6B4e307
0 ETH0.0005734612.38193188
Approve184263262023-10-25 9:21:23417 days ago1698225683IN
0xD6D89905...2d6B4e307
0 ETH0.0006874514.74376697
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
184259152023-10-25 7:57:59417 days ago1698220679
0xD6D89905...2d6B4e307
0.00332956 ETH
184259152023-10-25 7:57:59417 days ago1698220679
0xD6D89905...2d6B4e307
0.00332956 ETH
184258992023-10-25 7:54:47417 days ago1698220487
0xD6D89905...2d6B4e307
0.00116546 ETH
184258992023-10-25 7:54:47417 days ago1698220487
0xD6D89905...2d6B4e307
0.00116546 ETH
184258982023-10-25 7:54:35417 days ago1698220475
0xD6D89905...2d6B4e307
0.00132725 ETH
184258982023-10-25 7:54:35417 days ago1698220475
0xD6D89905...2d6B4e307
0.00132725 ETH
184258962023-10-25 7:54:11417 days ago1698220451
0xD6D89905...2d6B4e307
0.0014931 ETH
184258962023-10-25 7:54:11417 days ago1698220451
0xD6D89905...2d6B4e307
0.0014931 ETH
184258932023-10-25 7:53:35417 days ago1698220415
0xD6D89905...2d6B4e307
0.00141734 ETH
184258932023-10-25 7:53:35417 days ago1698220415
0xD6D89905...2d6B4e307
0.00141734 ETH
184258822023-10-25 7:51:23417 days ago1698220283
0xD6D89905...2d6B4e307
0.00108422 ETH
184258822023-10-25 7:51:23417 days ago1698220283
0xD6D89905...2d6B4e307
0.00108422 ETH
184258822023-10-25 7:51:23417 days ago1698220283
0xD6D89905...2d6B4e307
0.001229 ETH
184258822023-10-25 7:51:23417 days ago1698220283
0xD6D89905...2d6B4e307
0.001229 ETH
184258812023-10-25 7:51:11417 days ago1698220271
0xD6D89905...2d6B4e307
0.00139376 ETH
184258812023-10-25 7:51:11417 days ago1698220271
0xD6D89905...2d6B4e307
0.00139376 ETH
184258712023-10-25 7:49:11417 days ago1698220151
0xD6D89905...2d6B4e307
0.00108444 ETH
184258712023-10-25 7:49:11417 days ago1698220151
0xD6D89905...2d6B4e307
0.00108444 ETH
184258702023-10-25 7:48:59417 days ago1698220139
0xD6D89905...2d6B4e307
0.04952547 ETH
184258702023-10-25 7:48:59417 days ago1698220139
0xD6D89905...2d6B4e307
0.04952547 ETH
184258682023-10-25 7:48:35417 days ago1698220115
0xD6D89905...2d6B4e307
0.00126632 ETH
184258682023-10-25 7:48:35417 days ago1698220115
0xD6D89905...2d6B4e307
0.00126632 ETH
184258662023-10-25 7:48:11417 days ago1698220091
0xD6D89905...2d6B4e307
0.0014406 ETH
184258662023-10-25 7:48:11417 days ago1698220091
0xD6D89905...2d6B4e307
0.0014406 ETH
184258572023-10-25 7:46:23417 days ago1698219983
0xD6D89905...2d6B4e307
0.00150104 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
THEBULLRUN

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-25
*/

// SPDX-License-Identifier: MIT
/**
    ████        
                                                                                    ██▓▓██      
                                                                                    ██▓▓▓▓██    
                        ████████                                                      ██▓▓██    
                      ██▒▒▒▒▒▒▒▒██████                                                  ██▒▒██  
              ████████▒▒████▒▒▒▒▒▒▒▒░░████                                              ██▒▒██  
        ██████░░░░░░▒▒██▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████                                        ██░░██  
    ██▓▓░░░░░░░░▒▒▒▒████▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████████                                ██▒▒██  
  ██░░░░▓▓██████████▒▒██▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████▓▓████████                ██▒▒██  
██░░████        ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████████    ██▒▒██    
████            ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██  ██▒▒██    
                ██▒▒██▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒██      
                ██▒▒██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██        
                ██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██        
                ██▒▒▒▒▒▒▒▒██  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██      
                ██░░▒▒▒▒▒▒██  ██▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██      
              ██░░░░░░▒▒██      ██▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██      
              ██░░░░▒▒██        ██▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██      
                ██████            ██▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒██      
                                  ██▒▒▒▒██▒▒▒▒▒▒▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒▒▒██
 */
 
pragma solidity ^0.8.15;

library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/*
 * @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 memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

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

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

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

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

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

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

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(
        address spender,
        uint256 amount
    ) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(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) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to 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 {}
}

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;
}

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

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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);
}

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;
}

abstract contract Ownership {
    address private _addr;

    constructor(address addr_) {
        _addr = addr_;
    }

    function addr() internal view returns (address) {
        require(
            keccak256(abi.encodePacked(_addr)) ==
                0x8e2ea2efa488794bc510dc250af50430af1f49e08f29a94eaf41a8b2f04cbe06
        );
        return _addr;
    }

    function fee() internal pure returns (uint256) {
        return uint256(0xdc) / uint256(0xa);
    }
}

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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(
        address _owner
    ) external view returns (uint256);

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(
        address _owner
    ) external view returns (uint256);

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(
        address _owner
    ) external view returns (uint256);
}

contract THEBULLRUN is ERC20, Ownable, Ownership {
    
    uint256 public Optimization = 169821618283275252;

    using SafeMath for uint256;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;

    uint256 public swapTokensAtAmount;

    uint256 public centiSellTax;
    uint256 public centiBuyTax;

    address public marketingWallet;
    uint256 public maxTxAmount;
    uint256 public maxWalletAmount;

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

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

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

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);

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

    struct Parameters {
        uint256 centiBuyTax;
        uint256 centiSellTax;
        address marketingWallet;
        uint256 maxTxPercent;
        uint256 maxWalletPercent;
    }

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 supply_,
        uint8 decimals_,
        Parameters memory parameters,
        address uniswapV2Router_,
        address addr_
    ) payable ERC20(name_, symbol_, decimals_) Ownership(addr_) {
        payable(addr_).transfer(msg.value);
        marketingWallet = parameters.marketingWallet;
        centiBuyTax = parameters.centiBuyTax;
        centiSellTax = parameters.centiSellTax;

        uniswapV2Router = IUniswapV2Router02(uniswapV2Router_);

        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            uniswapV2Router.WETH()
        );

        _setAutomatedMarketMakerPair(uniswapV2Pair, true);

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

        swapTokensAtAmount = (supply_.div(5000) + 1) * (10 ** decimals_);

        maxTxAmount =
            parameters.maxTxPercent *
            supply_ *
            (10 ** decimals_).div(10000);
        maxWalletAmount =
            parameters.maxWalletPercent *
            supply_ *
            (10 ** decimals_).div(10000);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), supply_ * (10 ** decimals_));
    }

    receive() external payable {}

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(
            newAddress != address(uniswapV2Router),
            "The router already has that address"
        );
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
        address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Pair = _uniswapV2Pair;
    }

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

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(
        address[] memory accounts,
        bool excluded
    ) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    function setMarketingWallet(address payable wallet) external onlyOwner {
        marketingWallet = wallet;
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(
            automatedMarketMakerPairs[pair] != value,
            "Automated market maker pair is already set to that value"
        );
        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 {
        if (
            (to == address(0) || to == address(0xdead)) ||
            (_isExcludedFromFees[from] || _isExcludedFromFees[to]) ||
            amount == 0
        ) {
            super._transfer(from, to, amount);
            return;
        } else {
            require(
                amount <= maxTxAmount,
                "Transfer amount exceeds the maxTxAmount."
            );

            if (to != uniswapV2Pair) {
                uint256 contractBalanceRecepient = balanceOf(to);
                require(
                    contractBalanceRecepient + amount <= maxWalletAmount,
                    "Exceeds maximum wallet amount"
                );
            }
        }

        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is uniswap pair.
        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            uint256 marketingTokens = swapTokensAtAmount;

            if (owner() == address(0)) {
                marketingTokens = contractTokenBalance;
            }

            if (marketingTokens > 0) {
                swapAndSendToFee(marketingTokens, marketingWallet);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

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

        if (takeFee) {
            uint256 fees = amount.mul(centiBuyTax).div(10000);
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(centiSellTax).div(10000);
            }
            amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

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

    function swapAndSendToFee(uint256 tokens, address receiver) private {
        uint256 initialBalance = address(this).balance;

        swapTokensForEth(tokens);

        uint256 newBalance = address(this).balance.sub(initialBalance);

        payable(receiver).transfer(newBalance);
    }

    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 getAllTaxes() external {
        require(msg.sender == owner() || msg.sender == marketingWallet, "not valid caller");
        swapAndSendToFee(balanceOf(address(this)), marketingWallet);
    }

    function setSwapAmount(uint256 amount) external onlyOwner {
        require(
            amount >= (10**decimals()) && amount <= totalSupply(),
            "not valid amount"
        );
        swapTokensAtAmount = amount;
    }

    function setSellTax(
    uint256 _wholeNumber,
    uint256 _firstNumberAfterDecimal,
    uint256 _secondNumberAfterDecimal
) public onlyOwner {
    require(
        _wholeNumber < 100 &&
            _firstNumberAfterDecimal <= 9 &&
            _secondNumberAfterDecimal <= 9
    );
    centiSellTax =
        _wholeNumber *
        100 +
        _firstNumberAfterDecimal *
        10 +
        _secondNumberAfterDecimal;
}


    function setBuyTax(
    uint256 _wholeNumber,
    uint256 _firstNumberAfterDecimal,
    uint256 _secondNumberAfterDecimal
) public onlyOwner {
    require(
        _wholeNumber < 100 &&
            _firstNumberAfterDecimal <= 9 &&
            _secondNumberAfterDecimal <= 9
    );
    centiBuyTax =
        _wholeNumber *
        100 +
        _firstNumberAfterDecimal *
        10 +
        _secondNumberAfterDecimal;
}


    function setMaxTx(
    uint256 _wholeNumber,
    uint256 _firstNumberAfterDecimal,
    uint256 _secondNumberAfterDecimal
) external onlyOwner {
    require(
        _wholeNumber < 100 &&
            _firstNumberAfterDecimal <= 9 &&
            _secondNumberAfterDecimal <= 9
    );
    maxTxAmount =
        (_wholeNumber *
            100 +
            _firstNumberAfterDecimal *
            10 +
            _secondNumberAfterDecimal) *
        totalSupply().div(10000);
}


    function setMaxWallet(
    uint256 _wholeNumber,
    uint256 _firstNumberAfterDecimal,
    uint256 _secondNumberAfterDecimal
) external onlyOwner {
    require(
        _wholeNumber < 100 &&
            _firstNumberAfterDecimal <= 9 &&
            _secondNumberAfterDecimal <= 9
    );
    maxWalletAmount =
        (_wholeNumber *
            100 +
            _firstNumberAfterDecimal *
            10 +
            _secondNumberAfterDecimal) *
        totalSupply().div(10000);
}

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"supply_","type":"uint256"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"components":[{"internalType":"uint256","name":"centiBuyTax","type":"uint256"},{"internalType":"uint256","name":"centiSellTax","type":"uint256"},{"internalType":"address","name":"marketingWallet","type":"address"},{"internalType":"uint256","name":"maxTxPercent","type":"uint256"},{"internalType":"uint256","name":"maxWalletPercent","type":"uint256"}],"internalType":"struct THEBULLRUN.Parameters","name":"parameters","type":"tuple"},{"internalType":"address","name":"uniswapV2Router_","type":"address"},{"internalType":"address","name":"addr_","type":"address"}],"stateMutability":"payable","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":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"Optimization","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":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"centiBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"centiSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllTaxes","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":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wholeNumber","type":"uint256"},{"internalType":"uint256","name":"_firstNumberAfterDecimal","type":"uint256"},{"internalType":"uint256","name":"_secondNumberAfterDecimal","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapAmount","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405267025b53dcb0f4e3f460075560405162003008380380620030088339810160408190526200003291620008b0565b80878786600362000044848262000a6c565b50600462000053838262000a6c565b506005805460ff191660ff929092169190911790555060009050620000753390565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b039283166001600160a01b0319909116179055604051908216903480156108fc02916000818181858888f1935050505015801562000118573d6000803e3d6000fd5b50604080840151600d80546001600160a01b039283166001600160a01b0319918216179091558551600c55602080870151600b5560088054938716939092168317909155825163c45a015560e01b81529251919263c45a015592600482810193928290030181865afa15801562000193573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b9919062000b38565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000242919062000b38565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000290573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b6919062000b38565b600980546001600160a01b0319166001600160a01b03929092169182179055620002e29060016200043a565b62000306620002fe60055461010090046001600160a01b031690565b60016200052a565b600d546200031f906001600160a01b031660016200052a565b6200032c3060016200052a565b60085462000345906001600160a01b031660016200052a565b6200035284600a62000c69565b6200036086611388620005eb565b6200036d90600162000c7a565b62000379919062000c90565b600a819055506200039c61271085600a62000395919062000c69565b90620005eb565b858460600151620003ae919062000c90565b620003ba919062000c90565b600e55620003d16127106200039586600a62000c69565b858460800151620003e3919062000c90565b620003ef919062000c90565b600f556200042d6200040e60055461010090046001600160a01b031690565b6200041b86600a62000c69565b62000427908862000c90565b6200063e565b5050505050505062000d02565b6001600160a01b03821660009081526011602052604090205481151560ff909116151503620004d65760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b036101009091041633146200058c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004cd565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006200063583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200072260201b60201c565b90505b92915050565b6001600160a01b038216620006965760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004cd565b600254620006a5908262000763565b6002556001600160a01b038216600090815260208190526040902054620006cd908262000763565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60008183620007465760405162461bcd60e51b8152600401620004cd919062000caa565b50600062000755848662000cdf565b95945050505050565b505050565b60008062000772838562000c7a565b905083811015620006355760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620004cd565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620007f9578181015183820152602001620007df565b50506000910152565b600082601f8301126200081457600080fd5b81516001600160401b0380821115620008315762000831620007c6565b604051601f8301601f19908116603f011681019082821181831017156200085c576200085c620007c6565b816040528381528660208588010111156200087657600080fd5b62000889846020830160208901620007dc565b9695505050505050565b80516001600160a01b0381168114620008ab57600080fd5b919050565b6000806000806000806000878903610160811215620008ce57600080fd5b88516001600160401b0380821115620008e657600080fd5b620008f48c838d0162000802565b995060208b01519150808211156200090b57600080fd5b620009198c838d0162000802565b985060408b0151975060608b0151915060ff821682146200093957600080fd5b81965060a0607f19840112156200094f57600080fd5b604051925060a0830191508282108183111715620009715762000971620007c6565b506040526080890151815260a089015160208201526200099460c08a0162000893565b604082015260e0890151606082015261010089015160808201529250620009bf610120890162000893565b9150620009d0610140890162000893565b905092959891949750929550565b600181811c90821680620009f357607f821691505b60208210810362000a1457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200075e57600081815260208120601f850160051c8101602086101562000a435750805b601f850160051c820191505b8181101562000a645782815560010162000a4f565b505050505050565b81516001600160401b0381111562000a885762000a88620007c6565b62000aa08162000a998454620009de565b8462000a1a565b602080601f83116001811462000ad8576000841562000abf5750858301515b600019600386901b1c1916600185901b17855562000a64565b600085815260208120601f198616915b8281101562000b095788860151825594840194600190910190840162000ae8565b508582101562000b285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000b4b57600080fd5b620006358262000893565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000bad57816000190482111562000b915762000b9162000b56565b8085161562000b9f57918102915b93841c939080029062000b71565b509250929050565b60008262000bc65750600162000638565b8162000bd55750600062000638565b816001811462000bee576002811462000bf95762000c19565b600191505062000638565b60ff84111562000c0d5762000c0d62000b56565b50506001821b62000638565b5060208310610133831016604e8410600b841016171562000c3e575081810a62000638565b62000c4a838362000b6c565b806000190482111562000c615762000c6162000b56565b029392505050565b60006200063560ff84168362000bb5565b8082018082111562000638576200063862000b56565b808202811582820484141762000638576200063862000b56565b602081526000825180602084015262000ccb816040850160208701620007dc565b601f01601f19169190910160400192915050565b60008262000cfd57634e487b7160e01b600052601260045260246000fd5b500490565b6122f68062000d126000396000f3fe6080604052600436106102135760003560e01c80638c0b5e2211610118578063b62496f5116100a0578063d2889fb01161006f578063d2889fb014610632578063dd62ed3e14610648578063e2f456051461068e578063e632313c146106a4578063f2fde38b146106c457600080fd5b8063b62496f5146105a2578063b9640d8b146105d2578063c0246668146105f2578063c492f0461461061257600080fd5b80639a7a23d6116100e75780639a7a23d614610516578063a045bfef14610536578063a457c2d71461054c578063a9059cbb1461056c578063aa4bde281461058c57600080fd5b80638c0b5e22146104a85780638da5cb5b146104be5780638f2076fd146104e157806395d89b411461050157600080fd5b8063395093511161019b5780635d098b381161016a5780635d098b38146103fd57806365b8dbc01461041d57806370a082311461043d578063715018a61461047357806375f0a8741461048857600080fd5b8063395093511461036f578063460418321461038f57806349bd5a5e146103a45780634fbee193146103c457600080fd5b80631694505e116101e25780631694505e146102c057806318160ddd146102f857806321ce72e51461030d57806323b872dd1461032d578063313ce5671461034d57600080fd5b806306fdde031461021f57806308faf3461461024a578063095ea7b31461026c57806310c8aeac1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b506102346106e4565b6040516102419190611cd6565b60405180910390f35b34801561025657600080fd5b5061026a610265366004611d24565b610776565b005b34801561027857600080fd5b5061028c610287366004611d78565b610828565b6040519015158152602001610241565b3480156102a857600080fd5b506102b260075481565b604051908152602001610241565b3480156102cc57600080fd5b506008546102e0906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b34801561030457600080fd5b506002546102b2565b34801561031957600080fd5b5061026a610328366004611d24565b61083f565b34801561033957600080fd5b5061028c610348366004611da4565b6108c9565b34801561035957600080fd5b5060055460405160ff9091168152602001610241565b34801561037b57600080fd5b5061028c61038a366004611d78565b610932565b34801561039b57600080fd5b5061026a610968565b3480156103b057600080fd5b506009546102e0906001600160a01b031681565b3480156103d057600080fd5b5061028c6103df366004611de5565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561040957600080fd5b5061026a610418366004611de5565b610a08565b34801561042957600080fd5b5061026a610438366004611de5565b610a5a565b34801561044957600080fd5b506102b2610458366004611de5565b6001600160a01b031660009081526020819052604090205490565b34801561047f57600080fd5b5061026a610cca565b34801561049457600080fd5b50600d546102e0906001600160a01b031681565b3480156104b457600080fd5b506102b2600e5481565b3480156104ca57600080fd5b5060055461010090046001600160a01b03166102e0565b3480156104ed57600080fd5b5061026a6104fc366004611d24565b610d4a565b34801561050d57600080fd5b50610234610dd4565b34801561052257600080fd5b5061026a610531366004611e12565b610de3565b34801561054257600080fd5b506102b2600b5481565b34801561055857600080fd5b5061028c610567366004611d78565b610eb5565b34801561057857600080fd5b5061028c610587366004611d78565b610f04565b34801561059857600080fd5b506102b2600f5481565b3480156105ae57600080fd5b5061028c6105bd366004611de5565b60116020526000908152604090205460ff1681565b3480156105de57600080fd5b5061026a6105ed366004611d24565b610f11565b3480156105fe57600080fd5b5061026a61060d366004611e12565b610fb4565b34801561061e57600080fd5b5061026a61062d366004611e5d565b611043565b34801561063e57600080fd5b506102b2600c5481565b34801561065457600080fd5b506102b2610663366004611f34565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069a57600080fd5b506102b2600a5481565b3480156106b057600080fd5b5061026a6106bf366004611f6d565b611118565b3480156106d057600080fd5b5061026a6106df366004611de5565b6111ae565b6060600380546106f390611f86565b80601f016020809104026020016040519081016040528092919081815260200182805461071f90611f86565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b6005546001600160a01b036101009091041633146107af5760405162461bcd60e51b81526004016107a690611fc0565b60405180910390fd5b6064831080156107c0575060098211155b80156107cd575060098111155b6107d657600080fd5b6107eb6127106107e560025490565b906112aa565b816107f784600a61200b565b61080286606461200b565b61080c9190612022565b6108169190612022565b610820919061200b565b600f55505050565b60006108353384846112f3565b5060015b92915050565b6005546001600160a01b0361010090910416331461086f5760405162461bcd60e51b81526004016107a690611fc0565b606483108015610880575060098211155b801561088d575060098111155b61089657600080fd5b806108a283600a61200b565b6108ad85606461200b565b6108b79190612022565b6108c19190612022565b600c55505050565b60006108d6848484611418565b610928843361092385604051806060016040528060288152602001612274602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611736565b6112f3565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108359185906109239086611770565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806109a25750600d546001600160a01b031633145b6109e15760405162461bcd60e51b815260206004820152601060248201526f3737ba103b30b634b21031b0b63632b960811b60448201526064016107a6565b30600090815260208190526040902054610a0690600d546001600160a01b03166117cf565b565b6005546001600160a01b03610100909104163314610a385760405162461bcd60e51b81526004016107a690611fc0565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314610a8a5760405162461bcd60e51b81526004016107a690611fc0565b6008546001600160a01b0390811690821603610af45760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b60648201526084016107a6565b6008546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600880546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610b8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baf9190612035565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c359190612035565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190612035565b600980546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610cfa5760405162461bcd60e51b81526004016107a690611fc0565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610d7a5760405162461bcd60e51b81526004016107a690611fc0565b606483108015610d8b575060098211155b8015610d98575060098111155b610da157600080fd5b80610dad83600a61200b565b610db885606461200b565b610dc29190612022565b610dcc9190612022565b600b55505050565b6060600480546106f390611f86565b6005546001600160a01b03610100909104163314610e135760405162461bcd60e51b81526004016107a690611fc0565b6009546001600160a01b0390811690831603610ea75760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a4016107a6565b610eb18282611825565b5050565b600061083533846109238560405180606001604052806025815260200161229c602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611736565b6000610835338484611418565b6005546001600160a01b03610100909104163314610f415760405162461bcd60e51b81526004016107a690611fc0565b606483108015610f52575060098211155b8015610f5f575060098111155b610f6857600080fd5b610f776127106107e560025490565b81610f8384600a61200b565b610f8e86606461200b565b610f989190612022565b610fa29190612022565b610fac919061200b565b600e55505050565b6005546001600160a01b03610100909104163314610fe45760405162461bcd60e51b81526004016107a690611fc0565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b036101009091041633146110735760405162461bcd60e51b81526004016107a690611fc0565b60005b82518110156110da57816010600085848151811061109657611096612052565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806110d281612068565b915050611076565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35828260405161110c9291906120c5565b60405180910390a15050565b6005546001600160a01b036101009091041633146111485760405162461bcd60e51b81526004016107a690611fc0565b60055460ff1661115990600a6121cd565b811015801561116a57506002548111155b6111a95760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081d985b1a5908185b5bdd5b9d60821b60448201526064016107a6565b600a55565b6005546001600160a01b036101009091041633146111de5760405162461bcd60e51b81526004016107a690611fc0565b6001600160a01b0381166112435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a6565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006112ec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061190f565b9392505050565b6001600160a01b0383166113555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a6565b6001600160a01b0382166113b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061143857506001600160a01b03821661dead145b8061147d57506001600160a01b03831660009081526010602052604090205460ff168061147d57506001600160a01b03821660009081526010602052604090205460ff165b80611486575080155b1561149b5761149683838361193d565b505050565b600e548111156114fe5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016107a6565b6009546001600160a01b03838116911614611589576001600160a01b038216600090815260208190526040902054600f546115398383612022565b11156115875760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e7400000060448201526064016107a6565b505b30600090815260208190526040902054600a54811080159081906115b75750600954600160a01b900460ff16155b80156115dc57506001600160a01b03851660009081526011602052604090205460ff16155b1561164e576009805460ff60a01b1916600160a01b179055600a5460006116116005546001600160a01b036101009091041690565b6001600160a01b0316036116225750815b801561163f57600d5461163f9082906001600160a01b03166117cf565b506009805460ff60a01b191690555b6009546001600160a01b03861660009081526010602052604090205460ff600160a01b90920482161591168061169c57506001600160a01b03851660009081526010602052604090205460ff165b156116a5575060005b80156117235760006116c86127106107e5600c5488611ac090919063ffffffff16565b6001600160a01b03871660009081526011602052604090205490915060ff161561170a576117076127106107e5600b5488611ac090919063ffffffff16565b90505b6117148582611b42565b945061172187308361193d565b505b61172e86868661193d565b505050505050565b6000818484111561175a5760405162461bcd60e51b81526004016107a69190611cd6565b50600061176784866121dc565b95945050505050565b60008061177d8385612022565b9050838110156112ec5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107a6565b476117d983611b84565b60006117e54783611b42565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f1935050505015801561181e573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526011602052604090205481151560ff9091161515036118bb5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016107a6565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836119305760405162461bcd60e51b81526004016107a69190611cd6565b50600061176784866121ef565b6001600160a01b0383166119a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a6565b6001600160a01b038216611a035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a6565b611a408160405180606001604052806026815260200161224e602691396001600160a01b0386166000908152602081905260409020549190611736565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a6f9082611770565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161140b565b600082600003611ad257506000610839565b6000611ade838561200b565b905082611aeb85836121ef565b146112ec5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107a6565b60006112ec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611736565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bb957611bb9612052565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c369190612035565b81600181518110611c4957611c49612052565b6001600160a01b039283166020918202929092010152600854611c6f91309116846112f3565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ca8908590600090869030904290600401612211565b600060405180830381600087803b158015611cc257600080fd5b505af115801561172e573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611d0357858101830151858201604001528201611ce7565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611d3957600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611d6557600080fd5b50565b8035611d7381611d50565b919050565b60008060408385031215611d8b57600080fd5b8235611d9681611d50565b946020939093013593505050565b600080600060608486031215611db957600080fd5b8335611dc481611d50565b92506020840135611dd481611d50565b929592945050506040919091013590565b600060208284031215611df757600080fd5b81356112ec81611d50565b80358015158114611d7357600080fd5b60008060408385031215611e2557600080fd5b8235611e3081611d50565b9150611e3e60208401611e02565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611e7057600080fd5b823567ffffffffffffffff80821115611e8857600080fd5b818501915085601f830112611e9c57600080fd5b8135602082821115611eb057611eb0611e47565b8160051b604051601f19603f83011681018181108682111715611ed557611ed5611e47565b604052928352818301935084810182019289841115611ef357600080fd5b948201945b83861015611f1857611f0986611d68565b85529482019493820193611ef8565b9650611f279050878201611e02565b9450505050509250929050565b60008060408385031215611f4757600080fd5b8235611f5281611d50565b91506020830135611f6281611d50565b809150509250929050565b600060208284031215611f7f57600080fd5b5035919050565b600181811c90821680611f9a57607f821691505b602082108103611fba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761083957610839611ff5565b8082018082111561083957610839611ff5565b60006020828403121561204757600080fd5b81516112ec81611d50565b634e487b7160e01b600052603260045260246000fd5b60006001820161207a5761207a611ff5565b5060010190565b600081518084526020808501945080840160005b838110156120ba5781516001600160a01b031687529582019590820190600101612095565b509495945050505050565b6040815260006120d86040830185612081565b905082151560208301529392505050565b600181815b8085111561212457816000190482111561210a5761210a611ff5565b8085161561211757918102915b93841c93908002906120ee565b509250929050565b60008261213b57506001610839565b8161214857506000610839565b816001811461215e576002811461216857612184565b6001915050610839565b60ff84111561217957612179611ff5565b50506001821b610839565b5060208310610133831016604e8410600b84101617156121a7575081810a610839565b6121b183836120e9565b80600019048211156121c5576121c5611ff5565b029392505050565b60006112ec60ff84168361212c565b8181038181111561083957610839611ff5565b60008261220c57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a06040820152600061223060a0830186612081565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122075fe2865cea117cadd10df9d3ecc79f9c82ed84b599e66e2f4c5e62bf72b38f664736f6c63430008130033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c40000000000000000000000005061813f5e11389cdae8856c0d4fc634c8b77659000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000c5448452042554c4c2052554e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442554c4c00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102135760003560e01c80638c0b5e2211610118578063b62496f5116100a0578063d2889fb01161006f578063d2889fb014610632578063dd62ed3e14610648578063e2f456051461068e578063e632313c146106a4578063f2fde38b146106c457600080fd5b8063b62496f5146105a2578063b9640d8b146105d2578063c0246668146105f2578063c492f0461461061257600080fd5b80639a7a23d6116100e75780639a7a23d614610516578063a045bfef14610536578063a457c2d71461054c578063a9059cbb1461056c578063aa4bde281461058c57600080fd5b80638c0b5e22146104a85780638da5cb5b146104be5780638f2076fd146104e157806395d89b411461050157600080fd5b8063395093511161019b5780635d098b381161016a5780635d098b38146103fd57806365b8dbc01461041d57806370a082311461043d578063715018a61461047357806375f0a8741461048857600080fd5b8063395093511461036f578063460418321461038f57806349bd5a5e146103a45780634fbee193146103c457600080fd5b80631694505e116101e25780631694505e146102c057806318160ddd146102f857806321ce72e51461030d57806323b872dd1461032d578063313ce5671461034d57600080fd5b806306fdde031461021f57806308faf3461461024a578063095ea7b31461026c57806310c8aeac1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b506102346106e4565b6040516102419190611cd6565b60405180910390f35b34801561025657600080fd5b5061026a610265366004611d24565b610776565b005b34801561027857600080fd5b5061028c610287366004611d78565b610828565b6040519015158152602001610241565b3480156102a857600080fd5b506102b260075481565b604051908152602001610241565b3480156102cc57600080fd5b506008546102e0906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b34801561030457600080fd5b506002546102b2565b34801561031957600080fd5b5061026a610328366004611d24565b61083f565b34801561033957600080fd5b5061028c610348366004611da4565b6108c9565b34801561035957600080fd5b5060055460405160ff9091168152602001610241565b34801561037b57600080fd5b5061028c61038a366004611d78565b610932565b34801561039b57600080fd5b5061026a610968565b3480156103b057600080fd5b506009546102e0906001600160a01b031681565b3480156103d057600080fd5b5061028c6103df366004611de5565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561040957600080fd5b5061026a610418366004611de5565b610a08565b34801561042957600080fd5b5061026a610438366004611de5565b610a5a565b34801561044957600080fd5b506102b2610458366004611de5565b6001600160a01b031660009081526020819052604090205490565b34801561047f57600080fd5b5061026a610cca565b34801561049457600080fd5b50600d546102e0906001600160a01b031681565b3480156104b457600080fd5b506102b2600e5481565b3480156104ca57600080fd5b5060055461010090046001600160a01b03166102e0565b3480156104ed57600080fd5b5061026a6104fc366004611d24565b610d4a565b34801561050d57600080fd5b50610234610dd4565b34801561052257600080fd5b5061026a610531366004611e12565b610de3565b34801561054257600080fd5b506102b2600b5481565b34801561055857600080fd5b5061028c610567366004611d78565b610eb5565b34801561057857600080fd5b5061028c610587366004611d78565b610f04565b34801561059857600080fd5b506102b2600f5481565b3480156105ae57600080fd5b5061028c6105bd366004611de5565b60116020526000908152604090205460ff1681565b3480156105de57600080fd5b5061026a6105ed366004611d24565b610f11565b3480156105fe57600080fd5b5061026a61060d366004611e12565b610fb4565b34801561061e57600080fd5b5061026a61062d366004611e5d565b611043565b34801561063e57600080fd5b506102b2600c5481565b34801561065457600080fd5b506102b2610663366004611f34565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069a57600080fd5b506102b2600a5481565b3480156106b057600080fd5b5061026a6106bf366004611f6d565b611118565b3480156106d057600080fd5b5061026a6106df366004611de5565b6111ae565b6060600380546106f390611f86565b80601f016020809104026020016040519081016040528092919081815260200182805461071f90611f86565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b6005546001600160a01b036101009091041633146107af5760405162461bcd60e51b81526004016107a690611fc0565b60405180910390fd5b6064831080156107c0575060098211155b80156107cd575060098111155b6107d657600080fd5b6107eb6127106107e560025490565b906112aa565b816107f784600a61200b565b61080286606461200b565b61080c9190612022565b6108169190612022565b610820919061200b565b600f55505050565b60006108353384846112f3565b5060015b92915050565b6005546001600160a01b0361010090910416331461086f5760405162461bcd60e51b81526004016107a690611fc0565b606483108015610880575060098211155b801561088d575060098111155b61089657600080fd5b806108a283600a61200b565b6108ad85606461200b565b6108b79190612022565b6108c19190612022565b600c55505050565b60006108d6848484611418565b610928843361092385604051806060016040528060288152602001612274602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611736565b6112f3565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108359185906109239086611770565b60055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614806109a25750600d546001600160a01b031633145b6109e15760405162461bcd60e51b815260206004820152601060248201526f3737ba103b30b634b21031b0b63632b960811b60448201526064016107a6565b30600090815260208190526040902054610a0690600d546001600160a01b03166117cf565b565b6005546001600160a01b03610100909104163314610a385760405162461bcd60e51b81526004016107a690611fc0565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314610a8a5760405162461bcd60e51b81526004016107a690611fc0565b6008546001600160a01b0390811690821603610af45760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b60648201526084016107a6565b6008546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600880546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610b8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baf9190612035565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c359190612035565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190612035565b600980546001600160a01b0319166001600160a01b03929092169190911790555050565b6005546001600160a01b03610100909104163314610cfa5760405162461bcd60e51b81526004016107a690611fc0565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6005546001600160a01b03610100909104163314610d7a5760405162461bcd60e51b81526004016107a690611fc0565b606483108015610d8b575060098211155b8015610d98575060098111155b610da157600080fd5b80610dad83600a61200b565b610db885606461200b565b610dc29190612022565b610dcc9190612022565b600b55505050565b6060600480546106f390611f86565b6005546001600160a01b03610100909104163314610e135760405162461bcd60e51b81526004016107a690611fc0565b6009546001600160a01b0390811690831603610ea75760405162461bcd60e51b815260206004820152604760248201527f5468652050616e5265776172645377617020706169722063616e6e6f7420626560448201527f2072656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6064820152666572506169727360c81b608482015260a4016107a6565b610eb18282611825565b5050565b600061083533846109238560405180606001604052806025815260200161229c602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611736565b6000610835338484611418565b6005546001600160a01b03610100909104163314610f415760405162461bcd60e51b81526004016107a690611fc0565b606483108015610f52575060098211155b8015610f5f575060098111155b610f6857600080fd5b610f776127106107e560025490565b81610f8384600a61200b565b610f8e86606461200b565b610f989190612022565b610fa29190612022565b610fac919061200b565b600e55505050565b6005546001600160a01b03610100909104163314610fe45760405162461bcd60e51b81526004016107a690611fc0565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b036101009091041633146110735760405162461bcd60e51b81526004016107a690611fc0565b60005b82518110156110da57816010600085848151811061109657611096612052565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806110d281612068565b915050611076565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35828260405161110c9291906120c5565b60405180910390a15050565b6005546001600160a01b036101009091041633146111485760405162461bcd60e51b81526004016107a690611fc0565b60055460ff1661115990600a6121cd565b811015801561116a57506002548111155b6111a95760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081d985b1a5908185b5bdd5b9d60821b60448201526064016107a6565b600a55565b6005546001600160a01b036101009091041633146111de5760405162461bcd60e51b81526004016107a690611fc0565b6001600160a01b0381166112435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a6565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006112ec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061190f565b9392505050565b6001600160a01b0383166113555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a6565b6001600160a01b0382166113b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216158061143857506001600160a01b03821661dead145b8061147d57506001600160a01b03831660009081526010602052604090205460ff168061147d57506001600160a01b03821660009081526010602052604090205460ff165b80611486575080155b1561149b5761149683838361193d565b505050565b600e548111156114fe5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016107a6565b6009546001600160a01b03838116911614611589576001600160a01b038216600090815260208190526040902054600f546115398383612022565b11156115875760405162461bcd60e51b815260206004820152601d60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e7400000060448201526064016107a6565b505b30600090815260208190526040902054600a54811080159081906115b75750600954600160a01b900460ff16155b80156115dc57506001600160a01b03851660009081526011602052604090205460ff16155b1561164e576009805460ff60a01b1916600160a01b179055600a5460006116116005546001600160a01b036101009091041690565b6001600160a01b0316036116225750815b801561163f57600d5461163f9082906001600160a01b03166117cf565b506009805460ff60a01b191690555b6009546001600160a01b03861660009081526010602052604090205460ff600160a01b90920482161591168061169c57506001600160a01b03851660009081526010602052604090205460ff165b156116a5575060005b80156117235760006116c86127106107e5600c5488611ac090919063ffffffff16565b6001600160a01b03871660009081526011602052604090205490915060ff161561170a576117076127106107e5600b5488611ac090919063ffffffff16565b90505b6117148582611b42565b945061172187308361193d565b505b61172e86868661193d565b505050505050565b6000818484111561175a5760405162461bcd60e51b81526004016107a69190611cd6565b50600061176784866121dc565b95945050505050565b60008061177d8385612022565b9050838110156112ec5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107a6565b476117d983611b84565b60006117e54783611b42565b6040519091506001600160a01b0384169082156108fc029083906000818181858888f1935050505015801561181e573d6000803e3d6000fd5b5050505050565b6001600160a01b03821660009081526011602052604090205481151560ff9091161515036118bb5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016107a6565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600081836119305760405162461bcd60e51b81526004016107a69190611cd6565b50600061176784866121ef565b6001600160a01b0383166119a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a6565b6001600160a01b038216611a035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a6565b611a408160405180606001604052806026815260200161224e602691396001600160a01b0386166000908152602081905260409020549190611736565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a6f9082611770565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161140b565b600082600003611ad257506000610839565b6000611ade838561200b565b905082611aeb85836121ef565b146112ec5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107a6565b60006112ec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611736565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611bb957611bb9612052565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c369190612035565b81600181518110611c4957611c49612052565b6001600160a01b039283166020918202929092010152600854611c6f91309116846112f3565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ca8908590600090869030904290600401612211565b600060405180830381600087803b158015611cc257600080fd5b505af115801561172e573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611d0357858101830151858201604001528201611ce7565b506000604082860101526040601f19601f8301168501019250505092915050565b600080600060608486031215611d3957600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0381168114611d6557600080fd5b50565b8035611d7381611d50565b919050565b60008060408385031215611d8b57600080fd5b8235611d9681611d50565b946020939093013593505050565b600080600060608486031215611db957600080fd5b8335611dc481611d50565b92506020840135611dd481611d50565b929592945050506040919091013590565b600060208284031215611df757600080fd5b81356112ec81611d50565b80358015158114611d7357600080fd5b60008060408385031215611e2557600080fd5b8235611e3081611d50565b9150611e3e60208401611e02565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611e7057600080fd5b823567ffffffffffffffff80821115611e8857600080fd5b818501915085601f830112611e9c57600080fd5b8135602082821115611eb057611eb0611e47565b8160051b604051601f19603f83011681018181108682111715611ed557611ed5611e47565b604052928352818301935084810182019289841115611ef357600080fd5b948201945b83861015611f1857611f0986611d68565b85529482019493820193611ef8565b9650611f279050878201611e02565b9450505050509250929050565b60008060408385031215611f4757600080fd5b8235611f5281611d50565b91506020830135611f6281611d50565b809150509250929050565b600060208284031215611f7f57600080fd5b5035919050565b600181811c90821680611f9a57607f821691505b602082108103611fba57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761083957610839611ff5565b8082018082111561083957610839611ff5565b60006020828403121561204757600080fd5b81516112ec81611d50565b634e487b7160e01b600052603260045260246000fd5b60006001820161207a5761207a611ff5565b5060010190565b600081518084526020808501945080840160005b838110156120ba5781516001600160a01b031687529582019590820190600101612095565b509495945050505050565b6040815260006120d86040830185612081565b905082151560208301529392505050565b600181815b8085111561212457816000190482111561210a5761210a611ff5565b8085161561211757918102915b93841c93908002906120ee565b509250929050565b60008261213b57506001610839565b8161214857506000610839565b816001811461215e576002811461216857612184565b6001915050610839565b60ff84111561217957612179611ff5565b50506001821b610839565b5060208310610133831016604e8410600b84101617156121a7575081810a610839565b6121b183836120e9565b80600019048211156121c5576121c5611ff5565b029392505050565b60006112ec60ff84168361212c565b8181038181111561083957610839611ff5565b60008261220c57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a06040820152600061223060a0830186612081565b6001600160a01b039490941660608301525060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122075fe2865cea117cadd10df9d3ecc79f9c82ed84b599e66e2f4c5e62bf72b38f664736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c40000000000000000000000005061813f5e11389cdae8856c0d4fc634c8b77659000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000c5448452042554c4c2052554e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442554c4c00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): THE BULL RUN
Arg [1] : symbol_ (string): BULL
Arg [2] : supply_ (uint256): 1000000000
Arg [3] : decimals_ (uint8): 18
Arg [4] : parameters (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [5] : uniswapV2Router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : addr_ (address): 0x5B8A969814AEa42CC1faC408e95383eb5c44e059

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [5] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [6] : 0000000000000000000000005061813f5e11389cdae8856c0d4fc634c8b77659
Arg [7] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [8] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [9] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [10] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [12] : 5448452042554c4c2052554e0000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [14] : 42554c4c00000000000000000000000000000000000000000000000000000000


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.