We have a transaction on the home side that we want to transfer to the foreign side : https://blockscout.com/poa/sokol/tx/0x9ae1356fd361d4021b39f1c25f5a15327b95db9eeda420f2c168914fecc86358/token-transfers
We can finalize the transfer from the home side back to the foreign side manually here :
We did it and it was successful : https://kovan.etherscan.io/tx/0x2a70e38b3f8903b7a3ed1caaff5b57e7880c202a8afa6ea9bed791839a7dc2ab
We would like to do this programmatically but do not know where to get the parameters for the executeSignatures function [ executeSignatures(bytes _data, bytes _signatures) ].
We looked at the AMB Oracle code : https://github.com/poanetwork/tokenbridge/blob/bbc68f9fa2c8d4fff5d2c464eb99cea5216b7a0f/oracle/src/events/processAMBCollectedSignatures/index.js#L149
but still do not understand how or where the “_data” and “_signatures” are coming from.
Are they coming from the payload of an event from the home side AMB? Any help or insight would be greatly appreciated. Our goal is to make it easier for users to navigate back and forth from main net to xdai chain.