IOP _ ThunderNFT 34560 - [Smart Contract - Critical] Updating sell-maker-orders does not provide ref
Description
Brief/Intro
Vulnerability Details
fn place_order(order_input: MakerOrderInput) {
...
match order.side {
...
Side::Sell => {
// Sell MakerOrder (e.g. listing)
// Checks if assetId and amount mathces with the order
require(msg_asset_id() == AssetId::new(order.collection, order.token_id), ThunderExchangeErrors::AssetIdNotMatched);
require(msg_amount() == order_input.amount, ThunderExchangeErrors::AmountNotMatched);
},
}Impact Details
References
Proof of concept
Proof of Concept
PreviousIOP _ ThunderNFT 34545 - [Smart Contract - Low] Smart contract can be taken over by malicious user bNextIOP _ ThunderNFT 34565 - [Smart Contract - High] Selling maker cant cancel to retrieve his funds whe
Last updated
Was this helpful?