Context
constructor
Swap
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
swapRegistry | address |
Outputs
(void)
ISwap
event
Swap
Inputs
Parameter | Type | Description |
---|---|---|
nonce | uint256 | |
timestamp | uint256 | |
signerWallet | address | |
signerAmount | uint256 | |
signerId | uint256 | |
signerToken | address | |
senderWallet | address | |
senderAmount | uint256 | |
senderId | uint256 | |
senderToken | address | |
affiliateWallet | address | |
affiliateAmount | uint256 | |
affiliateId | uint256 | |
affiliateToken | address |
Outputs
(void)
event
RevokeSigner
Inputs
Parameter | Type | Description |
---|---|---|
authorizerAddress | address | |
revokedSigner | address |
Outputs
(void)
event
RevokeSender
Inputs
Parameter | Type | Description |
---|---|---|
authorizerAddress | address | |
revokedSender | address |
Outputs
(void)
event
CancelUpTo
Inputs
Parameter | Type | Description |
---|---|---|
nonce | uint256 | |
signerWallet | address |
Outputs
(void)
event
Cancel
Inputs
Parameter | Type | Description |
---|---|---|
nonce | uint256 | |
signerWallet | address |
Outputs
(void)
event
AuthorizeSigner
Inputs
Parameter | Type | Description |
---|---|---|
authorizerAddress | address | |
authorizedSigner | address |
Outputs
(void)
event
AuthorizeSender
Inputs
Parameter | Type | Description |
---|---|---|
authorizerAddress | address | |
authorizedSender | address |
Outputs
(void)
Swap
function
revokeSigner
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
authorizedSigner | address |
Outputs
(void)
function
revokeSender
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
authorizedSender | address |
Outputs
(void)
function
cancelUpTo
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
minimumNonce | uint256 |
Outputs
(void)
function
cancel
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
nonces | uint256[] |
Outputs
(void)
function
authorizeSigner
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
authorizedSigner | address |
Outputs
(void)
function
authorizeSender
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
authorizedSender | address |
Outputs
(void)
Wrapper
function
swap
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple |
Outputs
(void)
function
signerNonceStatus
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
uint256 |
Outputs
Type | Description |
---|---|
bytes1 |
function
signerMinimumNonce
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |
function
signerAuthorizations
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address |
Outputs
Type | Description |
---|---|
bool |
function
senderAuthorizations
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address |
Outputs
Type | Description |
---|---|
bool |
function
registry
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |