Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/10/10 12:00 a.m.14 views

Wrong amount of ERC1155 token result in loss of funds for buyer

Lines of code Vulnerability details Impact In StandardPolicyERC1155 contract, the amount of ERC1155 token always return 1 instead of amount value in Order struct. The result is when ERC1155 orders is matched, buyers will only receive 1 token even they specify amount 1, which means loss of funds f...

6.8AI score
SaveExploits0
Code423n4
Code423n4
added 2022/10/10 12:00 a.m.12 views

The execution of an order transfers 1 token regardless of Order.amount

Lines of code Vulnerability details Impact An order can be placed for an arbitrary amount, which is relevant for ERC1155. But when matched and executed only 1 token is transferred. This can lead to problems with accounting for the user, expecting a transfer of Order.amount tokens, potentially wit...

6.9AI score
SaveExploits0
Rows per page
Query Builder