Skip to content

Build ACL whitelist management API for contract integration permissions #966

Description

@Chucks1093

Summary

Expose CRUD endpoints for the on-chain ACL that controls which external contracts are permitted to interact with the platform, restricted to multi-sig admin wallets.

Scope

  • GET /admin/acl — paginated list of whitelisted contracts with permitted functions
  • POST /admin/acl — add contract address and function list
  • DELETE /admin/acl/:contractId — remove from whitelist
  • GET /admin/acl/history — add and remove event log
  • All mutations validated against multi-sig admin authorization

Acceptance Criteria

  • List endpoint returns all whitelisted contracts with correct function sets
  • Add endpoint validates address format and function list before submitting transaction
  • Remove endpoint requires multi-sig admin authorization
  • History log includes all events with actor and timestamp
  • Unauthorized requests return 403 with clear message

ETA

12 hours

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions