We realized that Compound.Finance, MakerDAO, Nuo.network and other lending/borrowing platforms do not implemented tokenization of positions. This leads to missing interopability of the debts itself.
And came up to idea tokenizartion layer can be implemented on top this platforms. And can achieve tradable debts and allowance to create smart contracts which can refinance or manage debts.
We created smart contract, which is owner of multiple sub smart contract, 1 per position and manage ERC721 tokens to determine which positions belongs to which addresdses.
It was complicated to debug transactions, we used remix assembly debugger and parity traces.
We did tokenization layer for Compound and partially for AAVE and MakerDAO, and sucessfully transferred debts between our wallets.
We learned a lot about lending platforms, how exactly they work and what differencies have
Will finish it and allow users to tokenize their current position