transferFromfunctionality of the ERC20 token contract to lock the tokens; it must be explicitly approved to perform this operation.
approvemethod. Enter the following:
relayTokensmethod enter the token contract address and the amount of tokens to transfer.
relayTokens, a single method
transferAndCallcan be used to transfer tokens to the mediator contract and notify it regarding this action at the same time.
0xf6A78083ca3e2a662D6dd1703c939c8aCE2e268d), amount of tokens to transfer, and "0x" in the
_datafield. Press Write to send the transaction.
approvemethod call and only call the
transferAndCallmethod in the token contract.
0x88ad09518695c6c3712AC10a214bE5109a655671)as the recipient of the tokens, the amount of tokens in wei the "value" field, and 0x in the "data" field. Click Write to execute.
transfermethod to withdraw tokens from the xDai chain instead of
transferAndCall. So, it is enough to specify the multi-token mediator contract address on the xDai chain (
0xf6A78083ca3e2a662D6dd1703c939c8aCE2e268d) as the recipient and amount of tokens to initiate request to transfer tokens back to Ethereum.