ComplexExchanger | inputs | 0 | address | _token | |
| 1 | uint256 | _buyFee | ||
| 2 | uint256 | _sellFee | ||
| 3 | address[] | _oracles | ||
| 4 | uint256 | _deadline | ||
| 5 | address | _withdrawWallet |
Buy 89f5adc1| inputs | 0 | address | sender | |
| 1 | address | recipient | ||
| 2 | uint256 | tokenAmount | ||
| 3 | uint256 | price |
InvalidRate 6a9be634| inputs | 0 | uint256 | rate | |
| 1 | address | oracle |
OracleRequest 35c4de7a| inputs | 0 | address | oracle |
ReserveRefill 326277f0| inputs | 0 | uint256 | amount |
ReserveWithdraw 2b33eb7f| inputs | 0 | uint256 | amount |
Sell a082022e| inputs | 0 | address | sender | |
| 1 | address | recipient | ||
| 2 | uint256 | cryptoAmount | ||
| 3 | uint256 | price |
buyFee 47062402buyRate fc37987bbuyTokens ec8ac4d8Allows user to buy tokens by ether.
| inputs | 0 | address | _recipient | The recipient of tokens. |
calcRates 9b678bfcCalculates buy and sell rates after oracles have received it.
calcTime 2be51660deadline 29dcb0cfgetOracleData 536e3f6aReturns data for an oracle by its id in the array.
| inputs | 0 | uint256 | number |
getState 1865c57dReturns the contract state.
oracleCount 613d8fccReturns contract oracles' count.
oracles 5b69a7d8| inputs | 0 | uint256 |
readyOracles 3a16c51eReturns ready (which have data to be used) oracles count.
refillBalance 09af014fAllows to deposit eth to the contract without creating orders.
requestPrice 1604f9eaReturns cost of requestRates function.
requestRates 1cdc51e7Requests oracles rates updating; funds oracles if needed.
requestTime d7fd0e77sellFee 2b14ca56sellRate 6217229bsellTokens c464fe65Allows user to sell tokens and get ether.
| inputs | 0 | address | _recipient | The recipient of ether. |
| 1 | uint256 | tokensCount | The count of tokens to sell. |
tokenAddress 9d76ea58tokenBalance 9e1a4d19Returns token balance of the sender.
waitingOracles 4f96e039Returns wait query oracle count.
withdrawReserve ace1fab1Withdraws balance only to special hardcoded wallet ONLY WHEN contract is locked.
withdrawWallet 85d178f4