relay-and-call
feature implemented recently in the OmniBridge contracts. In the last section of the manual there is also an instruction on how to transfer ETH to WETH on the xDai chain using a single operation. This may not be used often but some users may find it handy.transferAndCall
method._to
(address) the address of the OmniBridge contract on the xDai chain: 0xf6A78083ca3e2a662D6dd1703c939c8aCE2e268d
_value
(uint256) with amount of WBNB to be bridged (bridge fees will be subtracted from this value)_data
(bytes) with two pieces concatenated:0xa6439Ca0FCbA1d0F80df0bE6A17220feD9c9038a
)0x
.0xbf3d6f830ce263cae987193982192cd990442b53
the value in _data
field is 0xa6439ca0fcba1d0f80df0be6a17220fed9c9038abf3d6f830ce263cae987193982192cd990442b53
0xa6439Ca0FCbA1d0F80df0bE6A17220feD9c9038a
wrapAndRelayTokens
method and enter the amount of ETH to bridge to the xDai chain: