Open code423n4 opened 2 years ago
constructor
LiFiDiamond.sol
safeApprove
addFunction()
LibDiamond.sol
Team can consider adding statements as;
require(_selector != 0, "Error msg here"); require(_facetAddress != address(0), "Error msg here");
LibAsset.sol#L42-L45
WithdrawFacet.sol#L29
LibAsset.sol
transferNativeAsset()
enforceHasContractCode
if
LibDiamond.sol#196
LibDiamond.sol#79
initializeDiamondCut
Duplicate of #82
QA Report (Low / Non-Critical)
constructor
function for the owner address inLiFiDiamond.sol
safeApprove
. LinkaddFunction()
inLibDiamond.sol
Team can consider adding statements as;
LibAsset.sol#L42-L45
WithdrawFacet.sol#L29
LibAsset.sol
insidetransferNativeAsset()
enforceHasContractCode
inLibDiamond.sol
should not be relied on if the target is a contract inside the construction. Reference is hereif
statement inLibDiamond.sol#196
since the statement is assumed as not succeeded.LibDiamond.sol#79
can be considered to be thrown afterinitializeDiamondCut
function success.