Skip to content

Commit 2874101

Browse files
Merge pull request #280 from leopardracer/master
Fix typos in documentation and comments
2 parents da7951d + 8b3e01a commit 2874101

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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

test/Governor/FactoryGovernor.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ contract FactoryGovernorTests is EVaultTestBase {
8282
vm.expectRevert("contract is in read-only mode");
8383
eTST.deposit(1e18, depositor);
8484

85-
// admin can roll back changes by installing previous imlpementation
85+
// admin can roll back changes by installing previous implementations
8686
vm.prank(admin);
8787
factoryGovernor.adminCall(address(factory), abi.encodeCall(factory.setImplementation, (oldImplementation)));
8888

0 commit comments

Comments
 (0)