Skip to content

Commit e7bcf80

Browse files
authored
fix: Minor fixes throughout codebase (#1276)
* remove BTC dir * rename BTC to btc * fix typo * update license * fix typo
1 parent 3b6a778 commit e7bcf80

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright (c) 2021-2022 liberhe, yingjingyang and other contributors
2+
Copyright (c) 2021-2025 liberhe, yingjingyang and other contributors
33

44
Permission is hereby granted, free of charge, to any person obtaining
55
a copy of this software and associated documentation files (the

basic/09-hardhat-react/frontend/src/components/Dapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class Dapp extends React.Component {
145145
<div className="row">
146146
<div className="col-12">
147147
{/*
148-
If the user has no tokens, we don't show the Tranfer form
148+
If the user has no tokens, we don't show the Transfer form
149149
*/}
150150
{this.state.balance === 0 && (
151151
<NoTokensMessage deployContract={() => this._deployContract()} />

basic/11-react-express-hardhat/frontend/src/components/Dapp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class Dapp extends React.Component {
138138
<div className="row">
139139
<div className="col-12">
140140
{/*
141-
If the user has no tokens, we don't show the Tranfer form
141+
If the user has no tokens, we don't show the Transfer form
142142
*/}
143143
{this.state.balance.eq(0) && (
144144
<NoTokensMessage selectedAddress={this.state.selectedAddress} />

basic/23-erc865-and-erc875/contracts/eip165/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function supportsInterface(address account, bytes4 interfaceId) internal view re
188188
}
189189
```
190190

191-
With the help of ERC165Checker, it is far more easier to check interface. Take a scenerio where a NFT market wants to move NFT it stored to some buyer, it must know what of kind of NFT it is transfering before the tranfer:
191+
With the help of ERC165Checker, it is far more easier to check interface. Take a scenerio where a NFT market wants to move NFT it stored to some buyer, it must know what of kind of NFT it is transfering before the transfer:
192192

193193
```solidity
194194
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";

basic/23-erc865-and-erc875/test/test-ERC1155.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ describe('ERC1155 compatible logic', async () => {
8080
// Approve for other account
8181
await gameItemsContract.setApprovalForAll(alice.address,true);
8282

83-
// Batch Tranfer from owner to alice
83+
// Batch Transfer from owner to alice
8484
let ids = [0,1];
8585
let amounts = [10,20];
8686
const additionalData = ethers.utils.formatBytes32String("777TestData")

basic/23-erc865-and-erc875/test/test-ERC865.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('ERC865 compatible logic', async () => {
145145
expect(bobAllowance).to.equal(allowance);
146146
});
147147

148-
it('Bob tranfer allowed balance from Alice to Charlie (fee=1)', async () => {
148+
it('Bob transfer allowed balance from Alice to Charlie (fee=1)', async () => {
149149
// Transfer 100 tokens from owner to addr1
150150
await dTokenOwner.transfer(bob.address, 100);
151151

defi/RAI/GEB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Relevant smart contracts:
451451

452452
- SingleSpotDebtCeilingSetter - 这个合约通过查看 SAFEEngine 中的当前 globalDebt 来重新计算特定抵押品类型的债务上限
453453

454-
- ESMThresholdSSetter - 这个合约通过使用 ESM 重新计算燃烧和触发结算所需的阈值
454+
- ESMThresholdSetter - 这个合约通过使用 ESM 重新计算燃烧和触发结算所需的阈值
455455

456456
## Governance Module
457457

defi/RAI/PID.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ contract PIRawPerSecondCalculator is SafeMath, SignedSafeMath {
161161
// newRedemptionRate cannot be lower than 10^0 (1) because of the way rpower is designed
162162
bool negativeOutputExceedsHundred = (boundedPIOutput < 0 && -boundedPIOutput >= int(defaultRedemptionRate));
163163
164-
// If it is smaller than 1, set it to the nagative rate limit
164+
// If it is smaller than 1, set it to the negative rate limit
165165
if (negativeOutputExceedsHundred) {
166166
newRedemptionRate = NEGATIVE_RATE_LIMIT;
167167
} else {

0 commit comments

Comments
 (0)