Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Standardize spacing in code comments for better readability. (#1020)
Browse files Browse the repository at this point in the history
Co-authored-by: Dustin Brickwood <dustinbrickwood204@gmail.com>
  • Loading branch information
0x10240 and dutterbutter authored May 9, 2024
1 parent a0e599d commit 79f8ffc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/build/tooling/block-explorer/contract-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ You can output the constructor argument data at deploy time by adding the follow
const your_constructor_argument = "Hi there!";
const myContract = await deployer.deploy(artifact, [your_constructor_argument]);

//obtain the Constructor Arguments
// obtain the Constructor Arguments
console.log("constructor args:" + myContract.interface.encodeDeploy([your_constructor_argument]));
```
2 changes: 1 addition & 1 deletion docs/build/tooling/hardhat/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default async function (hre: HardhatRuntimeEnvironment) {

const greeterContract = await deployer.deploy(artifact, [greeting]);

//obtain the Constructor Arguments
// obtain the Constructor Arguments
console.log("constructor args:" + greeterContract.interface.encodeDeploy([greeting]));

// Show the contract info.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The code below sets and removes the limit.
_updateLimit(_token, 0, 0, 0, false);
}
// verify if the update to a Limit struct is valid
// verify if the update to a Limit struct is valid
// Ensure that users can't freely modify(increase or remove) the daily limit to spend more.
function isValidUpdate(address _token) internal view returns (bool) {
// Reverts unless it is first spending after enabling
Expand Down

0 comments on commit 79f8ffc

Please sign in to comment.