The aim is to build the "most efficient" single dual-nature contract,
that is also scalable in the long term (no out-of-gas DoS vectors even with millions of trades),
and usable for IPFS token URIs with per-token unique metadata.
This is still extremely hot and experimental.
I haven't got the rest of the avengers to internal audit this yet.
USE AT YOUR OWN RISK
Tbh, I think that ERC721 is a more flexible option in the long term, mainly because of ownerOf.
Past a certain point, there is only so much gas you can save before eating into UX.
Always take benchmarks (including ours) with a pinch of salt, as they can be cheesed.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
[x] Ran forge fmt?
[x] Ran forge snapshot?
[x] Ran forge test?
Pull requests with an incomplete checklist will be thrown out.
Description
The aim is to build the "most efficient" single dual-nature contract, that is also scalable in the long term (no out-of-gas DoS vectors even with millions of trades),
and usable for IPFS token URIs with per-token unique metadata.
This is still extremely hot and experimental.
I haven't got the rest of the avengers to internal audit this yet.
USE AT YOUR OWN RISK
Tbh, I think that ERC721 is a more flexible option in the long term, mainly because of
ownerOf
.Past a certain point, there is only so much gas you can save before eating into UX.
Always take benchmarks (including ours) with a pinch of salt, as they can be cheesed.
Checklist
Ensure you completed all of the steps below before submitting your pull request:
forge fmt
?forge snapshot
?forge test
?Pull requests with an incomplete checklist will be thrown out.