Skip to content

Helper for underlying asset value

Choose a tag to compare

@LHerskind LHerskind released this 04 Aug 12:01
· 191 commits to master since this release
6388b08

For bridges with wrapped assets, users often have a hard time figuring out what the value is or think that the wrapped asset and underlying has a value 1:1. To mitigate, we make a helper function on the bridge data class that allows frontends to get the value of the wrapped asset in the underlying, e.g., for wstEth outputs a value in stEth that can be displayed on the frontend.