I was going through the Opensea Creatures factory contract. But I couldnt find why the Transfer
event is emitted NUM_OPTIONS
times? What is the relevance of NUM_OPTIONS here?
function fireTransferEvents(address _from, address _to) private {
for (uint256 i = 0; i < NUM_OPTIONS; i++) {
emit Transfer(_from, _to, i);
}
}
Tried searching for the answer, the only hint available was a question posted on ProjectOpenSea Github issues page, but that didn't answer the query at all. Any idea?