Content
@
0 reply
0 recast
0 reaction
Berenu
@sudosuberenu
🔹 Guys, maybe im wrong, but if a user does 2 orders with the same quantity, lets say 100 each one, 200 in total. Then if he/she cancels only 1 order, then the 2 orders will be canceled according to this code, right? 🤔
2 replies
0 recast
1 reaction
Berenu
@sudosuberenu
Actually, i just run a test with this case, and im getting 20e18 ERC1155 tokens. My question here is, is that a bug or this is made on purpose?
0 reply
0 recast
0 reaction
Haardik
@haardikkk
This is correct, we dont currently differentiate between orders like that and cancel doesn’t take into account how much of your position to burn. Similar to redeem though, an extra parameter can be added here asking the user for how much of their claim tokens they’d like to burn and do the cancellation accordingly
1 reply
0 recast
1 reaction