Skip to content

Commit a154071

Browse files
committed
run prettier
1 parent ee16ddc commit a154071

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

contracts/pack/ITempPack.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// // SPDX-License-Identifier: Apache-2.0
2-
// pragma solidity ^0.8.11;
1+
// SPDX-License-Identifier: Apache-2.0
2+
pragma solidity ^0.8.11;
33

44
// import "../feature/interface/ITokenBundle.sol";
55

@@ -34,7 +34,7 @@
3434

3535
// /**
3636
// * @notice All info relevant to packs.
37-
// *
37+
// *
3838
// * @param contents The reward units packed in the packs.
3939
// * @param openStartTimestamp The timestamp after which packs can be opened.
4040
// * @param amountDistributedPerOpen The number of reward units distributed per open.
@@ -96,4 +96,4 @@
9696
// * @param amountToOpen The number of packs to open at once.
9797
// */
9898
// function openPack(uint256 packId, uint256 amountToOpen) external;
99-
// }
99+
// }

contracts/pack/TempPack.sol

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// // SPDX-License-Identifier: Apache-2.0
2-
// pragma solidity ^0.8.11;
1+
// SPDX-License-Identifier: Apache-2.0
2+
pragma solidity ^0.8.11;
33

44
// // ========== External imports ==========
55

@@ -281,8 +281,8 @@
281281
// PackContent[] calldata _contents,
282282
// uint256 _packId
283283
// )
284-
// internal
285-
// returns (uint256 packTotalSupply)
284+
// internal
285+
// returns (uint256 packTotalSupply)
286286
// {
287287
// uint256 nativeTokenAmount;
288288

@@ -300,7 +300,7 @@
300300
// nativeTokenAmount += _contents[i].token.totalAmount;
301301
// } else {
302302
// transferPackContent(
303-
// _contents[i].token.assetContract,
303+
// _contents[i].token.assetContract,
304304
// _contents[i].token.tokenType,
305305
// _msgSender(),
306306
// address(this),
@@ -312,7 +312,7 @@
312312

313313
// if(nativeTokenAmount > 0) {
314314
// transferPackContent(
315-
// CurrencyTransferLib.NATIVE_TOKEN,
315+
// CurrencyTransferLib.NATIVE_TOKEN,
316316
// TokenType.ERC20,
317317
// _msgSender(),
318318
// address(this),
@@ -327,19 +327,19 @@
327327
// uint256 _packId,
328328
// uint256 _numOfPacksToOpen,
329329
// uint256 _rewardUnitsPerOpen
330-
// )
330+
// )
331331
// internal
332332
// returns (
333333
// PackContent[] memory rewardUnits
334-
// )
334+
// )
335335
// {
336336

337337
// rewardUnits = new PackContent[](_numOfPacksToOpen * _rewardUnitsPerOpen);
338338
// uint256 currentTotalSupply = totalSupply[_packId];
339339

340340
// uint256 random = uint(keccak256(abi.encodePacked(_msgSender(), blockhash(block.number), block.difficulty)));
341341
// for(uint256 i = 0; i < (_numOfPacksToOpen * _rewardUnitsPerOpen); i += 1) {
342-
342+
343343
// uint256 randomVal = uint256(keccak256(abi.encode(random, i)));
344344
// uint256 target = randomVal % currentTotalSupply;
345345
// uint256 step;
@@ -415,8 +415,6 @@
415415
// Setter functions
416416
// //////////////////////////////////////////////////////////////*/
417417

418-
419-
420418
// /// @dev Lets a contract admin update the default royalty recipient and bps.
421419
// function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps)
422420
// external
@@ -511,4 +509,4 @@
511509
// {
512510
// return ERC2771ContextUpgradeable._msgData();
513511
// }
514-
// }
512+
// }

0 commit comments

Comments
 (0)