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 detection criteria in ERC1155Purchase #13

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

ponyjackal
Copy link
Contributor

No description provided.

Copy link

linear bot commented Nov 30, 2023

OU-1150 ERC1155 Purchase

A tx is an ERC1155 purchase when the tx.from sends and receives exactly 1 asset (look at netAssetTransfers).

The tx.from must receive exactly 1 ERC1155, where the value (special to 1155s) can be arbitrary

The tx.from must send either ETH/WETH/Blur ETH

There are no other recipients of ERC721/ERC20s/ERC1155s.

@pcowgill pcowgill merged commit 1674261 into main Nov 30, 2023
2 checks passed
@pcowgill pcowgill deleted the benguyen0214/ou-1150-erc1155-purchase branch November 30, 2023 16:27
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