Skip to content

Commit e0fcb4d

Browse files
author
Ho
committed
fmt
1 parent 8abd4d6 commit e0fcb4d

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

contracts/FluiDex.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ contract FluiDexDemo is
136136
/**
137137
* @param amount the deposit amount.
138138
*/
139-
function depositERC20(IERC20 token, bytes32 to, uint256 amount)
139+
function depositERC20(
140+
IERC20 token,
141+
bytes32 to,
142+
uint256 amount
143+
)
140144
external
141145
override
142146
nonReentrant

contracts/IFluiDex.sol

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,19 @@ interface IFluiDex {
2727
/**
2828
* @param to the L2 address (bjjPubkey) of the deposit target.
2929
*/
30-
function depositETH(bytes32 to)
31-
external
30+
function depositETH(bytes32 to)
31+
external
3232
payable
3333
returns (uint128 realAmount);
3434

3535
/**
3636
* @param amount the deposit amount.
3737
*/
38-
function depositERC20(IERC20 token, bytes32 to, uint256 amount)
39-
external
40-
returns (uint16 tokenId, uint128 realAmount);
38+
function depositERC20(
39+
IERC20 token,
40+
bytes32 to,
41+
uint256 amount
42+
) external returns (uint16 tokenId, uint128 realAmount);
4143

4244
function getBlockStateByBlockId(uint256 _block_id)
4345
external

0 commit comments

Comments
 (0)