Exchange
function
cancelOrder_
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
Outputs
(void)
function
approveOrder_
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes | |
| orderbookInclusionDesired | bool |
Outputs
(void)
function
atomicMatch_
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[14] | |
| uints | uint256[18] | |
| feeMethodsSidesKindsHowToCalls | uint8[8] | |
| calldataBuy | bytes | |
| calldataSell | bytes | |
| replacementPatternBuy | bytes | |
| replacementPatternSell | bytes | |
| staticExtradataBuy | bytes | |
| staticExtradataSell | bytes | |
| vs | uint8[2] | |
| rssMetadata | bytes32[5] |
Outputs
(void)
function
hashToSign_
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
hashOrder_
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
orderCalldataCanMatch
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| buyCalldata | bytes | |
| buyReplacementPattern | bytes | |
| sellCalldata | bytes | |
| sellReplacementPattern | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
function
testCopy
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| arrToCopy | bytes |
Outputs
| Type | Description |
|---|---|
| bytes |
function
testCopyAddress
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| addr | address |
Outputs
| Type | Description |
|---|---|
| bytes |
function
guardedArrayReplace
pure
Inputs
| Parameter | Type | Description |
|---|---|---|
| array | bytes | |
| desired | bytes | |
| mask | bytes |
Outputs
| Type | Description |
|---|---|
| bytes |
function
calculateMatchPrice_
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[14] | |
| uints | uint256[18] | |
| feeMethodsSidesKindsHowToCalls | uint8[8] | |
| calldataBuy | bytes | |
| calldataSell | bytes | |
| replacementPatternBuy | bytes | |
| replacementPatternSell | bytes | |
| staticExtradataBuy | bytes | |
| staticExtradataSell | bytes |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
validateOrderParameters_
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
function
ordersCanMatch_
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[14] | |
| uints | uint256[18] | |
| feeMethodsSidesKindsHowToCalls | uint8[8] | |
| calldataBuy | bytes | |
| calldataSell | bytes | |
| replacementPatternBuy | bytes | |
| replacementPatternSell | bytes | |
| staticExtradataBuy | bytes | |
| staticExtradataSell | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
function
calculateFinalPrice
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| side | uint8 | |
| saleKind | uint8 | |
| basePrice | uint256 | |
| extra | uint256 | |
| listingTime | uint256 | |
| expirationTime | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
validateOrder_
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes | |
| v | uint8 | |
| r | bytes32 | |
| s | bytes32 |
Outputs
| Type | Description |
|---|---|
| bool |
function
calculateCurrentPrice_
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| addrs | address[7] | |
| uints | uint256[9] | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticExtradata | bytes |
Outputs
| Type | Description |
|---|---|
| uint256 |
ExchangeCore
function
changeProtocolFeeRecipient
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newProtocolFeeRecipient | address |
Outputs
(void)
function
changeMinimumTakerProtocolFee
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newMinimumTakerProtocolFee | uint256 |
Outputs
(void)
function
changeMinimumMakerProtocolFee
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newMinimumMakerProtocolFee | uint256 |
Outputs
(void)
function
staticCall
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| target | address | |
| calldata | bytes | |
| extradata | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
event
OrdersMatched
Inputs
| Parameter | Type | Description |
|---|---|---|
| buyHash | bytes32 | |
| sellHash | bytes32 | |
| maker | address | |
| taker | address | |
| price | uint256 | |
| metadata | bytes32 |
Outputs
(void)
event
OrderCancelled
Inputs
| Parameter | Type | Description |
|---|---|---|
| hash | bytes32 |
Outputs
(void)
event
OrderApprovedPartTwo
Inputs
| Parameter | Type | Description |
|---|---|---|
| hash | bytes32 | |
| howToCall | uint8 | |
| calldata | bytes | |
| replacementPattern | bytes | |
| staticTarget | address | |
| staticExtradata | bytes | |
| paymentToken | address | |
| basePrice | uint256 | |
| extra | uint256 | |
| listingTime | uint256 | |
| expirationTime | uint256 | |
| salt | uint256 | |
| orderbookInclusionDesired | bool |
Outputs
(void)
event
OrderApprovedPartOne
Inputs
| Parameter | Type | Description |
|---|---|---|
| hash | bytes32 | |
| exchange | address | |
| maker | address | |
| taker | address | |
| makerRelayerFee | uint256 | |
| takerRelayerFee | uint256 | |
| makerProtocolFee | uint256 | |
| takerProtocolFee | uint256 | |
| feeRecipient | address | |
| feeMethod | uint8 | |
| side | uint8 | |
| saleKind | uint8 | |
| target | address |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
function
renounceOwnership
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
constructor
WyvernExchange
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| registryAddress | address | |
| tokenTransferProxyAddress | address | |
| tokenAddress | address | |
| protocolFeeAddress | address |
Outputs
(void)
event
OwnershipTransferred
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address | |
| newOwner | address |
Outputs
(void)
event
OwnershipRenounced
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address |
Outputs
(void)
function
approvedOrders
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| bool |
function
INVERSE_BASIS_POINT
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
exchangeToken
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
cancelledOrFinalized
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| bool |
function
minimumMakerProtocolFee
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
registry
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
protocolFeeRecipient
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
version
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |
function
codename
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |
function
minimumTakerProtocolFee
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
tokenTransferProxy
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
name
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |