Supportive methods
Fetching list of vaults
Returns a promise that resolves to an array of vault objects (that include address, name, timestamp and blocknumber of creation).
Fetching client data
Returns a range of pool IDs (mix to max) associated with given client as well as client name.
Activate pool
After Yelay team assigns pool range to the given client and their integratorAddress, each poolId must be activated before deposits can be allowed. This can be done either by Yelay team, or by the client themselves using above method. Such method must be called by the whitelisted address - please send 'operator' address to Yelay team for whitelisting.
Migrate user deposits between pools
Allows withdrawing user's liquidity from the pool A and depositing it to the pool B (operated by the same client) in one transaction.
Last updated