Voltar para o conteúdo inicial


This contract handles the verification of parameters for standard transactions. It does not verify the taker struct's itemIds and amounts array as well as minPrice (taker ask) / maxPrice (taker bid) because before the taker executes the transaction and the maker itemIds/amounts/price should have already been confirmed off-chain.

A standard transaction (bid or ask) is mapped to strategyId = 0.


function _verifyItemIdsAndAmountsEqualLengthsAndValidAmounts(uint256[] amounts, uint256[] itemIds) internal pure

This function is internal and is used to validate the parameters for a standard sale strategy when the standard transaction is initiated by a taker bid.


amountsuint256[]Array of amounts
itemIdsuint256[]Array of item ids