Skip to content

Commit

Permalink
chore: add contractId in AxelarAmplifierGatewayProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
blockchainguyy committed Jun 21, 2024
1 parent 82ecc7b commit 3a9cf09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/gateway/AxelarAmplifierGatewayProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ pragma solidity ^0.8.0;
import { Proxy } from '../upgradable/Proxy.sol';

contract AxelarAmplifierGatewayProxy is Proxy {
bytes32 private constant CONTRACT_ID = keccak256('axelar-amplifier-gateway-proxy');

constructor(
address implementationAddress,
address owner,
Expand All @@ -14,4 +16,8 @@ contract AxelarAmplifierGatewayProxy is Proxy {
function contractId() internal pure override returns (bytes32) {
return keccak256('axelar-amplifier-gateway');
}

function getContractId() public pure returns (bytes32) {
return CONTRACT_ID;
}
}

0 comments on commit 3a9cf09

Please sign in to comment.