#39243 [SC-Insight] Misleading Comment in merge Function Regarding Token Transfers to wrapped1155Fac
Description
Brief/Intro
Vulnerability Details
// Contract transfers Long/Short ERC20 to wrapped1155Factory and gets
// back Long/Short ERC1155.
wrapped1155Factory.unwrap(
conditionalTokens, wrappedCTData.shortPositionId, amount, address(this), wrappedCTData.shortData
);
wrapped1155Factory.unwrap(
conditionalTokens, wrappedCTData.longPositionId, amount, address(this), wrappedCTData.longData
);
wrapped1155Factory.unwrap(
conditionalTokens, wrappedCTData.invalidPositionId, amount, address(this), wrappedCTData.invalidData
);
Impact Details
Proof of Concept
Proof of Concept
Previous#39153 [SC-Insight] Unauthorized Token Creation and Minting VulnerabilityNext#39271 [SC-Insight] Check `numericAnswer` before external call to check answer is valid or not
Last updated
Was this helpful?