Liquidity functions
Liquidity contract functions
The following functions are defined on the Liquidity contract.

Check accepted tokens

getSupportedTokens()
this function returns a tuple of tokens, with each token element comprising of
Function parameter
Description
_tokenName
name of token accepted as liquidity
_tokenAddress
address of token accepted

Check support for token

checkSupportForToken(_token)
Function parameter
Description
_token
checking if token address passed is accepted as liquidity

Buy tokens

buy(_token, _amount)
Function parameter
Description
_token
address of digital asset offered as liquidity
_amount
amount of digital asset offered as liquidity

Check balance of Verified liquidity tokens

balance(_investor)
Function parameter
Description
_investor
wallet address of liquidity provider for which balance of Verified liquidity tokens is returned