docs(ISwapExecutor): Improve swap executor related docs

This commit is contained in:
Diana Carvalho
2024-08-22 17:06:52 +01:00
parent 299a872160
commit d1e21a8d63
2 changed files with 3 additions and 3 deletions

View File

@@ -28,8 +28,7 @@ errors, such as invalid parameter lengths or unknown pool types in the swap logi
manage these approvals within the implementation to ensure smooth execution of the swap.
5. **Token Transfer Support**: Ensure that the implementation supports transferring received tokens to a designated
receiver address, either within the swap function or through an additional transfer step.
6. **Gas Efficiency**: Ensure the implementation is gas-efficient, ideally using assembly where possible,
though it is not mandatory. Strive for optimal performance in the swap logic
6. **Gas Efficiency**: Ensure the implementation is gas-efficient. Strive for optimal performance in the swap logic.
7. **Security Considerations**: Follow common security best practices, such as validating inputs, ensuring proper
access control, and safeguarding against reentrancy attacks.