Skip to content

compliance-aggregator: add a get_checks_summary view returning which of the two check kinds are configured #472

Description

@Idaonoli

Scope

denylist_gate()/jurisdiction_flag() each return an Option<Address> individually. A single call returning both configured/unconfigured states together would save an off-chain caller two round trips when just checking "what's configured" (e.g. for a dashboard) rather than needing either address value.

Acceptance criteria

  • Add get_checks_summary(env) -> (bool, bool) (or a small struct) indicating whether the denylist-gate and jurisdiction-flag checks are configured, without requiring two separate calls

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions