Skip to content

[Backend] Query Contract Execution GET /user/delegation #419

@Olowodarey

Description

@Olowodarey

Background & Context: Governance delegates allow users to abdicate their vote to trusted community members natively. The dashboard must indicate if their votes are currently abstracted away.
Description: Verify via RPC if the user's configuration bounds map to another specific wallet address inside the Soroban contract mapping.
Acceptance Criteria:

  • Query the Soroban SC mapping checking delegation parameters linked to the user.
  • If undefined or false, return explicit null { delegate: null }.
  • If designated, return cleanly returning the active string mapping.
    Target Files: backend/src/modules/governance/governance.service.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions