false
true
0

Contract Address Details

0xa27aDe5806Ded801b93499C6fA23cc8dC9AC55EA

Token
MAFIA (MAFIA)
Creator
0x261c6d–1088b5 at 0xac0833–adf345
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
28,114 Transactions
Transfers
0 Transfers
Gas Used
0
Last Balance Update
25910690
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
PLSMafia




Optimization enabled
true
Compiler version
v0.8.19+commit.7dd6d404




Optimization runs
200
EVM Version
default




Verified at
2024-06-13T22:01:33.333472Z

Constructor Arguments

0x000000000000000000000000776f3d2d483580b12a2cd163be40f649b2d1ff34000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d9

Arg [0] (address) : 0x776f3d2d483580b12a2cd163be40f649b2d1ff34
Arg [1] (address) : 0x165c3410fc91ef562c50559f7d2289febed552d9

              

contracts/PlsMafia/Mafia.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.7;
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '../interfaces/IPancakeFactory.sol';
import '../interfaces/IPulseXRouter.sol';

contract PLSMafia is ERC20, Ownable {
    using SafeMath for uint256;
    IPulseXRouter02 public router;

    mapping(address => bool) public isLp;
    mapping(address => bool) public excludedFromFee;
    
    address public vaultAddr;
    uint256 public sellTax;
    uint256 public buyTax;
    
    event AccumulatedFee(address account, uint256 amount);
    event SwappedToVault(uint256 amount, uint256 bnbAmount);

    constructor(address _vaultAddr, address routerAddress) ERC20('MAFIA', 'MAFIA') {
        IPulseXRouter02 _router = IPulseXRouter02(routerAddress);
        router = _router;
        vaultAddr = _vaultAddr;

        excludedFromFee[msg.sender] = true;
        excludedFromFee[address(router)] = true;
        excludedFromFee[address(this)] = true;
        _mint(msg.sender, 1000000000 * 10 ** 18);

        sellTax = 166;
        buyTax = 47;
    }

    function setVaultAddress(address addr) external onlyOwner {
        vaultAddr = addr;
    }

    function transferOwnership(address newOwner) public override onlyOwner {
        excludedFromFee[newOwner] = true;
        super.transferOwnership(newOwner);
    }

    function setLP(address addr, bool value) external onlyOwner {
        isLp[addr] = value;
    }

    function excludeFromFee(address addr, bool value) external onlyOwner {
        excludedFromFee[addr] = value;
    }

    function setTax(uint256 _buyTax, uint256 _sellTax) external onlyOwner {
        buyTax = _buyTax;
        sellTax = _sellTax;
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), 'ERC20: transfer from the zero address');
        require(to != address(0), 'ERC20: transfer to the zero address');
        if (isLp[from] && !excludedFromFee[to]) {
            // buy, 5% slippage ~= 4.7% tax
            uint256 fee = (amount * buyTax) / 1000;
            super._transfer(from, to, amount - fee);
            super._transfer(from, address(this), fee);
            emit AccumulatedFee(from, fee);
        } else if (isLp[to] && !excludedFromFee[from]) {
            // sell, 20% slippage ~= 16.6% tx
            uint256 fee = amount * sellTax / 1000;
            super._transfer(from, to, amount - fee);
            super._transfer(from, address(this), fee);
            emit AccumulatedFee(from, fee);
        } else {
            super._transfer(from, to, amount);
        }
    }

    function swapToVault() external {
        uint256 amount = balanceOf(address(this));
        if (amount == 0) return;
        uint256 outputAmount;
        uint256[] memory amounts;

        _approve(address(this), address(router), amount);

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WPLS();
        amounts = router.swapExactTokensForETH(amount, 0, path, vaultAddr, block.timestamp);
        outputAmount = amounts[1];
        
        emit SwappedToVault(amount, outputAmount);
    }

    function bulkTransfer(address[] calldata accounts, uint256[] calldata amounts) external {
        for (uint256 i = 0; i < accounts.length; i++) {
            transfer(accounts[i], amounts[i]);
        }
    }
}
        

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

@openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

@openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

@openzeppelin/contracts/utils/math/SafeMath.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

contracts/interfaces/IPancakeFactory.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.5.16;


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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

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

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

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

contracts/interfaces/IPulseXRouter.sol

//SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

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

    function WPLS() external pure returns (address);

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

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

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);

    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);

    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);

    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IPulseXRouter02 is IPulseXRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

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

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

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

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

Compiler Settings

{"viaIR":true,"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_vaultAddr","internalType":"address"},{"type":"address","name":"routerAddress","internalType":"address"}]},{"type":"event","name":"AccumulatedFee","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SwappedToVault","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"bnbAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"bulkTransfer","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"buyTax","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"excludeFromFee","inputs":[{"type":"address","name":"addr","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"excludedFromFee","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isLp","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXRouter02"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"sellTax","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLP","inputs":[{"type":"address","name":"addr","internalType":"address"},{"type":"bool","name":"value","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTax","inputs":[{"type":"uint256","name":"_buyTax","internalType":"uint256"},{"type":"uint256","name":"_sellTax","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVaultAddress","inputs":[{"type":"address","name":"addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"swapToVault","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"vaultAddr","inputs":[]}]
              

Contract Creation Code

0x6080346200048a57620017db90601f19906001600160401b03601f388590038181018516840190838211858310176200038c57808591604098899485528339810103126200048a5762000052836200048f565b916200006260208095016200048f565b906200006d620004a4565b9062000078620004a4565b968251908282116200038c5760039182546001958682811c921680156200047f575b8b8310146200046957818984931162000413575b508a90898311600114620003ae57600092620003a2575b505060001982851b1c191690851b1782555b88519283116200038c5760049889548581811c9116801562000381575b8a8210146200036c57908188869594931162000312575b508991888511600114620002aa57506000936200029e575b505082841b92600019911b1c19161786555b60055460018060a01b031990338282161760055588519560018060a01b0380958193823391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a316836006541617600655169060095416176009553360005260088552866000209160ff19928284825416179055600654166000528660002081838254161790553060005286600020918254161790553315620002615750506002546b033b2e3c9fd0803ce8000000928382018092116200024c57506000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160025533835282815284832084815401905584519384523393a360a6600a55602f600b55516113049081620004d78239f35b601190634e487b7160e01b6000525260246000fd5b6064928462461bcd60e51b845283015260248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b01519150388062000123565b86959392919316928b6000528a6000209360005b8c828210620002fb5750508511620002e0575b50505050811b01865562000135565b01519060f884600019921b161c1916905538808080620002d1565b8385015187558998909601959384019301620002be565b90919293508a600052896000208880870160051c8201928c881062000362575b9188918897969594930160051c01915b828110620003525750506200010b565b6000815587965088910162000342565b9250819262000332565b60228b634e487b7160e01b6000525260246000fd5b90607f1690620000f4565b634e487b7160e01b600052604160045260246000fd5b015190503880620000c5565b908488941691866000528c600020928d6000905b828210620003fb5750508411620003e2575b505050811b018255620000d7565b015160001983871b60f8161c19169055388080620003d4565b8385015186558b979095019493840193018e620003c2565b909150846000528a6000208980850160051c8201928d86106200045f575b918991869594930160051c01915b8281106200044f575050620000ae565b600081558594508991016200043f565b9250819262000431565b634e487b7160e01b600052602260045260246000fd5b91607f16916200009a565b600080fd5b51906001600160a01b03821682036200048a57565b60408051919082016001600160401b038111838210176200038c5760405260058252644d4146494160d81b602083015256fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461097e57508163095ea7b314610954578163153a1f3e1461089557816318160ddd1461087657816320733bc01461085d57816323b872dd1461079357816328d6793814610753578163313ce5671461073757816339509351146106d05781634f7041a5146106b1578163667f65261461068a57816370a0823114610653578163715018a6146105f657816385535cc5146105b157816385ecafd7146105735781638da5cb5b1461054a57816395d89b4114610447578163a457c2d71461039f578163a9059cbb1461036e578163cc1776d31461034f578163d27567f214610326578163dd62ed3e146102dd578163df8408fe1461029a578163e3369d681461025c578163f2fde38b1461016e575063f887ea401461014357600080fd5b3461016a578160031936011261016a5760065490516001600160a01b039091168152602090f35b5080fd5b90503461025857602036600319011261025857610189610ab8565b90610192610b49565b6001600160a01b039182168085526008602052838520805460ff19166001179055926101bc610b49565b8315610206575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b50503461016a57602036600319011261016a5760209160ff9082906001600160a01b03610287610ab8565b1681526007855220541690519015158152f35b50503461016a576102da906102ae36610b1a565b91906102b8610b49565b60018060a01b03168452600860205283209060ff801983541691151516179055565b80f35b50503461016a578060031936011261016a57806020926102fb610ab8565b610303610ad3565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b50503461016a578160031936011261016a5760095490516001600160a01b039091168152602090f35b50503461016a578160031936011261016a57602090600a549051908152f35b50503461016a578060031936011261016a5760209061039861038e610ab8565b6024359033610dc3565b5160018152f35b905082346104445782600319360112610444576103ba610ab8565b918360243592338152600160205281812060018060a01b03861682526020522054908282106103f3576020856103988585038733610bd9565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b83833461016a578160031936011261016a57805191809380549160019083821c92828516948515610540575b602095868610811461052d5785895290811561050957506001146104b1575b6104ad87876104a3828c0383610ba1565b5191829182610a6f565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106104f657505050826104ad946104a392820101948680610492565b80548685018801529286019281016104d8565b60ff19168887015250505050151560051b83010192506104a3826104ad8680610492565b634e487b7160e01b845260228352602484fd5b93607f1693610473565b50503461016a578160031936011261016a5760055490516001600160a01b039091168152602090f35b50503461016a57602036600319011261016a5760209160ff9082906001600160a01b0361059e610ab8565b1681526008855220541690519015158152f35b8334610444576020366003190112610444576105cb610ab8565b6105d3610b49565b60018060a01b03166bffffffffffffffffffffffff60a01b600954161760095580f35b833461044457806003193601126104445761060f610b49565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50503461016a57602036600319011261016a5760209181906001600160a01b0361067b610ab8565b16815280845220549051908152f35b919050346102585736600319011261016a576106a4610b49565b35600b55602435600a5580f35b50503461016a578160031936011261016a57602090600b549051908152f35b8284346104445781600319360112610444576106ea610ab8565b338252600160209081528383206001600160a01b038316845290528282205460243581019290831061072457602084610398858533610bd9565b634e487b7160e01b815260118552602490fd5b50503461016a578160031936011261016a576020905160128152f35b50503461016a576102da9061076736610b1a565b9190610771610b49565b60018060a01b03168452600760205283209060ff801983541691151516179055565b8391503461016a57606036600319011261016a576107af610ab8565b6107b7610ad3565b91846044359460018060a01b0384168152600160205281812033825260205220549060001982036107f1575b602086610398878787610dc3565b84821061081a575091839161080f6020969561039895033383610bd9565b9193948193506107e3565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b83346104445780600319360112610444576102da611017565b50503461016a578160031936011261016a576020906002549051908152f35b919050346102585736600319011261016a5767ffffffffffffffff908035828111610950576108c79036908301610ae9565b602492919293843590811161094c576108e39036908401610ae9565b9091865b8181106108f2578780f35b6108fd8183886112be565b356001600160a01b0381168103610948576109259061091d8386886112be565b359033610dc3565b6000198114610936576001016108e7565b634e487b7160e01b8852601185528688fd5b8880fd5b8580fd5b8380fd5b50503461016a578060031936011261016a57602090610398610974610ab8565b6024359033610bd9565b92915034610950578360031936011261095057600354600181811c9186908281168015610a65575b6020958686108214610a525750848852908115610a3057506001146109d7575b6104ad86866104a3828b0383610ba1565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610a1d57505050826104ad946104a39282010194386109c6565b8054868501880152928601928101610a00565b60ff191687860152505050151560051b83010192506104a3826104ad386109c6565b634e487b7160e01b845260229052602483fd5b93607f16936109a6565b6020808252825181830181905290939260005b828110610aa457505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610a82565b600435906001600160a01b0382168203610ace57565b600080fd5b602435906001600160a01b0382168203610ace57565b9181601f84011215610ace5782359167ffffffffffffffff8311610ace576020808501948460051b010111610ace57565b6040906003190112610ace576004356001600160a01b0381168103610ace57906024358015158103610ace5790565b6005546001600160a01b03163303610b5d57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff821117610bc357604052565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03908116918215610c8a5716918215610c3a5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b15610ce257565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15610d3c57565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b81810292918115918404141715610da057565b634e487b7160e01b600052601160045260246000fd5b91908203918211610da057565b6001600160a01b03808216939290610ddc851515610cdb565b811693610dea851515610d35565b6000818152600760205260409560ff878320541680610f07575b15610e86575050507f9265b35b046f5bb882035c40b12e04cfc83fd19fe4a2a945720b1f6dc1ec9b6b93610e56610e8192610e4f6103e8610e47600b5489610d8d565b048097610db6565b9085610f1d565b610e61843085610f1d565b516001600160a01b03909216825260208201929092529081906040820190565b0390a1565b9086918152600760205260ff82822054169283610ef0575b505050600014610ee3577f9265b35b046f5bb882035c40b12e04cfc83fd19fe4a2a945720b1f6dc1ec9b6b93610e56610e8192610e4f6103e8610e47600a5489610d8d565b90610eee9350610f1d565b565b60ff93508152600860205220541615843880610e9e565b50808252600860205260ff878320541615610e04565b6001600160a01b0390811691610f34831515610cdb565b1691610f41831515610d35565b600082815280602052604081205491808310610f9d57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b8051600110156110015760400190565b634e487b7160e01b600052603260045260246000fd5b600090308252602091808352604090818120549081156112b7576006546001600160a01b039061104b908490831630610bd9565b835167ffffffffffffffff919060608101838111828210176112a3578652600281528781018636823781511561128f57308152826006541691875163ef8ef56f60e01b81528a81600481875afa90811561128557879161124b575b50918192856110b6899694610ff1565b91169052846009541689519586946318cbafe560e01b865260a48601908b600488015287602488015260a06044880152518091528d60c48701949288915b83831061122a5750505050508380928692606483015242608483015203925af192831561121f57809361115e575b505050936111517f805abfeabf00095a4501c6a90059e54d98d892561289820deaef88e225fb55399495610ff1565b51908351928352820152a1565b909192503d8082843e6111718184610ba1565b820191878184031261016a57805190848211610258570182601f8201121561016a57805193841161120b578360051b918651946111b08a850187610ba1565b8552888086019383010193841161044457508701905b8282106111fc575061115191507f805abfeabf00095a4501c6a90059e54d98d892561289820deaef88e225fb5539905038611122565b815181529087019087016111c6565b634e487b7160e01b82526041600452602482fd5b8551903d90823e3d90fd5b8451821687528c99508a98509586019593909301926001909101908f6110f4565b90508a81813d831161127e575b6112628183610ba1565b8101031261127a5751848116810361127a57386110a6565b8680fd5b503d611258565b89513d89823e3d90fd5b634e487b7160e01b85526032600452602485fd5b634e487b7160e01b85526041600452602485fd5b5050509050565b91908110156110015760051b019056fea264697066735822122051b6e6c2f3cd52c0093f44c2e7af6e391be580cb3182e0f39c0a2a645d2e3a2d64736f6c63430008130033000000000000000000000000776f3d2d483580b12a2cd163be40f649b2d1ff34000000000000000000000000165c3410fc91ef562c50559f7d2289febed552d9

Deployed ByteCode

0x608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde031461097e57508163095ea7b314610954578163153a1f3e1461089557816318160ddd1461087657816320733bc01461085d57816323b872dd1461079357816328d6793814610753578163313ce5671461073757816339509351146106d05781634f7041a5146106b1578163667f65261461068a57816370a0823114610653578163715018a6146105f657816385535cc5146105b157816385ecafd7146105735781638da5cb5b1461054a57816395d89b4114610447578163a457c2d71461039f578163a9059cbb1461036e578163cc1776d31461034f578163d27567f214610326578163dd62ed3e146102dd578163df8408fe1461029a578163e3369d681461025c578163f2fde38b1461016e575063f887ea401461014357600080fd5b3461016a578160031936011261016a5760065490516001600160a01b039091168152602090f35b5080fd5b90503461025857602036600319011261025857610189610ab8565b90610192610b49565b6001600160a01b039182168085526008602052838520805460ff19166001179055926101bc610b49565b8315610206575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b50503461016a57602036600319011261016a5760209160ff9082906001600160a01b03610287610ab8565b1681526007855220541690519015158152f35b50503461016a576102da906102ae36610b1a565b91906102b8610b49565b60018060a01b03168452600860205283209060ff801983541691151516179055565b80f35b50503461016a578060031936011261016a57806020926102fb610ab8565b610303610ad3565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b50503461016a578160031936011261016a5760095490516001600160a01b039091168152602090f35b50503461016a578160031936011261016a57602090600a549051908152f35b50503461016a578060031936011261016a5760209061039861038e610ab8565b6024359033610dc3565b5160018152f35b905082346104445782600319360112610444576103ba610ab8565b918360243592338152600160205281812060018060a01b03861682526020522054908282106103f3576020856103988585038733610bd9565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b83833461016a578160031936011261016a57805191809380549160019083821c92828516948515610540575b602095868610811461052d5785895290811561050957506001146104b1575b6104ad87876104a3828c0383610ba1565b5191829182610a6f565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8284106104f657505050826104ad946104a392820101948680610492565b80548685018801529286019281016104d8565b60ff19168887015250505050151560051b83010192506104a3826104ad8680610492565b634e487b7160e01b845260228352602484fd5b93607f1693610473565b50503461016a578160031936011261016a5760055490516001600160a01b039091168152602090f35b50503461016a57602036600319011261016a5760209160ff9082906001600160a01b0361059e610ab8565b1681526008855220541690519015158152f35b8334610444576020366003190112610444576105cb610ab8565b6105d3610b49565b60018060a01b03166bffffffffffffffffffffffff60a01b600954161760095580f35b833461044457806003193601126104445761060f610b49565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b50503461016a57602036600319011261016a5760209181906001600160a01b0361067b610ab8565b16815280845220549051908152f35b919050346102585736600319011261016a576106a4610b49565b35600b55602435600a5580f35b50503461016a578160031936011261016a57602090600b549051908152f35b8284346104445781600319360112610444576106ea610ab8565b338252600160209081528383206001600160a01b038316845290528282205460243581019290831061072457602084610398858533610bd9565b634e487b7160e01b815260118552602490fd5b50503461016a578160031936011261016a576020905160128152f35b50503461016a576102da9061076736610b1a565b9190610771610b49565b60018060a01b03168452600760205283209060ff801983541691151516179055565b8391503461016a57606036600319011261016a576107af610ab8565b6107b7610ad3565b91846044359460018060a01b0384168152600160205281812033825260205220549060001982036107f1575b602086610398878787610dc3565b84821061081a575091839161080f6020969561039895033383610bd9565b9193948193506107e3565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b83346104445780600319360112610444576102da611017565b50503461016a578160031936011261016a576020906002549051908152f35b919050346102585736600319011261016a5767ffffffffffffffff908035828111610950576108c79036908301610ae9565b602492919293843590811161094c576108e39036908401610ae9565b9091865b8181106108f2578780f35b6108fd8183886112be565b356001600160a01b0381168103610948576109259061091d8386886112be565b359033610dc3565b6000198114610936576001016108e7565b634e487b7160e01b8852601185528688fd5b8880fd5b8580fd5b8380fd5b50503461016a578060031936011261016a57602090610398610974610ab8565b6024359033610bd9565b92915034610950578360031936011261095057600354600181811c9186908281168015610a65575b6020958686108214610a525750848852908115610a3057506001146109d7575b6104ad86866104a3828b0383610ba1565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610a1d57505050826104ad946104a39282010194386109c6565b8054868501880152928601928101610a00565b60ff191687860152505050151560051b83010192506104a3826104ad386109c6565b634e487b7160e01b845260229052602483fd5b93607f16936109a6565b6020808252825181830181905290939260005b828110610aa457505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610a82565b600435906001600160a01b0382168203610ace57565b600080fd5b602435906001600160a01b0382168203610ace57565b9181601f84011215610ace5782359167ffffffffffffffff8311610ace576020808501948460051b010111610ace57565b6040906003190112610ace576004356001600160a01b0381168103610ace57906024358015158103610ace5790565b6005546001600160a01b03163303610b5d57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff821117610bc357604052565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03908116918215610c8a5716918215610c3a5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b15610ce257565b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15610d3c57565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b81810292918115918404141715610da057565b634e487b7160e01b600052601160045260246000fd5b91908203918211610da057565b6001600160a01b03808216939290610ddc851515610cdb565b811693610dea851515610d35565b6000818152600760205260409560ff878320541680610f07575b15610e86575050507f9265b35b046f5bb882035c40b12e04cfc83fd19fe4a2a945720b1f6dc1ec9b6b93610e56610e8192610e4f6103e8610e47600b5489610d8d565b048097610db6565b9085610f1d565b610e61843085610f1d565b516001600160a01b03909216825260208201929092529081906040820190565b0390a1565b9086918152600760205260ff82822054169283610ef0575b505050600014610ee3577f9265b35b046f5bb882035c40b12e04cfc83fd19fe4a2a945720b1f6dc1ec9b6b93610e56610e8192610e4f6103e8610e47600a5489610d8d565b90610eee9350610f1d565b565b60ff93508152600860205220541615843880610e9e565b50808252600860205260ff878320541615610e04565b6001600160a01b0390811691610f34831515610cdb565b1691610f41831515610d35565b600082815280602052604081205491808310610f9d57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b8051600110156110015760400190565b634e487b7160e01b600052603260045260246000fd5b600090308252602091808352604090818120549081156112b7576006546001600160a01b039061104b908490831630610bd9565b835167ffffffffffffffff919060608101838111828210176112a3578652600281528781018636823781511561128f57308152826006541691875163ef8ef56f60e01b81528a81600481875afa90811561128557879161124b575b50918192856110b6899694610ff1565b91169052846009541689519586946318cbafe560e01b865260a48601908b600488015287602488015260a06044880152518091528d60c48701949288915b83831061122a5750505050508380928692606483015242608483015203925af192831561121f57809361115e575b505050936111517f805abfeabf00095a4501c6a90059e54d98d892561289820deaef88e225fb55399495610ff1565b51908351928352820152a1565b909192503d8082843e6111718184610ba1565b820191878184031261016a57805190848211610258570182601f8201121561016a57805193841161120b578360051b918651946111b08a850187610ba1565b8552888086019383010193841161044457508701905b8282106111fc575061115191507f805abfeabf00095a4501c6a90059e54d98d892561289820deaef88e225fb5539905038611122565b815181529087019087016111c6565b634e487b7160e01b82526041600452602482fd5b8551903d90823e3d90fd5b8451821687528c99508a98509586019593909301926001909101908f6110f4565b90508a81813d831161127e575b6112628183610ba1565b8101031261127a5751848116810361127a57386110a6565b8680fd5b503d611258565b89513d89823e3d90fd5b634e487b7160e01b85526032600452602485fd5b634e487b7160e01b85526041600452602485fd5b5050509050565b91908110156110015760051b019056fea264697066735822122051b6e6c2f3cd52c0093f44c2e7af6e391be580cb3182e0f39c0a2a645d2e3a2d64736f6c63430008130033