Exchange
/contracts/exchange/Exchange.sol

Project Wyvern Developers

event

OrderApprovedPartOne 90c7f9f5

inputs0bytes32hash
inputs1addressexchange
inputs2addressmaker
inputs3addresstaker
inputs4uint256makerRelayerFee
inputs5uint256takerRelayerFee
inputs6uint256makerProtocolFee
inputs7uint256takerProtocolFee
inputs8addressfeeRecipient
inputs9uint8feeMethod
inputs10uint8side
inputs11uint8saleKind
inputs12addresstarget
event

OrderApprovedPartTwo e55393c7

inputs0bytes32hash
inputs1uint8howToCall
inputs2bytescalldata
inputs3bytesreplacementPattern
inputs4addressstaticTarget
inputs5bytesstaticExtradata
inputs6addresspaymentToken
inputs7uint256basePrice
inputs8uint256extra
inputs9uint256listingTime
inputs10uint256expirationTime
inputs11uint256salt
inputs12boolorderbookInclusionDesired
event

OrderCancelled 5152abf9

inputs0bytes32hash
event

OrdersMatched c4109843

inputs0bytes32buyHash
inputs1bytes32sellHash
inputs2addressmaker
inputs3addresstaker
inputs4uint256price
inputs5bytes32metadata
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function, constant

INVERSE_BASIS_POINT cae6047f

function

approveOrder_ 79666868

Call approveOrder - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
inputs9boolorderbookInclusionDesired
function, constant

approvedOrders e57d4adb

inputs0bytes32
function, payable

atomicMatch_ ab834bab

Call atomicMatch - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[14]addrs
inputs1uint256[18]uints
inputs2uint8[8]feeMethodsSidesKindsHowToCalls
inputs3bytescalldataBuy
inputs4bytescalldataSell
inputs5bytesreplacementPatternBuy
inputs6bytesreplacementPatternSell
inputs7bytesstaticExtradataBuy
inputs8bytesstaticExtradataSell
inputs9uint8[2]vs
inputs10bytes32[5]rssMetadata
function, constant

calculateCurrentPrice_ 3f67ee0d

Call calculateCurrentPrice - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
function, constant

calculateFinalPrice 63d36c0b

Call calculateFinalPrice - library function exposed for testing.

inputs0uint8side
inputs1uint8saleKind
inputs2uint256basePrice
inputs3uint256extra
inputs4uint256listingTime
inputs5uint256expirationTime
function, constant

calculateMatchPrice_ d537e131

Call calculateMatchPrice - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[14]addrs
inputs1uint256[18]uints
inputs2uint8[8]feeMethodsSidesKindsHowToCalls
inputs3bytescalldataBuy
inputs4bytescalldataSell
inputs5bytesreplacementPatternBuy
inputs6bytesreplacementPatternSell
inputs7bytesstaticExtradataBuy
inputs8bytesstaticExtradataSell
function

cancelOrder_ a8a41c70

Call cancelOrder - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
inputs9uint8v
inputs10bytes32r
inputs11bytes32s
function, constant

cancelledOrFinalized 8076f005

inputs0bytes32
function

changeMinimumMakerProtocolFee 14350c24

Change the minimum maker fee paid to the protocol (owner only)

inputs0uint256newMinimumMakerProtocolFee

New fee to set in basis points

function

changeMinimumTakerProtocolFee 1a6b13e2

Change the minimum taker fee paid to the protocol (owner only)

inputs0uint256newMinimumTakerProtocolFee

New fee to set in basis points

function

changeProtocolFeeRecipient 514f0330

Change the protocol fee recipient (owner only)

inputs0addressnewProtocolFeeRecipient

New protocol fee recipient address

function, constant

exchangeToken a25eb5d9

function, constant

guardedArrayReplace 239e83df

Call guardedArrayReplace - library function exposed for testing.

inputs0bytesarray
inputs1bytesdesired
inputs2bytesmask
function, constant

hashOrder_ 71d02b38

Call hashOrder - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
function, constant

minimumMakerProtocolFee 7ccefc52

function, constant

minimumTakerProtocolFee 28a8ee68

function, constant

orderCalldataCanMatch 562b2ebc

Return whether or not two orders' calldata specifications can match

inputs0bytesbuyCalldata

Buy-side order calldata

inputs1bytesbuyReplacementPattern

Buy-side order calldata replacement mask

inputs2bytessellCalldata

Sell-side order calldata

inputs3bytessellReplacementPattern

Sell-side order calldata replacement mask

outputs0bool
function, constant

ordersCanMatch_ 72593b4c

Call ordersCanMatch - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[14]addrs
inputs1uint256[18]uints
inputs2uint8[8]feeMethodsSidesKindsHowToCalls
inputs3bytescalldataBuy
inputs4bytescalldataSell
inputs5bytesreplacementPatternBuy
inputs6bytesreplacementPatternSell
inputs7bytesstaticExtradataBuy
inputs8bytesstaticExtradataSell
function, constant

owner 8da5cb5b

function, constant

protocolFeeRecipient 64df049e

function, constant

registry 7b103999

function, constant

staticCall 10796a47

Execute a STATICCALL (introduced with Ethereum Metropolis, non-state-modifying external call)

inputs0addresstarget

Contract to call

inputs1bytescalldata

Calldata (appended to extradata)

inputs2bytesextradata

Base data for STATICCALL (probably function selector and argument encoding)

outputs0boolresult
function, constant

tokenTransferProxy 0eefdbad

function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0addressnewOwner

The address to transfer ownership to.

function, constant

validateOrderParameters_ ca595b9a

Call validateOrderParameters - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
function, constant

validateOrder_ 60bef33a

Call validateOrder - Solidity ABI encoding limitation workaround, hopefully temporary.

inputs0address[7]addrs
inputs1uint256[9]uints
inputs2uint8feeMethod
inputs3uint8side
inputs4uint8saleKind
inputs5uint8howToCall
inputs6bytescalldata
inputs7bytesreplacementPattern
inputs8bytesstaticExtradata
inputs9uint8v
inputs10bytes32r
inputs11bytes32s