ETH Price: $3,348.68 (-2.04%)

Token

Xfai ETH (XFETH)
 

Overview

Max Total Supply

0.674743610513518334 XFETH

Holders

73

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 XFETH

Value
$0.00
0x6cedafa1af8226876ae77b0634e74174640c2a55
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
XFETH

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, None license
File 1 of 7 : xfETH.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import "ERC20.sol";
import "IXFETH.sol";
import "IBorrower.sol";

/**
 * @title The xfETH contract
 * @author Xfai
 * @notice The xfETH token is a flash mintable wrapped token that can accumulate fees over time through flash mintable arbitrage
 */
contract XFETH is ERC20, IXFETH {
  /**
   * @notice The owner of the xfETH contract
   */
  address public override owner;

  /**
   * @notice The initial arbitrageur of the xfETH contract.
   * @dev Only used while isPublic is false.
   */
  address private arbitrageur;

  /**
   * @notice The fee applied on flash mints
   */
  uint public override flashMintFee;

  /**
   * @notice Used to prevet reentrancy attacks
   */
  uint private constant _NOT_ENTERED = 1;

  /**
   * @notice Used to prevet reentrancy attacks
   */
  uint private constant _ENTERED = 2;

  /**
   * @notice Used to prevet reentrancy attacks
   */
  uint private _status;

  /**
   * @notice If true, anyone can perform flash minting
   */
  bool private _isPublic;

  modifier nonReentrant() {
    require(_status != _ENTERED, 'xfETH: reentrant call');
    _status = _ENTERED;
    _;
    _status = _NOT_ENTERED;
  }

  modifier nonReentrantRead() {
    require(_status != _ENTERED, 'xfETH: reentrant call');
    _;
  }

  modifier onlyOwner() {
    require(msg.sender == owner, 'xfETH: NOT_OWNER');
    _;
  }

  modifier isPublic() {
    if (_isPublic == false) {
      require(msg.sender == arbitrageur, 'xfETH: NOT_ARBITRAGEUR');
    }
    _;
  }

  /**
   * @notice Some dust eth needs to be permanently locked to prevent potential zero divisions
   */
  constructor(address _owner, uint _flashMintFee) payable ERC20() {
    _mint(address(0), msg.value);
    owner = _owner;
    flashMintFee = _flashMintFee;
    _status = _NOT_ENTERED;
    _name = 'Xfai ETH';
    _symbol = 'XFETH';
  }

  receive() external payable {
    deposit();
  }

  /**
   * @notice Changes the isPublic status of xfETH.
   * @dev setStatus can only be called by the owner of the contract
   * @param _state The new state of the xfETH isPublic modifier
   */
  function setStatus(bool _state) external override nonReentrant onlyOwner {
    _isPublic = _state;
    emit StatusChange(_state);
  }

  /**
   * @notice Changes the arbitrageur of xfETH contract
   * @dev setArbitrageur can only be called by the owner of the contract
   * @param _arbitrageur The new owner of the xfETH contract
   */
  function setArbitrageur(address _arbitrageur) external override nonReentrant onlyOwner {
    arbitrageur = _arbitrageur;
    emit ArbitrageurChange(_arbitrageur);
  }

  /**
   * @notice Changes the owner of xfETH contract
   * @dev setOwner can only be called by the owner of the contract
   * @param _newOwner The new owner of the xfETH contract
   */
  function setOwner(address _newOwner) external override nonReentrant onlyOwner {
    owner = _newOwner;
    emit OwnerChange(_newOwner);
  }

  /**
   * @notice Changes the fee percentage of xfETH for flash minting
   * @dev setFlashMintFee can only be called by the owner of the contract
   * @param _newFee The fee of the xfETH contract
   */
  function setFlashMintFee(uint _newFee) external override nonReentrant onlyOwner {
    flashMintFee = _newFee;
    emit FeeChange(_newFee);
  }

  /**
   * @notice Returns the exchange value of _xfETHAmount in terms of ETH
   * @param _xfETHAmount The amount of xfETH
   * @return _ETH The exchange value of _xfETHAmount in terms of ETH
   */
  function xfETHToETH(uint _xfETHAmount) public view override nonReentrantRead returns (uint _ETH) {
    _ETH = _xfETHToETH(_xfETHAmount);
  }

  /**
   * @notice Returns the exchange value of _ETHAmount in terms of xfETH
   * @param _ETHAmount The amount of ETH
   * @return _xfETH The exchange value of _ETHAmount in terms of xfETH
   */
  function ETHToXfETH(uint _ETHAmount) public view override nonReentrantRead returns (uint _xfETH) {
    _xfETH = (_ETHAmount * totalSupply()) / address(this).balance;
  }

  /**
   * @notice Accepts as input ETH and returns a given amount of xfETH
   * @dev deposit is a payable function
   * @return amountInXfETH The amount of xfETH received through the deposit
   */
  function deposit() public payable override nonReentrant returns (uint amountInXfETH) {
    amountInXfETH = (msg.value * totalSupply()) / (address(this).balance - msg.value);
    _mint(msg.sender, amountInXfETH);
    emit Deposit(msg.sender, amountInXfETH, msg.value);
  }

  /**
   * @notice Accepts as input xfETH and returns a given amount of ETH
   * @return amountInETH The amount of ETH received through the withdraw
   */
  function withdraw(uint _xfETHAmount) public override nonReentrant returns (uint amountInETH) {
    amountInETH = _xfETHToETH(_xfETHAmount);
    _burn(msg.sender, _xfETHAmount);
    payable(msg.sender).transfer(amountInETH);
    emit Withdrawal(msg.sender, amountInETH);
  }

  /**
   * @notice Allows anyone to mint the token as long as the same amount + a fee get burned by the end of the transaction.
   * @param _amount The amount of xfETH to be flash minted
   */
  function flashMint(uint _amount) external override nonReentrant isPublic {
    // get current ETH balance
    uint ETHBalance = address(this).balance;
    uint xfETHTotalSupply = totalSupply();

    // compute fee
    uint fee = (_amount * flashMintFee) / 10000;

    // mint tokens
    _mint(msg.sender, _amount);

    // hand control to borrower
    IBorrower(msg.sender).executeOnFlashMint(_amount);

    // burn tokens + fee
    _burn(msg.sender, _amount + fee); // reverts if `msg.sender` does not have enough tokens to burn

    // double-check that the contract's ETH balance has not decreased
    assert(address(this).balance >= ETHBalance);

    // double-check that the contract's xfETH supply has decreased
    assert(totalSupply() < xfETHTotalSupply);

    emit FlashMint(msg.sender, _amount);
  }

  function _xfETHToETH(uint _xfETHAmount) private view returns (uint amountInETH) {
    uint balance = address(this).balance;
    amountInETH = (_xfETHAmount * balance) / totalSupply();
  }
}

File 2 of 7 : 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 "IERC20Metadata.sol";
import "Context.sol";

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

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

  uint256 private _totalSupply;

  string internal _name;
  string internal _symbol;

  /**
   * @dev Sets the values for {name} and {symbol}.
   *
   * All two of these values are immutable: they can only be set once during
   * construction.
   */
  constructor() {}

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

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

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

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

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

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

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

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

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

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

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

    return true;
  }

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

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

  /** @dev Creates `amount` tokens and assigns them to `account`, increasing
   * the total supply.
   *
   * Emits a {Transfer} event with `from` set to the zero address.
   */
  function _mint(address account, uint256 amount) internal virtual {
    _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);
  }

  /**
   * @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');

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

  /**
   * @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);
      }
    }
  }
}

File 3 of 7 : 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 4 of 7 : 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 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 7 : IXFETH.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import "IERC20Metadata.sol";

interface IXFETH is IERC20Metadata {
  event Deposit(address indexed dst, uint amountXfETH, uint amountETH);
  event Withdrawal(address indexed src, uint amountETH);
  event FlashMint(address indexed dst, uint amountXfETH);
  event FeeChange(uint newFee);
  event OwnerChange(address newOwner);
  event ArbitrageurChange(address arbitrageur);
  event StatusChange(bool state);

  function owner() external view returns (address _owner);

  function flashMintFee() external view returns (uint _flashMintFee);

  function setStatus(bool _state) external;

  function setOwner(address _newOwner) external;

  function setArbitrageur(address _arbitrageur) external;

  function setFlashMintFee(uint _newFee) external;

  function xfETHToETH(uint _xfETHAmount) external view returns (uint _ETH);

  function ETHToXfETH(uint _ETHAmount) external view returns (uint _xfETH);

  function deposit() external payable returns (uint amountInXfETH);

  function withdraw(uint _liquidity) external returns (uint amountInETH);

  function flashMint(uint _amount) external;
}

File 7 of 7 : IBorrower.sol
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.19;

interface IBorrower {
  function executeOnFlashMint(uint _amount) external;
}

Settings
{
  "evmVersion": "london",
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "libraries": {
    "xfETH.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_flashMintFee","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"arbitrageur","type":"address"}],"name":"ArbitrageurChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountXfETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"FeeChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountXfETH","type":"uint256"}],"name":"FlashMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"StatusChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[{"internalType":"uint256","name":"_ETHAmount","type":"uint256"}],"name":"ETHToXfETH","outputs":[{"internalType":"uint256","name":"_xfETH","type":"uint256"}],"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":[],"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":"deposit","outputs":[{"internalType":"uint256","name":"amountInXfETH","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"flashMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flashMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":[{"internalType":"address","name":"_arbitrageur","type":"address"}],"name":"setArbitrageur","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setFlashMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setStatus","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":"uint256","name":"_xfETHAmount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amountInETH","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_xfETHAmount","type":"uint256"}],"name":"xfETHToETH","outputs":[{"internalType":"uint256","name":"_ETH","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260405162001e5638038062001e56833981016040819052620000269162000127565b62000033600034620000bc565b600580546001600160a01b0319166001600160a01b03841617905560078190556001600890815560408051808201909152908152670b0ccc2d2408aa8960c31b602082015260039062000087908262000208565b506040805180820190915260058152640b08c8aa8960db1b6020820152600490620000b3908262000208565b505050620002fc565b8060026000828254620000d09190620002d4565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080604083850312156200013b57600080fd5b82516001600160a01b03811681146200015357600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018e57607f821691505b602082108103620001af57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020357600081815260208120601f850160051c81016020861015620001de5750805b601f850160051c820191505b81811015620001ff57828155600101620001ea565b5050505b505050565b81516001600160401b0381111562000224576200022462000163565b6200023c8162000235845462000179565b84620001b5565b602080601f8311600181146200027457600084156200025b5750858301515b600019600386901b1c1916600185901b178555620001ff565b600085815260208120601f198616915b82811015620002a55788860151825594840194600190910190840162000284565b5085821015620002c45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620002f657634e487b7160e01b600052601160045260246000fd5b92915050565b611b4a806200030c6000396000f3fe6080604052600436106101795760003560e01c806370a08231116100cb578063a398030d1161007f578063b3c1740411610059578063b3c1740414610443578063d0e30db014610463578063dd62ed3e1461046b57600080fd5b8063a398030d146103e3578063a457c2d714610403578063a9059cbb1461042357600080fd5b80638da5cb5b116100b05780638da5cb5b14610366578063940a1dc0146103b857806395d89b41146103ce57600080fd5b806370a0823114610303578063830d557c1461034657600080fd5b80631d2a0e3d1161012d578063313ce56711610107578063313ce567146102a757806339509351146102c35780635c40f6f4146102e357600080fd5b80631d2a0e3d1461024757806323b872dd146102675780632e1a7d4d1461028757600080fd5b806313af40351161015e57806313af4035146101e857806318160ddd1461020857806319ffd7ce1461022757600080fd5b806306fdde031461018d578063095ea7b3146101b857600080fd5b36610188576101866104be565b005b600080fd5b34801561019957600080fd5b506101a26105a5565b6040516101af9190611867565b60405180910390f35b3480156101c457600080fd5b506101d86101d33660046118fc565b610637565b60405190151581526020016101af565b3480156101f457600080fd5b50610186610203366004611926565b610651565b34801561021457600080fd5b506002545b6040519081526020016101af565b34801561023357600080fd5b50610186610242366004611941565b6107c2565b34801561025357600080fd5b50610186610262366004611941565b6109e0565b34801561027357600080fd5b506101d861028236600461195a565b610b07565b34801561029357600080fd5b506102196102a2366004611941565b610b2b565b3480156102b357600080fd5b50604051601281526020016101af565b3480156102cf57600080fd5b506101d86102de3660046118fc565b610c20565b3480156102ef57600080fd5b506101866102fe366004611996565b610c6c565b34801561030f57600080fd5b5061021961031e366004611926565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561035257600080fd5b50610186610361366004611926565b610dbd565b34801561037257600080fd5b506005546103939073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b3480156103c457600080fd5b5061021960075481565b3480156103da57600080fd5b506101a2610f22565b3480156103ef57600080fd5b506102196103fe366004611941565b610f31565b34801561040f57600080fd5b506101d861041e3660046118fc565b610fa8565b34801561042f57600080fd5b506101d861043e3660046118fc565b611079565b34801561044f57600080fd5b5061021961045e366004611941565b611087565b6102196104be565b34801561047757600080fd5b506102196104863660046119b8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000600260085403610531576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c000000000000000000000060448201526064015b60405180910390fd5b60026008556105403447611a1a565b60025461054d9034611a2d565b6105579190611a44565b90506105633382611113565b6040805182815234602082015233917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15910160405180910390a2600160085590565b6060600380546105b490611a7f565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090611a7f565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b600033610645818585611189565b60019150505b92915050565b6002600854036106bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fb0e6698704f906b344e27d5c15e5c014e1fb1c960fae1d551b984e55e9ca49d9906020015b60405180910390a1506001600855565b60026008540361082e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560095460ff1615156000036108c35760065473ffffffffffffffffffffffffffffffffffffffff1633146108c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f78664554483a204e4f545f4152424954524147455552000000000000000000006044820152606401610528565b4760006108cf60025490565b90506000612710600754856108e49190611a2d565b6108ee9190611a44565b90506108fa3385611113565b6040517f52e916420000000000000000000000000000000000000000000000000000000081526004810185905233906352e9164290602401600060405180830381600087803b15801561094c57600080fd5b505af1158015610960573d6000803e3d6000fd5b505050506109793382866109749190611ad2565b61133d565b8247101561098957610989611ae5565b8161099360025490565b106109a0576109a0611ae5565b60405184815233907f5b9ea35ccc2de5176fed8512b7b27b62fd5c98bce089f76ef67287ffa759db9d9060200160405180910390a2505060016008555050565b600260085403610a4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610ad2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b60078190556040518181527f4c10ca068ff7002cf5da78f2f697d1e91f6f0ac27f7344b28e8ef25263f87e5d906020016107b2565b600033610b158582856114f9565b610b208585856115d0565b506001949350505050565b6000600260085403610b99576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b6002600855610ba782611840565b9050610bb3338361133d565b604051339082156108fc029083906000818181858888f19350505050158015610be0573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a26001600855919050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906106459082908690610c67908790611ad2565b611189565b600260085403610cd8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610d5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527f31049bf3bf355501468eae392a37a331d82c9afcb4426073a12b21f1d597fb8c906020016107b2565b600260085403610e29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610eaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f4f241716f46457fef8528c172e3954e0223af8ed9be4b1d11cf8b2c82706a4e6906020016107b2565b6060600480546105b490611a7f565b6000600260085403610f9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b61064b82611840565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b610b208286868403611189565b6000336106458185856115d0565b60006002600854036110f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b476110ff60025490565b6111099084611a2d565b61064b9190611a44565b80600260008282546111259190611ad2565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff831661122b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff82166112ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166113e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611330565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146115ca57818110156115bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610528565b6115ca8484848403611189565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff8216611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156117cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b60004761184c60025490565b6118568285611a2d565b6118609190611a44565b9392505050565b600060208083528351808285015260005b8181101561189457858101830151858201604001528201611878565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146118f757600080fd5b919050565b6000806040838503121561190f57600080fd5b611918836118d3565b946020939093013593505050565b60006020828403121561193857600080fd5b611860826118d3565b60006020828403121561195357600080fd5b5035919050565b60008060006060848603121561196f57600080fd5b611978846118d3565b9250611986602085016118d3565b9150604084013590509250925092565b6000602082840312156119a857600080fd5b8135801515811461186057600080fd5b600080604083850312156119cb57600080fd5b6119d4836118d3565b91506119e2602084016118d3565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561064b5761064b6119eb565b808202811582820484141761064b5761064b6119eb565b600082611a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181811c90821680611a9357607f821691505b602082108103611acc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561064b5761064b6119eb565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea2646970667358221220d39df05b6ca8b9432caa1046e30908abd223bb6f18b26ad3c66f3ecc95f5e14064736f6c634300081300330000000000000000000000001d3dc4b584bc687fb3c9adc1761858694728b1b3000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x6080604052600436106101795760003560e01c806370a08231116100cb578063a398030d1161007f578063b3c1740411610059578063b3c1740414610443578063d0e30db014610463578063dd62ed3e1461046b57600080fd5b8063a398030d146103e3578063a457c2d714610403578063a9059cbb1461042357600080fd5b80638da5cb5b116100b05780638da5cb5b14610366578063940a1dc0146103b857806395d89b41146103ce57600080fd5b806370a0823114610303578063830d557c1461034657600080fd5b80631d2a0e3d1161012d578063313ce56711610107578063313ce567146102a757806339509351146102c35780635c40f6f4146102e357600080fd5b80631d2a0e3d1461024757806323b872dd146102675780632e1a7d4d1461028757600080fd5b806313af40351161015e57806313af4035146101e857806318160ddd1461020857806319ffd7ce1461022757600080fd5b806306fdde031461018d578063095ea7b3146101b857600080fd5b36610188576101866104be565b005b600080fd5b34801561019957600080fd5b506101a26105a5565b6040516101af9190611867565b60405180910390f35b3480156101c457600080fd5b506101d86101d33660046118fc565b610637565b60405190151581526020016101af565b3480156101f457600080fd5b50610186610203366004611926565b610651565b34801561021457600080fd5b506002545b6040519081526020016101af565b34801561023357600080fd5b50610186610242366004611941565b6107c2565b34801561025357600080fd5b50610186610262366004611941565b6109e0565b34801561027357600080fd5b506101d861028236600461195a565b610b07565b34801561029357600080fd5b506102196102a2366004611941565b610b2b565b3480156102b357600080fd5b50604051601281526020016101af565b3480156102cf57600080fd5b506101d86102de3660046118fc565b610c20565b3480156102ef57600080fd5b506101866102fe366004611996565b610c6c565b34801561030f57600080fd5b5061021961031e366004611926565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561035257600080fd5b50610186610361366004611926565b610dbd565b34801561037257600080fd5b506005546103939073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101af565b3480156103c457600080fd5b5061021960075481565b3480156103da57600080fd5b506101a2610f22565b3480156103ef57600080fd5b506102196103fe366004611941565b610f31565b34801561040f57600080fd5b506101d861041e3660046118fc565b610fa8565b34801561042f57600080fd5b506101d861043e3660046118fc565b611079565b34801561044f57600080fd5b5061021961045e366004611941565b611087565b6102196104be565b34801561047757600080fd5b506102196104863660046119b8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000600260085403610531576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c000000000000000000000060448201526064015b60405180910390fd5b60026008556105403447611a1a565b60025461054d9034611a2d565b6105579190611a44565b90506105633382611113565b6040805182815234602082015233917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15910160405180910390a2600160085590565b6060600380546105b490611a7f565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090611a7f565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b600033610645818585611189565b60019150505b92915050565b6002600854036106bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fb0e6698704f906b344e27d5c15e5c014e1fb1c960fae1d551b984e55e9ca49d9906020015b60405180910390a1506001600855565b60026008540361082e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560095460ff1615156000036108c35760065473ffffffffffffffffffffffffffffffffffffffff1633146108c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f78664554483a204e4f545f4152424954524147455552000000000000000000006044820152606401610528565b4760006108cf60025490565b90506000612710600754856108e49190611a2d565b6108ee9190611a44565b90506108fa3385611113565b6040517f52e916420000000000000000000000000000000000000000000000000000000081526004810185905233906352e9164290602401600060405180830381600087803b15801561094c57600080fd5b505af1158015610960573d6000803e3d6000fd5b505050506109793382866109749190611ad2565b61133d565b8247101561098957610989611ae5565b8161099360025490565b106109a0576109a0611ae5565b60405184815233907f5b9ea35ccc2de5176fed8512b7b27b62fd5c98bce089f76ef67287ffa759db9d9060200160405180910390a2505060016008555050565b600260085403610a4c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610ad2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b60078190556040518181527f4c10ca068ff7002cf5da78f2f697d1e91f6f0ac27f7344b28e8ef25263f87e5d906020016107b2565b600033610b158582856114f9565b610b208585856115d0565b506001949350505050565b6000600260085403610b99576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b6002600855610ba782611840565b9050610bb3338361133d565b604051339082156108fc029083906000818181858888f19350505050158015610be0573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a26001600855919050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906106459082908690610c67908790611ad2565b611189565b600260085403610cd8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610d5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527f31049bf3bf355501468eae392a37a331d82c9afcb4426073a12b21f1d597fb8c906020016107b2565b600260085403610e29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b600260085560055473ffffffffffffffffffffffffffffffffffffffff163314610eaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f78664554483a204e4f545f4f574e4552000000000000000000000000000000006044820152606401610528565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f4f241716f46457fef8528c172e3954e0223af8ed9be4b1d11cf8b2c82706a4e6906020016107b2565b6060600480546105b490611a7f565b6000600260085403610f9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b61064b82611840565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091908381101561106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610528565b610b208286868403611189565b6000336106458185856115d0565b60006002600854036110f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f78664554483a207265656e7472616e742063616c6c00000000000000000000006044820152606401610528565b476110ff60025490565b6111099084611a2d565b61064b9190611a44565b80600260008282546111259190611ad2565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff831661122b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff82166112ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff82166113e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611330565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146115ca57818110156115bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610528565b6115ca8484848403611189565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff8216611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156117cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610528565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b60004761184c60025490565b6118568285611a2d565b6118609190611a44565b9392505050565b600060208083528351808285015260005b8181101561189457858101830151858201604001528201611878565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146118f757600080fd5b919050565b6000806040838503121561190f57600080fd5b611918836118d3565b946020939093013593505050565b60006020828403121561193857600080fd5b611860826118d3565b60006020828403121561195357600080fd5b5035919050565b60008060006060848603121561196f57600080fd5b611978846118d3565b9250611986602085016118d3565b9150604084013590509250925092565b6000602082840312156119a857600080fd5b8135801515811461186057600080fd5b600080604083850312156119cb57600080fd5b6119d4836118d3565b91506119e2602084016118d3565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181038181111561064b5761064b6119eb565b808202811582820484141761064b5761064b6119eb565b600082611a7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181811c90821680611a9357607f821691505b602082108103611acc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561064b5761064b6119eb565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fdfea2646970667358221220d39df05b6ca8b9432caa1046e30908abd223bb6f18b26ad3c66f3ecc95f5e14064736f6c63430008130033

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

0000000000000000000000001d3dc4b584bc687fb3c9adc1761858694728b1b3000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : _owner (address): 0x1D3DC4b584bc687fB3C9AdC1761858694728B1b3
Arg [1] : _flashMintFee (uint256): 10

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001d3dc4b584bc687fb3c9adc1761858694728b1b3
Arg [1] : 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.