Skip to content
You are reading the development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.
Last update: October 8, 2021

yToken

Functions

constructor

  function constructor(
  ) public

name

  function name(
  ) external returns (string)

symbol

  function symbol(
  ) external returns (string)

decimals

  function decimals(
  ) external returns (uint256)

totalSupply

  function totalSupply(
  ) external returns (uint256 total)

balanceOf

  function balanceOf(
  ) external returns (uint256 balance)

_transfer

  function _transfer(
  ) internal

transfer

  function transfer(
  ) public returns (bool)

_approve

  function _approve(
  ) internal

approve

  function approve(
  ) public returns (bool)

transferFrom

  function transferFrom(
  ) public returns (bool)

increaseAllowance

  function increaseAllowance(
  ) public returns (bool)

decreaseAllowance

  function decreaseAllowance(
  ) public returns (bool)

deposit

  function deposit(
  ) external returns (uint256)

withdraw

  function withdraw(
  ) external returns (uint256)

_permitAll

  function _permitAll(
  ) internal

permitAll

  function permitAll(
  ) public

migrate

  function migrate(
  ) external returns (uint256)

migrate

  function migrate(
  ) external returns (uint256)

migrate

  function migrate(
  ) external returns (uint256)

migrate

  function migrate(
  ) external returns (uint256)

migrate

  function migrate(
  ) external returns (uint256)

migrate

  function migrate(
  ) external returns (uint256)

revokeAll

  function revokeAll(
  ) external
Questions or feedback? You can discuss issues and obtain free support on Yearn Vaults chat channel.
For SushiSwap community support, join the Discord Server None