KyberNetworkProxy
function
setKyberNetworkContract
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
_kyberNetworkContract | address |
Outputs
(void)
function
swapTokenToToken
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
src | address | |
srcAmount | uint256 | |
dest | address | |
minConversionRate | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
function
swapTokenToEther
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
srcAmount | uint256 | |
minConversionRate | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
function
trade
payable
Inputs
Parameter | Type | Description |
---|---|---|
src | address | |
srcAmount | uint256 | |
dest | address | |
destAddress | address | |
maxDestAmount | uint256 | |
minConversionRate | uint256 | |
walletId | address |
Outputs
Type | Description |
---|---|
uint256 |
function
swapEtherToToken
payable
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
minConversionRate | uint256 |
Outputs
Type | Description |
---|---|
uint256 |
function
tradeWithHint
payable
Inputs
Parameter | Type | Description |
---|---|---|
src | address | |
srcAmount | uint256 | |
dest | address | |
destAddress | address | |
maxDestAmount | uint256 | |
minConversionRate | uint256 | |
walletId | address | |
hint | bytes |
Outputs
Type | Description |
---|---|
uint256 |
function
info
view
Inputs
Parameter | Type | Description |
---|---|---|
field | bytes32 |
Outputs
Type | Description |
---|---|
uint256 |
function
getUserCapInTokenWei
view
Inputs
Parameter | Type | Description |
---|---|---|
user | address | |
token | address |
Outputs
Type | Description |
---|---|
uint256 |
function
getExpectedRate
view
Inputs
Parameter | Type | Description |
---|---|---|
src | address | |
dest | address | |
srcQty | uint256 |
Outputs
Type | Description |
---|---|
uint256 | |
uint256 |
function
getUserCapInWei
view
Inputs
Parameter | Type | Description |
---|---|---|
user | address |
Outputs
Type | Description |
---|---|
uint256 |
function
maxGasPrice
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
enabled
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bool |
constructor
KyberNetworkProxy
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_admin | address |
Outputs
(void)
event
KyberNetworkSet
Inputs
Parameter | Type | Description |
---|---|---|
newNetworkContract | address | |
oldNetworkContract | address |
Outputs
(void)
event
ExecuteTrade
Inputs
Parameter | Type | Description |
---|---|---|
trader | address | |
src | address | |
dest | address | |
actualSrcAmount | uint256 | |
actualDestAmount | uint256 |
Outputs
(void)
PermissionGroups
function
removeOperator
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
operator | address |
Outputs
(void)
function
addOperator
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
newOperator | address |
Outputs
(void)
function
transferAdminQuickly
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
newAdmin | address |
Outputs
(void)
function
transferAdmin
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
newAdmin | address |
Outputs
(void)
function
addAlerter
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
newAlerter | address |
Outputs
(void)
function
removeAlerter
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
alerter | address |
Outputs
(void)
function
claimAdmin
nonpayable
Inputs
(void)
Outputs
(void)
function
getAlerters
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address[] |
function
getOperators
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address[] |
event
OperatorAdded
Inputs
Parameter | Type | Description |
---|---|---|
newOperator | address | |
isAdd | bool |
Outputs
(void)
event
AlerterAdded
Inputs
Parameter | Type | Description |
---|---|---|
newAlerter | address | |
isAdd | bool |
Outputs
(void)
event
AdminClaimed
Inputs
Parameter | Type | Description |
---|---|---|
newAdmin | address | |
previousAdmin | address |
Outputs
(void)
event
TransferAdminPending
Inputs
Parameter | Type | Description |
---|---|---|
pendingAdmin | address |
Outputs
(void)
Utils2
function
getBalance
view
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
user | address |
Outputs
Type | Description |
---|---|
uint256 |
Withdrawable
function
withdrawEther
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
amount | uint256 | |
sendTo | address |
Outputs
(void)
function
withdrawToken
nonpayable
Restricted (onlyAdmin)
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
amount | uint256 | |
sendTo | address |
Outputs
(void)
event
EtherWithdraw
Inputs
Parameter | Type | Description |
---|---|---|
amount | uint256 | |
sendTo | address |
Outputs
(void)
event
TokenWithdraw
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
amount | uint256 | |
sendTo | address |
Outputs
(void)
function
admin
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
kyberNetworkContract
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
pendingAdmin
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |