# Functions
CurrencyPairFromString creates a currency pair from a string.
CurrencyPairString constructs and returns the string representation of a currency pair.
IsLegacyAssetString returns true if the asset string is of the following format: - contains no instances of fieldSeparator.
NewCurrencyPair returns a new CurrencyPair with the given base and quote strings.
SplitDefiAssetString splits a defi asset by the fieldSeparator and checks that it is the proper length.
ValidateDefiAssetString checks that the asset string is formatted properly as a defi asset (tokenName,tokenAddress,chainID) - check that the length of fields separated by fieldSeparator is expectedSplitLength - check that the first split (tokenName) is formatted properly as a LegacyAssetString.
ValidateLegacyAssetString checks if the asset string is formatted correctly, i.e.
# Constants
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CurrencyPair is the standard representation of a pair of assets, where one (Base) is priced in terms of the other (Quote).