In the past two days I was tinkering with the fomo miner and ran into this problem.
Because the whole time we were using AI to write the code, and the contract was also
On the first day, Sister @bibisister0508 and I directly injected more than 300 billion into the mining pool #bibi
When we checked the contract, the AI said it forgot to write the mining (reward extraction) functionality, and it also didn’t write a withdrawal function. It ended up helping destroy 300 billion for bibi.
On the second time writing, the very first thing I did was to reserve a withdrawal function for each pool in advance.
That way, if any bug shows up, we can withdraw the coins from the contract.
Because the whole time we were using AI to write the code, and the contract was also
On the first day, Sister @bibisister0508 and I directly injected more than 300 billion into the mining pool #bibi
When we checked the contract, the AI said it forgot to write the mining (reward extraction) functionality, and it also didn’t write a withdrawal function. It ended up helping destroy 300 billion for bibi.
On the second time writing, the very first thing I did was to reserve a withdrawal function for each pool in advance.
That way, if any bug shows up, we can withdraw the coins from the contract.