Smart contracts automating farm trades