ETH Price: $3,692.95 (+1.55%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer190925982024-01-26 18:34:59346 days ago1706294099IN
0x41BbD051...C847F494E
0 ETH0.0006984717.43303916
Transfer190925842024-01-26 18:32:11346 days ago1706293931IN
0x41BbD051...C847F494E
0 ETH0.0008179718.23144167
Transfer190923772024-01-26 17:50:35346 days ago1706291435IN
0x41BbD051...C847F494E
0 ETH0.0009387920.91875959
Transfer180195292023-08-29 9:57:35496 days ago1693303055IN
0x41BbD051...C847F494E
0 ETH0.0011243318.14789166
Approve177423612023-07-21 15:18:47535 days ago1689952727IN
0x41BbD051...C847F494E
0 ETH0.0014348331.01604487
Transfer177355072023-07-20 16:16:23536 days ago1689869783IN
0x41BbD051...C847F494E
0 ETH0.0016279836.29520763
Transfer176999342023-07-15 16:24:11541 days ago1689438251IN
0x41BbD051...C847F494E
0 ETH0.0009596921.39026543
Transfer176999112023-07-15 16:19:23541 days ago1689437963IN
0x41BbD051...C847F494E
0 ETH0.0015331924.74734882
Approve176480552023-07-08 9:08:11548 days ago1688807291IN
0x41BbD051...C847F494E
0 ETH0.0008888619.22915936
Approve176164562023-07-03 22:38:11552 days ago1688423891IN
0x41BbD051...C847F494E
0 ETH0.0006778414.67555973
Transfer176133812023-07-03 12:16:11553 days ago1688386571IN
0x41BbD051...C847F494E
0 ETH0.0028756346.40660934
Transfer176132572023-07-03 11:50:47553 days ago1688385047IN
0x41BbD051...C847F494E
0 ETH0.000884515.46608535
Approve175524002023-06-24 22:39:47561 days ago1687646387IN
0x41BbD051...C847F494E
0 ETH0.0019348341.56551142
Transfer175272252023-06-21 9:44:35565 days ago1687340675IN
0x41BbD051...C847F494E
0 ETH0.0010333816.67657765
Transfer174576192023-06-11 14:59:59575 days ago1686495599IN
0x41BbD051...C847F494E
0 ETH0.0006034115.0651241
Transfer173955602023-06-02 20:59:11583 days ago1685739551IN
0x41BbD051...C847F494E
0 ETH0.0015812225.51767143
Transfer173906312023-06-02 4:15:35584 days ago1685679335IN
0x41BbD051...C847F494E
0 ETH0.0010499323.4078177
Transfer173888512023-06-01 22:15:35584 days ago1685657735IN
0x41BbD051...C847F494E
0 ETH0.0033966254.81434732
Transfer173872132023-06-01 16:41:59585 days ago1685637719IN
0x41BbD051...C847F494E
0 ETH0.0015210733.91170327
Transfer173791002023-05-31 13:17:23586 days ago1685539043IN
0x41BbD051...C847F494E
0 ETH0.0024754555.18923461
Transfer173640972023-05-29 10:37:11588 days ago1685356631IN
0x41BbD051...C847F494E
0 ETH0.0012532527.94086381
Transfer173446112023-05-26 16:59:59591 days ago1685120399IN
0x41BbD051...C847F494E
0 ETH0.0012929728.82629141
Transfer173072992023-05-21 10:58:11596 days ago1684666691IN
0x41BbD051...C847F494E
0 ETH0.0011664626.00580234
Transfer172988012023-05-20 6:17:11597 days ago1684563431IN
0x41BbD051...C847F494E
0 ETH0.0017553139.13385778
Transfer172861572023-05-18 11:32:59599 days ago1684409579IN
0x41BbD051...C847F494E
0 ETH0.0019734643.99750596
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:
NarfexToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 6 : NarfexToken.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/// @title NarfexToken v3
/// @author Danil Sakhinov
contract NarfexToken is ERC20, Ownable {

    event Migrate(address indexed account, uint256 amount);
    event MasterChefSet(address newAddress);
    event BurnPercentageSet(uint256 percents);
    event MigrationStop();
    event MigrationRun();

    uint256 constant PERCENT_PRECISION = 10**4; // 10000 = 100%
    uint256 constant AUTOBURN_LIMIT = 10**7 wei; // TotalSupply limit above which burning works
    uint256 private _burnPercentage = 30; // 0.3% of burn/farming fee
    address immutable public v1Token; // Old NRFX address for migration v1
    address immutable public v2Token; // Old NRFX address for migration v2
    address public masterChef; // Farming contract address
    bool public isMigrationEnabled = true; // Is allowed to migrate

    /// @param v1Token_ Olf NRFX address
    /// @param v2Token_ Olf NRFX address
    /// @param masterChef_ Farming contract address
    constructor(address v1Token_, address v2Token_, address masterChef_) ERC20('Narfex', 'NRFX') {
        v1Token = v1Token_;
        v2Token = v2Token_;
        masterChef = masterChef_;

        emit MasterChefSet(masterChef_);
        emit MigrationRun();
    }

    /// @notice Migration from an old token to a new one
    /// @param isV2 True if selected old token version is 2
    /// @dev Withdraw all account funds from the old token and mint on the new one
    function migrate(bool isV2) public {
        require(isMigrationEnabled, "Migration is not enabled");

        // Select old token version
        address token = isV2 ? v2Token : v1Token;
        require(token != address(0), "Old token address not set");

        // Check token balance
        uint256 balance = IERC20(token).balanceOf(msg.sender);
        require(balance > 0, "Insufficient balance");

        // Swap tokens
        IERC20(token).transferFrom(msg.sender, address(this), balance);
        _mint(msg.sender, balance);
        
        emit Migrate(msg.sender, balance);
    }

    /// @notice Shortcut function for compability
    function migrate() public {
        migrate(false);
    }

    /// @notice Transfer with burning or sending to a farming contract
    /// @param spender From account address
    /// @param receiver To account address
    /// @param amount Token amount to send
    function _transferWithFee(address spender, address receiver, uint256 amount) internal {
        require(balanceOf(spender) >= amount, "Insufficient balance");

        // Subtract fee and transfer
        uint256 fee = amount * _burnPercentage / PERCENT_PRECISION;
        uint256 transferAmount = amount - fee;
        _transfer(spender, receiver, transferAmount);

        if (fee == 0) return;
        // Burn fee or transfer fee to a farming contract
        if (totalSupply() >= AUTOBURN_LIMIT) {
            _burn(spender, fee);
        } else {
            _transfer(spender, masterChef, fee);
        }
    }

    /// @notice Transfer from message sender account
    /// @param to Recipient account address
    /// @param amount Amount to transfer
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        _transferWithFee(_msgSender(), to, amount);
        return true;
    }

    /// @notice Transfer from account
    /// @param from Sender account address
    /// @param to Recipient account address
    /// @param amount Amount to transfer
    /// @return Is operation success
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transferWithFee(from, to, amount);
        return true;
    }

    /// @notice Set farming contract address
    /// @param masterChef_ Farming contract address
    function setMasterChef(address masterChef_) public onlyOwner {
        masterChef = masterChef_;
        emit MasterChefSet(masterChef_);
    }

    /// @notice Set fee percent
    /// @param percents Fee percent with 4 digits of precision
    function setBurnPercentage(uint256 percents) public onlyOwner {
        require(percents < 10000, "Fee can't be higher than 100%");
        _burnPercentage = percents;
        emit BurnPercentageSet(percents);
    }

    /// @notice Allow to migrate tokens
    function runMigration() public onlyOwner {
        require(!isMigrationEnabled, "Migration already runned");
        isMigrationEnabled = true;
        emit MigrationRun();
    }

    /// @notice Prevent account from migration
    function stopMigration() public onlyOwner {
        require(isMigrationEnabled, "Migration already stopped");
        isMigrationEnabled = false;
        emit MigrationStop();
    }
}

File 2 of 6 : 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 6 : 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 4 of 6 : 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 6 : 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 6 of 6 : 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": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"v1Token_","type":"address"},{"internalType":"address","name":"v2Token_","type":"address"},{"internalType":"address","name":"masterChef_","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":false,"internalType":"uint256","name":"percents","type":"uint256"}],"name":"BurnPercentageSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"MasterChefSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Migrate","type":"event"},{"anonymous":false,"inputs":[],"name":"MigrationRun","type":"event"},{"anonymous":false,"inputs":[],"name":"MigrationStop","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":[{"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isMigrationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isV2","type":"bool"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrate","outputs":[],"stateMutability":"nonpayable","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":[],"name":"runMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percents","type":"uint256"}],"name":"setBurnPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterChef_","type":"address"}],"name":"setMasterChef","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"},{"inputs":[],"name":"v1Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v2Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c0604052601e6006556007805460ff60a01b1916600160a01b1790553480156200002957600080fd5b50604051620016de380380620016de8339810160408190526200004c91620001c7565b6040518060400160405280600681526020016509cc2e4cccaf60d31b8152506040518060400160405280600481526020016309ca48cb60e31b8152508160039081620000999190620002b6565b506004620000a88282620002b6565b505050620000c5620000bf6200015460201b60201c565b62000158565b6001600160a01b0383811660805282811660a052600780546001600160a01b03191691831691821790556040519081527f1458e001b7854e2c06a54d5715b0e93f6ca17face4dfccf78b8ecf4e0aa1a6f19060200160405180910390a16040517f3ee68b6f2cbdfdd75086da9f150cadc2de0fb86a6c8a908700dcd28a4e3138e490600090a150505062000382565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b0381168114620001c257600080fd5b919050565b600080600060608486031215620001dd57600080fd5b620001e884620001aa565b9250620001f860208501620001aa565b91506200020860408501620001aa565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200023c57607f821691505b6020821081036200025d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b157600081815260208120601f850160051c810160208610156200028c5750805b601f850160051c820191505b81811015620002ad5782815560010162000298565b5050505b505050565b81516001600160401b03811115620002d257620002d262000211565b620002ea81620002e3845462000227565b8462000263565b602080601f831160018114620003225760008415620003095750858301515b600019600386901b1c1916600185901b178555620002ad565b600085815260208120601f198616915b82811015620003535788860151825594840194600190910190840162000332565b5085821015620003725787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051611328620003b660003960008181610173015261043501526000818161029e015261040f01526113286000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c806306fdde031461012d578063095ea7b31461014b5780630dbbc0aa1461016e57806318160ddd146101a25780631966bdd3146101b457806323b872dd146101c9578063313ce567146101dc57806333f3533b146101eb57806339509351146101ff5780634e24c03a14610212578063575a86b21461021a57806370a082311461022d578063715018a6146102405780638da5cb5b146102485780638fd3ab801461025057806395d89b4114610258578063a2d9f4dc14610260578063a457c2d714610273578063a9059cbb14610286578063af456cf814610299578063c3f0d327146102c0578063dd62ed3e146102d3578063e19a7bc8146102e6578063f2fde38b146102ee575b600080fd5b610135610301565b6040516101429190611042565b60405180910390f35b61015e6101593660046110ac565b610393565b6040519015158152602001610142565b6101957f000000000000000000000000000000000000000000000000000000000000000081565b60405161014291906110d6565b6002545b604051908152602001610142565b6101c76101c23660046110f8565b6103ad565b005b61015e6101d736600461111c565b6105f7565b60405160128152602001610142565b60075461015e90600160a01b900460ff1681565b61015e61020d3660046110ac565b61061b565b6101c761063d565b600754610195906001600160a01b031681565b6101a661023b366004611158565b6106d8565b6101c76106f3565b610195610707565b6101c7610716565b610135610720565b6101c761026e366004611158565b61072f565b61015e6102813660046110ac565b61078d565b61015e6102943660046110ac565b610808565b6101957f000000000000000000000000000000000000000000000000000000000000000081565b6101c76102ce366004611173565b61081e565b6101a66102e136600461118c565b6108ac565b6101c76108d7565b6101c76102fc366004611158565b61096c565b606060038054610310906111bf565b80601f016020809104026020016040519081016040528092919081815260200182805461033c906111bf565b80156103895780601f1061035e57610100808354040283529160200191610389565b820191906000526020600020905b81548152906001019060200180831161036c57829003601f168201915b5050505050905090565b6000336103a18185856109e5565b60019150505b92915050565b600754600160a01b900460ff166104065760405162461bcd60e51b8152602060048201526018602482015277135a59dc985d1a5bdb881a5cc81b9bdd08195b98589b195960421b60448201526064015b60405180910390fd5b600081610433577f0000000000000000000000000000000000000000000000000000000000000000610455565b7f00000000000000000000000000000000000000000000000000000000000000005b90506001600160a01b0381166104a95760405162461bcd60e51b815260206004820152601960248201527813db19081d1bdad95b881859191c995cdcc81b9bdd081cd95d603a1b60448201526064016103fd565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906104d89033906004016110d6565b602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051991906111f9565b90506000811161053b5760405162461bcd60e51b81526004016103fd90611212565b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038316906323b872dd906064016020604051808303816000875af115801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b29190611240565b506105bd3382610b09565b60405181815233907fa59785389b00cbd19745afbe8d59b28e3161395c6b1e3525861a2b0dede0b90d9060200160405180910390a2505050565b600033610605858285610bb6565b610610858585610c30565b506001949350505050565b6000336103a181858561062e83836108ac565b6106389190611273565b6109e5565b610645610cdf565b600754600160a01b900460ff161561069a5760405162461bcd60e51b8152602060048201526018602482015277135a59dc985d1a5bdb88185b1c9958591e481c9d5b9b995960421b60448201526064016103fd565b6007805460ff60a01b1916600160a01b1790556040517f3ee68b6f2cbdfdd75086da9f150cadc2de0fb86a6c8a908700dcd28a4e3138e490600090a1565b6001600160a01b031660009081526020819052604090205490565b6106fb610cdf565b6107056000610d3e565b565b6005546001600160a01b031690565b61070560006103ad565b606060048054610310906111bf565b610737610cdf565b600780546001600160a01b0319166001600160a01b0383161790556040517f1458e001b7854e2c06a54d5715b0e93f6ca17face4dfccf78b8ecf4e0aa1a6f1906107829083906110d6565b60405180910390a150565b6000338161079b82866108ac565b9050838110156107fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103fd565b61061082868684036109e5565b6000610815338484610c30565b50600192915050565b610826610cdf565b61271081106108775760405162461bcd60e51b815260206004820152601d60248201527f4665652063616e277420626520686967686572207468616e203130302500000060448201526064016103fd565b60068190556040518181527f7714103d2b2bb95b649ee8b59dfa79a958990ebd1e869ec834c80bb8e6816b6a90602001610782565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108df610cdf565b600754600160a01b900460ff166109345760405162461bcd60e51b8152602060048201526019602482015278135a59dc985d1a5bdb88185b1c9958591e481cdd1bdc1c1959603a1b60448201526064016103fd565b6007805460ff60a01b191690556040517ff9be00cca7bd2057b6a29269088983ee347e7316800d7d4a76ba2d7a1f1f169c90600090a1565b610974610cdf565b6001600160a01b0381166109d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fd565b6109e281610d3e565b50565b6001600160a01b038316610a475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103fd565b6001600160a01b038216610aa85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103fd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610b5f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103fd565b8060026000828254610b719190611273565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481526000805160206112d3833981519152910160405180910390a35050565b6000610bc284846108ac565b90506000198114610c2a5781811015610c1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103fd565b610c2a84848484036109e5565b50505050565b80610c3a846106d8565b1015610c585760405162461bcd60e51b81526004016103fd90611212565b600061271060065483610c6b9190611286565b610c75919061129d565b90506000610c8382846112bf565b9050610c90858583610d90565b81600003610c9f575050505050565b62989680610cac60025490565b10610cc057610cbb8583610f22565b610cd8565b600754610cd89086906001600160a01b031684610d90565b5050505050565b33610ce8610707565b6001600160a01b0316146107055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103fd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103fd565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103fd565b6001600160a01b03831660009081526020819052604090205481811015610ece5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103fd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290926000805160206112d3833981519152910160405180910390a3610c2a565b6001600160a01b038216610f825760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103fd565b6001600160a01b03821660009081526020819052604090205481811015610ff65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103fd565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192916000805160206112d3833981519152910160405180910390a3505050565b600060208083528351808285015260005b8181101561106f57858101830151858201604001528201611053565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146110a757600080fd5b919050565b600080604083850312156110bf57600080fd5b6110c883611090565b946020939093013593505050565b6001600160a01b0391909116815260200190565b80151581146109e257600080fd5b60006020828403121561110a57600080fd5b8135611115816110ea565b9392505050565b60008060006060848603121561113157600080fd5b61113a84611090565b925061114860208501611090565b9150604084013590509250925092565b60006020828403121561116a57600080fd5b61111582611090565b60006020828403121561118557600080fd5b5035919050565b6000806040838503121561119f57600080fd5b6111a883611090565b91506111b660208401611090565b90509250929050565b600181811c908216806111d357607f821691505b6020821081036111f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561120b57600080fd5b5051919050565b602080825260149082015273496e73756666696369656e742062616c616e636560601b604082015260600190565b60006020828403121561125257600080fd5b8151611115816110ea565b634e487b7160e01b600052601160045260246000fd5b808201808211156103a7576103a761125d565b80820281158282048414176103a7576103a761125d565b6000826112ba57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156103a7576103a761125d56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206ee2a0bebe51085916d4e9f4c53fbd03fe2f32826165a168471088bb299a345764736f6c6343000811003300000000000000000000000001b443495834d667b42f54d2b77eed6951ed94a4000000000000000000000000cc17e34794b6c160a0f61b58cf30aa6a2a268625000000000000000000000000a4ff4dbb11f3186a1e96d3e8dd232e31159ded9b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101285760003560e01c806306fdde031461012d578063095ea7b31461014b5780630dbbc0aa1461016e57806318160ddd146101a25780631966bdd3146101b457806323b872dd146101c9578063313ce567146101dc57806333f3533b146101eb57806339509351146101ff5780634e24c03a14610212578063575a86b21461021a57806370a082311461022d578063715018a6146102405780638da5cb5b146102485780638fd3ab801461025057806395d89b4114610258578063a2d9f4dc14610260578063a457c2d714610273578063a9059cbb14610286578063af456cf814610299578063c3f0d327146102c0578063dd62ed3e146102d3578063e19a7bc8146102e6578063f2fde38b146102ee575b600080fd5b610135610301565b6040516101429190611042565b60405180910390f35b61015e6101593660046110ac565b610393565b6040519015158152602001610142565b6101957f000000000000000000000000cc17e34794b6c160a0f61b58cf30aa6a2a26862581565b60405161014291906110d6565b6002545b604051908152602001610142565b6101c76101c23660046110f8565b6103ad565b005b61015e6101d736600461111c565b6105f7565b60405160128152602001610142565b60075461015e90600160a01b900460ff1681565b61015e61020d3660046110ac565b61061b565b6101c761063d565b600754610195906001600160a01b031681565b6101a661023b366004611158565b6106d8565b6101c76106f3565b610195610707565b6101c7610716565b610135610720565b6101c761026e366004611158565b61072f565b61015e6102813660046110ac565b61078d565b61015e6102943660046110ac565b610808565b6101957f00000000000000000000000001b443495834d667b42f54d2b77eed6951ed94a481565b6101c76102ce366004611173565b61081e565b6101a66102e136600461118c565b6108ac565b6101c76108d7565b6101c76102fc366004611158565b61096c565b606060038054610310906111bf565b80601f016020809104026020016040519081016040528092919081815260200182805461033c906111bf565b80156103895780601f1061035e57610100808354040283529160200191610389565b820191906000526020600020905b81548152906001019060200180831161036c57829003601f168201915b5050505050905090565b6000336103a18185856109e5565b60019150505b92915050565b600754600160a01b900460ff166104065760405162461bcd60e51b8152602060048201526018602482015277135a59dc985d1a5bdb881a5cc81b9bdd08195b98589b195960421b60448201526064015b60405180910390fd5b600081610433577f00000000000000000000000001b443495834d667b42f54d2b77eed6951ed94a4610455565b7f000000000000000000000000cc17e34794b6c160a0f61b58cf30aa6a2a2686255b90506001600160a01b0381166104a95760405162461bcd60e51b815260206004820152601960248201527813db19081d1bdad95b881859191c995cdcc81b9bdd081cd95d603a1b60448201526064016103fd565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906104d89033906004016110d6565b602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051991906111f9565b90506000811161053b5760405162461bcd60e51b81526004016103fd90611212565b6040516323b872dd60e01b8152336004820152306024820152604481018290526001600160a01b038316906323b872dd906064016020604051808303816000875af115801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b29190611240565b506105bd3382610b09565b60405181815233907fa59785389b00cbd19745afbe8d59b28e3161395c6b1e3525861a2b0dede0b90d9060200160405180910390a2505050565b600033610605858285610bb6565b610610858585610c30565b506001949350505050565b6000336103a181858561062e83836108ac565b6106389190611273565b6109e5565b610645610cdf565b600754600160a01b900460ff161561069a5760405162461bcd60e51b8152602060048201526018602482015277135a59dc985d1a5bdb88185b1c9958591e481c9d5b9b995960421b60448201526064016103fd565b6007805460ff60a01b1916600160a01b1790556040517f3ee68b6f2cbdfdd75086da9f150cadc2de0fb86a6c8a908700dcd28a4e3138e490600090a1565b6001600160a01b031660009081526020819052604090205490565b6106fb610cdf565b6107056000610d3e565b565b6005546001600160a01b031690565b61070560006103ad565b606060048054610310906111bf565b610737610cdf565b600780546001600160a01b0319166001600160a01b0383161790556040517f1458e001b7854e2c06a54d5715b0e93f6ca17face4dfccf78b8ecf4e0aa1a6f1906107829083906110d6565b60405180910390a150565b6000338161079b82866108ac565b9050838110156107fb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103fd565b61061082868684036109e5565b6000610815338484610c30565b50600192915050565b610826610cdf565b61271081106108775760405162461bcd60e51b815260206004820152601d60248201527f4665652063616e277420626520686967686572207468616e203130302500000060448201526064016103fd565b60068190556040518181527f7714103d2b2bb95b649ee8b59dfa79a958990ebd1e869ec834c80bb8e6816b6a90602001610782565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108df610cdf565b600754600160a01b900460ff166109345760405162461bcd60e51b8152602060048201526019602482015278135a59dc985d1a5bdb88185b1c9958591e481cdd1bdc1c1959603a1b60448201526064016103fd565b6007805460ff60a01b191690556040517ff9be00cca7bd2057b6a29269088983ee347e7316800d7d4a76ba2d7a1f1f169c90600090a1565b610974610cdf565b6001600160a01b0381166109d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fd565b6109e281610d3e565b50565b6001600160a01b038316610a475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103fd565b6001600160a01b038216610aa85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103fd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216610b5f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103fd565b8060026000828254610b719190611273565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481526000805160206112d3833981519152910160405180910390a35050565b6000610bc284846108ac565b90506000198114610c2a5781811015610c1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103fd565b610c2a84848484036109e5565b50505050565b80610c3a846106d8565b1015610c585760405162461bcd60e51b81526004016103fd90611212565b600061271060065483610c6b9190611286565b610c75919061129d565b90506000610c8382846112bf565b9050610c90858583610d90565b81600003610c9f575050505050565b62989680610cac60025490565b10610cc057610cbb8583610f22565b610cd8565b600754610cd89086906001600160a01b031684610d90565b5050505050565b33610ce8610707565b6001600160a01b0316146107055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103fd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610df45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103fd565b6001600160a01b038216610e565760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103fd565b6001600160a01b03831660009081526020819052604090205481811015610ece5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103fd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290926000805160206112d3833981519152910160405180910390a3610c2a565b6001600160a01b038216610f825760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103fd565b6001600160a01b03821660009081526020819052604090205481811015610ff65760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103fd565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192916000805160206112d3833981519152910160405180910390a3505050565b600060208083528351808285015260005b8181101561106f57858101830151858201604001528201611053565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146110a757600080fd5b919050565b600080604083850312156110bf57600080fd5b6110c883611090565b946020939093013593505050565b6001600160a01b0391909116815260200190565b80151581146109e257600080fd5b60006020828403121561110a57600080fd5b8135611115816110ea565b9392505050565b60008060006060848603121561113157600080fd5b61113a84611090565b925061114860208501611090565b9150604084013590509250925092565b60006020828403121561116a57600080fd5b61111582611090565b60006020828403121561118557600080fd5b5035919050565b6000806040838503121561119f57600080fd5b6111a883611090565b91506111b660208401611090565b90509250929050565b600181811c908216806111d357607f821691505b6020821081036111f357634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561120b57600080fd5b5051919050565b602080825260149082015273496e73756666696369656e742062616c616e636560601b604082015260600190565b60006020828403121561125257600080fd5b8151611115816110ea565b634e487b7160e01b600052601160045260246000fd5b808201808211156103a7576103a761125d565b80820281158282048414176103a7576103a761125d565b6000826112ba57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156103a7576103a761125d56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206ee2a0bebe51085916d4e9f4c53fbd03fe2f32826165a168471088bb299a345764736f6c63430008110033

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

00000000000000000000000001b443495834d667b42f54d2b77eed6951ed94a4000000000000000000000000cc17e34794b6c160a0f61b58cf30aa6a2a268625000000000000000000000000a4ff4dbb11f3186a1e96d3e8dd232e31159ded9b

-----Decoded View---------------
Arg [0] : v1Token_ (address): 0x01b443495834D667b42f54d2b77eEd6951eD94a4
Arg [1] : v2Token_ (address): 0xCc17e34794B6c160a0F61B58CF30AA6a2a268625
Arg [2] : masterChef_ (address): 0xa4FF4DBb11F3186a1e96d3e8DD232E31159Ded9B

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000001b443495834d667b42f54d2b77eed6951ed94a4
Arg [1] : 000000000000000000000000cc17e34794b6c160a0f61b58cf30aa6a2a268625
Arg [2] : 000000000000000000000000a4ff4dbb11f3186a1e96d3e8dd232e31159ded9b


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.