ZeroExV2ExchangeWrapper
function
exchange
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
tradeOriginator | address | |
receiver | address | |
makerToken | address | |
takerToken | address | |
requestedFillAmount | uint256 | |
orderData | bytes |
Outputs
Type | Description |
---|---|
uint256 |
function
getMaxMakerAmount
view
Inputs
Parameter | Type | Description |
---|---|---|
makerToken | address | |
takerToken | address | |
orderData | bytes |
Outputs
Type | Description |
---|---|
uint256 |
function
getExchangeCost
view
Inputs
Parameter | Type | Description |
---|---|---|
makerToken | address | |
takerToken | address | |
desiredMakerToken | uint256 | |
orderData | bytes |
Outputs
Type | Description |
---|---|
uint256 |
constructor
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
zeroExExchange | address | |
zeroExProxy | address | |
zrxToken | address | |
trustedMsgSenders | address[] |
Outputs
(void)
function
TRUSTED_MSG_SENDER
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
bool |
function
ZRX
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
ZERO_EX_TOKEN_PROXY
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
ZERO_EX_EXCHANGE
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |