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

Needs implementation and test #5

Open
colinsteidtmann opened this issue May 5, 2022 · 0 comments
Open

Needs implementation and test #5

colinsteidtmann opened this issue May 5, 2022 · 0 comments
Assignees

Comments

@colinsteidtmann
Copy link
Member

Solidity:
https://github.com/AnnuitiesT/AnnuityContracts/blob/8681f74f509ab891752a0c0253b0b02e8a6e6d89/contracts/Exchange.sol#L112

Test:
https://github.com/AnnuitiesT/AnnuityContracts/blob/8681f74f509ab891752a0c0253b0b02e8a6e6d89/test/unit/Exchange.test.ts#L101

I started things. Use getEthValue to make sure that the borrower deposits enough collateral.

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

No branches or pull requests

2 participants