Add feature to borrowing pools

Hi,

Would it be possible to add a feature to the pools where you could pay back what you have borrowed with what you currently supply (also cross collateral)

Eg. I borrow pUSDT and can pay back the loan using WING.

Which requires a Dex on Ontology and using other existing DEX on other version. We could start with the Ethereum version

1 Like

Great feature!This is actually a combination of repayment and Dex. I wonder if the contract is very complicated and the gas fee is high.

In addition, now only the DEXs on Ethereum is richer, I agree with Cedric, start with the Ethereum version.