Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oud support #10

Merged
merged 6 commits into from
Feb 17, 2023
Merged

Oud support #10

merged 6 commits into from
Feb 17, 2023

Conversation

shero0x1337
Copy link
Contributor

  • Support Multi-asset borrowing with different parameters

src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Show resolved Hide resolved
event DepositDebt(uint256 amount);
event RemoveDebt(uint256 amount);
event SetCollateralPrice(TokenPrice price);
event SetDebtCollector(address debtCollector);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of these should be indexed event params: https://docs.soliditylang.org/en/v0.8.18/contracts.html#events

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah ack. Let me think about the events i want to index a little bit more. Will add in a separate pr.

src/TempleLineOfCredit.sol Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Show resolved Hide resolved
src/TempleLineOfCredit.sol Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
src/TempleLineOfCredit.sol Outdated Show resolved Hide resolved
@shero0x1337 shero0x1337 marked this pull request as ready for review February 17, 2023 17:37
@shero0x1337
Copy link
Contributor Author

Merging for now to consolidate branches

@shero0x1337 shero0x1337 merged commit 5af95e3 into main Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants