Backseats pfp

Backseats

@backseats

334 Following
17239 Followers


Backseats pfp
1 reply
1 recast
7 reactions

Backseats pfp
1 reply
3 recasts
23 reactions

Backseats pfp
0 reply
0 recast
2 reactions

Backseats pfp
4 replies
0 recast
8 reactions

Backseats pfp
Quick Smart Contract Review: ChonkMakeover.sol I've always loved the `onERC721Received` function, especially for making a change and immediately returning the token to the sender. It's simple, elegant, and punches above its weight. In this case, we're using it because in ChonksMain.chonkMakeover, I decided forever ago that you couldn't unequip a Trait in there (by setting its value to 0); you could only override a Trait with another new Trait ID value. Oops. Instead we have the user send their Chonk to the ChonksMakeover contract which takes some encoded data so it knows what to do, does the unequip, then the it does the chonkMakeover because the contract itself is temporarily the owner and you have to own the Chonk to put on and take off Traits. This all happens quietly to the user after a single transaction signature and it's all displayed in your Chonk's Activity
0 reply
0 recast
1 reaction

Backseats pfp
1 reply
2 recasts
20 reactions

Backseats pfp
1 reply
1 recast
7 reactions

Backseats pfp
8 replies
6 recasts
72 reactions

Backseats pfp
0 reply
0 recast
6 reactions

Backseats pfp
0 reply
2 recasts
13 reactions

Backseats pfp
6 replies
2 recasts
20 reactions

Backseats pfp
0 reply
0 recast
2 reactions

Backseats pfp
0 reply
0 recast
4 reactions

Backseats pfp
1 reply
0 recast
5 reactions

Backseats pfp
0 reply
0 recast
10 reactions

Backseats pfp
1 reply
0 recast
5 reactions

Backseats pfp
4 replies
1 recast
21 reactions

Backseats pfp
1 reply
0 recast
3 reactions

Backseats pfp
11 replies
0 recast
25 reactions

Backseats pfp
2 replies
0 recast
9 reactions