BasicTrading
function
withdrawAllToken
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
token | address |
Outputs
(void)
function
trade
payable
Inputs
Parameter | Type | Description |
---|---|---|
fromToken | address | |
toToken | address | |
tokensAmount | uint256 | |
callAddresses | address[] | |
approvals | address[] | |
callDataConcat | bytes | |
starts | uint256[] | |
values | uint256[] | |
minTokensAmount | uint256 |
Outputs
(void)
fallback
(fallback)
payable
Inputs
(void)
Outputs
(void)
event
Trade
Inputs
Parameter | Type | Description |
---|---|---|
fromToken | address | |
toToken | address | |
amount | uint256 | |
trader | address | |
exchanges | 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)
function
isOwner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bool |
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
constructor
BasicTrading
nonpayable
Inputs
(void)
Outputs
(void)
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
function
spender
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |