Class TokenListPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TokenListPanel extends JPanel
See Also:
  • Field Details

  • Constructor Details

    • TokenListPanel

      public TokenListPanel(Convex convex)
  • Method Details

    • getDefaultToken

      public static TokenInfo getDefaultToken()
    • getOtherToken

      public static TokenInfo getOtherToken(TokenInfo token)
      Gets the "other" token for a trade, which will be: 1. The default token token, if the token passed is already the default 2. The next other token in the list 3. Null otherwise (no other token available)
      Parameters:
      token - Token selected for swap
      Returns:
      TokenInfo for other token to trade with