Skip to content

Commit 8b3e01a

Browse files
authored
Update swaps.md
Signed-off-by: leopardracer <136604165+leopardracer@users.noreply.github.com>
1 parent faed48e commit 8b3e01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/swaps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Finally a `multicall` function allows chaining all of the above to execute compl
4545
The swaps can be performed in one of 3 modes:
4646
- exact input
4747

48-
In this mode, all of the provided input token is expected to be swapped for an unknown amount of the output token. The proceeds are expected to be sent to a vault, to be skimmed by the user, or back to the swapper contract. The latter option is useful when performing complex, multi-stage swaps, where the output token is accumulated in the swapper before being consumed at the end of the operation. Note that the available handler (`GenericHandler`) executes a payload encoded off-chain, so a lot of the parameters passed to the `swap` funtion will be ignored and only the amount of input token encoded in the payload will be swapped, even if the swapper holds more.
48+
In this mode, all of the provided input token is expected to be swapped for an unknown amount of the output token. The proceeds are expected to be sent to a vault, to be skimmed by the user, or back to the swapper contract. The latter option is useful when performing complex, multi-stage swaps, where the output token is accumulated in the swapper before being consumed at the end of the operation. Note that the available handler (`GenericHandler`) executes a payload encoded off-chain, so a lot of the parameters passed to the `swap` function will be ignored and only the amount of input token encoded in the payload will be swapped, even if the swapper holds more.
4949

5050
- exact output
5151

0 commit comments

Comments
 (0)