skyge pfp

skyge

@skyge

183 Following
27 Followers


skyge pfp
skyge
@skyge
For the zero address check, when executing `transfer` and `transferFrom` functions in token contracts, I will check whether the recipient address is the zero address. This check is necessary because the zero address is a special address that no one controls. Transferring tokens to the zero address is akin to burning tokens, but not in the traditional sense of burning tokens. To ensure a more reasonable token circulation, I will include a check for the zero address in these cases. However, in the `constructor` function, if the intention is to set a contract address, such as a treasury contract, I may not perform the zero address check. Instead, I would prefer to have a separate function that can update this contract address later. This approach allows for more flexibility because not only is `address(0)` considered invalid, but `address(1)` is also invalid. Therefore, having a dedicated function to modify the contract address provides a better solution.
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Mint & Earn 125 $DEGEN.
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
what kind of music do you like to listen to when you are coding? Share out your song list!
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Great
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Join to play for the @linea Park on the @layer3xyz https://layer3.xyz/linea-park/?ref=skyge.eth
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Try to deploy a Quest via Boost Terminal On Optimism, you can get 2000 $DEGEN as rewards. Have fun: https://rabbithole.gg/quests/ea8ef75c-6ffa-445c-8ff1-6a3527a66d66 @boostxyz #rabbbithole $DEGEN
0 reply
1 recast
0 reaction

skyge pfp
skyge
@skyge
Mint this FREE NFT from Base CEO Armstrong. It is A soul-bound NFT that can not be resold or transferred. Head to https://nft.coinbase.com/mint/coinearnings, switch to Base Network and mint.
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Congrats on the launch!
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
cute
0 reply
0 recast
0 reaction

skyge pfp
skyge
@skyge
Have a try on layer3, got some pleasure, but not much.
0 reply
0 recast
0 reaction