Contract 0x47c9BcEf4fE2dBcdf3Abf508f147f1bBE8d4fEf2 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9bafabdebc1eef12b5e3d6428a9e5e158d10c669c02cf9bac1f4fd3536e7bf30Transfer146876882022-01-26 0:12:036 hrs 2 mins ago0x8f73cbc7d3daaabd89fb1dbc0631541a579d654e IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00021522
0x048527f664eac26304c4348c6761470169b4350dc702d5617026cff9c9dc819eApprove146841852022-01-25 21:16:548 hrs 57 mins ago0x843fdd402952da6e170497e40bcadccf704e1320 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0xc32560aa20d27ad9942f5d9eb4752c413d9fa00f6aacb2d1da60c15ab1f87defApprove146819862022-01-25 19:26:5710 hrs 47 mins ago0x318e9ec66553ae79d6fca1443a6f6d1912d580a6 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x2c223964abaa4d5fc01ca02d1b6352998361a635b95ab73e0da73f0bec6b1359Approve146783402022-01-25 16:24:2313 hrs 50 mins ago0x08f4faa56711d8a4486f580de345db5f4215c269 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x4918d869e21cc52f8e1c87c46f6eeff218f3f51069f5a374ea251e383466f117Transfer146783402022-01-25 16:24:2313 hrs 50 mins ago0x4982085c9e2f89f2ecb8131eca71afad896e89cb IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00116064
0xdba0f32253f9896aa762f618d9594d91b04d8901b340244e6dff7118050a2874Transfer146757642022-01-25 14:14:0616 hrs ago0xd8c8001b89123a23eceb3c958d08dafcb58c96ce IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00014016
0x2bebce2a8191d1c19cbceef018fca877ff7161d9ab5a9545e4802787c1be1fc9Transfer146715172022-01-25 10:41:4319 hrs 33 mins agoGate.io IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000387396
0x929f6e78463201ce6a8836cd9a89dd043e24c2f72e9eb9b4bfb3160fa8b530f0Transfer146643462022-01-25 4:42:211 day 1 hr ago0x58826040a202b5882982d5d8c7bbed79172a9bee IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00056136
0x93a95354820f15015fdacfe564ea41cd3fcd60a87cd134409c218c1c404b687fApprove146562792022-01-24 21:58:321 day 8 hrs ago0x90b32e4bed4c89dce5ee0d926ba1992ec27833a3 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x2f6d920d082b1a4ca249c8196bc543b7d6931bf7871fe4c6f0ccdba989724c2eApprove146531222022-01-24 19:20:381 day 10 hrs ago0x586bfe5dac61dcee1200d7b27a4aca7ed76c7b7d IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00008019
0x331d008f484d7629bdb2d61b8b32ae50e80323a775b19dd900e0be83c2f3a2e6Approve146531202022-01-24 19:20:321 day 10 hrs ago0x586bfe5dac61dcee1200d7b27a4aca7ed76c7b7d IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00008019
0x739a95db9d2f18720701ace871544cd40047ff1e5e2e366aedfb9dadbeb55946Transfer146515382022-01-24 18:01:261 day 12 hrs ago0x4982085c9e2f89f2ecb8131eca71afad896e89cb IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00116064
0xfd8ed2a9e1fd3ac7d72c33819891b111b07adf79939b4c2db9cab0de0d1d8d22Transfer146512702022-01-24 17:48:001 day 12 hrs ago0xd4e63eb922d27bce566e9665e97b0787a985a6c8 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000182286
0xfaf8cdbecdfcfc00b69fa2fcd0d25de8988f445d837f77911a352e90943bd37aApprove146474442022-01-24 14:35:031 day 15 hrs ago0x383fdcce3cfa4bde14099a476f26b3da46b4c9af IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x3ca81dbb9ed40f353cab81b99c649b452cc822b3967adc55ab8958d3dd4c88d3Transfer146438732022-01-24 11:36:251 day 18 hrs agoGate.io IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000387396
0xba0cba12810fd936d2dddb66ad7f32fd1c383541c54170c26768a38edf66a91dApprove146437242022-01-24 11:28:581 day 18 hrs ago0x710e88a44a3babcfebe2c136ca25c2c6199054bb IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x7873afdd9c27cc3ac8d36bb58537182fede1c536cb4cdb1dc957d2654df93547Approve146433662022-01-24 11:10:541 day 19 hrs ago0xa50f89381301decb11f1918586f98c5f2077e3ca IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0x0b49ee2643b142fcf893c1866be5cf3cc223a1ed2683b0f4b320715532c2f293Transfer146391472022-01-24 7:39:441 day 22 hrs agoGate.io IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000387288
0x5e719ce829cd91f526b75a67054f40a5fdae6c43d7ea90115bd1204fce8c5568Transfer146390792022-01-24 7:36:201 day 22 hrs ago0x4982085c9e2f89f2ecb8131eca71afad896e89cb IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00086064
0xbeb1c444d2981e192d523ce509d3211a2f4a0f6be352ec2726a8fd63e870e2fdTransfer146390392022-01-24 7:34:201 day 22 hrs agoGate.io IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000522396
0x0b8c2023ad62f862f1438553a05755fdde871c72da0c127b9c124c2f9b372408Transfer146388732022-01-24 7:26:021 day 22 hrs ago0x2ba9744bd146f0b849202df0c20c30fec425c918 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00014022
0xb30da584f384bce82b8859e9ad229bd878412a3d8ae2b6dd0d5be236c882daa8Transfer146350282022-01-24 4:13:312 days 2 hrs ago0xb0f4f85047b58fb6db93a66bb11b87ea2c3a64a0 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.00014016
0x0210e044a95369017ecd09fd0a1a41f9ae486eb237b5d638f1caf7160b73d687Approve146198082022-01-23 15:31:182 days 14 hrs ago0x90ca05c876f48a9ca51fe0e81e3181c91a3ae260 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
0xc2963ae47ebbf88af194bb6ed09f6656b85dab7d17266500224499ff4d6612f1Approve146188432022-01-23 14:43:002 days 15 hrs ago0x5a5272c6c9b2596e9f5295c1a20cc41c9850116c IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.0000780759
0x79dfae13925286275a19679e2384675fcb2a8b890b743407179f2196543ec592Approve146187392022-01-23 14:37:482 days 15 hrs ago0x1215409f7897653c08cd955c20cbaf18817a2d14 IN  0x47c9bcef4fe2dbcdf3abf508f147f1bbe8d4fef20 BNB0.000222715
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FlurryToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 21 : FlurryToken.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./VestedToken.sol";

