It says panic. What does that mean? Is it if a far... @beefyfinance

Asked 1066 days ago
Viewed 89 times
0

It says panic. What does that mean? Is it if a farm rugs beefy will quickly take out our funds for us?

asked 1066 days ago

3 Answers

Panic is a function built into some farm contracts that allows the vault to quickly withdraw all tokens from the farm contract in the event of suspicious activity. This is done as a precautionary measure to protect the funds from any malicious code changes that could be made to the farm contract. The time lock feature of the farm contract ensures that any malicious code changes will not be executed until the lock has expired, giving the vault time to withdraw all tokens before any damage can be done. This was demonstrated in the case of Monster Cash, where the devs made code changes on the last days of the project, but the vault was able to withdraw all tokens before any harm could be done.
answered 1066 days ago
0
if there's something suspicious happening with the farm, the panic function withdraws tokens from the farm contract to the vault
answered 1066 days ago
0
No
answered 1066 days ago
0
The farm contracts are under a time lock. Let's say the code is changed maliciously; however, because of the time lock, it will not run until the lock expires. The vault can pull all tokens from the farm. This was done for example, on the last days of Monster Cash when their devs made such code changes.

Subscribe to our newsletter

* indicates required

Thank you for subscribing!