Closed jackcpku closed 2 years ago
Orders involving an ERC721 cannot be partially filled, hence 1
. Such orders should always have a maximumFill
of 1
. The fills
variable corresponds to order fills, not tokens transferred, although both may coincide.
Orders involving an ERC721 cannot be partially filled, hence
1
. Such orders should always have amaximumFill
of1
. Thefills
variable corresponds to order fills, not tokens transferred, although both may coincide.
Ok, so here in line 618, maximumFill
should not be buyingPrice
, instead be 1
It appears so.
https://github.com/wyvernprotocol/wyvern-v3/blob/403f866940b4ef304d24c2147bd9503e89e1cec7/contracts/StaticMarket.sol#L136-L156
The return value should not be 1 since multiple ERC20 tokens are transferred. This will cause inconsistency with the meaning of variable
fills
.