diff --git a/contracts/interchain-token-service/InterchainTokenService.sol b/contracts/interchain-token-service/InterchainTokenService.sol index ff0586db..3f4d36db 100644 --- a/contracts/interchain-token-service/InterchainTokenService.sol +++ b/contracts/interchain-token-service/InterchainTokenService.sol @@ -892,6 +892,5 @@ contract InterchainTokenService is payload = abi.encode(SELECTOR_SEND_TOKEN_WITH_DATA, tokenId, destinationAddress, amount, sourceAddress.toBytes(), metadata); _callContract(destinationChain, payload, msg.value); - } } diff --git a/contracts/interfaces/IStandardizedToken.sol b/contracts/interfaces/IStandardizedToken.sol index a24e258e..1fbd40bd 100644 --- a/contracts/interfaces/IStandardizedToken.sol +++ b/contracts/interfaces/IStandardizedToken.sol @@ -16,6 +16,7 @@ import { IERC20 } from '@axelar-network/axelar-gmp-sdk-solidity/contracts/interf interface IStandardizedToken is IImplementation, IInterchainToken, IDistributable, IERC20MintableBurnable, IERC20 { error TokenManagerAddressZero(); error TokenNameEmpty(); + /** * @notice Returns the contract id, which a proxy can check to ensure no false implementation was used. */ diff --git a/contracts/token-implementations/ERC20Permit.sol b/contracts/token-implementations/ERC20Permit.sol index 2747d6de..cc327535 100644 --- a/contracts/token-implementations/ERC20Permit.sol +++ b/contracts/token-implementations/ERC20Permit.sol @@ -50,7 +50,8 @@ abstract contract ERC20Permit is IERC20, IERC20Permit, ERC20 { * @dev This is not cached because chainid can change on chain forks. */ // slither-disable-next-line naming-convention - function DOMAIN_SEPARATOR() public view returns (bytes32 domainSeparator) { // solhint-disable-line func-name-mixedcase + function DOMAIN_SEPARATOR() public view returns (bytes32 domainSeparator) { + // solhint-disable-line func-name-mixedcase domainSeparator = keccak256(abi.encode(DOMAIN_TYPE_SIGNATURE_HASH, nameHash, keccak256(bytes('1')), block.chainid, address(this))); } diff --git a/contracts/token-manager/implementations/TokenManagerLockUnlockFeeOnTransfer.sol b/contracts/token-manager/implementations/TokenManagerLockUnlockFeeOnTransfer.sol index 225f4044..d54008e9 100644 --- a/contracts/token-manager/implementations/TokenManagerLockUnlockFeeOnTransfer.sol +++ b/contracts/token-manager/implementations/TokenManagerLockUnlockFeeOnTransfer.sol @@ -9,7 +9,6 @@ import { ITokenManagerLockUnlock } from '../../interfaces/ITokenManagerLockUnloc import { TokenManager } from '../TokenManager.sol'; import { NoReEntrancy } from '../../utils/NoReEntrancy.sol'; - /** * @title TokenManagerLockUnlock * @notice This contract is an implementation of TokenManager that locks and unlocks a specific token on behalf of the interchain token service.