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 !
1 reply
0 recast
16 reactions
iain
@iain
it's a proto 721 :) "colored coin" where the coins are not fungible
1 reply
0 recast
1 reaction
henry
@henry
pre interesting that the concept ERC-721 didn't even exist prior to the punks release. the punks release inspired it, and the crypto kitties popularised the term
0 reply
0 recast
0 reaction