How does anyCall work?
The anyCall contract is made up of the following contracts and functions.
- 1.anyCall Function — Resides on the source chain. The anyCall function calls the anyCall contract and stores the instructions to be executed on the destination chain.
- 2.Multichain MPC nodes — The anyCall contract resides in a common MPC address on all blockchains. The contract detects the invocation of the anyCall function and performs security and validity checks before relaying the message to the destination chain.
- 3.anyExec Function — Resides on the destination chain. The anyExec function receives the instructions sent from the source chain through the anyCall contract and executes