ETH Price: $3,134.76 (+0.41%)
Gas: 4 Gwei

Token

hiBAYC (hiBAYC)
 

Overview

Max Total Supply

4,977,000 hiBAYC

Holders

223 (0.00%)

Total Transfers

-

Market

Price

$0.03 @ 0.000010 ETH (+3.22%)

Onchain Market Cap

$153,696.33

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

hiBAYC is an ERC-20 token representing 1/1,000,000 ownership of one BAYC in the BAYC vault of Fracton Protocol, aiming to release NFT fractions' liquidity further. It can be two-way exchanged with People's BAYC and one-way converted from Blind Box - People's BAYC.

Market

Volume (24H):$16,809.89
Market Capitalization:$0.00
Circulating Supply:0.00 hiBAYC
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FractonFFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : FractonFFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '../interface/IFractonFFT.sol';
import '../interface/IFractonTokenFactory.sol';

contract FractonFFT is ERC20, IFractonFFT {
  using SafeMath for uint256;

  mapping(address => bool) private _isExcludedFromFee;

  address public _factory;

  uint256 public vaultPercent = 20;
  uint256 public pfVaultPercent = 0;

  modifier onlyOwner() {
    address owner = IFractonTokenFactory(_factory).getowner();
    require(msg.sender == owner, 'Fracton: caller is not the owner');
    _;
  }

  modifier onlyDAO() {
    address dao = IFractonTokenFactory(_factory).getDAOAddress();
    require(msg.sender == dao, 'Fracton: caller is not Fracton DAO');
    _;
  }

  modifier onlySwap() {
    address dao = IFractonTokenFactory(_factory).getSwapAddress();
    require(msg.sender == dao, 'Fracton: caller is not swap');
    _;
  }

  constructor(string memory name_, string memory symbol_)
    ERC20(name_, symbol_)
  {
    _factory = msg.sender;

    _isExcludedFromFee[_factory] = true;
    _isExcludedFromFee[IFractonTokenFactory(_factory).getSwapAddress()] = true;
    _isExcludedFromFee[
      IFractonTokenFactory(_factory).getPoolFundingVaultAddress()
    ] = true;
    _isExcludedFromFee[IFractonTokenFactory(_factory).getVaultAddress()] = true;
    _isExcludedFromFee[address(this)] = true;
  }

  function swapmint(uint256 amount, address to)
    external
    virtual
    override
    onlySwap
    returns (bool)
  {
    _mint(to, amount);
    return true;
  }

  /* math that SafeMath doesn't include */
  function ceil(uint256 a, uint256 m) internal pure returns (uint256) {
    uint256 c = a.add(m);
    uint256 d = c.sub(1);
    return d.div(m).mul(m);
  }

  function cut(uint256 value, uint256 percent) public pure returns (uint256) {
    if (percent == 0) {
      return 0;
    } else {
      uint256 roundValue = ceil(value, percent);
      uint256 cutValue = roundValue.mul(percent).div(10000);
      return cutValue;
    }
  }

  function transfer(address to, uint256 value)
    public
    virtual
    override(ERC20, IFractonFFT)
    returns (bool)
  {
    address from = _msgSender();
    require(value <= balanceOf(from), 'from balance insufficient');

    if (isExcludedFromFee(from) || isExcludedFromFee(to)) {
      _transfer(from, to, value);
    } else {
      uint256 vaultFee = cut(value, vaultPercent);
      uint256 pfVaultFee = cut(value, pfVaultPercent);
      uint256 tokensToTransfer = value.sub(vaultFee).sub(pfVaultFee);

      _transfer(
        from,
        IFractonTokenFactory(_factory).getVaultAddress(),
        vaultFee
      );
      _transfer(
        from,
        IFractonTokenFactory(_factory).getPoolFundingVaultAddress(),
        pfVaultFee
      );
      _transfer(from, to, tokensToTransfer);
    }
    return true;
  }

  function multiTransfer(address[] memory receivers, uint256[] memory amounts)
    public
    virtual
    override
  {
    for (uint256 i = 0; i < receivers.length; i++) {
      transfer(receivers[i], amounts[i]);
    }
  }

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) public virtual override(ERC20, IFractonFFT) returns (bool) {
    address spender = _msgSender();
    require(value <= balanceOf(from), 'from balance insufficient');

    if (isExcludedFromFee(from) || isExcludedFromFee(to)) {
      _spendAllowance(from, spender, value);
      _transfer(from, to, value);
    } else {
      uint256 vaultFee = cut(value, vaultPercent);
      uint256 pfVaultFee = cut(value, pfVaultPercent);
      uint256 tokensToTransfer = value.sub(vaultFee).sub(pfVaultFee);
      _spendAllowance(from, spender, value);

      _transfer(
        from,
        IFractonTokenFactory(_factory).getVaultAddress(),
        vaultFee
      );
      _transfer(
        from,
        IFractonTokenFactory(_factory).getPoolFundingVaultAddress(),
        pfVaultFee
      );
      _transfer(from, to, tokensToTransfer);
    }

    return true;
  }

  function burnFrom(address from, uint256 value)
    external
    virtual
    override
    returns (bool)
  {
    address spender = _msgSender();
    if (from != spender) {
      _spendAllowance(from, spender, value);
    }
    _burn(from, value);
    return true;
  }

  function excludeFromFee(address account) public onlyDAO returns (bool) {
    _isExcludedFromFee[account] = true;
    return true;
  }

  function batchExcludeFromFee(address[] memory accounts)
    external
    onlyDAO
    returns (bool)
  {
    for (uint256 i = 0; i < accounts.length; i++) {
      _isExcludedFromFee[accounts[i]] = true;
    }
    return true;
  }

  function includeInFee(address account) external onlyDAO returns (bool) {
    _isExcludedFromFee[account] = false;
    return true;
  }

  function updateFee(uint256 vaultPercent_, uint256 pfVaultPercent_)
    external
    override
    onlyDAO
    returns (bool)
  {
    vaultPercent = vaultPercent_;
    pfVaultPercent = pfVaultPercent_;

    emit SetPercent(vaultPercent_, pfVaultPercent_);
    return true;
  }

  function isExcludedFromFee(address account)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _isExcludedFromFee[account];
  }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 8 : IFractonFFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

