ProofSuite / OrFeed

DeFi & Distributed Data Service Aggregator
https://www.orfeed.org
Apache License 2.0
241 stars 152 forks source link

Metamask error: Exception thrown in contract code #66

Closed landrassy123 closed 4 years ago

landrassy123 commented 4 years ago

When attempting to write to my new arbitrage smart contract and call the arb function, I keep getting the above error on metamask regardless of the gas settings. I examined my code and still do not see the issue.

Contract address: https://etherscan.io/address/0x00cf9a57710ce31bb381550e458a59a9034b4051

mikedeshazer commented 4 years ago

@landrassy123 make sure to compile with Solidity v. 0.4.26. Should work.

landrassy123 commented 4 years ago

Unfortunately I have been doing that. Strangely, the example contract from the second yourtube lesson gives the same error - is this simply because I am not the owner or is it the same issue? Or is it possible that come convention(s) has changed since the video and some of my syntax is incorrect? Still having no luck troubleshooting this. Thanks for the prompt reply!

landrassy123 commented 4 years ago

Could you try to run the tutorial file again and see if you run into the same error - it seems ive tried everything to no avail :(

mikedeshazer commented 4 years ago

@landrassy123 try the arb function directly through orfeed... might work better for you. Video tutorial: https://www.youtube.com/watch?v=dFwZvxW3Upw Was created to simplify things!