Skip to main content

IExchangeCore

Methods

ZRX_ASSET_DATA

function ZRX_ASSET_DATA() external view returns (bytes)

Returns

NameTypeDescription
_0bytesundefined

fillOrder

function fillOrder(LibOrder.Order order, uint256 takerAssetFillAmount, bytes signature) external nonpayable returns (struct LibFillResults.FillResults fillResults)

Parameters

NameTypeDescription
orderLibOrder.Orderundefined
takerAssetFillAmountuint256undefined
signaturebytesundefined

Returns

NameTypeDescription
fillResultsLibFillResults.FillResultsundefined

fillOrderNoThrow

function fillOrderNoThrow(LibOrder.Order order, uint256 takerAssetFillAmount, bytes signature) external nonpayable returns (struct LibFillResults.FillResults fillResults)

Parameters

NameTypeDescription
orderLibOrder.Orderundefined
takerAssetFillAmountuint256undefined
signaturebytesundefined

Returns

NameTypeDescription
fillResultsLibFillResults.FillResultsundefined

getAssetProxy

function getAssetProxy(bytes4 assetProxyId) external view returns (address)

Gets an asset proxy.

Parameters

NameTypeDescription
assetProxyIdbytes4Id of the asset proxy.

Returns

NameTypeDescription
_0addressThe asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.

getOrderInfo

function getOrderInfo(LibOrder.Order order) external view returns (struct LibOrder.OrderInfo orderInfo)

Parameters

NameTypeDescription
orderLibOrder.Orderundefined

Returns

NameTypeDescription
orderInfoLibOrder.OrderInfoundefined

isValidSignature

function isValidSignature(bytes32 hash, address signerAddress, bytes signature) external view returns (bool isValid)

Parameters

NameTypeDescription
hashbytes32undefined
signerAddressaddressundefined
signaturebytesundefined

Returns

NameTypeDescription
isValidboolundefined