KyberNetwork
setKyberProxy
Inputs
| Parameter | Type | Description |
|---|---|---|
| networkProxy | address |
Outputs
setParams
Inputs
| Parameter | Type | Description |
|---|---|---|
| _maxGasPrice | uint256 | |
| _negligibleRateDiff | uint256 |
Outputs
setEnable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _enable | bool |
Outputs
setExpectedRate
Inputs
| Parameter | Type | Description |
|---|---|---|
| expectedRate | address |
Outputs
setWhiteList
Inputs
| Parameter | Type | Description |
|---|---|---|
| whiteList | address |
Outputs
setFeeBurner
Inputs
| Parameter | Type | Description |
|---|---|---|
| feeBurner | address |
Outputs
listPairForReserve
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address | |
| token | address | |
| ethToToken | bool | |
| tokenToEth | bool | |
| add | bool |
Outputs
| Type | Description |
|---|---|
| bool |
addReserve
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address | |
| isPermissionless | bool |
Outputs
| Type | Description |
|---|---|
| bool |
setInfo
Inputs
| Parameter | Type | Description |
|---|---|---|
| field | bytes32 | |
| value | uint256 |
Outputs
removeReserve
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address | |
| index | uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
tradeWithHint
Inputs
| Parameter | Type | Description |
|---|---|---|
| trader | address | |
| src | address | |
| srcAmount | uint256 | |
| dest | address | |
| destAddress | address | |
| maxDestAmount | uint256 | |
| minConversionRate | uint256 | |
| walletId | address | |
| hint | bytes |
Outputs
| Type | Description |
|---|---|
| uint256 |
getNumReserves
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
findBestRate
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address | |
| srcAmount | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 |
info
Inputs
| Parameter | Type | Description |
|---|---|---|
| field | bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |
getUserCapInTokenWei
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address | |
| token | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
getExpectedRateOnlyPermission
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address | |
| srcQty | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 |
getExpectedRate
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address | |
| srcQty | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 |
getUserCapInWei
Inputs
| Parameter | Type | Description |
|---|---|---|
| user | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
maxGasPrice
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
enabled
Inputs
Outputs
| Type | Description |
|---|---|
| bool |
findBestRateOnlyPermission
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address | |
| srcAmount | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 |
searchBestRate
Inputs
| Parameter | Type | Description |
|---|---|---|
| src | address | |
| dest | address | |
| srcAmount | uint256 | |
| usePermissionless | bool |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
getReserves
Inputs
Outputs
| Type | Description |
|---|---|
| address[] |
KyberNetwork
Inputs
| Parameter | Type | Description |
|---|---|---|
| _admin | address |
Outputs
(fallback)
Inputs
Outputs
KyberTrade
Inputs
| Parameter | Type | Description |
|---|---|---|
| trader | address | |
| src | address | |
| dest | address | |
| srcAmount | uint256 | |
| dstAmount | uint256 | |
| destAddress | address | |
| ethWeiValue | uint256 | |
| reserve1 | address | |
| reserve2 | address | |
| hint | bytes |
Outputs
KyberProxySet
Inputs
| Parameter | Type | Description |
|---|---|---|
| proxy | address | |
| sender | address |
Outputs
KyberNetworkSetEnable
Inputs
| Parameter | Type | Description |
|---|---|---|
| isEnabled | bool |
Outputs
KyberNetwrokParamsSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| maxGasPrice | uint256 | |
| negligibleRateDiff | uint256 |
Outputs
FeeBurnerContractSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| newContract | address | |
| currentContract | address |
Outputs
ExpectedRateContractSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| newContract | address | |
| currentContract | address |
Outputs
WhiteListContractSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| newContract | address | |
| currentContract | address |
Outputs
ListReservePairs
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address | |
| src | address | |
| dest | address | |
| add | bool |
Outputs
RemoveReserveFromNetwork
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address |
Outputs
AddReserveToNetwork
Inputs
| Parameter | Type | Description |
|---|---|---|
| reserve | address | |
| add | bool | |
| isPermissionless | bool |
Outputs
EtherReceival
Inputs
| Parameter | Type | Description |
|---|---|---|
| sender | address | |
| amount | uint256 |
Outputs
PermissionGroups
removeOperator
Inputs
| Parameter | Type | Description |
|---|---|---|
| operator | address |
Outputs
addOperator
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOperator | address |
Outputs
transferAdminQuickly
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address |
Outputs
transferAdmin
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address |
Outputs
addAlerter
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAlerter | address |
Outputs
removeAlerter
Inputs
| Parameter | Type | Description |
|---|---|---|
| alerter | address |
Outputs
claimAdmin
Inputs
Outputs
getAlerters
Inputs
Outputs
| Type | Description |
|---|---|
| address[] |
getOperators
Inputs
Outputs
| Type | Description |
|---|---|
| address[] |
OperatorAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOperator | address | |
| isAdd | bool |
Outputs
AlerterAdded
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAlerter | address | |
| isAdd | bool |
Outputs
AdminClaimed
Inputs
| Parameter | Type | Description |
|---|---|---|
| newAdmin | address | |
| previousAdmin | address |
Outputs
TransferAdminPending
Inputs
| Parameter | Type | Description |
|---|---|---|
| pendingAdmin | address |
Outputs
Utils2
getBalance
Inputs
| Parameter | Type | Description |
|---|---|---|
| token | address | |
| user | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
Withdrawable
withdrawEther
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 | |
| sendTo | address |
Outputs
withdrawToken
Inputs
| Parameter | Type | Description |
|---|---|---|
| token | address | |
| amount | uint256 | |
| sendTo | address |
Outputs
EtherWithdraw
Inputs
| Parameter | Type | Description |
|---|---|---|
| amount | uint256 | |
| sendTo | address |
Outputs
TokenWithdraw
Inputs
| Parameter | Type | Description |
|---|---|---|
| token | address | |
| amount | uint256 | |
| sendTo | address |
Outputs
admin
Inputs
Outputs
| Type | Description |
|---|---|
| address |
PERM_HINT_GET_RATE
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
maxGasPriceValue
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
reservesPerTokenDest
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
PERM_HINT
Inputs
Outputs
| Type | Description |
|---|---|
| bytes |
reserves
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
kyberNetworkProxyContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
reserveType
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint8 |
isEnabled
Inputs
Outputs
| Type | Description |
|---|---|
| bool |
whiteListContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
expectedRateContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
feeBurnerContract
Inputs
Outputs
| Type | Description |
|---|---|
| address |
negligibleRateDiff
Inputs
Outputs
| Type | Description |
|---|---|
| uint256 |
reservesPerTokenSrc
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
pendingAdmin
Inputs
Outputs
| Type | Description |
|---|---|
| address |
infoFields
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |