Closed ueco-jb closed 1 year ago
Currently create_liquidity_pool returns nothing.
create_liquidity_pool
fn create_liquidity_pool( env: Env, lp_init_info: LiquidityPoolInitInfo, ) -> Result<(), ContractError>;
Change this to -> Result<Address, ContractError>; and return an address of newly created liquidity pool.
-> Result<Address, ContractError>;
Currently
create_liquidity_pool
returns nothing.Change this to
-> Result<Address, ContractError>;
and return an address of newly created liquidity pool.