Skip to content

@superfluid:underlying

Underlying ERC-20 of a SuperToken (the zero address for native-asset SuperTokens like ETHx or xDAIx).

⚗️ Experimental — available at next.evmcrispr.com.

Returns: address

@superfluid:underlying(token)
NameTypeDescription
tokensupertokenSuperToken symbol or address
# Print the underlying token of USDCx
print "Underlying:" @superfluid:underlying(USDCx)

Read getUnderlyingToken() at assertion time. The SuperToken still resolves at composition time — a symbol, an address, or a nested @token(...), which folds into the expression as a build-time constant. This is the live half of that pairing: the token list says which SuperToken to look at, and this says what it currently wraps.