revo-market / make-crypto-mobile-hackathon

Build the next generation of Defi accessibility with Celo mobile-first blockchain! Create new solutions on top of the Celo Ledger - DeFi, NFTs, Smart Contracts, Developer tooling and more.
1 stars 1 forks source link

feat: created farm-bot.sol, just has a withdraw method #16

Closed cajubelt closed 2 years ago

cajubelt commented 2 years ago

WIP need to test

trying to figure out how to write tests for this that use realistic Ubeswap LP tokens

lisaqyli commented 2 years ago

high level question: Why do we need to import the whole ube-token contract dir? I thought we only need to interface with the LP token

cajubelt commented 2 years ago

I have now manually tested this so marking it as ready for review

It has unrelated ube contract stuff but yolo, it's a hackathon

cajubelt commented 2 years ago

@lisaqyli I was playing around with the UBE token contract trying to get a test running where a user obtains an ube token and deposits it into farmbot. I didn't get that far though. You'd need the full contract to get a token

cajubelt commented 2 years ago

closing this since #21 supercedes it