contract FlurryToken is VestedToken, ERC20PresetMinterPauser, ERC20Capped {
    // Token
    uint256 public constant MAX_SUPPLY = 1e28;

    // Role
    bytes32 public constant SWEEPER_ROLE = keccak256("SWEEPER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

    // Initilizer
    constructor(
        string memory name,
        string memory symbol,
        uint256 _restrictionGas,
        uint256 _restrictionAmount,
        uint256 _unlockMultiple,
        uint256 _maxLock
    ) ERC20PresetMinterPauser(name, symbol) ERC20Capped(MAX_SUPPLY){
        VestedToken.__intitialize(_restrictionGas, _restrictionAmount, _unlockMultiple, _maxLock);
    }

    // TODO - Governance

    /// @notice A record of states for signing / validating signatures
    // mapping(address => uint256) public nonces;

    /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 amount) public override {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have minter role to mint");
        _mint(to, amount);
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal override(ERC20, ERC20Capped) {
        require(totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }

    function burn(address to, uint256 amount) external {
        require(hasRole(BURNER_ROLE, _msgSender()), "ERC20PresetminterPauser: must have burner role to burn");
        _burn(to, amount);
    }

    /**
     * @dev Multiple inheritance for _beforeTokenTransfer.
     * Need to override all functions with the same signature in the parents
     * All the parent implementations however, does nothing substantial.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20, ERC20PresetMinterPauser) launchRestrict(from, to, amount) {
        ERC20PresetMinterPauser._beforeTokenTransfer(from, to, amount);
    }

    function sweepERC20Token(address token, address to) external onlyRole(SWEEPER_ROLE) {
        require(token != address(this), "!safe");
        IERC20 tokenToSweep = IERC20(token);
        tokenToSweep.transfer(to, tokenToSweep.balanceOf(address(this)));
    }

    function getOwner() external view returns (address) {
        if (getRoleMemberCount(DEFAULT_ADMIN_ROLE) == 0) {
            return address(0);
        }
        return getRoleMember(DEFAULT_ADMIN_ROLE, 0);
    }

}

File 2 of 21 : ERC20PresetMinterPauser.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../extensions/ERC20Burnable.sol";
import "../extensions/ERC20Pausable.sol";
import "../../../access/AccessControlEnumerable.sol";
import "../../../utils/Context.sol";

/**
 * @dev {ERC20} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC20PresetMinterPauser is Context, AccessControlEnumerable, ERC20Burnable, ERC20Pausable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * See {ERC20-constructor}.
     */
    constructor(string memory name, string memory symbol) ERC20(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 amount) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have minter role to mint");
        _mint(to, amount);
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC20PresetMinterPauser: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override(ERC20, ERC20Pausable) {
        super._beforeTokenTransfer(from, to, amount);
    }
}

File 3 of 21 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 21 : ERC20Capped.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

File 5 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 21 : VestedToken.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol";
import "../interfaces/uniswapV2/IUniswapV2Router02.sol";
import "../interfaces/uniswapV2/IUniswapV2Factory.sol";

abstract contract VestedToken is AccessControlEnumerable, ERC20 {
    using Address for address;

    address public pairingToken;
    address public launchPool;

    uint256 public tradingTime;
    uint256 public restrictionLiftTime;
    uint256 public restrictionAmount;
    uint256 public restrictionGas;
    uint256 public launchPrice;
    mapping(address => bool) public isWhitelisted;
    mapping(address => bool) public openSender;
    mapping(address => bool) public lastTx;
    mapping(address => uint256) public lockTime;
    mapping(address => uint256) public lockedAmount;

    uint256 public unlockMultiple;
    uint256 public maxLock;

    function __intitialize(
        uint256 _restrictionGas,
        uint256 _restrictionAmount,
        uint256 _unlockMultiple,
        uint256 _maxLock
    ) internal {
        restrictionAmount = _restrictionAmount; // in ether
        restrictionGas = _restrictionGas; // in ether
        unlockMultiple = _unlockMultiple; // in 10**0
        maxLock = _maxLock;
    }

    function configurePool(
        address uniswapV2Router02,
        address pairingToken_,
        address lp
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(uniswapV2Router02 != address(0), "router address is 0");
        require(pairingToken_ != address(0), "factory address is 0");
        require(lp != address(0), "lauch pool address is 0");
        pairingToken = pairingToken_;
        launchPool = lp;
        isWhitelisted[uniswapV2Router02] = true;
        isWhitelisted[launchPool] = true;
    }

    function setRestrictionAmount(uint256 amount) external onlyRole(DEFAULT_ADMIN_ROLE) {
        restrictionAmount = amount;
    }

    function setRestrictionGas(uint256 price) external onlyRole(DEFAULT_ADMIN_ROLE) {
        restrictionGas = price;
    }

    function addSender(address account) external onlyRole(DEFAULT_ADMIN_ROLE) {
        openSender[account] = true;
    }

    function setLaunchPrice(uint256 price) external onlyRole(DEFAULT_ADMIN_ROLE) {
        launchPrice = price;
    }

    function lockBot(address account, uint256 unlockBotTime) external onlyRole(DEFAULT_ADMIN_ROLE) {
        lockTime[account] = unlockBotTime;
    }

    modifier launchRestrict(
        address sender,
        address recipient,
        uint256 amount
    ) {
        if (launchPool != address(0)) {
            if (tradingTime == 0) {
                require(openSender[sender], "VTKN: transfers are disabled");
                if (recipient == launchPool) {
                    tradingTime = block.timestamp;
                    restrictionLiftTime = block.timestamp + (3 * 60);
                }
            } else if (tradingTime == block.timestamp) {
                revert("VTKN: no transactions allowed");
            } else if (tradingTime < block.timestamp && restrictionLiftTime > block.timestamp) {
                require(amount <= restrictionAmount, "VTKN: amount greater than max limit");
                require(tx.gasprice <= restrictionGas, "VTKN: gas price above limit");
                if (!isWhitelisted[sender] && !isWhitelisted[recipient]) {
                    require(
                        !lastTx[sender] && !lastTx[recipient] && !lastTx[tx.origin],
                        "VTKN: only one tx in restricted time"
                    );
                    lastTx[sender] = true;
                    lastTx[recipient] = true;
                    lastTx[tx.origin] = true;
                } else if (!isWhitelisted[recipient]) {
                    require(!lastTx[recipient] && !lastTx[tx.origin], "VTKN: only one tx in restricted time");
                    lastTx[recipient] = true;
                    lastTx[tx.origin] = true;
                } else if (!isWhitelisted[sender]) {
                    require(!lastTx[sender] && !lastTx[tx.origin], "VTKN: only one tx in restricted time");
                    lastTx[sender] = true;
                    lastTx[tx.origin] = true;
                }

                // If 100 ETH : 8000 Tokens were in pool, price before buy = 0.0125. If 110 ETH : 7200 Tokens
                // after the purchase, price after buy = 0.0153. The ETH will be in the pool by the time of this function
                // execution, but tokens won't decrease yet, so we get to understand the actual execution price here
                // 110 ETH : 8000 Tokens = 0.01375. This logic will be used to understand the multiple and execute vesting
                // accordingly.

                if (sender == launchPool) {
                    require(
                        (isWhitelisted[recipient] || isWhitelisted[msg.sender]),
                        "VTKN: only uniswap router allowed"
                    );

                    uint256 ethBal = IERC20(pairingToken).balanceOf(launchPool);
                    uint256 tokenBal = balanceOf(launchPool);
                    uint256 curPriceMultiple = (ethBal * 10**18 * 1000) / (tokenBal * launchPrice); // multiple of launchPrice represented in 1e3
                    if (curPriceMultiple < (unlockMultiple * 1000)) {
                        // not yet reached target
                        lockTime[recipient] =
                            block.timestamp +
                            maxLock -
                            (maxLock * curPriceMultiple) /
                            (unlockMultiple * 1000);
                        lockedAmount[recipient] = amount - (amount * curPriceMultiple) / (unlockMultiple * 1000);
                    }
                }
            } else {
                if (!isWhitelisted[sender] && lockTime[sender] >= block.timestamp) {
                    require((amount + lockedAmount[sender]) <= balanceOf(sender), "VTKN: locked balance");
                }
            }
        }
        _;
    }
}

File 7 of 21 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

File 8 of 21 : ERC20Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}

File 9 of 21 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 10 of 21 : Context.sol
// SPDX-License-Identifier: MIT

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

File 11 of 21 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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

File 12 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 13 of 21 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 14 of 21 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 15 of 21 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 16 of 21 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 17 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 18 of 21 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 19 of 21 : IUniswapV2Router02.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "./IUniswapV2Router01.sol";

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

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

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

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

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

File 20 of 21 : IUniswapV2Factory.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

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

File 21 of 21 : IUniswapV2Router01.sol
//SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_restrictionGas","type":"uint256"},{"internalType":"uint256","name":"_restrictionAmount","type":"uint256"},{"internalType":"uint256","name":"_unlockMultiple","type":"uint256"},{"internalType":"uint256","name":"_maxLock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWEEPER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addSender","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"uniswapV2Router02","type":"address"},{"internalType":"address","name":"pairingToken_","type":"address"},{"internalType":"address","name":"lp","type":"address"}],"name":"configurePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"unlockBotTime","type":"uint256"}],"name":"lockBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"openSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restrictionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"restrictionGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"restrictionLiftTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setLaunchPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setRestrictionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setRestrictionGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"sweepERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingTime","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":[],"name":"unlockMultiple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620036693803806200366983398101604081905262000034916200043a565b6b204fce5e3e250261100000008686818181600590805190602001906200005d929190620002e1565b50805162000073906006906020840190620002e1565b50506015805460ff19169055506200008d60003362000165565b620000b97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000165565b620000e57f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000165565b5050600081116200013c5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b6080526200015984848484620001a8602090811b620012e717901c565b50505050505062000519565b6200017c8282620001bf60201b620012fe1760201c565b6000828152600160209081526040909120620001a391839062001308620001cf821b17901c565b505050565b600b92909255600c92909255601391909155601455565b620001cb8282620001ef565b5050565b6000620001e6836001600160a01b0384166200028f565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001cb576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200024b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620002d857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001e9565b506000620001e9565b828054620002ef90620004c6565b90600052602060002090601f0160209004810192826200031357600085556200035e565b82601f106200032e57805160ff19168380011785556200035e565b828001600101855582156200035e579182015b828111156200035e57825182559160200191906001019062000341565b506200036c92915062000370565b5090565b5b808211156200036c576000815560010162000371565b600082601f83011262000398578081fd5b81516001600160401b0380821115620003b557620003b562000503565b604051601f8301601f19908116603f01168101908282118183101715620003e057620003e062000503565b81604052838152602092508683858801011115620003fc578485fd5b8491505b838210156200041f578582018301518183018401529082019062000400565b838211156200043057848385830101525b9695505050505050565b60008060008060008060c0878903121562000453578182fd5b86516001600160401b03808211156200046a578384fd5b620004788a838b0162000387565b975060208901519150808211156200048e578384fd5b506200049d89828a0162000387565b95505060408701519350606087015192506080870151915060a087015190509295509295509295565b600181811c90821680620004db57607f821691505b60208210811415620004fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805161312662000543600039600081816104c501528181611891015261277d01526131266000f3fe608060405234801561001057600080fd5b506004361061036d5760003560e01c80638456cb59116101d3578063a8180f9f11610104578063d547741f116100a2578063e63ab1e91161007c578063e63ab1e914610803578063ef6318bf1461082a578063f039da5014610833578063f2f827121461083c57600080fd5b8063d547741f146107a4578063dd62ed3e146107b7578063e1756218146107f057600080fd5b8063b8158d60116100de578063b8158d601461074e578063ca15c87314610757578063cf607eaa1461076a578063d53913931461077d57600080fd5b8063a8180f9f14610715578063a9059cbb14610728578063b697f5311461073b57600080fd5b80639dc29fac11610171578063a217fddf1161014b578063a217fddf146106b7578063a457c2d7146106bf578063a4beda63146106d2578063a62b48ce146106f257600080fd5b80639dc29fac14610671578063a153e70814610684578063a1d4958c146106a457600080fd5b80638faac4c9116101ad5780638faac4c9146106165780639010d07c1461061f57806391d148541461063257806395d89b411461066957600080fd5b80638456cb59146105fd578063893d20e8146106055780638deed2431461060d57600080fd5b8063355274ea116102ad57806350993f3e1161024b5780636c0b3e46116102255780636c0b3e46146105a557806370a08231146105ae5780637521b7c2146105d757806379cc6790146105ea57600080fd5b806350993f3e146105605780635c975abb146105735780635f82abb91461057e57600080fd5b80633af32abf116102875780633af32abf1461050f5780633f4ba83a1461053257806340c10f191461053a57806342966c681461054d57600080fd5b8063355274ea146104c357806336568abe146104e957806339509351146104fc57600080fd5b806323b872dd1161031a578063282c51f3116102f4578063282c51f3146104655780632f2ff15d1461048c578063313ce567146104a157806332cb6b0c146104b057600080fd5b806323b872dd1461040457806323be42ed14610417578063248a9ca31461044257600080fd5b80630ccb07621161034b5780630ccb0762146103c257806310785ef8146103d957806318160ddd146103fc57600080fd5b806301ffc9a71461037257806306fdde031461039a578063095ea7b3146103af575b600080fd5b610385610380366004612e3d565b61084f565b60405190151581526020015b60405180910390f35b6103a26108ab565b6040516103919190612f16565b6103856103bd366004612d99565b61093d565b6103cb60135481565b604051908152602001610391565b6103856103e7366004612cd0565b600f6020526000908152604090205460ff1681565b6004546103cb565b610385610412366004612d5e565b610953565b60075461042a906001600160a01b031681565b6040516001600160a01b039091168152602001610391565b6103cb610450366004612de2565b60009081526020819052604090206001015490565b6103cb7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61049f61049a366004612dfa565b610a17565b005b60405160128152602001610391565b6103cb6b204fce5e3e2502611000000081565b7f00000000000000000000000000000000000000000000000000000000000000006103cb565b61049f6104f7366004612dfa565b610a3e565b61038561050a366004612d99565b610a60565b61038561051d366004612cd0565b600e6020526000908152604090205460ff1681565b61049f610a9c565b61049f610548366004612d99565b610b42565b61049f61055b366004612de2565b610bec565b61049f61056e366004612d99565b610bf9565b60155460ff16610385565b6103cb7f8aef0597c0be1e090afba1f387ee99f604b5d975ccbed6215cdf146ffd5c49fc81565b6103cb60145481565b6103cb6105bc366004612cd0565b6001600160a01b031660009081526002602052604090205490565b61049f6105e5366004612de2565b610c22565b61049f6105f8366004612d99565b610c34565b61049f610cce565b61042a610d72565b6103cb600b5481565b6103cb600d5481565b61042a61062d366004612e1c565b610d97565b610385610640366004612dfa565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6103a2610db6565b61049f61067f366004612d99565b610dc5565b6103cb610692366004612cd0565b60126020526000908152604090205481565b60085461042a906001600160a01b031681565b6103cb600081565b6103856106cd366004612d99565b610e6b565b6103cb6106e0366004612cd0565b60116020526000908152604090205481565b610385610700366004612cd0565b60106020526000908152604090205460ff1681565b61049f610723366004612d1c565b610f1c565b610385610736366004612d99565b6110a7565b61049f610749366004612cd0565b6110b4565b6103cb60095481565b6103cb610765366004612de2565b6110e5565b61049f610778366004612de2565b6110fc565b6103cb7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61049f6107b2366004612dfa565b61110e565b6103cb6107c5366004612cea565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61049f6107fe366004612cea565b611118565b6103cb7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6103cb600a5481565b6103cb600c5481565b61049f61084a366004612de2565b6112d5565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f0000000000000000000000000000000000000000000000000000000014806108a557506108a58261131d565b92915050565b6060600580546108ba9061306d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e69061306d565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b600061094a3384846113b4565b50600192915050565b600061096084848461150c565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156109ff5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610a0c85338584036113b4565b506001949350505050565b610a218282611730565b6000828152600160205260409020610a399082611308565b505050565b610a488282611756565b6000828152600160205260409020610a3990826117de565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161094a918590610a97908690612f67565b6113b4565b610ac67f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610640565b610b385760405162461bcd60e51b815260206004820152603960248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20756e70617573650000000000000060648201526084016109f6565b610b406117f3565b565b610b6c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610640565b610bde5760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f7665206d696e74657220726f6c6520746f206d696e740000000000000000000060648201526084016109f6565b610be8828261188f565b5050565b610bf6338261191c565b50565b6000610c058133611aad565b506001600160a01b03909116600090815260116020526040902055565b6000610c2e8133611aad565b50600c55565b6000610c4083336107c5565b905081811015610cb75760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b610cc483338484036113b4565b610a39838361191c565b610cf87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610640565b610d6a5760405162461bcd60e51b815260206004820152603760248201527f45524332305072657365744d696e7465725061757365723a206d75737420686160448201527f76652070617573657220726f6c6520746f20706175736500000000000000000060648201526084016109f6565b610b40611b49565b6000610d7d816110e5565b610d875750600090565b610d92600080610d97565b905090565b6000828152600160205260408120610daf9083611bd1565b9392505050565b6060600680546108ba9061306d565b610def7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84833610640565b610e615760405162461bcd60e51b815260206004820152603660248201527f45524332305072657365746d696e7465725061757365723a206d75737420686160448201527f7665206275726e657220726f6c6520746f206275726e0000000000000000000060648201526084016109f6565b610be8828261191c565b3360009081526003602090815260408083206001600160a01b038616845290915281205482811015610f055760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016109f6565b610f1233858584036113b4565b5060019392505050565b6000610f288133611aad565b6001600160a01b038416610f7e5760405162461bcd60e51b815260206004820152601360248201527f726f75746572206164647265737320697320300000000000000000000000000060448201526064016109f6565b6001600160a01b038316610fd45760405162461bcd60e51b815260206004820152601460248201527f666163746f72792061646472657373206973203000000000000000000000000060448201526064016109f6565b6001600160a01b03821661102a5760405162461bcd60e51b815260206004820152601760248201527f6c6175636820706f6f6c2061646472657373206973203000000000000000000060448201526064016109f6565b50600780547fffffffffffffffffffffffff00000000000000000000000000000000000000009081166001600160a01b0394851617909155600880549091169183169190911781559181166000908152600e6020526040808220805460ff1990811660019081179092559454909316825290208054909216179055565b600061094a33848461150c565b60006110c08133611aad565b506001600160a01b03166000908152600f60205260409020805460ff19166001179055565b60008181526001602052604081206108a590611bdd565b60006111088133611aad565b50600d55565b610a488282611be7565b7f8aef0597c0be1e090afba1f387ee99f604b5d975ccbed6215cdf146ffd5c49fc6111438133611aad565b6001600160a01b03831630141561119c5760405162461bcd60e51b815260206004820152600560248201527f217361666500000000000000000000000000000000000000000000000000000060448201526064016109f6565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015283906001600160a01b0382169063a9059cbb90859083906370a082319060240160206040518083038186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612e7d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561129657600080fd5b505af11580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce9190612dc2565b5050505050565b60006112e18133611aad565b50600b55565b600b92909255600c92909255601391909155601455565b610be88282611c0d565b6000610daf836001600160a01b038416611cab565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806108a557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108a5565b6001600160a01b03831661142f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0382166114ab5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115885760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0382166116045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b61160f838383611cfa565b6001600160a01b0383166000908152600260205260409020548181101561169e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038085166000908152600260205260408082208585039055918516815290812080548492906116d5908490612f67565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161172191815260200190565b60405180910390a35b50505050565b60008281526020819052604090206001015461174c8133611aad565b610a398383611c0d565b6001600160a01b03811633146117d45760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016109f6565b610be88282612594565b6000610daf836001600160a01b038416612613565b60155460ff166118455760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016109f6565b6015805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b7f0000000000000000000000000000000000000000000000000000000000000000816118ba60045490565b6118c49190612f67565b11156119125760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016109f6565b610be8828261277b565b6001600160a01b0382166119985760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6119a482600083611cfa565b6001600160a01b03821660009081526002602052604090205481811015611a335760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0383166000908152600260205260408120838303905560048054849290611a62908490612ff5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610be857611ae9816001600160a01b03166014612808565b611af4836020612808565b604051602001611b05929190612e95565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905262461bcd60e51b82526109f691600401612f16565b60155460ff1615611b9c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016109f6565b6015805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118723390565b6000610daf8383612af4565b60006108a5825490565b600082815260208190526040902060010154611c038133611aad565b610a398383612594565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610be8576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611c673390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611cf2575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108a5565b5060006108a5565b6008548390839083906001600160a01b03161561258157600954611db0576001600160a01b0383166000908152600f602052604090205460ff16611d805760405162461bcd60e51b815260206004820152601c60248201527f56544b4e3a207472616e7366657273206172652064697361626c65640000000060448201526064016109f6565b6008546001600160a01b0383811691161415611dab57426009819055611da79060b4612f67565b600a555b612581565b426009541415611e025760405162461bcd60e51b815260206004820152601d60248201527f56544b4e3a206e6f207472616e73616374696f6e7320616c6c6f77656400000060448201526064016109f6565b42600954108015611e14575042600a54115b156124be57600b54811115611e915760405162461bcd60e51b815260206004820152602360248201527f56544b4e3a20616d6f756e742067726561746572207468616e206d6178206c6960448201527f6d6974000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b600c543a1115611ee35760405162461bcd60e51b815260206004820152601b60248201527f56544b4e3a206761732070726963652061626f7665206c696d6974000000000060448201526064016109f6565b6001600160a01b0383166000908152600e602052604090205460ff16158015611f2557506001600160a01b0382166000908152600e602052604090205460ff16155b15612044576001600160a01b03831660009081526010602052604090205460ff16158015611f6c57506001600160a01b03821660009081526010602052604090205460ff16155b8015611f8857503260009081526010602052604090205460ff16155b611ff95760405162461bcd60e51b8152602060048201526024808201527f56544b4e3a206f6e6c79206f6e6520747820696e20726573747269637465642060448201527f74696d650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b038381166000908152601060205260408082208054600160ff1991821681179092559386168352818320805485168217905532835291208054909216179055612250565b6001600160a01b0382166000908152600e602052604090205460ff1661214c576001600160a01b03821660009081526010602052604090205460ff1615801561209d57503260009081526010602052604090205460ff16155b61210e5760405162461bcd60e51b8152602060048201526024808201527f56544b4e3a206f6e6c79206f6e6520747820696e20726573747269637465642060448201527f74696d650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0382166000908152601060205260408082208054600160ff1991821681179092553284529190922080549091169091179055612250565b6001600160a01b0383166000908152600e602052604090205460ff16612250576001600160a01b03831660009081526010602052604090205460ff161580156121a557503260009081526010602052604090205460ff16155b6122165760405162461bcd60e51b8152602060048201526024808201527f56544b4e3a206f6e6c79206f6e6520747820696e20726573747269637465642060448201527f74696d650000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6001600160a01b0383166000908152601060205260408082208054600160ff19918216811790925532845291909220805490911690911790555b6008546001600160a01b0384811691161415611dab576001600160a01b0382166000908152600e602052604090205460ff168061229c5750336000908152600e602052604090205460ff165b61230e5760405162461bcd60e51b815260206004820152602160248201527f56544b4e3a206f6e6c7920756e697377617020726f7574657220616c6c6f776560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016109f6565b6007546008546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260009291909116906370a082319060240160206040518083038186803b15801561237357600080fd5b505afa158015612387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ab9190612e7d565b6008546001600160a01b0316600090815260026020526040812054600d54929350916123d79083612fb8565b6123e984670de0b6b3a7640000612fb8565b6123f5906103e8612fb8565b6123ff9190612f7f565b90506013546103e86124119190612fb8565b8110156124b657601354612427906103e8612fb8565b816014546124359190612fb8565b61243f9190612f7f565b60145461244c9042612f67565b6124569190612ff5565b6001600160a01b03861660009081526011602052604090205560135461247e906103e8612fb8565b6124888286612fb8565b6124929190612f7f565b61249c9085612ff5565b6001600160a01b0386166000908152601260205260409020555b505050612581565b6001600160a01b0383166000908152600e602052604090205460ff161580156124ff57506001600160a01b0383166000908152601160205260409020544211155b15612581576001600160a01b0383166000908152600260209081526040808320546012909252909120546125339083612f67565b11156125815760405162461bcd60e51b815260206004820152601460248201527f56544b4e3a206c6f636b65642062616c616e636500000000000000000000000060448201526064016109f6565b61258c868686612b45565b505050505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610be8576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015612771576000612637600183612ff5565b855490915060009061264b90600190612ff5565b90508181146126fe576000866000018281548110612692577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050808760000184815481106126dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612736577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108a5565b60009150506108a5565b7f0000000000000000000000000000000000000000000000000000000000000000816127a660045490565b6127b09190612f67565b11156127fe5760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016109f6565b610be88282612b50565b60606000612817836002612fb8565b612822906002612f67565b67ffffffffffffffff811115612861577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561288b576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106128e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612973577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006129af846002612fb8565b6129ba906001612f67565b90505b6001811115612aa5577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110612a22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612a5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93612a9e81613038565b90506129bd565b508315610daf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109f6565b6000826000018281548110612b32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b610a39838383612c3b565b6001600160a01b038216612ba65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109f6565b612bb260008383611cfa565b8060046000828254612bc49190612f67565b90915550506001600160a01b03821660009081526002602052604081208054839290612bf1908490612f67565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60155460ff1615610a395760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c65207061757365640000000000000000000000000000000000000000000060648201526084016109f6565b80356001600160a01b0381168114612ccb57600080fd5b919050565b600060208284031215612ce1578081fd5b610daf82612cb4565b60008060408385031215612cfc578081fd5b612d0583612cb4565b9150612d1360208401612cb4565b90509250929050565b600080600060608486031215612d30578081fd5b612d3984612cb4565b9250612d4760208501612cb4565b9150612d5560408501612cb4565b90509250925092565b600080600060608486031215612d72578283fd5b612d7b84612cb4565b9250612d8960208501612cb4565b9150604084013590509250925092565b60008060408385031215612dab578182fd5b612db483612cb4565b946020939093013593505050565b600060208284031215612dd3578081fd5b81518015158114610daf578182fd5b600060208284031215612df3578081fd5b5035919050565b60008060408385031215612e0c578182fd5b82359150612d1360208401612cb4565b60008060408385031215612e2e578182fd5b50508035926020909101359150565b600060208284031215612e4e578081fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610daf578182fd5b600060208284031215612e8e578081fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612ecd81601785016020880161300c565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612f0a81602884016020880161300c565b01602801949350505050565b6020815260008251806020840152612f3581604085016020870161300c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60008219821115612f7a57612f7a6130c1565b500190565b600082612fb3577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ff057612ff06130c1565b500290565b600082821015613007576130076130c1565b500390565b60005b8381101561302757818101518382015260200161300f565b8381111561172a5750506000910152565b600081613047576130476130c1565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600181811c9082168061308157607f821691505b602082108114156130bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122044e1d8e5106178c404d56ca902c37a3c6cda579992ed64b170962fe18d67cd7764736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000005d21dba000000000000000000000000000000000000000000000422ca8b0a00a425000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000d2f000000000000000000000000000000000000000000000000000000000000000017466c7572727920476f7665726e616e636520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000006464c555252590000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000005d21dba000000000000000000000000000000000000000000000422ca8b0a00a425000000000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000d2f000000000000000000000000000000000000000000000000000000000000000017466c7572727920476f7665726e616e636520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000006464c555252590000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Flurry Governance Token
Arg [1] : symbol (string): FLURRY
Arg [2] : _restrictionGas (uint256): 25000000000
Arg [3] : _restrictionAmount (uint256): 5000000000000000000000000
Arg [4] : _unlockMultiple (uint256): 5
Arg [5] : _maxLock (uint256): 864000

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 00000000000000000000000000000000000000000000000000000005d21dba00
Arg [3] : 0000000000000000000000000000000000000000000422ca8b0a00a425000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 00000000000000000000000000000000000000000000000000000000000d2f00
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [7] : 466c7572727920476f7665726e616e636520546f6b656e000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 464c555252590000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.