Skip to content

Commit 2501575

Browse files
committed
typography
1 parent b6bef4e commit 2501575

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

contracts/crosschain/axelar/AxelarGatewayDestination.sol

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ import {AxelarGatewayBase} from "./AxelarGatewayBase.sol";
1010
/**
1111
* @dev Implementation of an ERC-7786 gateway destination adapter for the Axelar Network in dual mode.
1212
*
13-
* The contract implements implements AxelarExecutable's {_execute} function to execute the message,
14-
* converting Axelar's native workflow into the standard ERC-7786 active mode.
15-
* Alternatively, it provides a way to set a message as executed by calling the {setMessageExecuted}
16-
* function (passive mode).
13+
* The contract implements AxelarExecutable's {_execute} function to execute the message, converting Axelar's native
14+
* workflow into the standard ERC-7786 active mode. Alternatively, it provides a way to set a message as executed by
15+
* calling the {setMessageExecuted} function (passive mode).
1716
*/
1817
abstract contract AxelarGatewayDestination is IERC7786GatewayDestinationPassive, AxelarGatewayBase, AxelarExecutable {
1918
using Strings for address;

contracts/crosschain/axelar/AxelarGatewaySource.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {IERC7786GatewaySource} from "../interfaces/draft-IERC7786.sol";
1111
/**
1212
* @dev Implementation of an ERC-7786 gateway source adapter for the Axelar Network.
1313
*
14-
* The contract provides a way to send messages to a remote chain using the Axelar Network
14+
* The contract provides a way to send messages to a remote chain via the Axelar Network
1515
* using the {sendMessage} function.
1616
*/
1717
abstract contract AxelarGatewaySource is IERC7786GatewaySource, AxelarGatewayBase {

contracts/crosschain/interfaces/draft-IERC7786.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pragma solidity ^0.8.0;
1010
interface IERC7786GatewaySource {
1111
/**
1212
* @dev Event emitted when a message is created. If `outboxId` is zero, no further processing is necessary. If
13-
* `outboxId` is not zero, then further (gateway specific, and non standardized) action is required.
13+
* `outboxId` is not zero, then further (gateway specific, and non-standardized) action is required.
1414
*/
1515
event MessagePosted(
1616
bytes32 indexed outboxId,
@@ -54,7 +54,7 @@ interface IERC7786GatewayDestinationPassive {
5454

5555
/**
5656
* @dev Endpoint for checking the validity of a message that is being relayed in passive mode. The message
57-
* receiver is implicitly the caller of this method, which guarantees that no-one but the receiver can
57+
* receiver is implicitly the caller of this method, which guarantees that no one but the receiver can
5858
* "consume" the message. This function MUST implement replay protection, meaning that if called multiple time
5959
* for same message, all but the first calls MUST revert.
6060
*
@@ -70,7 +70,7 @@ interface IERC7786GatewayDestinationPassive {
7070
}
7171

7272
/**
73-
* @dev Interface for the ERC-7786 client contracts (receiver).
73+
* @dev Interface for the ERC-7786 client contract (receiver).
7474
*
7575
* See ERC-7786 for more details
7676
*/

contracts/crosschain/utils/draft-ERC7786Receiver.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {IERC7786GatewayDestinationPassive, IERC7786Receiver} from "../interfaces
88
* @dev Base implementation of an ERC-7786 compliant cross-chain message receiver.
99
*
1010
* This abstract contract exposes the `executeMessage` function that is used in both active and passive mode for
11-
* communication with (one or multiple) destination gateways. This contract leaves two function unimplemented:
11+
* communication with (one or multiple) destination gateways. This contract leaves two functions unimplemented:
1212
*
1313
* {_isKnownGateway}, an internal getter used to verify whether an address is recognised by the contract as a valid
1414
* ERC-7786 destination gateway. One or multiple gateway can be supported. Note that any malicious address for which
@@ -49,7 +49,7 @@ abstract contract ERC7786Receiver is IERC7786Receiver {
4949
return IERC7786Receiver.executeMessage.selector;
5050
}
5151

52-
/// @dev Virtual getter that returns whether an address in a valid ERC-7786 gateway.
52+
/// @dev Virtual getter that returns whether an address is a valid ERC-7786 gateway.
5353
function _isKnownGateway(address instance) internal view virtual returns (bool);
5454

5555
/// @dev Virtual function that should contain the logic to execute when a cross-chain message is received.

0 commit comments

Comments
 (0)