@superfluid:underlying
Underlying ERC-20 of a SuperToken (the zero address for native-asset SuperTokens like ETHx or xDAIx).
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)