fix: Improved SWAP_DEADLINE_SEC comment text

This commit is contained in:
domenicodev
2023-12-19 11:43:00 +01:00
parent 5686e19402
commit cd8e9c61b3

View File

@@ -3,7 +3,8 @@ pragma solidity ^0.8.13;
import {IERC20, ISwapAdapter} from "src/interfaces/ISwapAdapter.sol";
/// @dev Integral submitted deadline of 3600 seconds (1 hour) to Paraswap
/// @dev Integral submitted deadline of 3600 seconds (1 hour) to Paraswap, but it is not strictly necessary to be this long
/// as the contract allows less durations, we use 1000 seconds (15 minutes) as deadline
uint32 constant SWAP_DEADLINE_SEC = 1000;
/// @title Integral Swap Adapter