henry
@henry
TIL CryptoPunks ownership is an internal mapping mapping (uint => address) public punkIndexToAddress; Most docs state CryptoPunks are an ERC-20 token However, the contract only implements balanceOf(). If they were a true ERC-20 token, the owner of each punk would be untrackable onchain Instead, there is this function: transferPunk(address to, uint punkIndex) This ensures the owner mapping of a punk remains consistent onchain, when transferred - pre interesting !
2 replies
7 recasts
16 reactions
mandy
@v11
😀 😀 😀
0 reply
0 recast
0 reaction