interface IFractonFFT is IERC20 {
  event SetPercent(uint256 vaultPercent, uint256 pfVaultPercent);

  function swapmint(uint256 amount, address to) external returns (bool);

  function transfer(address to, uint256 value) external returns (bool);

  function multiTransfer(address[] memory receivers, uint256[] memory amounts)
    external;

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool);

  function burnFrom(address from, uint256 value) external returns (bool);

  function isExcludedFromFee(address account) external view returns (bool);

  function updateFee(uint256 vaultPercent_, uint256 pfVaultPercent_)
    external
    returns (bool);
}

File 5 of 8 : IFractonTokenFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

interface IFractonTokenFactory {
  function getowner() external view returns (address);

  function getDAOAddress() external view returns (address);

  function getVaultAddress() external view returns (address);

  function getSwapAddress() external view returns (address);

  function getPoolFundingVaultAddress() external view returns (address);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"vaultPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pfVaultPercent","type":"uint256"}],"name":"SetPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"batchExcludeFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"cut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"account","type":"address"}],"name":"excludeFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"multiTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pfVaultPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"swapmint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"vaultPercent_","type":"uint256"},{"internalType":"uint256","name":"pfVaultPercent_","type":"uint256"}],"name":"updateFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vaultPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052601460075560006008553480156200001b57600080fd5b50604051620036aa380380620036aa8339818101604052810190620000419190620006d0565b818181600390805190602001906200005b92919062000483565b5080600490805190602001906200007492919062000483565b50505033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160056000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166385811fbf6040518163ffffffff1660e01b815260040160206040518083038186803b158015620001a157600080fd5b505afa158015620001b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dc9190620007ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328fa46a16040518163ffffffff1660e01b815260040160206040518083038186803b1580156200029c57600080fd5b505afa158015620002b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d79190620007ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160056000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365cacaa46040518163ffffffff1660e01b815260040160206040518083038186803b1580156200039757600080fd5b505afa158015620003ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d29190620007ba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505062000851565b82805462000491906200081b565b90600052602060002090601f016020900481019282620004b5576000855562000501565b82601f10620004d057805160ff191683800117855562000501565b8280016001018555821562000501579182015b8281111562000500578251825591602001919060010190620004e3565b5b50905062000510919062000514565b5090565b5b808211156200052f57600081600090555060010162000515565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200059c8262000551565b810181811067ffffffffffffffff82111715620005be57620005bd62000562565b5b80604052505050565b6000620005d362000533565b9050620005e1828262000591565b919050565b600067ffffffffffffffff82111562000604576200060362000562565b5b6200060f8262000551565b9050602081019050919050565b60005b838110156200063c5780820151818401526020810190506200061f565b838111156200064c576000848401525b50505050565b6000620006696200066384620005e6565b620005c7565b9050828152602081018484840111156200068857620006876200054c565b5b620006958482856200061c565b509392505050565b600082601f830112620006b557620006b462000547565b5b8151620006c784826020860162000652565b91505092915050565b60008060408385031215620006ea57620006e96200053d565b5b600083015167ffffffffffffffff8111156200070b576200070a62000542565b5b62000719858286016200069d565b925050602083015167ffffffffffffffff8111156200073d576200073c62000542565b5b6200074b858286016200069d565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007828262000755565b9050919050565b620007948162000775565b8114620007a057600080fd5b50565b600081519050620007b48162000789565b92915050565b600060208284031215620007d357620007d26200053d565b5b6000620007e384828501620007a3565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200083457607f821691505b602082108114156200084b576200084a620007ec565b5b50919050565b612e4980620008616000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80635342acb4116100c3578063a457c2d71161007c578063a457c2d714610402578063a9059cbb14610432578063c5cc6b6a14610462578063dd62ed3e14610480578063e3a8e2e5146104b0578063ea2f0b37146104e05761014d565b80635342acb41461030657806370a0823114610336578063778317411461036657806379cc679014610384578063937eb61a146103b457806395d89b41146103e45761014d565b806323b872dd1161011557806323b872dd1461020a5780632740c1971461023a578063313ce5671461026a578063395093511461028857806340eae821146102b8578063437823ec146102d65761014d565b806306fdde0314610152578063095ea7b314610170578063117c985b146101a057806318160ddd146101d05780631e89d545146101ee575b600080fd5b61015a610510565b6040516101679190611eb3565b60405180910390f35b61018a60048036038101906101859190611f7d565b6105a2565b6040516101979190611fd8565b60405180910390f35b6101ba60048036038101906101b59190611ff3565b6105c5565b6040516101c79190612042565b60405180910390f35b6101d861061d565b6040516101e59190612042565b60405180910390f35b61020860048036038101906102039190612268565b610627565b005b610224600480360381019061021f91906122e0565b61068a565b6040516102319190611fd8565b60405180910390f35b610254600480360381019061024f9190611ff3565b6108de565b6040516102619190611fd8565b60405180910390f35b610272610a43565b60405161027f919061234f565b60405180910390f35b6102a2600480360381019061029d9190611f7d565b610a4c565b6040516102af9190611fd8565b60405180910390f35b6102c0610a83565b6040516102cd9190612042565b60405180910390f35b6102f060048036038101906102eb919061236a565b610a89565b6040516102fd9190611fd8565b60405180910390f35b610320600480360381019061031b919061236a565b610bfe565b60405161032d9190611fd8565b60405180910390f35b610350600480360381019061034b919061236a565b610c54565b60405161035d9190612042565b60405180910390f35b61036e610c9c565b60405161037b9190612042565b60405180910390f35b61039e60048036038101906103999190611f7d565b610ca2565b6040516103ab9190611fd8565b60405180910390f35b6103ce60048036038101906103c99190612397565b610d03565b6040516103db9190611fd8565b60405180910390f35b6103ec610e2b565b6040516103f99190611eb3565b60405180910390f35b61041c60048036038101906104179190611f7d565b610ebd565b6040516104299190611fd8565b60405180910390f35b61044c60048036038101906104479190611f7d565b610f34565b6040516104599190611fd8565b60405180910390f35b61046a611171565b60405161047791906123e6565b60405180910390f35b61049a60048036038101906104959190612401565b611197565b6040516104a79190612042565b60405180910390f35b6104ca60048036038101906104c59190612441565b61121e565b6040516104d79190611fd8565b60405180910390f35b6104fa60048036038101906104f5919061236a565b6113cd565b6040516105079190611fd8565b60405180910390f35b60606003805461051f906124b9565b80601f016020809104026020016040519081016040528092919081815260200182805461054b906124b9565b80156105985780601f1061056d57610100808354040283529160200191610598565b820191906000526020600020905b81548152906001019060200180831161057b57829003601f168201915b5050505050905090565b6000806105ad611542565b90506105ba81858561154a565b600191505092915050565b6000808214156105d85760009050610617565b60006105e48484611715565b9050600061060f612710610601868561177490919063ffffffff16565b61178a90919063ffffffff16565b905080925050505b92915050565b6000600254905090565b60005b825181101561068557610671838281518110610649576106486124eb565b5b6020026020010151838381518110610664576106636124eb565b5b6020026020010151610f34565b50808061067d90612549565b91505061062a565b505050565b600080610695611542565b90506106a085610c54565b8311156106e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d9906125de565b60405180910390fd5b6106eb85610bfe565b806106fb57506106fa84610bfe565b5b1561071b5761070b8582856117a0565b61071685858561182c565b6108d2565b6000610729846007546105c5565b90506000610739856008546105c5565b90506000610762826107548589611aad90919063ffffffff16565b611aad90919063ffffffff16565b905061076f8885886117a0565b61081988600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365cacaa46040518163ffffffff1660e01b815260040160206040518083038186803b1580156107db57600080fd5b505afa1580156107ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108139190612613565b8561182c565b6108c388600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328fa46a16040518163ffffffff1660e01b815260040160206040518083038186803b15801561088557600080fd5b505afa158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190612613565b8461182c565b6108ce88888361182c565b5050505b60019150509392505050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561094957600080fd5b505afa15801561095d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109819190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e8906126b2565b60405180910390fd5b83600781905550826008819055507fcbd554161f22a88862569b669f84507adc410008353e0a023297d3ea419126f78484604051610a309291906126d2565b60405180910390a1600191505092915050565b60006012905090565b600080610a57611542565b9050610a78818585610a698589611197565b610a7391906126fb565b61154a565b600191505092915050565b60075481565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af457600080fd5b505afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b93906126b2565b60405180910390fd5b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60085481565b600080610cad611542565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610cee57610ced8482856117a0565b5b610cf88484611ac3565b600191505092915050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166385811fbf6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d6e57600080fd5b505afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da69190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d9061279d565b60405180910390fd5b610e208385611c9a565b600191505092915050565b606060048054610e3a906124b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e66906124b9565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b600080610ec8611542565b90506000610ed68286611197565b905083811015610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061282f565b60405180910390fd5b610f28828686840361154a565b60019250505092915050565b600080610f3f611542565b9050610f4a81610c54565b831115610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906125de565b60405180910390fd5b610f9581610bfe565b80610fa55750610fa484610bfe565b5b15610fba57610fb581858561182c565b611166565b6000610fc8846007546105c5565b90506000610fd8856008546105c5565b9050600061100182610ff38589611aad90919063ffffffff16565b611aad90919063ffffffff16565b90506110ad84600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365cacaa46040518163ffffffff1660e01b815260040160206040518083038186803b15801561106f57600080fd5b505afa158015611083573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a79190612613565b8561182c565b61115784600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328fa46a16040518163ffffffff1660e01b815260040160206040518083038186803b15801561111957600080fd5b505afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190612613565b8461182c565b61116284888361182c565b5050505b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128957600080fd5b505afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611331576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611328906126b2565b60405180910390fd5b60005b83518110156113c257600160056000868481518110611356576113556124eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113ba90612549565b915050611334565b506001915050919050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561143857600080fd5b505afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114709190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d7906126b2565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001915050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b1906128c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561162a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162190612953565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117089190612042565b60405180910390a3505050565b60008061172b8385611dfa90919063ffffffff16565b90506000611743600183611aad90919063ffffffff16565b905061176a8461175c868461178a90919063ffffffff16565b61177490919063ffffffff16565b9250505092915050565b600081836117829190612973565b905092915050565b6000818361179891906129fc565b905092915050565b60006117ac8484611197565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118265781811015611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90612a79565b60405180910390fd5b611825848484840361154a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390612b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561190c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190390612b9d565b60405180910390fd5b611917838383611e10565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561199d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199490612c2f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3091906126fb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a949190612042565b60405180910390a3611aa7848484611e15565b50505050565b60008183611abb9190612c4f565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a90612cf5565b60405180910390fd5b611b3f82600083611e10565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90612d87565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611c1c9190612c4f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c819190612042565b60405180910390a3611c9583600084611e15565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612df3565b60405180910390fd5b611d1660008383611e10565b8060026000828254611d2891906126fb565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7d91906126fb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611de29190612042565b60405180910390a3611df660008383611e15565b5050565b60008183611e0891906126fb565b905092915050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e54578082015181840152602081019050611e39565b83811115611e63576000848401525b50505050565b6000601f19601f8301169050919050565b6000611e8582611e1a565b611e8f8185611e25565b9350611e9f818560208601611e36565b611ea881611e69565b840191505092915050565b60006020820190508181036000830152611ecd8184611e7a565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f1482611ee9565b9050919050565b611f2481611f09565b8114611f2f57600080fd5b50565b600081359050611f4181611f1b565b92915050565b6000819050919050565b611f5a81611f47565b8114611f6557600080fd5b50565b600081359050611f7781611f51565b92915050565b60008060408385031215611f9457611f93611edf565b5b6000611fa285828601611f32565b9250506020611fb385828601611f68565b9150509250929050565b60008115159050919050565b611fd281611fbd565b82525050565b6000602082019050611fed6000830184611fc9565b92915050565b6000806040838503121561200a57612009611edf565b5b600061201885828601611f68565b925050602061202985828601611f68565b9150509250929050565b61203c81611f47565b82525050565b60006020820190506120576000830184612033565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61209a82611e69565b810181811067ffffffffffffffff821117156120b9576120b8612062565b5b80604052505050565b60006120cc611ed5565b90506120d88282612091565b919050565b600067ffffffffffffffff8211156120f8576120f7612062565b5b602082029050602081019050919050565b600080fd5b600061212161211c846120dd565b6120c2565b9050808382526020820190506020840283018581111561214457612143612109565b5b835b8181101561216d57806121598882611f32565b845260208401935050602081019050612146565b5050509392505050565b600082601f83011261218c5761218b61205d565b5b813561219c84826020860161210e565b91505092915050565b600067ffffffffffffffff8211156121c0576121bf612062565b5b602082029050602081019050919050565b60006121e46121df846121a5565b6120c2565b9050808382526020820190506020840283018581111561220757612206612109565b5b835b81811015612230578061221c8882611f68565b845260208401935050602081019050612209565b5050509392505050565b600082601f83011261224f5761224e61205d565b5b813561225f8482602086016121d1565b91505092915050565b6000806040838503121561227f5761227e611edf565b5b600083013567ffffffffffffffff81111561229d5761229c611ee4565b5b6122a985828601612177565b925050602083013567ffffffffffffffff8111156122ca576122c9611ee4565b5b6122d68582860161223a565b9150509250929050565b6000806000606084860312156122f9576122f8611edf565b5b600061230786828701611f32565b935050602061231886828701611f32565b925050604061232986828701611f68565b9150509250925092565b600060ff82169050919050565b61234981612333565b82525050565b60006020820190506123646000830184612340565b92915050565b6000602082840312156123805761237f611edf565b5b600061238e84828501611f32565b91505092915050565b600080604083850312156123ae576123ad611edf565b5b60006123bc85828601611f68565b92505060206123cd85828601611f32565b9150509250929050565b6123e081611f09565b82525050565b60006020820190506123fb60008301846123d7565b92915050565b6000806040838503121561241857612417611edf565b5b600061242685828601611f32565b925050602061243785828601611f32565b9150509250929050565b60006020828403121561245757612456611edf565b5b600082013567ffffffffffffffff81111561247557612474611ee4565b5b61248184828501612177565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124d157607f821691505b602082108114156124e5576124e461248a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061255482611f47565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156125875761258661251a565b5b600182019050919050565b7f66726f6d2062616c616e636520696e73756666696369656e7400000000000000600082015250565b60006125c8601983611e25565b91506125d382612592565b602082019050919050565b600060208201905081810360008301526125f7816125bb565b9050919050565b60008151905061260d81611f1b565b92915050565b60006020828403121561262957612628611edf565b5b6000612637848285016125fe565b91505092915050565b7f46726163746f6e3a2063616c6c6572206973206e6f742046726163746f6e204460008201527f414f000000000000000000000000000000000000000000000000000000000000602082015250565b600061269c602283611e25565b91506126a782612640565b604082019050919050565b600060208201905081810360008301526126cb8161268f565b9050919050565b60006040820190506126e76000830185612033565b6126f46020830184612033565b9392505050565b600061270682611f47565b915061271183611f47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156127465761274561251a565b5b828201905092915050565b7f46726163746f6e3a2063616c6c6572206973206e6f7420737761700000000000600082015250565b6000612787601b83611e25565b915061279282612751565b602082019050919050565b600060208201905081810360008301526127b68161277a565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612819602583611e25565b9150612824826127bd565b604082019050919050565b600060208201905081810360008301526128488161280c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006128ab602483611e25565b91506128b68261284f565b604082019050919050565b600060208201905081810360008301526128da8161289e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061293d602283611e25565b9150612948826128e1565b604082019050919050565b6000602082019050818103600083015261296c81612930565b9050919050565b600061297e82611f47565b915061298983611f47565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129c2576129c161251a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a0782611f47565b9150612a1283611f47565b925082612a2257612a216129cd565b5b828204905092915050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612a63601d83611e25565b9150612a6e82612a2d565b602082019050919050565b60006020820190508181036000830152612a9281612a56565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612af5602583611e25565b9150612b0082612a99565b604082019050919050565b60006020820190508181036000830152612b2481612ae8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612b87602383611e25565b9150612b9282612b2b565b604082019050919050565b60006020820190508181036000830152612bb681612b7a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612c19602683611e25565b9150612c2482612bbd565b604082019050919050565b60006020820190508181036000830152612c4881612c0c565b9050919050565b6000612c5a82611f47565b9150612c6583611f47565b925082821015612c7857612c7761251a565b5b828203905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612cdf602183611e25565b9150612cea82612c83565b604082019050919050565b60006020820190508181036000830152612d0e81612cd2565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d71602283611e25565b9150612d7c82612d15565b604082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612ddd601f83611e25565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b905091905056fea26469706673582212206c67defc1dc4128c3b85a690b84ce62217b56e1accc23ddb066ba7bf3995925464736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006686942415943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066869424159430000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c80635342acb4116100c3578063a457c2d71161007c578063a457c2d714610402578063a9059cbb14610432578063c5cc6b6a14610462578063dd62ed3e14610480578063e3a8e2e5146104b0578063ea2f0b37146104e05761014d565b80635342acb41461030657806370a0823114610336578063778317411461036657806379cc679014610384578063937eb61a146103b457806395d89b41146103e45761014d565b806323b872dd1161011557806323b872dd1461020a5780632740c1971461023a578063313ce5671461026a578063395093511461028857806340eae821146102b8578063437823ec146102d65761014d565b806306fdde0314610152578063095ea7b314610170578063117c985b146101a057806318160ddd146101d05780631e89d545146101ee575b600080fd5b61015a610510565b6040516101679190611eb3565b60405180910390f35b61018a60048036038101906101859190611f7d565b6105a2565b6040516101979190611fd8565b60405180910390f35b6101ba60048036038101906101b59190611ff3565b6105c5565b6040516101c79190612042565b60405180910390f35b6101d861061d565b6040516101e59190612042565b60405180910390f35b61020860048036038101906102039190612268565b610627565b005b610224600480360381019061021f91906122e0565b61068a565b6040516102319190611fd8565b60405180910390f35b610254600480360381019061024f9190611ff3565b6108de565b6040516102619190611fd8565b60405180910390f35b610272610a43565b60405161027f919061234f565b60405180910390f35b6102a2600480360381019061029d9190611f7d565b610a4c565b6040516102af9190611fd8565b60405180910390f35b6102c0610a83565b6040516102cd9190612042565b60405180910390f35b6102f060048036038101906102eb919061236a565b610a89565b6040516102fd9190611fd8565b60405180910390f35b610320600480360381019061031b919061236a565b610bfe565b60405161032d9190611fd8565b60405180910390f35b610350600480360381019061034b919061236a565b610c54565b60405161035d9190612042565b60405180910390f35b61036e610c9c565b60405161037b9190612042565b60405180910390f35b61039e60048036038101906103999190611f7d565b610ca2565b6040516103ab9190611fd8565b60405180910390f35b6103ce60048036038101906103c99190612397565b610d03565b6040516103db9190611fd8565b60405180910390f35b6103ec610e2b565b6040516103f99190611eb3565b60405180910390f35b61041c60048036038101906104179190611f7d565b610ebd565b6040516104299190611fd8565b60405180910390f35b61044c60048036038101906104479190611f7d565b610f34565b6040516104599190611fd8565b60405180910390f35b61046a611171565b60405161047791906123e6565b60405180910390f35b61049a60048036038101906104959190612401565b611197565b6040516104a79190612042565b60405180910390f35b6104ca60048036038101906104c59190612441565b61121e565b6040516104d79190611fd8565b60405180910390f35b6104fa60048036038101906104f5919061236a565b6113cd565b6040516105079190611fd8565b60405180910390f35b60606003805461051f906124b9565b80601f016020809104026020016040519081016040528092919081815260200182805461054b906124b9565b80156105985780601f1061056d57610100808354040283529160200191610598565b820191906000526020600020905b81548152906001019060200180831161057b57829003601f168201915b5050505050905090565b6000806105ad611542565b90506105ba81858561154a565b600191505092915050565b6000808214156105d85760009050610617565b60006105e48484611715565b9050600061060f612710610601868561177490919063ffffffff16565b61178a90919063ffffffff16565b905080925050505b92915050565b6000600254905090565b60005b825181101561068557610671838281518110610649576106486124eb565b5b6020026020010151838381518110610664576106636124eb565b5b6020026020010151610f34565b50808061067d90612549565b91505061062a565b505050565b600080610695611542565b90506106a085610c54565b8311156106e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d9906125de565b60405180910390fd5b6106eb85610bfe565b806106fb57506106fa84610bfe565b5b1561071b5761070b8582856117a0565b61071685858561182c565b6108d2565b6000610729846007546105c5565b90506000610739856008546105c5565b90506000610762826107548589611aad90919063ffffffff16565b611aad90919063ffffffff16565b905061076f8885886117a0565b61081988600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365cacaa46040518163ffffffff1660e01b815260040160206040518083038186803b1580156107db57600080fd5b505afa1580156107ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108139190612613565b8561182c565b6108c388600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328fa46a16040518163ffffffff1660e01b815260040160206040518083038186803b15801561088557600080fd5b505afa158015610899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bd9190612613565b8461182c565b6108ce88888361182c565b5050505b60019150509392505050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561094957600080fd5b505afa15801561095d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109819190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e8906126b2565b60405180910390fd5b83600781905550826008819055507fcbd554161f22a88862569b669f84507adc410008353e0a023297d3ea419126f78484604051610a309291906126d2565b60405180910390a1600191505092915050565b60006012905090565b600080610a57611542565b9050610a78818585610a698589611197565b610a7391906126fb565b61154a565b600191505092915050565b60075481565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610af457600080fd5b505afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b93906126b2565b60405180910390fd5b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60085481565b600080610cad611542565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610cee57610ced8482856117a0565b5b610cf88484611ac3565b600191505092915050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166385811fbf6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d6e57600080fd5b505afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da69190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d9061279d565b60405180910390fd5b610e208385611c9a565b600191505092915050565b606060048054610e3a906124b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e66906124b9565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b600080610ec8611542565b90506000610ed68286611197565b905083811015610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061282f565b60405180910390fd5b610f28828686840361154a565b60019250505092915050565b600080610f3f611542565b9050610f4a81610c54565b831115610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906125de565b60405180910390fd5b610f9581610bfe565b80610fa55750610fa484610bfe565b5b15610fba57610fb581858561182c565b611166565b6000610fc8846007546105c5565b90506000610fd8856008546105c5565b9050600061100182610ff38589611aad90919063ffffffff16565b611aad90919063ffffffff16565b90506110ad84600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166365cacaa46040518163ffffffff1660e01b815260040160206040518083038186803b15801561106f57600080fd5b505afa158015611083573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a79190612613565b8561182c565b61115784600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328fa46a16040518163ffffffff1660e01b815260040160206040518083038186803b15801561111957600080fd5b505afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111519190612613565b8461182c565b61116284888361182c565b5050505b600191505092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561128957600080fd5b505afa15801561129d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c19190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611331576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611328906126b2565b60405180910390fd5b60005b83518110156113c257600160056000868481518110611356576113556124eb565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806113ba90612549565b915050611334565b506001915050919050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad9b44cd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561143857600080fd5b505afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114709190612613565b90508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d7906126b2565b60405180910390fd5b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001915050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b1906128c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561162a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162190612953565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117089190612042565b60405180910390a3505050565b60008061172b8385611dfa90919063ffffffff16565b90506000611743600183611aad90919063ffffffff16565b905061176a8461175c868461178a90919063ffffffff16565b61177490919063ffffffff16565b9250505092915050565b600081836117829190612973565b905092915050565b6000818361179891906129fc565b905092915050565b60006117ac8484611197565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118265781811015611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90612a79565b60405180910390fd5b611825848484840361154a565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390612b0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561190c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190390612b9d565b60405180910390fd5b611917838383611e10565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561199d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199490612c2f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3091906126fb565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a949190612042565b60405180910390a3611aa7848484611e15565b50505050565b60008183611abb9190612c4f565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a90612cf5565b60405180910390fd5b611b3f82600083611e10565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90612d87565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254611c1c9190612c4f565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c819190612042565b60405180910390a3611c9583600084611e15565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612df3565b60405180910390fd5b611d1660008383611e10565b8060026000828254611d2891906126fb565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7d91906126fb565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611de29190612042565b60405180910390a3611df660008383611e15565b5050565b60008183611e0891906126fb565b905092915050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e54578082015181840152602081019050611e39565b83811115611e63576000848401525b50505050565b6000601f19601f8301169050919050565b6000611e8582611e1a565b611e8f8185611e25565b9350611e9f818560208601611e36565b611ea881611e69565b840191505092915050565b60006020820190508181036000830152611ecd8184611e7a565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f1482611ee9565b9050919050565b611f2481611f09565b8114611f2f57600080fd5b50565b600081359050611f4181611f1b565b92915050565b6000819050919050565b611f5a81611f47565b8114611f6557600080fd5b50565b600081359050611f7781611f51565b92915050565b60008060408385031215611f9457611f93611edf565b5b6000611fa285828601611f32565b9250506020611fb385828601611f68565b9150509250929050565b60008115159050919050565b611fd281611fbd565b82525050565b6000602082019050611fed6000830184611fc9565b92915050565b6000806040838503121561200a57612009611edf565b5b600061201885828601611f68565b925050602061202985828601611f68565b9150509250929050565b61203c81611f47565b82525050565b60006020820190506120576000830184612033565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61209a82611e69565b810181811067ffffffffffffffff821117156120b9576120b8612062565b5b80604052505050565b60006120cc611ed5565b90506120d88282612091565b919050565b600067ffffffffffffffff8211156120f8576120f7612062565b5b602082029050602081019050919050565b600080fd5b600061212161211c846120dd565b6120c2565b9050808382526020820190506020840283018581111561214457612143612109565b5b835b8181101561216d57806121598882611f32565b845260208401935050602081019050612146565b5050509392505050565b600082601f83011261218c5761218b61205d565b5b813561219c84826020860161210e565b91505092915050565b600067ffffffffffffffff8211156121c0576121bf612062565b5b602082029050602081019050919050565b60006121e46121df846121a5565b6120c2565b9050808382526020820190506020840283018581111561220757612206612109565b5b835b81811015612230578061221c8882611f68565b845260208401935050602081019050612209565b5050509392505050565b600082601f83011261224f5761224e61205d565b5b813561225f8482602086016121d1565b91505092915050565b6000806040838503121561227f5761227e611edf565b5b600083013567ffffffffffffffff81111561229d5761229c611ee4565b5b6122a985828601612177565b925050602083013567ffffffffffffffff8111156122ca576122c9611ee4565b5b6122d68582860161223a565b9150509250929050565b6000806000606084860312156122f9576122f8611edf565b5b600061230786828701611f32565b935050602061231886828701611f32565b925050604061232986828701611f68565b9150509250925092565b600060ff82169050919050565b61234981612333565b82525050565b60006020820190506123646000830184612340565b92915050565b6000602082840312156123805761237f611edf565b5b600061238e84828501611f32565b91505092915050565b600080604083850312156123ae576123ad611edf565b5b60006123bc85828601611f68565b92505060206123cd85828601611f32565b9150509250929050565b6123e081611f09565b82525050565b60006020820190506123fb60008301846123d7565b92915050565b6000806040838503121561241857612417611edf565b5b600061242685828601611f32565b925050602061243785828601611f32565b9150509250929050565b60006020828403121561245757612456611edf565b5b600082013567ffffffffffffffff81111561247557612474611ee4565b5b61248184828501612177565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124d157607f821691505b602082108114156124e5576124e461248a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061255482611f47565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156125875761258661251a565b5b600182019050919050565b7f66726f6d2062616c616e636520696e73756666696369656e7400000000000000600082015250565b60006125c8601983611e25565b91506125d382612592565b602082019050919050565b600060208201905081810360008301526125f7816125bb565b9050919050565b60008151905061260d81611f1b565b92915050565b60006020828403121561262957612628611edf565b5b6000612637848285016125fe565b91505092915050565b7f46726163746f6e3a2063616c6c6572206973206e6f742046726163746f6e204460008201527f414f000000000000000000000000000000000000000000000000000000000000602082015250565b600061269c602283611e25565b91506126a782612640565b604082019050919050565b600060208201905081810360008301526126cb8161268f565b9050919050565b60006040820190506126e76000830185612033565b6126f46020830184612033565b9392505050565b600061270682611f47565b915061271183611f47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156127465761274561251a565b5b828201905092915050565b7f46726163746f6e3a2063616c6c6572206973206e6f7420737761700000000000600082015250565b6000612787601b83611e25565b915061279282612751565b602082019050919050565b600060208201905081810360008301526127b68161277a565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612819602583611e25565b9150612824826127bd565b604082019050919050565b600060208201905081810360008301526128488161280c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006128ab602483611e25565b91506128b68261284f565b604082019050919050565b600060208201905081810360008301526128da8161289e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061293d602283611e25565b9150612948826128e1565b604082019050919050565b6000602082019050818103600083015261296c81612930565b9050919050565b600061297e82611f47565b915061298983611f47565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129c2576129c161251a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a0782611f47565b9150612a1283611f47565b925082612a2257612a216129cd565b5b828204905092915050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612a63601d83611e25565b9150612a6e82612a2d565b602082019050919050565b60006020820190508181036000830152612a9281612a56565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612af5602583611e25565b9150612b0082612a99565b604082019050919050565b60006020820190508181036000830152612b2481612ae8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612b87602383611e25565b9150612b9282612b2b565b604082019050919050565b60006020820190508181036000830152612bb681612b7a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612c19602683611e25565b9150612c2482612bbd565b604082019050919050565b60006020820190508181036000830152612c4881612c0c565b9050919050565b6000612c5a82611f47565b9150612c6583611f47565b925082821015612c7857612c7761251a565b5b828203905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612cdf602183611e25565b9150612cea82612c83565b604082019050919050565b60006020820190508181036000830152612d0e81612cd2565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d71602283611e25565b9150612d7c82612d15565b604082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612ddd601f83611e25565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b905091905056fea26469706673582212206c67defc1dc4128c3b85a690b84ce62217b56e1accc23ddb066ba7bf3995925464736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006686942415943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066869424159430000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): hiBAYC
Arg [1] : symbol_ (string): hiBAYC

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 6869424159430000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 6869424159430000000000000000000000000000000000000000000000000000


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.