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

Subgraph mapping for DaoArtifacts #9

Open
jtrein opened this issue Jul 9, 2021 · 0 comments
Open

Subgraph mapping for DaoArtifacts #9

jtrein opened this issue Jul 9, 2021 · 0 comments
Assignees

Comments

@jtrein
Copy link

jtrein commented Jul 9, 2021

For the new DaoArtifacts helper contract, it would be very nice to have a subgraph mapping for it.

One really nice benefit of having the subgraph is being able to return an array of data for previous versions of the adapter. This would otherwise be more difficult to achieve with scouring event logs (but possible) in Web3/Ethers.

E.g.

[bytes32 _id]: {
  [{
    bytes32 _id,
    address _owner,
    bytes32 _version,
    address _address,
    ArtifactType _type
  }, {
    bytes32 _id,
    address _owner,
    bytes32 _version,
    address _address,
    ArtifactType _type
  }]
}
@sophiacodes sophiacodes transferred this issue from openlawteam/tribute-contracts Nov 30, 2021
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

No branches or pull requests

2 participants