Skip to content

Commit

Permalink
chore: remove redundant words in comment (#468)
Browse files Browse the repository at this point in the history
Signed-off-by: rusttech <gopher@before.tech>
  • Loading branch information
rusttech authored and iainnash committed Dec 3, 2024
1 parent 8abcfff commit ccce363
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/pages/protocol-sdk/collect/getTokensOfContract.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `getTokensOfContract`

**Both onchain** and **premint (gaslessly created)** tokens of a Zora 1155 contract can be retrieved using the the Collector Client function
**Both onchain** and **premint (gaslessly created)** tokens of a Zora 1155 contract can be retrieved using the Collector Client function
`getTokensOfContract()` and passing a token contract address. The function returns a `tokens` array with an item for each token of the contract.
Each item in `tokens` contains information the token in the `token` object, and has a function
`prepareMint`. The `prepareMint` function takes a quantity to mint and returns the transaction parameters to mint the token, costs to mint the token, and any necessary
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/protocol-sdk/create/withdrawRewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const { parameters } = await creatorClient.withdrawRewards({
// set this to false to disable claiming secondary royalties
claimSecondaryRoyalties: true,
// account to execute the transaction. Any account can withdraw rewards for another account,
// but the the rewards will always be pulled to the account that holds the balance
// but the rewards will always be pulled to the account that holds the balance
account: randomAccount,
});

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-sdk/src/sparks/sparks-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const encodePremintOnManager = ({
* @param chainId - The ID of the chain where the MINTs are to be used
* @param deadline - The deadline of the permit.
* @param nonce - Random nonce of the permit.
* @param tokenIds - The mint token ids to to use
* @param tokenIds - The mint token ids to use
* @param quantities - The quantities of each token to use to collect the Zora Creator 1155 token with. The sum of these quantities will be the total quantity of the Zora Creator 1155 token collected.
* @param premint - If this is for a premint, the configuration of the premint to collect
* @param collect - If this is for a non-premint, the configuration of the non-premint to collect
Expand Down

0 comments on commit ccce363

Please sign in to comment.