Skip to content

Commit

Permalink
chore: removing an unused param from documentation and README
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Aug 15, 2024
1 parent 5e17625 commit d366304
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ Extracts and stores current Mastercopy data from the contract build and adds it

**`factory`** - (Optional) The address of the factory contract used to deploy the mastercopy. Defaults to erc2470FactoryAddress.

**`bytecode`** - (Optional) The bytecode of the contract.

**`compilerInput`** - (Optional) The minimal compiler input.

**`buildDirPath`** - (Optional) The path to the build directory. Defaults to defaultBuildDir().
Expand Down
1 change: 0 additions & 1 deletion src/artifact/writeMastercopyFromBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { MastercopyArtifact } from "../types";
* @param {any[]} params.constructorArgs.values - The values of the constructor arguments.
* @param {string} params.salt - A 32-byte value used for mastercopy deployment.
* @param {string} [params.factory=erc2470FactoryAddress] - The address of the factory contract used to deploy the mastercopy. Optional.
* @param {string} [params.bytecode] - The bytecode of the contract. Optional.
* @param {any} [params.compilerInput] - The minimal compiler input. Optional.
* @param {string} [params.buildDirPath=defaultBuildDir()] - The path to the build directory. Optional.
* @param {string} [params.mastercopyArtifactsFile=defaultMastercopyArtifactsFile()] - The path to the mastercopy artifacts file. Optional.
Expand Down
2 changes: 1 addition & 1 deletion src/artifact/writeMastercopyFromExplorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getSourceCode } from "./internal/etherscan";
import { MastercopyArtifact } from "../types";

/**
* Extracts and stores the Mastercopy result from a contract deployed on the blockchain by querying an explorer like Etherscan.
* Extracts and stores the Mastercopy result from a contract deployed on the blockchain by querying an Etherscan-like explorer.
*
* This method fetches the source code, ABI, and other relevant information of the contract from an explorer, then predicts the address of the singleton and stores the relevant data in the artifacts file.
*
Expand Down

0 comments on commit d366304

Please sign in to comment.