Skip to content

Commit

Permalink
deploy: 25adc1a
Browse files Browse the repository at this point in the history
  • Loading branch information
tynes committed Oct 14, 2024
1 parent 7ca7e0e commit 2645f22
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions interop/predeploys.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,12 @@ <h3 id="interfaces"><a class="header" href="#interfaces">Interfaces</a></h3>
chain is included instead.</p>
<h4 id="sending-messages"><a class="header" href="#sending-messages">Sending Messages</a></h4>
<p>The following function is used for sending messages between domains:</p>
<pre><code class="language-solidity">function sendMessage(uint256 _destination, address _target, bytes calldata _message) external;
<pre><code class="language-solidity">function sendMessage(uint256 _destination, address _target, bytes calldata _message) external returns (bytes32);
</code></pre>
<p>It emits a <code>SentMessage</code> event with the necessary metadata to execute when relayed on the destination chain.</p>
<pre><code class="language-solidity">event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message);``
<p>It returns the hash of the message being sent,
used to track whether the message has successfully been relayed.
It emits a <code>SentMessage</code> event with the necessary metadata to execute when relayed on the destination chain.</p>
<pre><code class="language-solidity">event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message);
</code></pre>
<p>An explicit <code>_destination</code> chain and <code>nonce</code> are used to ensure that the message can only be played on a single remote
chain a single time. The <code>_destination</code> is enforced to not be the local chain to avoid edge cases.</p>
Expand Down
8 changes: 5 additions & 3 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -10627,10 +10627,12 @@ <h3 id="interfaces"><a class="header" href="#interfaces">Interfaces</a></h3>
chain is included instead.</p>
<h4 id="sending-messages"><a class="header" href="#sending-messages">Sending Messages</a></h4>
<p>The following function is used for sending messages between domains:</p>
<pre><code class="language-solidity">function sendMessage(uint256 _destination, address _target, bytes calldata _message) external;
<pre><code class="language-solidity">function sendMessage(uint256 _destination, address _target, bytes calldata _message) external returns (bytes32);
</code></pre>
<p>It emits a <code>SentMessage</code> event with the necessary metadata to execute when relayed on the destination chain.</p>
<pre><code class="language-solidity">event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message);``
<p>It returns the hash of the message being sent,
used to track whether the message has successfully been relayed.
It emits a <code>SentMessage</code> event with the necessary metadata to execute when relayed on the destination chain.</p>
<pre><code class="language-solidity">event SentMessage(uint256 indexed destination, address indexed target, uint256 indexed messageNonce, address sender, bytes message);
</code></pre>
<p>An explicit <code>_destination</code> chain and <code>nonce</code> are used to ensure that the message can only be played on a single remote
chain a single time. The <code>_destination</code> is enforced to not be the local chain to avoid edge cases.</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 2645f22

Please sign in to comment.