AmountCalculator
Last updated
Last updated
A helper contract for calculations related to order amounts
Calculates maker amount
Parameters:
orderMakerAmount
uint256
orderTakerAmount
uint256
swapTakerAmount
uint256
Return Values:
Result
uint256
Floored maker amount
Calculates taker amount
orderMakerAmount
uint256
orderTakerAmount
uint256
swapMakerAmount
uint256
Result
uint256
Ceiled taker amount
Performs an arbitrary call to target with data
target
address
data
bytes
Result
uint256
Bytes transmuted to uint256
Parameters:
Return Values:
Parameters:
Return Values: