polytope-labs / hyperbridge

Hyperbridge is a hyperscalable coprocessor for verifiable, cross-chain interoperability
https://docs.hyperbridge.network/
Apache License 2.0
104 stars 33 forks source link

Implement flexible call data flow for call dispatcher #173

Closed developeruche closed 4 months ago

developeruche commented 4 months ago

With the introduction of account abstraction support in TokenGateway, we cannot assume that the contract address to be called is the beneficiary of the incoming asset. This PR introduces a way to make this flow more flexible by explicitly stating the address to be called and the calldata.