ERC4973
ERC4973 copied to clipboard
An additional `bytes calldata data` to give and take could help extending the interface's functionality
- To enable one user to give and take to many users, Otterspace has implemented giveToMany and takeToMany respectively
- https://github.com/otterspace-xyz/otterspace-contracts/blob/511ce5564eeb3a7d0833635262c3bc8a5f54b4bc/src/Badges.sol#L134
- https://github.com/otterspace-xyz/otterspace-contracts/blob/511ce5564eeb3a7d0833635262c3bc8a5f54b4bc/src/Badges.sol#L197
- This is a use case they're serving so we're interested in serving it with ERC4973 too.
- One idea was to add an additional
bytes calldata datato bothgiveandtakesuch that they could pack the "many" information into this bytearray