2

"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? :)

3

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.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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