Add Liquidity

The Save function sends an application request into the protocol, this application request consists of the amount users in which the user wants to save, the market of which the asset is listed and the duration of the savings.

function save(uint _amount, bool _isMarket, uint _duration) external;

  • _amount: The amount of asset you want to save in the pool.

  • _isMarket: true if the asset is a base market and false if the asset is the Token.

  • _duration: How long do you want to save the assets in the pool before it can be withdrawn


CEGORAS egoras = CEGORAS(0xd9E373F....);
require(,true/false,90 ), "unable to save");


const instance = await new web3.eth.Contract(abi, address)
await"50,true/false,90").send({from: 0xMyAccount});