Skip to content

Commit

Permalink
Add installment credit support (#8)
Browse files Browse the repository at this point in the history
* feat: add installment credit functionality
* test: replicate installment tests from common
* fix: whitespaces
* test: add missing installment tests
* feat: update `InstallmentCreditStatusChanged` event
* feat: rename `CreditAgent_InvalidInputArrays` error
* feat: update `InstallmentCreditStatusChanged` event
* feat: rename `common` to `ordinary`
* feat: update `_sumArray` function
* fix: `initiateInstallmentCredit` function
* feat: update `AgentState` struct
* feat: update `_toUint256Array` functions
* feta: add `INSTALLMENT_COUNT_STAB` constant
* test: fix formating issues, reorder constants alphabetically
* test: improve test section names
* feat: update contract version to `v1.2.0`
* feat: update `InstallmentCreditStatusChanged` event

---------

Co-authored-by: Evgenii Zaitsev <evgenii@cloudwalk.io>
  • Loading branch information
igorsenych-cw and EvgeniiZaitsevCW authored Dec 27, 2024
1 parent 45ae062 commit 15524b7
Show file tree
Hide file tree
Showing 7 changed files with 1,647 additions and 72 deletions.
Loading

0 comments on commit 15524b7

Please # to comment.