Package convex.gui.wallet
Class TokenInfo
java.lang.Object
convex.gui.wallet.TokenInfo
-
Method Summary
Modifier and TypeMethodDescriptionstatic TokenInfo
decimalAmount
(convex.core.data.prim.AInteger val) int
decimals()
boolean
static TokenInfo
forID
(convex.core.data.ACell tokenID) static TokenInfo
CompletableFuture
<convex.core.data.prim.AInteger> getBalance
(Convex convex) int
static TokenInfo
getFungible
(Convex convex, String cnsName) static convex.core.data.Address
getFungibleAddress
(Convex convex) convex.core.data.ACell
getID()
static TokenInfo
static convex.core.data.Address
getMultiAddress
(Convex convex) static convex.core.data.Address
getTorusAddress
(Convex convex) boolean
isConvex()
-
Method Details
-
getID
public convex.core.data.ACell getID() -
getSymbol
-
decimals
public int decimals() -
convexCoin
-
forID
-
equals
-
getBalance
public CompletableFuture<convex.core.data.prim.AInteger> getBalance(Convex convex) throws TimeoutException, IOException - Throws:
TimeoutException
IOException
-
getFungibleAddress
-
getMultiAddress
-
getTorusAddress
-
get
-
getFungible
-
getMulti
-
getDecimals
public int getDecimals() -
isConvex
public boolean isConvex() -
decimalAmount
-