Skip to content

Smart Contract: Security - Restrict Swap Execution #95

@Tybravo

Description

@Tybravo

🎯 Goal

Ensure execute_settlement_swap can only be triggered by the escrow_contract.

📋 Requirements

  • Add require_auth for escrow_contract

📂 Target Directory

Contributors should work within this directory:
contracts/settlement_contract

🔗 Architecture & Dependencies

🔧 Technical Scope

  • Rust
  • Soroban SDK

🌿 Fork & Branch

  • Fork the repository
  • Branch: git checkout -b sec-restrict-swap

✅ Acceptance Criteria

  • All tests must pass successfully
  • Test cases pass on testnet

💬 Example Commit Message

feat: ensure execute_settlement_swap can only be triggered by the escrow_contract.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhighHigh complexitysecuritySecurity modifiers and protectionssmart-contractSmart contract implementation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions