Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #196

Open
wants to merge 1 commit into
base: router
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts/interfaces/IProtocolFee.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Fee } from "../shared/Structs.sol";
interface IProtocolFee {
/**
* @notice Sets protocol fee default value
* @param protocolFeeDefault New base fee defaul value
* @param protocolFeeDefault New base fee default value
* @dev Can be called only by the owner
*/
function setProtocolFeeDefault(Fee calldata protocolFeeDefault) external;
Expand Down
4 changes: 2 additions & 2 deletions contracts/router/Router.sol
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ contract Router is
}

/**
* @dev In ERC20 token case, transfers input token from the accound address to this contract,
* @dev In ERC20 token case, transfers input token from the account address to this contract,
* calls `permit()` function if allowance is not enough and permit call data is provided
* @dev Checks `msg.value` in Ether case
* @dev Does nothing in zero input token address case
Expand Down Expand Up @@ -252,7 +252,7 @@ contract Router is
}

/**
* @dev Transfers input token from the accound address to this contract,
* @dev Transfers input token from the account address to this contract,
* calls `permit()` function if allowance is not enough and permit call data is provided
* @param token Token to be taken from the account address
* @param amount Input token absolute amount to be taken from the account
Expand Down
2 changes: 1 addition & 1 deletion contracts/router/SignatureVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ contract SignatureVerifier is ISignatureVerifier, EIP712 {
/**
* @param typehash The required signature typehash
* @param input Input described in `hashDada()` function
* @param output Outut described in `hashDada()` function
* @param output Output described in `hashDada()` function
* @param swapDescription Swap parameters described in `hashDada()` function
* @param saltOrDeadline Salt/deadline parameter preventing double-spending
* @return `execute()` function data hashed
Expand Down
2 changes: 1 addition & 1 deletion docs/creating-your-adapters/read-only-adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## How to add your protocol to DeFi SDK

Once a protocol is added to **ProtocolAdapterRegistry** contract, it will immediately appear in all the interfaces that use DeFi SDK \(including Zerion\). In order to add protocol to to DeFi SDK one has to implement the following contracts.
Once a protocol is added to **ProtocolAdapterRegistry** contract, it will immediately appear in all the interfaces that use DeFi SDK \(including Zerion\). In order to add protocol to the DeFi SDK one has to implement the following contracts.

### `ProtocolAdapter`

Expand Down