ETH Price: $2,637.99 (+7.74%)
Gas: 4 Gwei

Token

GreenWorld (GWD)
 

Overview

Max Total Supply

500,000,000 GWD

Holders

261 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$30,750.00

Circulating Supply Market Cap

$15,217.19

Other Info

Token Contract (WITH 6 Decimals)

Balance
48,365.08 GWD

Value
$2.97 ( ~0.00112585927860284 Eth) [0.0097%]
0x84453db1ca5ffe466531cc00a90c925f44b8f70a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Founded in 2022 with the idea of enabling its community to fight climate change by promoting actions related to the protection of the environment and endangered species, sustainability, and the protection of regions most disadvantaged by pollution.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GreenWorld

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : GreenWorldToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IPair.sol";
import "./interfaces/IFactory.sol";
import "./interfaces/IAgent.sol";
import "./interfaces/ICharity.sol";

contract GreenWorld is ERC20, Ownable {
    IFactory public immutable factory;
    IAgent public immutable agent;
    ICharity public charity;
    address public immutable ecosystem;
    address public staking;

    uint256 public liquidityFeeSell;
    uint256 public charityFeeSell;
    uint256 public stakingRewardFeeSell;
    uint256 public ecosystemFeeSell;

    uint256 public liquidityFeeBuy;
    uint256 public charityFeeBuy;
    uint256 public stakingRewardFeeBuy;
    uint256 public ecosystemFeeBuy;

    uint256 private constant PERCENT = 1000;
    uint256 private constant MAX_SUM_FEE_PERCENTS = 200;

    mapping(address => bool) public isExcludedFromFee;

    struct FeesAmount {
        uint256 liquidity;
        uint256 charity;
        uint256 ecosystem;
        uint256 stakingReward;
    }

    constructor(
        address[] memory addresses,
        uint256[] memory amounts,
        uint256[] memory feesSell,
        uint256[] memory feesBuy,
        IFactory _factory,
        IAgent _agent
    ) ERC20("GreenWorld", "GWD") {
        require(addresses.length == amounts.length, "Wrong inputs");
        for (uint256 i = 0; i < amounts.length; i++) {
            isExcludedFromFee[addresses[i]] = true;
            _mint(addresses[i], amounts[i] * 10**decimals());
        }

        liquidityFeeSell = feesSell[0];
        charityFeeSell = feesSell[1];
        stakingRewardFeeSell = feesSell[2];
        ecosystemFeeSell = feesSell[3];

        liquidityFeeBuy = feesBuy[0];
        charityFeeBuy = feesBuy[1];
        stakingRewardFeeBuy = feesBuy[2];
        ecosystemFeeBuy = feesBuy[3];

        factory = _factory;
        agent = _agent;
        ecosystem = addresses[5];
        isExcludedFromFee[address(agent)] = true;
    }

    function decimals() public view virtual override returns (uint8) {
        return 6;
    }

    /** @dev Change isExcludedFromFee status
     *  @param _account an address of account to change
     */
    function changeExcludedFromFee(address _account) external onlyOwner {
        isExcludedFromFee[_account] = !isExcludedFromFee[_account];
    }

    /**
     @dev Change liquidity sell and buy fee. Onle for owner
     @param buy new liquidityFeeBuy. Enter as x * 10
     @param sell new liquidityFeeSell. Enter as x * 10 
     */
    function changeLiquidityFee(uint256 buy, uint256 sell) external onlyOwner {
        require(
            buy + charityFeeBuy + ecosystemFeeBuy + stakingRewardFeeBuy <=
                MAX_SUM_FEE_PERCENTS &&
                sell +
                    charityFeeSell +
                    ecosystemFeeSell +
                    stakingRewardFeeSell <=
                MAX_SUM_FEE_PERCENTS,
            "Fees > 20%!"
        );
        liquidityFeeBuy = buy;
        liquidityFeeSell = sell;
    }

    /**
     @dev Change charity sell and buy fee. Onle for owner
     @param buy new charityFeeBuy. Enter as x * 10
     @param sell new charityFeeSell. Enter as x * 10 
     */
    function changeCharityFee(uint256 buy, uint256 sell) external onlyOwner {
        require(
            buy + liquidityFeeBuy + ecosystemFeeBuy + stakingRewardFeeBuy <=
                MAX_SUM_FEE_PERCENTS &&
                sell +
                    liquidityFeeSell +
                    ecosystemFeeSell +
                    stakingRewardFeeSell <=
                MAX_SUM_FEE_PERCENTS,
            "Fees > 20%!"
        );
        charityFeeBuy = buy;
        charityFeeSell = sell;
    }

    /**
     @dev Change ecosystem sell and buy fee. Onle for owner
     @param buy new ecosystemFeeBuy. Enter as x * 10
     @param sell new ecosystemFeeSell. Enter as x * 10 
     */
    function changeEcosystemFee(uint256 buy, uint256 sell) external onlyOwner {
        require(
            buy + charityFeeBuy + liquidityFeeBuy + stakingRewardFeeBuy <=
                MAX_SUM_FEE_PERCENTS &&
                sell +
                    charityFeeSell +
                    liquidityFeeSell +
                    stakingRewardFeeSell <=
                MAX_SUM_FEE_PERCENTS,
            "Fees > 20%!"
        );
        ecosystemFeeBuy = buy;
        ecosystemFeeSell = sell;
    }

    /**
     @dev Change staking reward sell and buy fee. Onle for owner
     @param buy new stakingRewardFeeBuy. Enter as x * 10
     @param sell new stakingRewardFeeSell. Enter as x * 10 
     */
    function changeStakingRewardFee(uint256 buy, uint256 sell)
        external
        onlyOwner
    {
        require(
            buy + charityFeeBuy + ecosystemFeeBuy + liquidityFeeBuy <=
                MAX_SUM_FEE_PERCENTS &&
                sell + charityFeeSell + ecosystemFeeSell + liquidityFeeSell <=
                MAX_SUM_FEE_PERCENTS,
            "Fees > 20%!"
        );
        stakingRewardFeeBuy = buy;
        stakingRewardFeeSell = sell;
    }

    /**
     @dev Sets staking address for sending reward. Only for owner
     @param _staking staking address
     */
    function setStaking(address _staking) external onlyOwner {
        require(
            _staking != address(0) && staking == address(0),
            "Staking address is not 0"
        );
        staking = _staking;
        _mint(_staking, 75000000 * (10**decimals()));
    }

    /**
     @dev Sets charity address for sending fee. Only for owner
     @param _charity charity address
     */
    function setCharity(ICharity _charity) external onlyOwner {
        charity = _charity;
        isExcludedFromFee[address(_charity)] = true;
    }

    /**
     @dev Overrided ERC20 transfer. If msg.sender address = pair => buy.
     If buy and 'to' address is not excluded from fee => takes fee
     */
    function transfer(address to, uint256 amount)
        public
        override
        returns (bool)
    {
        address _owner = _msgSender();
        bool isPair = _pairCheck(_owner);
        if (isPair && !isExcludedFromFee[to]) {
            FeesAmount memory fees;
            if (liquidityFeeBuy > 0) {
                fees.liquidity = (amount * liquidityFeeBuy) / PERCENT;
                _transfer(_owner, address(agent), fees.liquidity);
                agent.increaseStock(fees.liquidity);
            }
            if (charityFeeBuy > 0 && address(charity) != address(0)) {
                fees.charity = (amount * charityFeeBuy) / PERCENT;
                _transfer(_owner, address(charity), fees.charity);
                charity.addToCharity(fees.charity, to);
            }
            if (ecosystemFeeBuy > 0) {
                fees.ecosystem = (amount * ecosystemFeeBuy) / PERCENT;
                _transfer(_owner, ecosystem, fees.ecosystem);
            }
            if (stakingRewardFeeBuy > 0 && staking != address(0)) {
                fees.stakingReward = (amount * stakingRewardFeeBuy) / PERCENT;
                _transfer(_owner, staking, fees.stakingReward);
            }
            uint256 amountWithFee = amount -
                fees.liquidity -
                fees.charity -
                fees.ecosystem -
                fees.stakingReward;
            _transfer(_owner, to, amountWithFee);
        } else {
            _transfer(_owner, to, amount);
            if (!isPair) {
                charity.swapNow();
                if (
                    (agent.getStock() > agent.getThreshold()) &&
                    (_owner != address(agent))
                ) {
                    agent.autoLiquidity();
                }
            }
        }
        return true;
    }

    /**
     @dev Overrided ERC20 transferFrom. If 'to' address = pair => sell.
     If sell and 'from' address is not excluded from fee => takes fee
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public override returns (bool) {
        _spendAllowance(from, _msgSender(), amount);
        bool isPair = _pairCheck(to);
        if (isPair && !isExcludedFromFee[from]) {
            FeesAmount memory fees;
            if (liquidityFeeSell > 0) {
                fees.liquidity = (amount * liquidityFeeSell) / PERCENT;
                _transfer(from, address(agent), fees.liquidity);
                agent.increaseStock(fees.liquidity);
            }
            if (charityFeeSell > 0 && address(charity) != address(0)) {
                fees.charity = (amount * charityFeeSell) / PERCENT;
                _transfer(from, address(charity), fees.charity);
                charity.addToCharity(fees.charity, from);
            }
            if (ecosystemFeeSell > 0) {
                fees.ecosystem = (amount * ecosystemFeeSell) / PERCENT;
                _transfer(from, ecosystem, fees.ecosystem);
            }
            if (stakingRewardFeeSell > 0 && staking != address(0)) {
                fees.stakingReward = (amount * stakingRewardFeeSell) / PERCENT;
                _transfer(from, staking, fees.stakingReward);
            }
            uint256 amountWithFee = amount -
                fees.liquidity -
                fees.charity -
                fees.ecosystem -
                fees.stakingReward;
            _transfer(from, to, amountWithFee);
        } else {
            _transfer(from, to, amount);
            if (!isPair) {
                charity.swapNow();
                if (
                    (agent.getStock() > agent.getThreshold()) &&
                    (from != address(agent))
                ) {
                    agent.autoLiquidity();
                }
            }
        }
        return true;
    }

    function _pairCheck(address _token) internal view returns (bool) {
        address token0;
        address token1;

        if (isContract(_token)) {
            try IPair(_token).token0() returns (address _token0) {
                token0 = _token0;
            } catch {
                return false;
            }

            try IPair(_token).token1() returns (address _token1) {
                token1 = _token1;
            } catch {
                return false;
            }

            address goodPair = factory.getPair(token0, token1);
            if (goodPair != _token) {
                return false;
            }

            if (token0 == address(this) || token1 == address(this)) return true;
            else return false;
        } else return false;
    }

    function isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
}

File 2 of 10 : IFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IFactory {
    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

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

File 3 of 10 : ICharity.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface ICharity {
    function addToCharity(uint256 amount, address user) external; 

    function swapNow() external;
}

File 4 of 10 : IPair.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPair {
    function token0() external view returns (address);

    function token1() external view returns (address);

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

File 5 of 10 : IAgent.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IAgent {
    function increaseStock(uint256 amount) external;

    function autoLiquidity() external;

    function getStock() external view returns (uint256);

    function getThreshold() external view returns (uint256);
}

File 6 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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.zeppelin.solutions/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;
        }
        _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;
        _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 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 7 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 8 of 10 : 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 9 of 10 : 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 10 of 10 : 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;
    }
}

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":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"feesSell","type":"uint256[]"},{"internalType":"uint256[]","name":"feesBuy","type":"uint256[]"},{"internalType":"contract IFactory","name":"_factory","type":"address"},{"internalType":"contract IAgent","name":"_agent","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[],"name":"agent","outputs":[{"internalType":"contract IAgent","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"changeCharityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"changeEcosystemFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"changeExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"changeLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy","type":"uint256"},{"internalType":"uint256","name":"sell","type":"uint256"}],"name":"changeStakingRewardFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"charity","outputs":[{"internalType":"contract ICharity","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ecosystem","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystemFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystemFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IFactory","name":"","type":"address"}],"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":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ICharity","name":"_charity","type":"address"}],"name":"setCharity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingRewardFeeBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingRewardFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b50604051620029c1380380620029c183398101604081905262000034916200062e565b6040518060400160405280600a81526020016911dc99595b95dbdc9b1960b21b8152506040518060400160405280600381526020016211d5d160ea1b815250816003908162000084919062000799565b50600462000093828262000799565b505050620000b0620000aa6200036f60201b60201c565b62000373565b8451865114620000f65760405162461bcd60e51b815260206004820152600c60248201526b57726f6e6720696e7075747360a01b60448201526064015b60405180910390fd5b60005b8551811015620001df576001601060008984815181106200011e576200011e62000865565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ca87828151811062000176576200017662000865565b60200260200101516200018e620003c560201b60201c565b6200019b90600a62000990565b888481518110620001b057620001b062000865565b6020026020010151620001c49190620009a8565b620003ca565b80620001d681620009c2565b915050620000f9565b5083600081518110620001f657620001f662000865565b6020026020010151600881905550836001815181106200021a576200021a62000865565b6020026020010151600981905550836002815181106200023e576200023e62000865565b6020026020010151600a819055508360038151811062000262576200026262000865565b6020026020010151600b819055508260008151811062000286576200028662000865565b6020026020010151600c8190555082600181518110620002aa57620002aa62000865565b6020026020010151600d8190555082600281518110620002ce57620002ce62000865565b6020026020010151600e8190555082600381518110620002f257620002f262000865565b6020908102919091010151600f556001600160a01b03808316608052811660a0528551869060059081106200032b576200032b62000865565b6020908102919091018101516001600160a01b0390811660c05260a051166000908152601090915260409020805460ff1916600117905550620009f4945050505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600690565b6001600160a01b038216620004225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000ed565b8060026000828254620004369190620009de565b90915550506001600160a01b0382166000908152602081905260408120805483929062000465908490620009de565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004f557620004f5620004b4565b604052919050565b60006001600160401b03821115620005195762000519620004b4565b5060051b60200190565b6001600160a01b03811681146200053957600080fd5b50565b600082601f8301126200054e57600080fd5b81516020620005676200056183620004fd565b620004ca565b82815260059290921b840181019181810190868411156200058757600080fd5b8286015b84811015620005af578051620005a18162000523565b83529183019183016200058b565b509695505050505050565b600082601f830112620005cc57600080fd5b81516020620005df6200056183620004fd565b82815260059290921b84018101918181019086841115620005ff57600080fd5b8286015b84811015620005af578051835291830191830162000603565b8051620006298162000523565b919050565b60008060008060008060c087890312156200064857600080fd5b86516001600160401b03808211156200066057600080fd5b6200066e8a838b016200053c565b975060208901519150808211156200068557600080fd5b620006938a838b01620005ba565b96506040890151915080821115620006aa57600080fd5b620006b88a838b01620005ba565b95506060890151915080821115620006cf57600080fd5b50620006de89828a01620005ba565b935050620006ef608088016200061c565b9150620006ff60a088016200061c565b90509295509295509295565b600181811c908216806200072057607f821691505b6020821081036200074157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004af57600081815260208120601f850160051c81016020861015620007705750805b601f850160051c820191505b8181101562000791578281556001016200077c565b505050505050565b81516001600160401b03811115620007b557620007b5620004b4565b620007cd81620007c684546200070b565b8462000747565b602080601f831160018114620008055760008415620007ec5750858301515b600019600386901b1c1916600185901b17855562000791565b600085815260208120601f198616915b82811015620008365788860151825594840194600190910190840162000815565b5085821015620008555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620008d2578160001904821115620008b657620008b66200087b565b80851615620008c457918102915b93841c939080029062000896565b509250929050565b600082620008eb575060016200098a565b81620008fa575060006200098a565b81600181146200091357600281146200091e576200093e565b60019150506200098a565b60ff8411156200093257620009326200087b565b50506001821b6200098a565b5060208310610133831016604e8410600b841016171562000963575081810a6200098a565b6200096f838362000891565b80600019048211156200098657620009866200087b565b0290505b92915050565b6000620009a160ff841683620008da565b9392505050565b80820281158282048414176200098a576200098a6200087b565b600060018201620009d757620009d76200087b565b5060010190565b808201808211156200098a576200098a6200087b565b60805160a05160c051611f3462000a8d600039600081816103db015281816107c00152610fd10152600081816104a401528181610623015281816106610152818161090d0152818161098f01528181610a1901528181610a5501528181610e3401528181610e72015281816111170152818161119901528181611223015261125f01526000818161043b01526117840152611f346000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a9059cbb116100ad578063e1a8d39b1161007c578063e1a8d39b14610470578063f2fde38b14610483578063f5f2469014610496578063f5ff5c761461049f578063fb6f71a3146104c657600080fd5b8063a9059cbb14610410578063b284973e14610423578063c45a015514610436578063dd62ed3e1461045d57600080fd5b80638ff39099116100f45780638ff39099146103a8578063934aa023146103bb57806395d89b41146103ce5780639c74a579146103d6578063a457c2d7146103fd57600080fd5b8063715018a61461037d5780637b30fafa1461038557806382d201161461038e5780638da5cb5b1461039757600080fd5b8063313ce567116101a85780634cf088d9116101775780634cf088d9146102e057806351c439b61461030b5780635342acb41461031e57806364efc6a71461034157806370a082311461035457600080fd5b8063313ce567146102a057806339509351146102af57806339c6a696146102c2578063463801eb146102cb57600080fd5b80631107b3a5116101e45780631107b3a51461027357806318160ddd1461027c57806323b872dd146102845780632712b9921461029757600080fd5b80630381da901461021657806306fdde031461023257806308a54bb214610247578063095ea7b314610250575b600080fd5b61021f60095481565b6040519081526020015b60405180910390f35b61023a6104d9565b6040516102299190611bb2565b61021f600f5481565b61026361025e366004611c15565b61056b565b6040519015158152602001610229565b61021f60085481565b60025461021f565b610263610292366004611c41565b610585565b61021f600d5481565b60405160068152602001610229565b6102636102bd366004611c15565b610ad2565b61021f600e5481565b6102de6102d9366004611c82565b610af4565b005b6007546102f3906001600160a01b031681565b6040516001600160a01b039091168152602001610229565b6102de610319366004611ca4565b610b8c565b61026361032c366004611ca4565b60106020526000908152604090205460ff1681565b6102de61034f366004611c82565b610bbd565b61021f610362366004611ca4565b6001600160a01b031660009081526020819052604090205490565b6102de610c4c565b61021f600b5481565b61021f600c5481565b6005546001600160a01b03166102f3565b6102de6103b6366004611ca4565b610c60565b6006546102f3906001600160a01b031681565b61023a610d17565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b61026361040b366004611c15565b610d26565b61026361041e366004611c15565b610da1565b6102de610431366004611c82565b6112db565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b61021f61046b366004611cc8565b61136a565b6102de61047e366004611c82565b611395565b6102de610491366004611ca4565b611424565b61021f600a5481565b6102f37f000000000000000000000000000000000000000000000000000000000000000081565b6102de6104d4366004611ca4565b61149a565b6060600380546104e890611d01565b80601f016020809104026020016040519081016040528092919081815260200182805461051490611d01565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b6000336105798185856114dc565b60019150505b92915050565b6000610592843384611600565b600061059d8461167a565b90508080156105c557506001600160a01b03851660009081526010602052604090205460ff16155b15610893576105f56040518060800160405280600081526020016000815260200160008152602001600081525090565b600854156106c6576103e86008548561060e9190611d51565b6106189190611d68565b8082526106489087907f000000000000000000000000000000000000000000000000000000000000000090611859565b8051604051633ebcc23760e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637d79846e90602401600060405180830381600087803b1580156106ad57600080fd5b505af11580156106c1573d6000803e3d6000fd5b505050505b60006009541180156106e257506006546001600160a01b031615155b1561078e576103e8600954856106f89190611d51565b6107029190611d68565b602082018190526006546107219188916001600160a01b031690611859565b60065460208201516040516303a80afb60e41b815260048101919091526001600160a01b03888116602483015290911690633a80afb090604401600060405180830381600087803b15801561077557600080fd5b505af1158015610789573d6000803e3d6000fd5b505050505b600b54156107e5576103e8600b54856107a79190611d51565b6107b19190611d68565b604082018190526107e59087907f000000000000000000000000000000000000000000000000000000000000000090611859565b6000600a5411801561080157506007546001600160a01b031615155b15610840576103e8600a54856108179190611d51565b6108219190611d68565b606082018190526007546108409188916001600160a01b031690611859565b60008160600151826040015183602001518460000151886108619190611d8a565b61086b9190611d8a565b6108759190611d8a565b61087f9190611d8a565b905061088c878783611859565b5050610ac7565b61089e858585611859565b80610ac757600660009054906101000a90046001600160a01b03166001600160a01b031663fb0c5c2f6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d9190611d9d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e38ffcd86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0f9190611d9d565b118015610a4e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b15610ac7577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166352dc21d76040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505b506001949350505050565b600033610579818585610ae5838361136a565b610aef9190611db6565b6114dc565b610afc611a27565b60c8600c54600f54600d5485610b129190611db6565b610b1c9190611db6565b610b269190611db6565b11158015610b5c575060c8600854600b5460095484610b459190611db6565b610b4f9190611db6565b610b599190611db6565b11155b610b815760405162461bcd60e51b8152600401610b7890611dc9565b60405180910390fd5b600e91909155600a55565b610b94611a27565b6001600160a01b03166000908152601060205260409020805460ff19811660ff90911615179055565b610bc5611a27565b60c8600e54600c54600d5485610bdb9190611db6565b610be59190611db6565b610bef9190611db6565b11158015610c25575060c8600a5460085460095484610c0e9190611db6565b610c189190611db6565b610c229190611db6565b11155b610c415760405162461bcd60e51b8152600401610b7890611dc9565b600f91909155600b55565b610c54611a27565b610c5e6000611a81565b565b610c68611a27565b6001600160a01b03811615801590610c8957506007546001600160a01b0316155b610cd55760405162461bcd60e51b815260206004820152601860248201527f5374616b696e672061646472657373206973206e6f74203000000000000000006044820152606401610b78565b600780546001600160a01b0319166001600160a01b038316179055610d14816006610d0190600a611ed2565b610d0f9063047868c0611d51565b611ad3565b50565b6060600480546104e890611d01565b60003381610d34828661136a565b905083811015610d945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b78565b610ac782868684036114dc565b60003381610dae8261167a565b9050808015610dd657506001600160a01b03851660009081526010602052604090205460ff16155b1561109d57610e066040518060800160405280600081526020016000815260200160008152602001600081525090565b600c5415610ed7576103e8600c5486610e1f9190611d51565b610e299190611d68565b808252610e599084907f000000000000000000000000000000000000000000000000000000000000000090611859565b8051604051633ebcc23760e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637d79846e90602401600060405180830381600087803b158015610ebe57600080fd5b505af1158015610ed2573d6000803e3d6000fd5b505050505b6000600d54118015610ef357506006546001600160a01b031615155b15610f9f576103e8600d5486610f099190611d51565b610f139190611d68565b60208201819052600654610f329185916001600160a01b031690611859565b60065460208201516040516303a80afb60e41b815260048101919091526001600160a01b03888116602483015290911690633a80afb090604401600060405180830381600087803b158015610f8657600080fd5b505af1158015610f9a573d6000803e3d6000fd5b505050505b600f5415610ff6576103e8600f5486610fb89190611d51565b610fc29190611d68565b60408201819052610ff69084907f000000000000000000000000000000000000000000000000000000000000000090611859565b6000600e5411801561101257506007546001600160a01b031615155b15611051576103e8600e54866110289190611d51565b6110329190611d68565b606082018190526007546110519185916001600160a01b031690611859565b60008160600151826040015183602001518460000151896110729190611d8a565b61107c9190611d8a565b6110869190611d8a565b6110909190611d8a565b905061088c848883611859565b6110a8828686611859565b80610ac757600660009054906101000a90046001600160a01b03166001600160a01b031663fb0c5c2f6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110fd57600080fd5b505af1158015611111573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611173573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111979190611d9d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e38ffcd86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112199190611d9d565b11801561125857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b15610ac7577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166352dc21d76040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112b857600080fd5b505af11580156112cc573d6000803e3d6000fd5b50600198975050505050505050565b6112e3611a27565b60c8600e54600f54600d54856112f99190611db6565b6113039190611db6565b61130d9190611db6565b11158015611343575060c8600a54600b546009548461132c9190611db6565b6113369190611db6565b6113409190611db6565b11155b61135f5760405162461bcd60e51b8152600401610b7890611dc9565b600c91909155600855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61139d611a27565b60c8600e54600f54600c54856113b39190611db6565b6113bd9190611db6565b6113c79190611db6565b111580156113fd575060c8600a54600b54600854846113e69190611db6565b6113f09190611db6565b6113fa9190611db6565b11155b6114195760405162461bcd60e51b8152600401610b7890611dc9565b600d91909155600955565b61142c611a27565b6001600160a01b0381166114915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b78565b610d1481611a81565b6114a2611a27565b600680546001600160a01b039092166001600160a01b0319909216821790556000908152601060205260409020805460ff19166001179055565b6001600160a01b03831661153e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b78565b6001600160a01b03821661159f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b78565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061160c848461136a565b9050600019811461167457818110156116675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b78565b61167484848484036114dc565b50505050565b60008080833b1561184f57836001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156116df575060408051601f3d908101601f191682019092526116dc91810190611ee1565b60015b6116ed575060009392505050565b9150836001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611749575060408051601f3d908101601f1916820190925261174691810190611ee1565b60015b611757575060009392505050565b60405163e6a4390560e01b81526001600160a01b03848116600483015280831660248301529192506000917f0000000000000000000000000000000000000000000000000000000000000000169063e6a4390590604401602060405180830381865afa1580156117cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ef9190611ee1565b9050846001600160a01b0316816001600160a01b03161461181557506000949350505050565b6001600160a01b03831630148061183457506001600160a01b03821630145b1561184457506001949350505050565b506000949350505050565b5060009392505050565b6001600160a01b0383166118bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b78565b6001600160a01b03821661191f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b78565b6001600160a01b038316600090815260208190526040902054818110156119975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b78565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906119ce908490611db6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a1a91815260200190565b60405180910390a3611674565b6005546001600160a01b03163314610c5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b78565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610b78565b8060026000828254611b3b9190611db6565b90915550506001600160a01b03821660009081526020819052604081208054839290611b68908490611db6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611bdf57858101830151858201604001528201611bc3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d1457600080fd5b60008060408385031215611c2857600080fd5b8235611c3381611c00565b946020939093013593505050565b600080600060608486031215611c5657600080fd5b8335611c6181611c00565b92506020840135611c7181611c00565b929592945050506040919091013590565b60008060408385031215611c9557600080fd5b50508035926020909101359150565b600060208284031215611cb657600080fd5b8135611cc181611c00565b9392505050565b60008060408385031215611cdb57600080fd5b8235611ce681611c00565b91506020830135611cf681611c00565b809150509250929050565b600181811c90821680611d1557607f821691505b602082108103611d3557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761057f5761057f611d3b565b600082611d8557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561057f5761057f611d3b565b600060208284031215611daf57600080fd5b5051919050565b8082018082111561057f5761057f611d3b565b6020808252600b908201526a46656573203e203230252160a81b604082015260600190565b600181815b80851115611e29578160001904821115611e0f57611e0f611d3b565b80851615611e1c57918102915b93841c9390800290611df3565b509250929050565b600082611e405750600161057f565b81611e4d5750600061057f565b8160018114611e635760028114611e6d57611e89565b600191505061057f565b60ff841115611e7e57611e7e611d3b565b50506001821b61057f565b5060208310610133831016604e8410600b8410161715611eac575081810a61057f565b611eb68383611dee565b8060001904821115611eca57611eca611d3b565b029392505050565b6000611cc160ff841683611e31565b600060208284031215611ef357600080fd5b8151611cc181611c0056fea264697066735822122080c07c98347c883285c4cf8904fe92b20d9266b7e7b8e6e0614d10129e41853264736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003200000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d430000000000000000000000000000000000000000000000000000000000000006000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a100000000000000000000000071e17c6bb5f83b275096f21b44c67e4d715645ae000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a100000000000000000000000006af319414b7b29591299c0e84a0b4c9b23c99ea000000000000000000000000fe041183cd169c0405b38bca45b18d674e81b7290000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c900000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000e01d0c00000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000000000002625a0000000000000000000000000000000000000000000000000000000000017d78400000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000017d78400000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a9059cbb116100ad578063e1a8d39b1161007c578063e1a8d39b14610470578063f2fde38b14610483578063f5f2469014610496578063f5ff5c761461049f578063fb6f71a3146104c657600080fd5b8063a9059cbb14610410578063b284973e14610423578063c45a015514610436578063dd62ed3e1461045d57600080fd5b80638ff39099116100f45780638ff39099146103a8578063934aa023146103bb57806395d89b41146103ce5780639c74a579146103d6578063a457c2d7146103fd57600080fd5b8063715018a61461037d5780637b30fafa1461038557806382d201161461038e5780638da5cb5b1461039757600080fd5b8063313ce567116101a85780634cf088d9116101775780634cf088d9146102e057806351c439b61461030b5780635342acb41461031e57806364efc6a71461034157806370a082311461035457600080fd5b8063313ce567146102a057806339509351146102af57806339c6a696146102c2578063463801eb146102cb57600080fd5b80631107b3a5116101e45780631107b3a51461027357806318160ddd1461027c57806323b872dd146102845780632712b9921461029757600080fd5b80630381da901461021657806306fdde031461023257806308a54bb214610247578063095ea7b314610250575b600080fd5b61021f60095481565b6040519081526020015b60405180910390f35b61023a6104d9565b6040516102299190611bb2565b61021f600f5481565b61026361025e366004611c15565b61056b565b6040519015158152602001610229565b61021f60085481565b60025461021f565b610263610292366004611c41565b610585565b61021f600d5481565b60405160068152602001610229565b6102636102bd366004611c15565b610ad2565b61021f600e5481565b6102de6102d9366004611c82565b610af4565b005b6007546102f3906001600160a01b031681565b6040516001600160a01b039091168152602001610229565b6102de610319366004611ca4565b610b8c565b61026361032c366004611ca4565b60106020526000908152604090205460ff1681565b6102de61034f366004611c82565b610bbd565b61021f610362366004611ca4565b6001600160a01b031660009081526020819052604090205490565b6102de610c4c565b61021f600b5481565b61021f600c5481565b6005546001600160a01b03166102f3565b6102de6103b6366004611ca4565b610c60565b6006546102f3906001600160a01b031681565b61023a610d17565b6102f37f0000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c9081565b61026361040b366004611c15565b610d26565b61026361041e366004611c15565b610da1565b6102de610431366004611c82565b6112db565b6102f37f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b61021f61046b366004611cc8565b61136a565b6102de61047e366004611c82565b611395565b6102de610491366004611ca4565b611424565b61021f600a5481565b6102f37f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d4381565b6102de6104d4366004611ca4565b61149a565b6060600380546104e890611d01565b80601f016020809104026020016040519081016040528092919081815260200182805461051490611d01565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b6000336105798185856114dc565b60019150505b92915050565b6000610592843384611600565b600061059d8461167a565b90508080156105c557506001600160a01b03851660009081526010602052604090205460ff16155b15610893576105f56040518060800160405280600081526020016000815260200160008152602001600081525090565b600854156106c6576103e86008548561060e9190611d51565b6106189190611d68565b8082526106489087907f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d4390611859565b8051604051633ebcc23760e11b815260048101919091527f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031690637d79846e90602401600060405180830381600087803b1580156106ad57600080fd5b505af11580156106c1573d6000803e3d6000fd5b505050505b60006009541180156106e257506006546001600160a01b031615155b1561078e576103e8600954856106f89190611d51565b6107029190611d68565b602082018190526006546107219188916001600160a01b031690611859565b60065460208201516040516303a80afb60e41b815260048101919091526001600160a01b03888116602483015290911690633a80afb090604401600060405180830381600087803b15801561077557600080fd5b505af1158015610789573d6000803e3d6000fd5b505050505b600b54156107e5576103e8600b54856107a79190611d51565b6107b19190611d68565b604082018190526107e59087907f0000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c9090611859565b6000600a5411801561080157506007546001600160a01b031615155b15610840576103e8600a54856108179190611d51565b6108219190611d68565b606082018190526007546108409188916001600160a01b031690611859565b60008160600151826040015183602001518460000151886108619190611d8a565b61086b9190611d8a565b6108759190611d8a565b61087f9190611d8a565b905061088c878783611859565b5050610ac7565b61089e858585611859565b80610ac757600660009054906101000a90046001600160a01b03166001600160a01b031663fb0c5c2f6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b505050507f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d9190611d9d565b7f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031663e38ffcd86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0f9190611d9d565b118015610a4e57507f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b0316856001600160a01b031614155b15610ac7577f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b03166352dc21d76040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505b506001949350505050565b600033610579818585610ae5838361136a565b610aef9190611db6565b6114dc565b610afc611a27565b60c8600c54600f54600d5485610b129190611db6565b610b1c9190611db6565b610b269190611db6565b11158015610b5c575060c8600854600b5460095484610b459190611db6565b610b4f9190611db6565b610b599190611db6565b11155b610b815760405162461bcd60e51b8152600401610b7890611dc9565b60405180910390fd5b600e91909155600a55565b610b94611a27565b6001600160a01b03166000908152601060205260409020805460ff19811660ff90911615179055565b610bc5611a27565b60c8600e54600c54600d5485610bdb9190611db6565b610be59190611db6565b610bef9190611db6565b11158015610c25575060c8600a5460085460095484610c0e9190611db6565b610c189190611db6565b610c229190611db6565b11155b610c415760405162461bcd60e51b8152600401610b7890611dc9565b600f91909155600b55565b610c54611a27565b610c5e6000611a81565b565b610c68611a27565b6001600160a01b03811615801590610c8957506007546001600160a01b0316155b610cd55760405162461bcd60e51b815260206004820152601860248201527f5374616b696e672061646472657373206973206e6f74203000000000000000006044820152606401610b78565b600780546001600160a01b0319166001600160a01b038316179055610d14816006610d0190600a611ed2565b610d0f9063047868c0611d51565b611ad3565b50565b6060600480546104e890611d01565b60003381610d34828661136a565b905083811015610d945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b78565b610ac782868684036114dc565b60003381610dae8261167a565b9050808015610dd657506001600160a01b03851660009081526010602052604090205460ff16155b1561109d57610e066040518060800160405280600081526020016000815260200160008152602001600081525090565b600c5415610ed7576103e8600c5486610e1f9190611d51565b610e299190611d68565b808252610e599084907f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d4390611859565b8051604051633ebcc23760e11b815260048101919091527f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031690637d79846e90602401600060405180830381600087803b158015610ebe57600080fd5b505af1158015610ed2573d6000803e3d6000fd5b505050505b6000600d54118015610ef357506006546001600160a01b031615155b15610f9f576103e8600d5486610f099190611d51565b610f139190611d68565b60208201819052600654610f329185916001600160a01b031690611859565b60065460208201516040516303a80afb60e41b815260048101919091526001600160a01b03888116602483015290911690633a80afb090604401600060405180830381600087803b158015610f8657600080fd5b505af1158015610f9a573d6000803e3d6000fd5b505050505b600f5415610ff6576103e8600f5486610fb89190611d51565b610fc29190611d68565b60408201819052610ff69084907f0000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c9090611859565b6000600e5411801561101257506007546001600160a01b031615155b15611051576103e8600e54866110289190611d51565b6110329190611d68565b606082018190526007546110519185916001600160a01b031690611859565b60008160600151826040015183602001518460000151896110729190611d8a565b61107c9190611d8a565b6110869190611d8a565b6110909190611d8a565b905061088c848883611859565b6110a8828686611859565b80610ac757600660009054906101000a90046001600160a01b03166001600160a01b031663fb0c5c2f6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110fd57600080fd5b505af1158015611111573d6000803e3d6000fd5b505050507f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611173573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111979190611d9d565b7f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b031663e38ffcd86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112199190611d9d565b11801561125857507f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b0316826001600160a01b031614155b15610ac7577f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d436001600160a01b03166352dc21d76040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112b857600080fd5b505af11580156112cc573d6000803e3d6000fd5b50600198975050505050505050565b6112e3611a27565b60c8600e54600f54600d54856112f99190611db6565b6113039190611db6565b61130d9190611db6565b11158015611343575060c8600a54600b546009548461132c9190611db6565b6113369190611db6565b6113409190611db6565b11155b61135f5760405162461bcd60e51b8152600401610b7890611dc9565b600c91909155600855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61139d611a27565b60c8600e54600f54600c54856113b39190611db6565b6113bd9190611db6565b6113c79190611db6565b111580156113fd575060c8600a54600b54600854846113e69190611db6565b6113f09190611db6565b6113fa9190611db6565b11155b6114195760405162461bcd60e51b8152600401610b7890611dc9565b600d91909155600955565b61142c611a27565b6001600160a01b0381166114915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b78565b610d1481611a81565b6114a2611a27565b600680546001600160a01b039092166001600160a01b0319909216821790556000908152601060205260409020805460ff19166001179055565b6001600160a01b03831661153e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b78565b6001600160a01b03821661159f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b78565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061160c848461136a565b9050600019811461167457818110156116675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b78565b61167484848484036114dc565b50505050565b60008080833b1561184f57836001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156116df575060408051601f3d908101601f191682019092526116dc91810190611ee1565b60015b6116ed575060009392505050565b9150836001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611749575060408051601f3d908101601f1916820190925261174691810190611ee1565b60015b611757575060009392505050565b60405163e6a4390560e01b81526001600160a01b03848116600483015280831660248301529192506000917f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f169063e6a4390590604401602060405180830381865afa1580156117cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ef9190611ee1565b9050846001600160a01b0316816001600160a01b03161461181557506000949350505050565b6001600160a01b03831630148061183457506001600160a01b03821630145b1561184457506001949350505050565b506000949350505050565b5060009392505050565b6001600160a01b0383166118bd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b78565b6001600160a01b03821661191f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b78565b6001600160a01b038316600090815260208190526040902054818110156119975760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b78565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906119ce908490611db6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a1a91815260200190565b60405180910390a3611674565b6005546001600160a01b03163314610c5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b78565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610b78565b8060026000828254611b3b9190611db6565b90915550506001600160a01b03821660009081526020819052604081208054839290611b68908490611db6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060208083528351808285015260005b81811015611bdf57858101830151858201604001528201611bc3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d1457600080fd5b60008060408385031215611c2857600080fd5b8235611c3381611c00565b946020939093013593505050565b600080600060608486031215611c5657600080fd5b8335611c6181611c00565b92506020840135611c7181611c00565b929592945050506040919091013590565b60008060408385031215611c9557600080fd5b50508035926020909101359150565b600060208284031215611cb657600080fd5b8135611cc181611c00565b9392505050565b60008060408385031215611cdb57600080fd5b8235611ce681611c00565b91506020830135611cf681611c00565b809150509250929050565b600181811c90821680611d1557607f821691505b602082108103611d3557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761057f5761057f611d3b565b600082611d8557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561057f5761057f611d3b565b600060208284031215611daf57600080fd5b5051919050565b8082018082111561057f5761057f611d3b565b6020808252600b908201526a46656573203e203230252160a81b604082015260600190565b600181815b80851115611e29578160001904821115611e0f57611e0f611d3b565b80851615611e1c57918102915b93841c9390800290611df3565b509250929050565b600082611e405750600161057f565b81611e4d5750600061057f565b8160018114611e635760028114611e6d57611e89565b600191505061057f565b60ff841115611e7e57611e7e611d3b565b50506001821b61057f565b5060208310610133831016604e8410600b8410161715611eac575081810a61057f565b611eb68383611dee565b8060001904821115611eca57611eca611d3b565b029392505050565b6000611cc160ff841683611e31565b600060208284031215611ef357600080fd5b8151611cc181611c0056fea264697066735822122080c07c98347c883285c4cf8904fe92b20d9266b7e7b8e6e0614d10129e41853264736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003200000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d430000000000000000000000000000000000000000000000000000000000000006000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a100000000000000000000000071e17c6bb5f83b275096f21b44c67e4d715645ae000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a100000000000000000000000006af319414b7b29591299c0e84a0b4c9b23c99ea000000000000000000000000fe041183cd169c0405b38bca45b18d674e81b7290000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c900000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000e01d0c00000000000000000000000000000000000000000000000000000000002faf0800000000000000000000000000000000000000000000000000000000002625a0000000000000000000000000000000000000000000000000000000000017d78400000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000017d78400000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : addresses (address[]): 0xDA550277Fc1E0642E9CaA8fC5cB1CA75594065a1,0x71E17c6bB5f83B275096f21b44c67e4D715645aE,0xDA550277Fc1E0642E9CaA8fC5cB1CA75594065a1,0x06af319414b7b29591299C0E84a0B4C9b23C99Ea,0xfe041183CD169C0405B38BCA45b18d674E81b729,0x0cA66740249D8350a9969C256C5687f04cd87c90
Arg [1] : amounts (uint256[]): 235000000,50000000,40000000,25000000,50000000,25000000
Arg [2] : feesSell (uint256[]): 20,20,20,10
Arg [3] : feesBuy (uint256[]): 20,20,10,10
Arg [4] : _factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [5] : _agent (address): 0x4b46b9aA8084B1aF9E96E23431AC3d39f39a0d43

-----Encoded View---------------
30 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [4] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [5] : 0000000000000000000000004b46b9aa8084b1af9e96e23431ac3d39f39a0d43
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a1
Arg [8] : 00000000000000000000000071e17c6bb5f83b275096f21b44c67e4d715645ae
Arg [9] : 000000000000000000000000da550277fc1e0642e9caa8fc5cb1ca75594065a1
Arg [10] : 00000000000000000000000006af319414b7b29591299c0e84a0b4c9b23c99ea
Arg [11] : 000000000000000000000000fe041183cd169c0405b38bca45b18d674e81b729
Arg [12] : 0000000000000000000000000ca66740249d8350a9969c256c5687f04cd87c90
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [14] : 000000000000000000000000000000000000000000000000000000000e01d0c0
Arg [15] : 0000000000000000000000000000000000000000000000000000000002faf080
Arg [16] : 0000000000000000000000000000000000000000000000000000000002625a00
Arg [17] : 00000000000000000000000000000000000000000000000000000000017d7840
Arg [18] : 0000000000000000000000000000000000000000000000000000000002faf080
Arg [19] : 00000000000000000000000000000000000000000000000000000000017d7840
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [29] : 000000000000000000000000000000000000000000000000000000000000000a


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.