Ethereum Crowdsale Discussion

I am using for the transfer function the address of the Crowdsale contract (after it was deployed successfully in Remix)

:

I also checked and saw that the balance of FilipCoins is in my MEW account (using the Balance Of function).

The problem is that the interface of the MEW changed (comparing to the video). I am even not getting to the point of having input text for changing the gas limit:
it goes like this:

  • Contract

  • Interact with Contract and then :

  • Input field for the contract address (filipCoin 0x7fe31723349febe0113bb3eac222fba80d33650a)

  • input field for the ABI.

  • Pressing the Continue button.

  • choosing the operation - transfer.

  • Input field for an address to transfer to (Crowdsale contract - 0x0cea7c0ed2912cac62c0447ce187190d0cc86c9b).

  • Input field for an amount to transfer

  • another input field for value in Ether (i left it empty).

  • then I pressed on the write button (there were no additional inputs fields such as for “private key” or gas limit).

  • then I am getting the mistake message:
    "Invalid argument 0:Jason. can not unmarshal invalid hex string into Go struct field. CallArgs.Gas of type hexutil.uint64" (after pressing the “write” Button).

Thanks again

Hmm, I’m not sure what’s going on here. You could try to change the gas setting by clicking on your profile picture at the top right in MEW, settings and then transaction speed.

Otherwise I would try to use another browser or to try to use remix to interact with it.

UPDATE

Changed ifSuccessfulSendTo and beneficiary type to address payable.
:grinning:

1 Like

Well you can refer this resource on explanation on 2d array.