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

chore: remove redundant words in comment #468

Merged
merged 1 commit into from
Dec 3, 2024
Merged
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 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
Loading