Feature Request
Describe the Feature Request
Implement and test borrower_operations
Describe Solution
Main logic
File: src/core/borrower_operations.cairo
Tests
Implement the following tests files :
tests/integration.core/borrower_operations/open_vessel/test_open_vessel.cairo
tests/integration.core/borrower_operations/add_coll/test_add_colll.cairo
tests/integration.core/borrower_operations/withdraw_coll/test_withdra_coll.cairo
tests/integration.core/borrower_operations/withdraw_debt_tokens/test_withdraw_debt_tokens.cairo
tests/integration.core/borrower_operations/repay_debt_tokens/test_repay_debt_tokens.cairo
tests/integration.core/borrower_operations/adjust_vessel/test_adjust_vessel.cairo
tests/integration.core/borrower_operations/close_vessel/test_close_vessel.cairo
tests/integration.core/borrower_operations/get_new_icr_from_vessel_change/test_get_new_icr_from_vessel_change.cairo
tests/integration.core/borrower_operations/get_composite_debt/test_get_composite_debt.cairo
tests/integration.core/borrower_operations/get_new_tcr_from_vessel_change/test_get_new_tcr_from_vessel_change.cairo
Requirement
None
Related Code
BorrowerOperations
Tests
Feature Request
Describe the Feature Request
Implement and test
borrower_operationsDescribe Solution
Main logic
File: src/core/borrower_operations.cairo
Tests
Implement the following tests files :
tests/integration.core/borrower_operations/open_vessel/test_open_vessel.cairotests/integration.core/borrower_operations/add_coll/test_add_colll.cairotests/integration.core/borrower_operations/withdraw_coll/test_withdra_coll.cairotests/integration.core/borrower_operations/withdraw_debt_tokens/test_withdraw_debt_tokens.cairotests/integration.core/borrower_operations/repay_debt_tokens/test_repay_debt_tokens.cairotests/integration.core/borrower_operations/adjust_vessel/test_adjust_vessel.cairotests/integration.core/borrower_operations/close_vessel/test_close_vessel.cairotests/integration.core/borrower_operations/get_new_icr_from_vessel_change/test_get_new_icr_from_vessel_change.cairotests/integration.core/borrower_operations/get_composite_debt/test_get_composite_debt.cairotests/integration.core/borrower_operations/get_new_tcr_from_vessel_change/test_get_new_tcr_from_vessel_change.cairoRequirement
None
Related Code
BorrowerOperations
Tests