Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

fix various spelling errors #225

Merged
merged 2 commits into from Apr 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion __tests__/PolynomialInterestSetter.test.ts
Expand Up @@ -182,7 +182,7 @@ describe('PolynomialInterestSetter', () => {
expect(maxAPR2).toEqual(newAPR);
});

it('Fails to deploy contracts whose coefficients dont add to 100', async () => {
it("Fails to deploy contracts whose coefficients don't add to 100", async () => {
await expectThrow(
solo.contracts.testPolynomialInterestSetter.methods.createNew({
maxAPR: '0',
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/oracles/DaiPriceOracle.sol
Expand Up @@ -189,7 +189,7 @@ contract DaiPriceOracle is

/**
* Gets the USD price of DAI that this contract will move towards when updated. This price is
* not bounded by the varaibles governing the maximum deviation from the old price.
* not bounded by the variables governing the maximum deviation from the old price.
*/
function getTargetPrice()
public
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/proxies/PayableProxyForSoloMargin.sol
Expand Up @@ -71,7 +71,7 @@ contract PayableProxyForSoloMargin is
{
require( // coverage-disable-line
msg.sender == address(WETH),
"Cannot recieve ETH"
"Cannot receive ETH"
);
}

Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/SoloMargin.sol
Expand Up @@ -31,7 +31,7 @@ import { Storage } from "./lib/Storage.sol";
* @title SoloMargin
* @author dYdX
*
* Main contract that inherets from other contracts
* Main contract that inherits from other contracts
*/
contract SoloMargin is
State,
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/interfaces/IErc20.sol
Expand Up @@ -23,7 +23,7 @@ pragma solidity 0.5.7;
* @author dYdX
*
* Interface for using ERC20 Tokens. We have to use a special interface to call ERC20 functions so
* that we dont automatically revert when calling non-compliant tokens that have no return value for
* that we don't automatically revert when calling non-compliant tokens that have no return value for
* transfer(), transferFrom(), or approve().
*/
interface IErc20 {
Expand Down
2 changes: 1 addition & 1 deletion contracts/protocol/lib/Token.sol
Expand Up @@ -164,7 +164,7 @@ library Token {
returnValue := mload(0x0)
}

// not sure what was returned: dont mark as success
// not sure what was returned: don't mark as success
default { }
}

Expand Down