@@ -15,15 +15,15 @@ import {
15
15
StringToAddress,
16
16
AddressToString
17
17
} from "@axelar-network/axelar-gmp-sdk-solidity/contracts/libs/AddressString.sol " ;
18
- // Use their libraries
19
18
import {Transceiver} from "@wormhole-foundation/native_token_transfer/Transceiver/Transceiver.sol " ;
19
+ import {ITransceiver} from "@wormhole-foundation/native_token_transfer/interfaces/ITransceiver.sol " ;
20
20
21
21
import {IAxelarTransceiver} from "./interfaces/IAxelarTransceiver.sol " ;
22
22
23
23
contract AxelarTransceiver is IAxelarTransceiver , AxelarGMPExecutable , Transceiver {
24
24
IAxelarGasService public immutable gasService;
25
25
26
- string public constant AXELAR_TRANSCEIVER_VERSION = "1.0 .0 " ;
26
+ string public constant AXELAR_TRANSCEIVER_VERSION = "1.1 .0 " ;
27
27
28
28
// These mappings are used to convert chainId and chainName between Wormhole and Axelar formats.
29
29
struct AxelarTransceiverStorage {
@@ -48,6 +48,17 @@ contract AxelarTransceiver is IAxelarTransceiver, AxelarGMPExecutable, Transceiv
48
48
gasService = IAxelarGasService (_gasService);
49
49
}
50
50
51
+ /// @notice Returns the string type of the transceiver. E.g. "wormhole", "axelar", etc.
52
+ function getTransceiverType ()
53
+ external
54
+ view
55
+ virtual
56
+ override (Transceiver, ITransceiver)
57
+ returns (string memory )
58
+ {
59
+ return "axelar " ;
60
+ }
61
+
51
62
// @define This method checks that the the referecnes to the nttManager and its corresponding function
52
63
// are correct When new immutable variables are added, this function should be updated.
53
64
function _checkImmutables () internal view virtual override {
0 commit comments