Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho committed Dec 29, 2021
1 parent 8abd4d6 commit e0fcb4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion contracts/FluiDex.sol
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ contract FluiDexDemo is
/**
* @param amount the deposit amount.
*/
function depositERC20(IERC20 token, bytes32 to, uint256 amount)
function depositERC20(
IERC20 token,
bytes32 to,
uint256 amount
)
external
override
nonReentrant
Expand Down
12 changes: 7 additions & 5 deletions contracts/IFluiDex.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ interface IFluiDex {
/**
* @param to the L2 address (bjjPubkey) of the deposit target.
*/
function depositETH(bytes32 to)
external
function depositETH(bytes32 to)
external
payable
returns (uint128 realAmount);

/**
* @param amount the deposit amount.
*/
function depositERC20(IERC20 token, bytes32 to, uint256 amount)
external
returns (uint16 tokenId, uint128 realAmount);
function depositERC20(
IERC20 token,
bytes32 to,
uint256 amount
) external returns (uint16 tokenId, uint128 realAmount);

function getBlockStateByBlockId(uint256 _block_id)
external
Expand Down

0 comments on commit e0fcb4d

Please sign in to comment.