Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AL/BE-153. Controller refactor allowed functions. (#31)
* [BE-153] Fixed do_redeem_insurance function * [BE-153] 1. removed call to oracle from borrow_allowed(); 2. removed deposit_allowed() and use is_operation_allowed() instead; 3. removed repay_borrow_allowed() and use is_operation() instead; * [BE-153] Moved calls of is_operation_allowed() to do_deposit(), do_redeem(), do_borrow() and do_repay() functions. Fixed tests for them. * [BE-153] Resolved conflicts.
- Loading branch information
Showing
6 changed files
with
242 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.