"Error encoding arguments: Error: Assertion failed" when calling function on deployed contract https://ropsten.etherscan.io/address/0xf75056aedfeef65ca4889c2f053bfd3158c131f2 (ROPSTEN)

I have verified the contract code here: https://ropsten.etherscan.io/address/0xf75056aedfeef65ca4889c2f053bfd3158c131f2#code

This is the error I get when I try to withdraw 100000000000000000 wei

enter image description here

I am using MetaMask to access web3.. hmmm...

What am I doing wrong? :)

1 Answer 1


You are trying to execute the function on Remix. For some reason Remix requires large integers to be provided as strings. In the textbox next to the withdrawFunds function button you should enter "100000000000000000" (between quotes) instead of 100000000000000000.

  • The reason is JavaScript. Commented Dec 26, 2017 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.