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

BAYC example added #42

Merged
merged 5 commits into from
Oct 12, 2023
Merged

BAYC example added #42

merged 5 commits into from
Oct 12, 2023

Conversation

bgodlin
Copy link
Contributor

@bgodlin bgodlin commented Oct 7, 2023

No description provided.

@bgodlin bgodlin self-assigned this Oct 7, 2023
Ethereum/ethereum-bayc/schema.graphql Show resolved Hide resolved
Ethereum/ethereum-bayc/schema.graphql Show resolved Hide resolved
type BoredApe @entity {
id: ID!
creator: String!
newOwner: String!
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
newOwner: String!
currentOwner: String!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

blockNumber: BigInt!
}

type Property @entity {
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the relationship between Property and BoredApe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mapping:
file: ./dist/index.js
handlers:
- kind: ethereum/LogHandler
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a Mint handler?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

@deverka deverka left a comment

Choose a reason for hiding this comment

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

Thanks @bgodlin looks good to me

@bgodlin bgodlin marked this pull request as draft October 10, 2023 14:20
@bgodlin bgodlin marked this pull request as ready for review October 10, 2023 15:29
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.

None yet

3 participants