Teller is a lending and undercollateralized borrowing protocol on the Ethereum blockchain. Teller is the first protocol to allow zero collateral borrowing for greater than one block.
Given that the user has a combination of V1 and V2 tokens, we need to combine both NFT ID types to take out a loan. It doesn't make sense for a user to discriminate between a V1 and a V2 token when they are just trying to take out a loan.
An extra version # has been added in the CreateLoanWithNFTFacet.sol and the MainnetCreateLoanWithNFTFacet.sol. A new test has also been added in the loans.test.ts and the helper function for takeOutLoanWithNFTs is updated with the new case: 3
Given that the user has a combination of V1 and V2 tokens, we need to combine both NFT ID types to take out a loan. It doesn't make sense for a user to discriminate between a V1 and a V2 token when they are just trying to take out a loan.
An extra version # has been added in the
CreateLoanWithNFTFacet.sol
and theMainnetCreateLoanWithNFTFacet.sol
. A new test has also been added in theloans.test.ts
and the helper function fortakeOutLoanWithNFTs
is updated with the newcase: 3