IOP _ ThunderNFT 34565 - [Smart Contract - High] Selling maker cant cancel to retrieve his funds whe
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
Thoughts on ramifications
References
Proof of concept
Proof of Concept
PreviousIOP _ ThunderNFT 34560 - [Smart Contract - Critical] Updating sell-maker-orders does not provide refNextIOP _ ThunderNFT 34567 - [Smart Contract - Medium] users with current bid order can not update their
Last updated
Was this helpful?