@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
Syntax
Section titled “Syntax”@superfluid:underlying(token)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
token | supertoken | SuperToken symbol or address |
Examples
Section titled “Examples”# Print the underlying token of USDCxprint "Underlying:" @superfluid:underlying(USDCx)See Also
Section titled “See Also”On-chain face (@underlying!)
Section titled “On-chain face (@underlying!)”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.