Feature Request
Describe the Feature Request
Implement and tests for GravitaBase
Describe Preferred Solution
Main logic
shisui_base will host common functions.
File: src/components/shisui_base.cairo
Tests
Implement the following tests files:
tests/integration/components/shisui_base/get_composite_debt/test_get_composite_debt.cairo
tests/integration/components/shisui_base/get_net_debt/test_get_net_debt.cairo
tests/integration/components/shisui_base/get_coll_gas_compensation/test_get_coll_gas_compensation.cairo
tests/integration/components/shisui_base/get_entire_system_coll/test_get_entire_system_coll.cairo
tests/integration/components/shisui_base/get_entire_system_debt/test_get_entire_system_debt.cairo
tests/integration/components/shisui_base/get_tcr/test_get_tcr.cairo
tests/integration/components/shisui_base/check_recovery_mode/test_check_recovery_mode.cairo
tests/integration/components/shisui_base/require_user_accepts_fee/test_require_user_accepts_fee.cairo
Requirement
None
Related Code
GravitaBase
Feature Request
Describe the Feature Request
Implement and tests for GravitaBase
Describe Preferred Solution
Main logic
shisui_base will host common functions.
File:
src/components/shisui_base.cairoTests
Implement the following tests files:
tests/integration/components/shisui_base/get_composite_debt/test_get_composite_debt.cairotests/integration/components/shisui_base/get_net_debt/test_get_net_debt.cairotests/integration/components/shisui_base/get_coll_gas_compensation/test_get_coll_gas_compensation.cairotests/integration/components/shisui_base/get_entire_system_coll/test_get_entire_system_coll.cairotests/integration/components/shisui_base/get_entire_system_debt/test_get_entire_system_debt.cairotests/integration/components/shisui_base/get_tcr/test_get_tcr.cairotests/integration/components/shisui_base/check_recovery_mode/test_check_recovery_mode.cairotests/integration/components/shisui_base/require_user_accepts_fee/test_require_user_accepts_fee.cairoRequirement
None
Related Code
GravitaBase