Skip to content

feat: Implement shisui_base #5

@0xTitan

Description

@0xTitan

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions