diff --git a/contracts/FNDCart.sol b/contracts/FNDCart.sol index 75ce16d..95f27e0 100644 --- a/contracts/FNDCart.sol +++ b/contracts/FNDCart.sol @@ -35,11 +35,7 @@ contract FNDCart is Ownable { * @param _market The Foundation market contract address on this network. * @param _referrerTreasury A treasury address to receive a referral kick-back fee. */ - constructor( - address payable _market, - address payable _feth, - address payable _referrerTreasury - ) { + constructor(address payable _market, address payable _feth, address payable _referrerTreasury) { market = NFTMarket(_market); feth = FETH(_feth); referrerTreasury = _referrerTreasury; @@ -117,11 +113,7 @@ contract FNDCart is Ownable { * @notice Make any arbitrary calls. * @dev This should not be necessary, but here just in case you need to recover other assets. */ - function proxyCall( - address payable target, - bytes memory callData, - uint256 value - ) external onlyOwner { + function proxyCall(address payable target, bytes memory callData, uint256 value) external onlyOwner { target.functionCallWithValue(callData, value); } diff --git a/package.json b/package.json index 5deb7c0..440c3c6 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "hardhat-gas-reporter": "1.0.9", "hardhat-tracer": "1.0.0-alpha.6", "prettier": "2.7.1", - "prettier-plugin-solidity": "1.0.0-dev.23", + "prettier-plugin-solidity": "1.0.0-dev.24", "solc": "0.8.17", "solhint": "3.3.7", "solhint-plugin-prettier": "0.0.5", diff --git a/yarn.lock b/yarn.lock index e2136b5..b704beb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7363,10 +7363,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-solidity@1.0.0-dev.23: - version "1.0.0-dev.23" - resolved "https://registry.yarnpkg.com/prettier-plugin-solidity/-/prettier-plugin-solidity-1.0.0-dev.23.tgz#e1edf0693d69fe1518519ab704d5e46ee4f842fc" - integrity sha512-440/jZzvtDJcqtoRCQiigo1DYTPAZ85pjNg7gvdd+Lds6QYgID8RyOdygmudzHdFmV2UfENt//A8tzx7iS58GA== +prettier-plugin-solidity@1.0.0-dev.24: + version "1.0.0-dev.24" + resolved "https://registry.yarnpkg.com/prettier-plugin-solidity/-/prettier-plugin-solidity-1.0.0-dev.24.tgz#96ca546043339f2dfcb41680abcb8e4c4949316d" + integrity sha512-T56TExNNyUZ82wCtqx3Ai8VSIaCg6YSHwiVjHiZjjbT7FXNVh8R1XaGBPWJoK/BFMjda2jYRHKcBH4xAI9Ufuw== dependencies: "@solidity-parser/parser" "^0.14.3" emoji-regex "^10.1.0"