Перейти до основного змісту

InheritedStrategy

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.

_verifyItemIdsAndAmountsEqualLengthsAndValidAmounts

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.

Parameters

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