Skip to content

lib.rs does not implement secondary approval for high-value course registrations #168

Description

@SYLVIANNORUKA

Description

All courses in contracts/hamplard/src/lib.rs follow the same single-admin approval flow regardless of price. High-value courses (e.g., above a configurable price threshold) represent significant financial risk if approved fraudulently and should require a higher level of governance scrutiny.

Affected modules: contracts/hamplard/src/lib.rs

High-value courses have no heightened approval requirements, creating disproportionate financial risk.

Expected Behavior

Implement a configurable price threshold above which course approval requires a two-of-two admin co-signature or a multi-approver quorum.

Tasks

  • Add high-value course threshold configuration to storage.
  • Implement two-approver requirement for courses above the threshold.
  • Add tests for approval of high-value vs. standard-value courses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions