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: Simplify usage for collection orders #124

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

0xShisui
Copy link
Contributor

No description provided.

src/LooksRare.ts Outdated Show resolved Hide resolved
import abiIERC721 from "../../abis/IERC721.json";
import { Signer } from "../../types";

export const balanceOf = async (signer: Signer, contractAddress: string, owner?: string, overrides?: Overrides) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you still need a signer for readonly functions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No but because it's a helper for the test, it makes it easier (I can ignore the address and pull it from the signer)

0xhiroshi
0xhiroshi previously approved these changes Mar 17, 2023
@0xShisui 0xShisui merged commit 72cf905 into LooksRare:master Mar 20, 2023
@0xShisui 0xShisui deleted the collection-orders branch March 20, 2023 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants