Skip to content

Commit

Permalink
style(Solidity): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
re1ro committed Oct 3, 2023
1 parent 279be20 commit 4948872
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}
}
1 change: 1 addition & 0 deletions contracts/interfaces/IStandardizedToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
3 changes: 2 additions & 1 deletion contracts/token-implementations/ERC20Permit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Check warning on line 53 in contracts/token-implementations/ERC20Permit.sol

View workflow job for this annotation

GitHub Actions / lint (18.x, ubuntu-latest)

Function name must be in mixedCase
// solhint-disable-line func-name-mixedcase
domainSeparator = keccak256(abi.encode(DOMAIN_TYPE_SIGNATURE_HASH, nameHash, keccak256(bytes('1')), block.chainid, address(this)));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4948872

Please sign in to comment.