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

fix some typos #140

Open
wants to merge 1 commit into
base: main
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/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [ ] Initial holders distribution safeguards
- [ ] Limit initial holders to X addresses (with X small)
- [ ] Limit the percentage of the total supply that can be distributed to initial holders
- [ ] Inital buys safeguards
- [ ] Initial buys safeguards
- [ ] Limit the percentage of the total supply that can be bought in the first X blocks

## 🛠️ Build
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/exchanges/ekubo/launcher.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ mod EkuboLauncher {
);

// Append the owner's position to storage. It can only be removed if the ownership
// is transfered.
// is transferred.
let mut owner_positions = self.owner_to_positions.read(params.owner);
owner_positions.append(id);

Expand Down
2 changes: 1 addition & 1 deletion contracts/src/tests/fork_tests/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fn deploy_memecoin_through_factory_with_owner(

// Upon deployment, we mock the transaction_hash of the current tx.
// This is because for each tx, we check during transfers whether a transfer already
// occured in the same tx. Rather than adding these lines in each test, we make it a default.
// occurred in the same tx. Rather than adding these lines in each test, we make it a default.
let mut tx_info: TxInfoMock = Default::default();
tx_info.transaction_hash = Option::Some(1234);
start_spoof(CheatTarget::One(memecoin_address), tx_info);
Expand Down
4 changes: 2 additions & 2 deletions contracts/src/tests/unit_tests/test_memecoin_erc20.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ mod erc20_entrypoints {
let recipient_balance = memecoin.balanceOf(RECIPIENT());
assert(recipient_balance == 20, 'Invalid balance recipient');

// Check allowance. Should be equal to initial supply - transfered amount.
// Check allowance. Should be equal to initial supply - transferred amount.
let allowance = memecoin.allowance(*INITIAL_HOLDERS()[0], SPENDER());
assert(allowance == (DEFAULT_INITIAL_SUPPLY() - 20), 'Invalid allowance');
}
Expand Down Expand Up @@ -205,7 +205,7 @@ mod erc20_entrypoints {
let recipient_balance = memecoin.balanceOf(RECIPIENT());
assert(recipient_balance == 20, 'Invalid balance recipient');

// Check allowance. Should be equal to initial supply - transfered amount.
// Check allowance. Should be equal to initial supply - transferred amount.
let allowance = memecoin.allowance(*INITIAL_HOLDERS()[0], SPENDER());
assert(allowance == (DEFAULT_INITIAL_SUPPLY() - 20), 'Invalid allowance');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ mod memecoin_internals {
/// pre launch holder number should not change when
/// transfer is done to recipient(s) who already have tokens

/// to test this, we are going to continously self transfer tokens
/// to test this, we are going to continuously self transfer tokens
/// and ensure that we can transfer more than `MAX_HOLDERS_BEFORE_LAUNCH` times

let (memecoin, memecoin_address) = deploy_memecoin_through_factory();
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/tests/unit_tests/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ fn deploy_memecoin_through_factory_with_owner(

// Upon deployment, we mock the transaction_hash of the current tx.
// This is because for each tx, we check during transfers whether a transfer already
// occured in the same tx. Rather than adding these lines in each test, we make it a default.
// occurred in the same tx. Rather than adding these lines in each test, we make it a default.
let mut tx_info: TxInfoMock = Default::default();
tx_info.transaction_hash = Option::Some(1234);
snforge_std::start_spoof(CheatTarget::One(memecoin_address), tx_info);
Expand Down