BasicTrading
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
ProveQSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newProveQ | address |
Outputs
(void)
event
BeneficiarySet
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newBeneficiary | address |
Outputs
(void)
event
FeeSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newFee | uint256 |
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 |