Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lam committed Dec 19, 2023
1 parent 0ba35e8 commit 5a471e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/src/Teleporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `ITeleporterMessenger` interface provides two primary methods:
The `ITeleporterReceiver` interface provides a single method. All contracts that wish to receive Teleporter messages on the destination chain must implement this interface:
- `receiveTeleporterMessage`: called by the Teleporter contract on the destination chain to deliver a message to the destination contract.

> Note: If a contract does not implement `ITeleporterReceiver`, but instead implements [fallback](https://docs.soliditylang.org/en/latest/contracts.html#fallback-function), the fallback function will be called when Teleporter attempts to perform message execution. Whether the message execution is marked as successfully executed or failed is dependent on whether the fallback function reverts or not.
> Note: If a contract does not implement `ITeleporterReceiver`, but instead implements [fallback](https://docs.soliditylang.org/en/latest/contracts.html#fallback-function), the fallback function will be called when Teleporter attempts to perform message execution. The message execution is marked as failed if the fallback function reverts, otherwise it is marked as successfully executed.
## Data Flow
<div align="center">
Expand Down

0 comments on commit 5a471e0

Please sign in to comment.