Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Dec 2, 2024
1 parent b11c000 commit 1a34aa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
13 changes: 3 additions & 10 deletions src/ERC7683.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,8 @@ interface IOriginSettler {
/// @param order The GaslessCrossChainOrder definition
/// @param signature The user's signature over the order
/// @param originFillerData Any filler-defined data required by the settler
function openFor(
GaslessCrossChainOrder calldata order,
bytes calldata signature,
bytes calldata originFillerData
) external;
function openFor(GaslessCrossChainOrder calldata order, bytes calldata signature, bytes calldata originFillerData)
external;

/// @notice Opens a cross-chain order
/// @dev To be called by the user
Expand Down Expand Up @@ -141,9 +138,5 @@ interface IDestinationSettler {
/// @param orderId Unique order identifier for this order
/// @param originData Data emitted on the origin to parameterize the fill
/// @param fillerData Data provided by the filler to inform the fill or express their preferences
function fill(
bytes32 orderId,
bytes calldata originData,
bytes calldata fillerData
) external;
function fill(bytes32 orderId, bytes calldata originData, bytes calldata fillerData) external;
}
11 changes: 5 additions & 6 deletions src/OriginSettler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ contract OriginSettler {
uint256 nonce;
bytes signature;
}

struct EIP7702AuthData {
Authorization[] authlist;
}

struct InputAsset {
IERC20 token;
uint256 amount;
Expand All @@ -30,12 +32,9 @@ contract OriginSettler {

bytes32 immutable ORDER_DATA_TYPE_HASH = keccak256("TODO");


function openFor(
GaslessCrossChainOrder calldata order,
bytes calldata signature,
bytes calldata originFillerData
) external {
function openFor(GaslessCrossChainOrder calldata order, bytes calldata signature, bytes calldata originFillerData)
external
{
(
ResolvedCrossChainOrder memory resolvedOrder,
CallByUser memory calls,
Expand Down

0 comments on commit 1a34aa3

Please sign in to comment.