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

Add v3 Transaction Types #382

Merged
merged 6 commits into from
May 28, 2024
Merged

Add v3 Transaction Types #382

merged 6 commits into from
May 28, 2024

Conversation

cdt-eth
Copy link
Contributor

@cdt-eth cdt-eth commented May 28, 2024

No description provided.

@cdt-eth cdt-eth requested a review from guscost May 28, 2024 17:41
netAssetTransfers: {
[address: string]: {
received: [{ type; contract; value; tokenId? }];
sent: [{ type; contract; value; tokenId? }];
Copy link
Contributor

@guscost guscost May 28, 2024

Choose a reason for hiding this comment

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

Could we add the type of each of these sub-object properties so we have more than just the names?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

};
isContract: boolean;
tokenStandard: string;
imgUrl: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

We use imageUrl below, but I suppose this has to be accurate, maybe call it out with a comment until we can update.

Also I would add comments stating explicitly that all these structures are in progress, like https://github.com/Once-Upon/docs/pull/22/files

Copy link
Contributor Author

@cdt-eth cdt-eth May 28, 2024

Choose a reason for hiding this comment

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

@cdt-eth cdt-eth requested a review from guscost May 28, 2024 18:15
contract: string;
tokenId?: 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.

didn't realize we already had a type for this

@cdt-eth cdt-eth merged commit 3efb07f into main May 28, 2024
2 checks passed
@cdt-eth cdt-eth deleted the v3-types branch May 28, 2024 20:11
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