If the event's amountis at least 0.05:
Create an agent: an AI-invented creature with an AI-generated name and personality , saved as agent.
Set avatar of agentto generate image of “a cute pet creature, ”followed by the speciesof agentstyle sticker.
Set the bornAtof agentto current timestamp .
Show agentin the project world.
Post “{agent} hatched”to the feed.
If current timestamp minus lastBuyAtis more than 1800000:
Remove agent item 1of all agents .
Buy 0.01SOLof “TOKEN”.
Burn 100% of the coin wallet's balance of $COIN.
Post “oldest pet died. bought back 0.01”to the feed.
Set lastBuyAtto current timestamp .