File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
contracts/crosschain/axelar Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ abstract contract AxelarGatewayBase is Ownable {
39
39
require (bytes (output).length > 0 , UnsupportedChain (input));
40
40
}
41
41
42
- /// @dev Returns the remote gateway address for a given chain.
42
+ /// @dev Returns the CAIP-10 account address of the remote gateway for a given CAIP-2 chain identifier .
43
43
function getRemoteGateway (string memory caip2 ) public view virtual returns (string memory remoteGateway ) {
44
44
remoteGateway = _remoteGateways[caip2];
45
45
require (bytes (remoteGateway).length > 0 , UnsupportedChain (caip2));
@@ -53,7 +53,7 @@ abstract contract AxelarGatewayBase is Ownable {
53
53
emit RegisteredChainEquivalence (caip2, axelarSupported);
54
54
}
55
55
56
- /// @dev Registers a remote gateway address for a given CAIP-2 chain identifier.
56
+ /// @dev Registers the CAIP-10 account address of the remote gateway for a given CAIP-2 chain identifier.
57
57
function registerRemoteGateway (string calldata caip2 , string calldata remoteGateway ) public virtual onlyOwner {
58
58
require (bytes (_remoteGateways[caip2]).length == 0 , "Remote gateway already registered " );
59
59
_remoteGateways[caip2] = remoteGateway;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {AxelarGatewayBase} from "./AxelarGatewayBase.sol";
11
11
* @dev Implementation of an ERC-7786 gateway destination adapter for the Axelar Network in dual mode.
12
12
*
13
13
* The contract implements implements AxelarExecutable's {_execute} function to execute the message,
14
- * converting Axelar's native workflow into the standard ERC7786 active mode.
14
+ * converting Axelar's native workflow into the standard ERC-7786 active mode.
15
15
* Alternatively, it provides a way to set a message as executed by calling the {setMessageExecuted}
16
16
* function (passive mode).
17
17
*/
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import {AxelarGatewayBase} from "./AxelarGatewayBase.sol";
9
9
import {IERC7786GatewaySource } from "../interfaces/draft-IERC7786.sol " ;
10
10
11
11
/**
12
- * @dev Implementation of an ERC7786 gateway source adapter for the Axelar Network.
12
+ * @dev Implementation of an ERC-7786 gateway source adapter for the Axelar Network.
13
13
*
14
14
* The contract provides a way to send messages to a remote chain using the Axelar Network
15
15
* using the {sendMessage} function.
You can’t perform that action at this time.
0 commit comments