Market maker functions
Liquidity pool manager contract functions
List of liquidity pool managers is returned by the getPlatforms
function on the Liquidity contract. Making the offer of liquidity is by calling the offer
function on the Liquidity pool manager contracts that are deployed for each connected Defi platform such as Balancer.
Get list of Liquidity pool managers
getPlatforms()
this function returns a tuple of liquidity providers with each element containing an array comprising of
Return parameter
Description
_platformName
name of connected Defi platform
_address
address of liquidity pool manager
_isin
identifier of security token in liquidity pool
Offer liquidity
offer(_owned, _isin, _offered, _tomatch, _desired, _min)
Function parameter
Description
_owned
address of offered asset
_isin
identifier of security token for which offer of liquidity is made
_offered
amount of asset offered as liquidity
_tomatch
address of security token for which offer of liquidity is made
_desired
amount of security tokens desired in exchange for offered liquidity
_min
minimum amount of security tokens desired in exchange for offered liquidity
Last updated