ISwap
event
Revoke
Inputs
| Parameter | Type | Description |
|---|---|---|
| approverAddress | address | |
| delegateAddress | address |
Outputs
(void)
event
Authorize
Inputs
| Parameter | Type | Description |
|---|---|---|
| approverAddress | address | |
| delegateAddress | address | |
| expiry | uint256 |
Outputs
(void)
event
Invalidate
Inputs
| Parameter | Type | Description |
|---|---|---|
| nonce | uint256 | |
| makerWallet | address |
Outputs
(void)
event
Cancel
Inputs
| Parameter | Type | Description |
|---|---|---|
| nonce | uint256 | |
| makerWallet | address |
Outputs
(void)
event
Swap
Inputs
| Parameter | Type | Description |
|---|---|---|
| nonce | uint256 | |
| timestamp | uint256 | |
| makerWallet | address | |
| makerParam | uint256 | |
| makerToken | address | |
| takerWallet | address | |
| takerParam | uint256 | |
| takerToken | address | |
| affiliateWallet | address | |
| affiliateParam | uint256 | |
| affiliateToken | address |
Outputs
(void)
Swap
function
authorize
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _delegate | address | |
| _expiry | uint256 |
Outputs
(void)
function
revoke
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _delegate | address |
Outputs
(void)
function
swap
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _order | tuple | |
| _signature | tuple |
Outputs
(void)
function
cancel
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _nonces | uint256[] |
Outputs
(void)
function
invalidate
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _minimumNonce | uint256 |
Outputs
(void)
function
swapSimple
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _nonce | uint256 | |
| _expiry | uint256 | |
| _makerWallet | address | |
| _makerParam | uint256 | |
| _makerToken | address | |
| _takerWallet | address | |
| _takerParam | uint256 | |
| _takerToken | address | |
| _v | uint8 | |
| _r | bytes32 | |
| _s | bytes32 |
Outputs
(void)
constructor
Swap
nonpayable
Inputs
(void)
Outputs
(void)
function
delegateApprovals
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
makerOrderStatus
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| uint256 |
Outputs
| Type | Description |
|---|---|
| bytes1 |
function
makerMinimumNonce
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |