ETH Price: $2,403.93 (-2.75%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve161913332022-12-15 16:37:35690 days ago1671122255IN
0xC1154701...6Bb766147
0 ETH0.0007155329.35875293
Transfer160437402022-11-25 1:32:11711 days ago1669339931IN
0xC1154701...6Bb766147
0 ETH0.001016312.08189041
Transfer160376162022-11-24 5:01:11711 days ago1669266071IN
0xC1154701...6Bb766147
0 ETH0.0010586112.58488012
Transfer160374852022-11-24 4:34:47711 days ago1669264487IN
0xC1154701...6Bb766147
0 ETH0.0010582712.58087981
Transfer160356642022-11-23 22:28:35712 days ago1669242515IN
0xC1154701...6Bb766147
0 ETH0.0009852513.83604354
Approve160356042022-11-23 22:16:35712 days ago1669241795IN
0xC1154701...6Bb766147
0 ETH0.0006253813.4041452
Approve160355842022-11-23 22:12:35712 days ago1669241555IN
0xC1154701...6Bb766147
0 ETH0.000643513.79247187
Approve160355752022-11-23 22:10:47712 days ago1669241447IN
0xC1154701...6Bb766147
0 ETH0.0005573711.94646211
Approve160355732022-11-23 22:10:23712 days ago1669241423IN
0xC1154701...6Bb766147
0 ETH0.0005590611.98279399
Approve160355722022-11-23 22:10:11712 days ago1669241411IN
0xC1154701...6Bb766147
0 ETH0.000328812.28885497
Approve160355722022-11-23 22:10:11712 days ago1669241411IN
0xC1154701...6Bb766147
0 ETH0.0005733412.28885497
Approve160355572022-11-23 22:07:11712 days ago1669241231IN
0xC1154701...6Bb766147
0 ETH0.0003050412.51639028
Approve160355562022-11-23 22:06:59712 days ago1669241219IN
0xC1154701...6Bb766147
0 ETH0.0005593311.98858477
Approve160355522022-11-23 22:06:11712 days ago1669241171IN
0xC1154701...6Bb766147
0 ETH0.0005958812.77195285
Approve160355512022-11-23 22:05:59712 days ago1669241159IN
0xC1154701...6Bb766147
0 ETH0.0002929512.02000485
Approve160355402022-11-23 22:03:47712 days ago1669241027IN
0xC1154701...6Bb766147
0 ETH0.0006015712.89377265
Approve160355372022-11-23 22:03:11712 days ago1669240991IN
0xC1154701...6Bb766147
0 ETH0.0006108413.09255561
Approve160355352022-11-23 22:02:47712 days ago1669240967IN
0xC1154701...6Bb766147
0 ETH0.0006052212.97207579
Approve160355292022-11-23 22:01:35712 days ago1669240895IN
0xC1154701...6Bb766147
0 ETH0.0006283913.46866516
Approve160355272022-11-23 22:01:11712 days ago1669240871IN
0xC1154701...6Bb766147
0 ETH0.000677714.52560648
Transfer160355262022-11-23 22:00:59712 days ago1669240859IN
0xC1154701...6Bb766147
0 ETH0.0029500513.94694128
Approve160355262022-11-23 22:00:59712 days ago1669240859IN
0xC1154701...6Bb766147
0 ETH0.0006740314.44694128
Approve160355232022-11-23 22:00:23712 days ago1669240823IN
0xC1154701...6Bb766147
0 ETH0.0005433811.6465958
Approve160355182022-11-23 21:59:23712 days ago1669240763IN
0xC1154701...6Bb766147
0 ETH0.0006363313.63880573
Approve160355152022-11-23 21:58:47712 days ago1669240727IN
0xC1154701...6Bb766147
0 ETH0.000630413.51168539
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HighTierFinanceToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : HighTierFinanceToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';

import '../../peripheries/utilities/AdminRole.sol';
import '../../peripheries/interfaces/IFeeDividend.sol';

contract HighTierFinanceToken is ERC20, AdminRole {
    address public feeDividend;
    address public controller;
    address public deadAddress = address(0xdead);

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    mapping(address => bool) public automatedMarketMakerPairs;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool private swapping;

    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) private _isExcludedFromFees;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event ExcludeFromFees(address indexed account, bool isExcluded);

    constructor(address _controller) ERC20('High Tier Finance Token', 'HTF') {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _totalSupply = 7_000_000_000 * 1e18;
        maxTransactionAmount = _totalSupply * 2 / 100;
        maxWallet = _totalSupply * 3 / 100;
        swapTokensAtAmount = _totalSupply * 5 / 1000;

        controller = _controller;
        addAdmin(_controller);
        _mint(msg.sender, _totalSupply);

        excludeFromFees(msg.sender, true);
        excludeFromFees(feeDividend, true);
        excludeFromFees(controller, true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);

        excludeFromMaxTransaction(msg.sender, true);
        excludeFromMaxTransaction(feeDividend, true);
        excludeFromMaxTransaction(controller, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);
    }

    receive() external payable {}

    function enableTrading() external onlyAdmin {
        tradingActive = true;
        swapEnabled = true;
    }

    function getCirculatingSupply() public view returns (uint256) {
        return totalSupply() - balanceOf(deadAddress);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyAdmin
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function excludeFromFees(address account, bool excluded) public onlyAdmin {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function updateFeeDividend(address _feeDividend, address _vault) external onlyAdmin {
        _isExcludedFromFees[_feeDividend] = true;
        _isExcludedMaxTransactionAmount[_feeDividend] = true;
        addAdmin(_feeDividend);
        _approve(_vault, _feeDividend, totalSupply());
        feeDividend = _feeDividend;
    }

    function updateController(address _controller) external onlyAdmin {
        _isExcludedFromFees[_controller] = true;
        _isExcludedMaxTransactionAmount[_controller] = true;
        addAdmin(_controller);
        controller = _controller;
    }

    // remove limits after token is stable
    function removeLimits() external onlyAdmin returns (bool) {
        limitsInEffect = false;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyAdmin {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyAdmin {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10**18);
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyAdmin {
        swapEnabled = enabled;
    }

    function updateSwapTokensAtAmount(uint256 _amount) external onlyAdmin {
        swapTokensAtAmount = _amount;
    }

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

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                !isAdmin(from) &&
                !isAdmin(to) &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }
            }

            //when buy
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
            //when sell
            else if (
                automatedMarketMakerPairs[to] &&
                !_isExcludedMaxTransactionAmount[from]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Sell transfer amount exceeds the maxTransactionAmount."
                );
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;


        if (takeFee) {
            (uint256 buyTax, uint256 sellTax) = IFeeDividend(feeDividend).getTax();

            if (automatedMarketMakerPairs[to] && sellTax > 0) {
                fees = amount * sellTax / 100;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTax > 0) {
                fees = amount * buyTax / 100;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }
        super._transfer(from, to, amount);
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        swapTokensForEth(contractBalance);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            feeDividend,
            block.timestamp
        );
    }
}

File 2 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 4 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 7 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 8 of 12 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

File 9 of 12 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 10 of 12 : IFeeDividend.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

interface IFeeDividend {
    function distributeFee() external;
    function getTax() external view returns (uint256, uint256);
}

File 11 of 12 : AdminRole.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/Context.sol';

import './Roles.sol';

contract AdminRole is Context {
	using Roles for Roles.Role;

	event AdminAdded(address indexed account);
	event AdminRemoved(address indexed account);

	Roles.Role private _admins;

	constructor() public {
		_addAdmin(_msgSender());
	}

	modifier onlyAdmin() {
		require(isAdmin(_msgSender()), 'AdminRole: caller does not have the Minter role');
		_;
	}

	function isAdmin(address account) public view returns (bool) {
		return _admins.has(account);
	}

	function addAdmin(address account) public virtual onlyAdmin {
		_addAdmin(account);
	}

	function renounceAdmin() public {
		_removeAdmin(_msgSender());
	}

	function _addAdmin(address account) internal  {
		_admins.add(account);
		emit AdminAdded(account);
	}

	function _removeAdmin(address account) internal {
		_admins.remove(account);
		emit AdminRemoved(account);
	}
}

File 12 of 12 : Roles.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAdmin","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDividend","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"updateController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeDividend","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"name":"updateFeeDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600880546001600160a01b03191661dead1790556010805462ffffff191660011790553480156200003457600080fd5b5060405162002b1638038062002b1683398101604081905262000057916200084f565b6040518060400160405280601781526020017f4869676820546965722046696e616e636520546f6b656e00000000000000000081525060405180604001604052806003815260200162242a2360e91b8152508160039081620000ba919062000925565b506004620000c9828262000925565b505050620000e6620000e0620003f960201b60201c565b620003fd565b737a250d5630b4cf539739df2c5dacb4c659f2488d620001088160016200044f565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017991906200084f565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ed91906200084f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026191906200084f565b6001600160a01b031660a08190526200027c9060016200044f565b60a0516200028c906001620004de565b6b169e43a85eb381aa580000006064620002a882600262000a07565b620002b4919062000a21565b600a556064620002c682600362000a07565b620002d2919062000a21565b600c556103e8620002e582600562000a07565b620002f1919062000a21565b600b55600780546001600160a01b0319166001600160a01b0385161790556200031a8362000532565b620003263382620005a0565b6200033333600162000663565b6006546200034c906001600160a01b0316600162000663565b60075462000365906001600160a01b0316600162000663565b6200037230600162000663565b6008546200038b906001600160a01b0316600162000663565b620003983360016200044f565b600654620003b1906001600160a01b031660016200044f565b600754620003ca906001600160a01b031660016200044f565b620003d73060016200044f565b600854620003f0906001600160a01b031660016200044f565b50505062000a5a565b3390565b620004188160056200072260201b62000ed71790919060201c565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b6200045a33620007a2565b620004b35760405162461bcd60e51b815260206004820152602f602482015260008051602062002af683398151915260448201526e746865204d696e74657220726f6c6560881b60648201526084015b60405180910390fd5b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200053d33620007a2565b620005925760405162461bcd60e51b815260206004820152602f602482015260008051602062002af683398151915260448201526e746865204d696e74657220726f6c6560881b6064820152608401620004aa565b6200059d81620003fd565b50565b6001600160a01b038216620005f85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004aa565b80600260008282546200060c919062000a44565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6200066e33620007a2565b620006c35760405162461bcd60e51b815260206004820152602f602482015260008051602062002af683398151915260448201526e746865204d696e74657220726f6c6560881b6064820152608401620004aa565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200072e8282620007ca565b156200077d5760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c65006044820152606401620004aa565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000620007bf826005620007ca60201b62000f531790919060201c565b92915050565b505050565b60006001600160a01b0382166200082f5760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608401620004aa565b506001600160a01b03166000908152602091909152604090205460ff1690565b6000602082840312156200086257600080fd5b81516001600160a01b03811681146200087a57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008ac57607f821691505b602082108103620008cd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007c557600081815260208120601f850160051c81016020861015620008fc5750805b601f850160051c820191505b818110156200091d5782815560010162000908565b505050505050565b81516001600160401b0381111562000941576200094162000881565b620009598162000952845462000897565b84620008d3565b602080601f831160018114620009915760008415620009785750858301515b600019600386901b1c1916600185901b1785556200091d565b600085815260208120601f198616915b82811015620009c257888601518255948401946001909101908401620009a1565b5085821015620009e15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007bf57620007bf620009f1565b60008262000a3f57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620007bf57620007bf620009f1565b60805160a05161205a62000a9c6000396000818161045b0152610bf601526000818161031f01528181611abb01528181611b740152611bb3015261205a6000f3fe6080604052600436106102345760003560e01c8063751039fc1161012e578063bbc0c742116100ab578063dd62ed3e1161006f578063dd62ed3e146106c6578063e2f45605146106e6578063f77c4791146106fc578063f86d05451461071c578063f8b45b051461073c57600080fd5b8063bbc0c74214610631578063c024666814610650578063c18bc19514610670578063c8c8ebe414610690578063d257b34f146106a657600080fd5b806395d89b41116100f257806395d89b411461058c5780639a7a23d6146105a1578063a457c2d7146105c1578063a9059cbb146105e1578063b62496f51461060157600080fd5b8063751039fc1461050d5780637571336a146105225780638a8c523c146105425780638bad0c0a14610557578063924de9b71461056c57600080fd5b806324d7806c116101bc57806349bd5a5e1161018057806349bd5a5e146104495780634a62bb651461047d5780636ddd17131461049757806370480275146104b757806370a08231146104d757600080fd5b806324d7806c146103b857806327c8f835146103d85780632b112e49146103f8578063313ce5671461040d578063395093511461042957600080fd5b806310d5de531161020357806310d5de53146102dd5780631694505e1461030d57806318160ddd14610359578063203e727e1461037857806323b872dd1461039857600080fd5b806304cd4a081461024057806306cb5b661461026257806306fdde0314610282578063095ea7b3146102ad57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061026061025b366004611c40565b610752565b005b34801561026e57600080fd5b5061026061027d366004611c79565b6107fa565b34801561028e57600080fd5b50610297610885565b6040516102a49190611c9d565b60405180910390f35b3480156102b957600080fd5b506102cd6102c8366004611ceb565b610917565b60405190151581526020016102a4565b3480156102e957600080fd5b506102cd6102f8366004611c79565b600e6020526000908152604090205460ff1681565b34801561031957600080fd5b506103417f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102a4565b34801561036557600080fd5b506002545b6040519081526020016102a4565b34801561038457600080fd5b50610260610393366004611d17565b610931565b3480156103a457600080fd5b506102cd6103b3366004611d30565b610a09565b3480156103c457600080fd5b506102cd6103d3366004611c79565b610a2d565b3480156103e457600080fd5b50600854610341906001600160a01b031681565b34801561040457600080fd5b5061036a610a3a565b34801561041957600080fd5b50604051601281526020016102a4565b34801561043557600080fd5b506102cd610444366004611ceb565b610a67565b34801561045557600080fd5b506103417f000000000000000000000000000000000000000000000000000000000000000081565b34801561048957600080fd5b506010546102cd9060ff1681565b3480156104a357600080fd5b506010546102cd9062010000900460ff1681565b3480156104c357600080fd5b506102606104d2366004611c79565b610a84565b3480156104e357600080fd5b5061036a6104f2366004611c79565b6001600160a01b031660009081526020819052604090205490565b34801561051957600080fd5b506102cd610ab5565b34801561052e57600080fd5b5061026061053d366004611d86565b610aec565b34801561054e57600080fd5b50610260610b3c565b34801561056357600080fd5b50610260610b74565b34801561057857600080fd5b50610260610587366004611dbb565b610b7f565b34801561059857600080fd5b50610297610bc0565b3480156105ad57600080fd5b506102606105bc366004611d86565b610bcf565b3480156105cd57600080fd5b506102cd6105dc366004611ceb565b610ca9565b3480156105ed57600080fd5b506102cd6105fc366004611ceb565b610d24565b34801561060d57600080fd5b506102cd61061c366004611c79565b60096020526000908152604090205460ff1681565b34801561063d57600080fd5b506010546102cd90610100900460ff1681565b34801561065c57600080fd5b5061026061066b366004611d86565b610d32565b34801561067c57600080fd5b5061026061068b366004611d17565b610db6565b34801561069c57600080fd5b5061036a600a5481565b3480156106b257600080fd5b506102606106c1366004611d17565b610e82565b3480156106d257600080fd5b5061036a6106e1366004611c40565b610eac565b3480156106f257600080fd5b5061036a600b5481565b34801561070857600080fd5b50600754610341906001600160a01b031681565b34801561072857600080fd5b50600654610341906001600160a01b031681565b34801561074857600080fd5b5061036a600c5481565b61075b33610a2d565b6107805760405162461bcd60e51b815260040161077790611dd6565b60405180910390fd5b6001600160a01b0382166000908152600f602090815260408083208054600160ff199182168117909255600e9093529220805490911690911790556107c482610a84565b6107d781836107d260025490565b610fd6565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b61080333610a2d565b61081f5760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b0381166000908152600f602090815260408083208054600160ff199182168117909255600e90935292208054909116909117905561086381610a84565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606003805461089490611e25565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090611e25565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b600033610925818585610fd6565b60019150505b92915050565b61093a33610a2d565b6109565760405162461bcd60e51b815260040161077790611dd6565b670de0b6b3a76400006103e861096b60025490565b610976906001611e75565b6109809190611e8c565b61098a9190611e8c565b8110156109f15760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610777565b610a0381670de0b6b3a7640000611e75565b600a5550565b600033610a178582856110fa565b610a22858585611174565b506001949350505050565b600061092b600583610f53565b6008546001600160a01b0316600090815260208190526040812054600254610a629190611eae565b905090565b600033610925818585610a7a8383610eac565b6107d29190611ec1565b610a8d33610a2d565b610aa95760405162461bcd60e51b815260040161077790611dd6565b610ab281611796565b50565b6000610ac033610a2d565b610adc5760405162461bcd60e51b815260040161077790611dd6565b506010805460ff19169055600190565b610af533610a2d565b610b115760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610b4533610a2d565b610b615760405162461bcd60e51b815260040161077790611dd6565b6010805462ffff00191662010100179055565b610b7d336117d8565b565b610b8833610a2d565b610ba45760405162461bcd60e51b815260040161077790611dd6565b60108054911515620100000262ff000019909216919091179055565b60606004805461089490611e25565b610bd833610a2d565b610bf45760405162461bcd60e51b815260040161077790611dd6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610c9b5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610777565b610ca5828261181a565b5050565b60003381610cb78286610eac565b905083811015610d175760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610777565b610a228286868403610fd6565b600033610925818585611174565b610d3b33610a2d565b610d575760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610dbf33610a2d565b610ddb5760405162461bcd60e51b815260040161077790611dd6565b670de0b6b3a76400006103e8610df060025490565b610dfb906005611e75565b610e059190611e8c565b610e0f9190611e8c565b811015610e6a5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610777565b610e7c81670de0b6b3a7640000611e75565b600c5550565b610e8b33610a2d565b610ea75760405162461bcd60e51b815260040161077790611dd6565b600b55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ee18282610f53565b15610f2e5760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c65006044820152606401610777565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216610fb65760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608401610777565b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166110385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610777565b6001600160a01b0382166110995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610777565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111068484610eac565b9050600019811461116e57818110156111615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610777565b61116e8484848403610fd6565b50505050565b6001600160a01b03831661119a5760405162461bcd60e51b815260040161077790611ed4565b6001600160a01b0382166111c05760405162461bcd60e51b815260040161077790611f19565b806000036111d9576111d48383600061186e565b505050565b60105460ff1615611538576111ed83610a2d565b15801561120057506111fe82610a2d565b155b801561121457506001600160a01b03821615155b801561122b57506001600160a01b03821661dead14155b801561123a5750600d5460ff16155b156112d257601054610100900460ff166112d2576001600160a01b0383166000908152600f602052604090205460ff168061128d57506001600160a01b0382166000908152600f602052604090205460ff165b6112d25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610777565b6001600160a01b03831660009081526009602052604090205460ff16801561131357506001600160a01b0382166000908152600e602052604090205460ff16155b156113f757600a548111156113885760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610777565b600c546001600160a01b0383166000908152602081905260409020546113ae9083611ec1565b11156113f25760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610777565b611538565b6001600160a01b03821660009081526009602052604090205460ff16801561143857506001600160a01b0383166000908152600e602052604090205460ff16155b156114ae57600a548111156113f25760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610777565b6001600160a01b0382166000908152600e602052604090205460ff1661153857600c546001600160a01b0383166000908152602081905260409020546114f49083611ec1565b11156115385760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610777565b30600090815260208190526040902054600b5481108015908190611564575060105462010000900460ff165b80156115735750600d5460ff16155b801561159857506001600160a01b03851660009081526009602052604090205460ff16155b80156115bd57506001600160a01b0385166000908152600f602052604090205460ff16155b80156115e257506001600160a01b0384166000908152600f602052604090205460ff16155b1561160757600d805460ff191660011790556115fc611998565b600d805460ff191690555b600d546001600160a01b0386166000908152600f602052604090205460ff9182161591168061164e57506001600160a01b0385166000908152600f602052604090205460ff165b15611657575060005b600081156117825760065460408051632a5bb15360e11b8152815160009384936001600160a01b03909116926354b762a692600480830193928290030181865afa1580156116a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cd9190611f5c565b6001600160a01b038a16600090815260096020526040902054919350915060ff1680156116fa5750600081115b1561171c57606461170b8289611e75565b6117159190611e8c565b9250611762565b6001600160a01b03891660009081526009602052604090205460ff1680156117445750600082115b156117625760646117558389611e75565b61175f9190611e8c565b92505b82156117735761177389308561186e565b61177d8388611eae565b965050505b61178d87878761186e565b50505050505050565b6117a1600582610ed7565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b6117e36005826119e2565b6040516001600160a01b038216907fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f90600090a250565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166118945760405162461bcd60e51b815260040161077790611ed4565b6001600160a01b0382166118ba5760405162461bcd60e51b815260040161077790611f19565b6001600160a01b038316600090815260208190526040902054818110156119325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610777565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361116e565b30600090815260208190526040812054908190036119b35750565b600b546119c1906014611e75565b8111156119d957600b546119d6906014611e75565b90505b610ab281611a64565b6119ec8282610f53565b611a425760405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b6064820152608401610777565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a9957611a99611f80565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3b9190611f96565b81600181518110611b4e57611b4e611f80565b60200260200101906001600160a01b031690816001600160a01b031681525050611b99307f000000000000000000000000000000000000000000000000000000000000000084610fd6565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792611bf5928792600092889291909116904290600401611fb3565b600060405180830381600087803b158015611c0f57600080fd5b505af1158015611c23573d6000803e3d6000fd5b505050505050565b6001600160a01b0381168114610ab257600080fd5b60008060408385031215611c5357600080fd5b8235611c5e81611c2b565b91506020830135611c6e81611c2b565b809150509250929050565b600060208284031215611c8b57600080fd5b8135611c9681611c2b565b9392505050565b600060208083528351808285015260005b81811015611cca57858101830151858201604001528201611cae565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611cfe57600080fd5b8235611d0981611c2b565b946020939093013593505050565b600060208284031215611d2957600080fd5b5035919050565b600080600060608486031215611d4557600080fd5b8335611d5081611c2b565b92506020840135611d6081611c2b565b929592945050506040919091013590565b80358015158114611d8157600080fd5b919050565b60008060408385031215611d9957600080fd5b8235611da481611c2b565b9150611db260208401611d71565b90509250929050565b600060208284031215611dcd57600080fd5b611c9682611d71565b6020808252602f908201527f41646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652060408201526e746865204d696e74657220726f6c6560881b606082015260800190565b600181811c90821680611e3957607f821691505b602082108103611e5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761092b5761092b611e5f565b600082611ea957634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561092b5761092b611e5f565b8082018082111561092b5761092b611e5f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008060408385031215611f6f57600080fd5b505080516020909101519092909150565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611fa857600080fd5b8151611c9681611c2b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120035784516001600160a01b031683529383019391830191600101611fde565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212204b241350519c397e4bdf62183b3ae6911a25e414ea831dbc78b599f5f1fec29c64736f6c6343000811003341646d696e526f6c653a2063616c6c657220646f6573206e6f742068617665200000000000000000000000004a27495f4474acebb534f6ac9a89f743d5e00826

Deployed Bytecode

0x6080604052600436106102345760003560e01c8063751039fc1161012e578063bbc0c742116100ab578063dd62ed3e1161006f578063dd62ed3e146106c6578063e2f45605146106e6578063f77c4791146106fc578063f86d05451461071c578063f8b45b051461073c57600080fd5b8063bbc0c74214610631578063c024666814610650578063c18bc19514610670578063c8c8ebe414610690578063d257b34f146106a657600080fd5b806395d89b41116100f257806395d89b411461058c5780639a7a23d6146105a1578063a457c2d7146105c1578063a9059cbb146105e1578063b62496f51461060157600080fd5b8063751039fc1461050d5780637571336a146105225780638a8c523c146105425780638bad0c0a14610557578063924de9b71461056c57600080fd5b806324d7806c116101bc57806349bd5a5e1161018057806349bd5a5e146104495780634a62bb651461047d5780636ddd17131461049757806370480275146104b757806370a08231146104d757600080fd5b806324d7806c146103b857806327c8f835146103d85780632b112e49146103f8578063313ce5671461040d578063395093511461042957600080fd5b806310d5de531161020357806310d5de53146102dd5780631694505e1461030d57806318160ddd14610359578063203e727e1461037857806323b872dd1461039857600080fd5b806304cd4a081461024057806306cb5b661461026257806306fdde0314610282578063095ea7b3146102ad57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061026061025b366004611c40565b610752565b005b34801561026e57600080fd5b5061026061027d366004611c79565b6107fa565b34801561028e57600080fd5b50610297610885565b6040516102a49190611c9d565b60405180910390f35b3480156102b957600080fd5b506102cd6102c8366004611ceb565b610917565b60405190151581526020016102a4565b3480156102e957600080fd5b506102cd6102f8366004611c79565b600e6020526000908152604090205460ff1681565b34801561031957600080fd5b506103417f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102a4565b34801561036557600080fd5b506002545b6040519081526020016102a4565b34801561038457600080fd5b50610260610393366004611d17565b610931565b3480156103a457600080fd5b506102cd6103b3366004611d30565b610a09565b3480156103c457600080fd5b506102cd6103d3366004611c79565b610a2d565b3480156103e457600080fd5b50600854610341906001600160a01b031681565b34801561040457600080fd5b5061036a610a3a565b34801561041957600080fd5b50604051601281526020016102a4565b34801561043557600080fd5b506102cd610444366004611ceb565b610a67565b34801561045557600080fd5b506103417f0000000000000000000000009912eac54db1b71ad5d4c850179d53523aa8ab5581565b34801561048957600080fd5b506010546102cd9060ff1681565b3480156104a357600080fd5b506010546102cd9062010000900460ff1681565b3480156104c357600080fd5b506102606104d2366004611c79565b610a84565b3480156104e357600080fd5b5061036a6104f2366004611c79565b6001600160a01b031660009081526020819052604090205490565b34801561051957600080fd5b506102cd610ab5565b34801561052e57600080fd5b5061026061053d366004611d86565b610aec565b34801561054e57600080fd5b50610260610b3c565b34801561056357600080fd5b50610260610b74565b34801561057857600080fd5b50610260610587366004611dbb565b610b7f565b34801561059857600080fd5b50610297610bc0565b3480156105ad57600080fd5b506102606105bc366004611d86565b610bcf565b3480156105cd57600080fd5b506102cd6105dc366004611ceb565b610ca9565b3480156105ed57600080fd5b506102cd6105fc366004611ceb565b610d24565b34801561060d57600080fd5b506102cd61061c366004611c79565b60096020526000908152604090205460ff1681565b34801561063d57600080fd5b506010546102cd90610100900460ff1681565b34801561065c57600080fd5b5061026061066b366004611d86565b610d32565b34801561067c57600080fd5b5061026061068b366004611d17565b610db6565b34801561069c57600080fd5b5061036a600a5481565b3480156106b257600080fd5b506102606106c1366004611d17565b610e82565b3480156106d257600080fd5b5061036a6106e1366004611c40565b610eac565b3480156106f257600080fd5b5061036a600b5481565b34801561070857600080fd5b50600754610341906001600160a01b031681565b34801561072857600080fd5b50600654610341906001600160a01b031681565b34801561074857600080fd5b5061036a600c5481565b61075b33610a2d565b6107805760405162461bcd60e51b815260040161077790611dd6565b60405180910390fd5b6001600160a01b0382166000908152600f602090815260408083208054600160ff199182168117909255600e9093529220805490911690911790556107c482610a84565b6107d781836107d260025490565b610fd6565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b61080333610a2d565b61081f5760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b0381166000908152600f602090815260408083208054600160ff199182168117909255600e90935292208054909116909117905561086381610a84565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60606003805461089490611e25565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090611e25565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b600033610925818585610fd6565b60019150505b92915050565b61093a33610a2d565b6109565760405162461bcd60e51b815260040161077790611dd6565b670de0b6b3a76400006103e861096b60025490565b610976906001611e75565b6109809190611e8c565b61098a9190611e8c565b8110156109f15760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610777565b610a0381670de0b6b3a7640000611e75565b600a5550565b600033610a178582856110fa565b610a22858585611174565b506001949350505050565b600061092b600583610f53565b6008546001600160a01b0316600090815260208190526040812054600254610a629190611eae565b905090565b600033610925818585610a7a8383610eac565b6107d29190611ec1565b610a8d33610a2d565b610aa95760405162461bcd60e51b815260040161077790611dd6565b610ab281611796565b50565b6000610ac033610a2d565b610adc5760405162461bcd60e51b815260040161077790611dd6565b506010805460ff19169055600190565b610af533610a2d565b610b115760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610b4533610a2d565b610b615760405162461bcd60e51b815260040161077790611dd6565b6010805462ffff00191662010100179055565b610b7d336117d8565b565b610b8833610a2d565b610ba45760405162461bcd60e51b815260040161077790611dd6565b60108054911515620100000262ff000019909216919091179055565b60606004805461089490611e25565b610bd833610a2d565b610bf45760405162461bcd60e51b815260040161077790611dd6565b7f0000000000000000000000009912eac54db1b71ad5d4c850179d53523aa8ab556001600160a01b0316826001600160a01b031603610c9b5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610777565b610ca5828261181a565b5050565b60003381610cb78286610eac565b905083811015610d175760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610777565b610a228286868403610fd6565b600033610925818585611174565b610d3b33610a2d565b610d575760405162461bcd60e51b815260040161077790611dd6565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610dbf33610a2d565b610ddb5760405162461bcd60e51b815260040161077790611dd6565b670de0b6b3a76400006103e8610df060025490565b610dfb906005611e75565b610e059190611e8c565b610e0f9190611e8c565b811015610e6a5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610777565b610e7c81670de0b6b3a7640000611e75565b600c5550565b610e8b33610a2d565b610ea75760405162461bcd60e51b815260040161077790611dd6565b600b55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ee18282610f53565b15610f2e5760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c65006044820152606401610777565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216610fb65760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b6064820152608401610777565b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b0383166110385760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610777565b6001600160a01b0382166110995760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610777565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111068484610eac565b9050600019811461116e57818110156111615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610777565b61116e8484848403610fd6565b50505050565b6001600160a01b03831661119a5760405162461bcd60e51b815260040161077790611ed4565b6001600160a01b0382166111c05760405162461bcd60e51b815260040161077790611f19565b806000036111d9576111d48383600061186e565b505050565b60105460ff1615611538576111ed83610a2d565b15801561120057506111fe82610a2d565b155b801561121457506001600160a01b03821615155b801561122b57506001600160a01b03821661dead14155b801561123a5750600d5460ff16155b156112d257601054610100900460ff166112d2576001600160a01b0383166000908152600f602052604090205460ff168061128d57506001600160a01b0382166000908152600f602052604090205460ff165b6112d25760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610777565b6001600160a01b03831660009081526009602052604090205460ff16801561131357506001600160a01b0382166000908152600e602052604090205460ff16155b156113f757600a548111156113885760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610777565b600c546001600160a01b0383166000908152602081905260409020546113ae9083611ec1565b11156113f25760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610777565b611538565b6001600160a01b03821660009081526009602052604090205460ff16801561143857506001600160a01b0383166000908152600e602052604090205460ff16155b156114ae57600a548111156113f25760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610777565b6001600160a01b0382166000908152600e602052604090205460ff1661153857600c546001600160a01b0383166000908152602081905260409020546114f49083611ec1565b11156115385760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610777565b30600090815260208190526040902054600b5481108015908190611564575060105462010000900460ff165b80156115735750600d5460ff16155b801561159857506001600160a01b03851660009081526009602052604090205460ff16155b80156115bd57506001600160a01b0385166000908152600f602052604090205460ff16155b80156115e257506001600160a01b0384166000908152600f602052604090205460ff16155b1561160757600d805460ff191660011790556115fc611998565b600d805460ff191690555b600d546001600160a01b0386166000908152600f602052604090205460ff9182161591168061164e57506001600160a01b0385166000908152600f602052604090205460ff165b15611657575060005b600081156117825760065460408051632a5bb15360e11b8152815160009384936001600160a01b03909116926354b762a692600480830193928290030181865afa1580156116a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cd9190611f5c565b6001600160a01b038a16600090815260096020526040902054919350915060ff1680156116fa5750600081115b1561171c57606461170b8289611e75565b6117159190611e8c565b9250611762565b6001600160a01b03891660009081526009602052604090205460ff1680156117445750600082115b156117625760646117558389611e75565b61175f9190611e8c565b92505b82156117735761177389308561186e565b61177d8388611eae565b965050505b61178d87878761186e565b50505050505050565b6117a1600582610ed7565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b6117e36005826119e2565b6040516001600160a01b038216907fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f90600090a250565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166118945760405162461bcd60e51b815260040161077790611ed4565b6001600160a01b0382166118ba5760405162461bcd60e51b815260040161077790611f19565b6001600160a01b038316600090815260208190526040902054818110156119325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610777565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361116e565b30600090815260208190526040812054908190036119b35750565b600b546119c1906014611e75565b8111156119d957600b546119d6906014611e75565b90505b610ab281611a64565b6119ec8282610f53565b611a425760405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b6064820152608401610777565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a9957611a99611f80565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3b9190611f96565b81600181518110611b4e57611b4e611f80565b60200260200101906001600160a01b031690816001600160a01b031681525050611b99307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610fd6565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac94792611bf5928792600092889291909116904290600401611fb3565b600060405180830381600087803b158015611c0f57600080fd5b505af1158015611c23573d6000803e3d6000fd5b505050505050565b6001600160a01b0381168114610ab257600080fd5b60008060408385031215611c5357600080fd5b8235611c5e81611c2b565b91506020830135611c6e81611c2b565b809150509250929050565b600060208284031215611c8b57600080fd5b8135611c9681611c2b565b9392505050565b600060208083528351808285015260005b81811015611cca57858101830151858201604001528201611cae565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611cfe57600080fd5b8235611d0981611c2b565b946020939093013593505050565b600060208284031215611d2957600080fd5b5035919050565b600080600060608486031215611d4557600080fd5b8335611d5081611c2b565b92506020840135611d6081611c2b565b929592945050506040919091013590565b80358015158114611d8157600080fd5b919050565b60008060408385031215611d9957600080fd5b8235611da481611c2b565b9150611db260208401611d71565b90509250929050565b600060208284031215611dcd57600080fd5b611c9682611d71565b6020808252602f908201527f41646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652060408201526e746865204d696e74657220726f6c6560881b606082015260800190565b600181811c90821680611e3957607f821691505b602082108103611e5957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761092b5761092b611e5f565b600082611ea957634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561092b5761092b611e5f565b8082018082111561092b5761092b611e5f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008060408385031215611f6f57600080fd5b505080516020909101519092909150565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611fa857600080fd5b8151611c9681611c2b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120035784516001600160a01b031683529383019391830191600101611fde565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212204b241350519c397e4bdf62183b3ae6911a25e414ea831dbc78b599f5f1fec29c64736f6c63430008110033

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

0000000000000000000000004a27495f4474acebb534f6ac9a89f743d5e00826

-----Decoded View---------------
Arg [0] : _controller (address): 0x4a27495f4474aCEbB534F6AC9a89f743D5e00826

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004a27495f4474acebb534f6ac9a89f743d5e00826


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.