KyberNetwork / Kyber:Contract

KyberNetworkProxy

0x818e6fecd516ecc3849daf6845e3ec868087b755
KyberNetworkProxy
function

setKyberNetworkContract

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
_kyberNetworkContractaddress

Outputs

(void)
function

swapTokenToToken

nonpayable

Inputs

ParameterTypeDescription
srcaddress
srcAmountuint256
destaddress
minConversionRateuint256

Outputs

TypeDescription
uint256
function

swapTokenToEther

nonpayable

Inputs

ParameterTypeDescription
tokenaddress
srcAmountuint256
minConversionRateuint256

Outputs

TypeDescription
uint256
function

trade

payable

Inputs

ParameterTypeDescription
srcaddress
srcAmountuint256
destaddress
destAddressaddress
maxDestAmountuint256
minConversionRateuint256
walletIdaddress

Outputs

TypeDescription
uint256
function

swapEtherToToken

payable

Inputs

ParameterTypeDescription
tokenaddress
minConversionRateuint256

Outputs

TypeDescription
uint256
function

tradeWithHint

payable

Inputs

ParameterTypeDescription
srcaddress
srcAmountuint256
destaddress
destAddressaddress
maxDestAmountuint256
minConversionRateuint256
walletIdaddress
hintbytes

Outputs

TypeDescription
uint256
function

info

view

Inputs

ParameterTypeDescription
fieldbytes32

Outputs

TypeDescription
uint256
function

getUserCapInTokenWei

view

Inputs

ParameterTypeDescription
useraddress
tokenaddress

Outputs

TypeDescription
uint256
function

getExpectedRate

view

Inputs

ParameterTypeDescription
srcaddress
destaddress
srcQtyuint256

Outputs

TypeDescription
uint256
uint256
function

getUserCapInWei

view

Inputs

ParameterTypeDescription
useraddress

Outputs

TypeDescription
uint256
function

maxGasPrice

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

enabled

view

Inputs

(void)

Outputs

TypeDescription
bool
constructor

KyberNetworkProxy

nonpayable

Inputs

ParameterTypeDescription
_adminaddress

Outputs

(void)
event

KyberNetworkSet

Inputs

ParameterTypeDescription
newNetworkContractaddress
oldNetworkContractaddress

Outputs

(void)
event

ExecuteTrade

Inputs

ParameterTypeDescription
traderaddress
srcaddress
destaddress
actualSrcAmountuint256
actualDestAmountuint256

Outputs

(void)
PermissionGroups
function

removeOperator

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
operatoraddress

Outputs

(void)
function

addOperator

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
newOperatoraddress

Outputs

(void)
function

transferAdminQuickly

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
newAdminaddress

Outputs

(void)
function

transferAdmin

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
newAdminaddress

Outputs

(void)
function

addAlerter

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
newAlerteraddress

Outputs

(void)
function

removeAlerter

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
alerteraddress

Outputs

(void)
function

claimAdmin

nonpayable

Inputs

(void)

Outputs

(void)
function

getAlerters

view

Inputs

(void)

Outputs

TypeDescription
address[]
function

getOperators

view

Inputs

(void)

Outputs

TypeDescription
address[]
event

OperatorAdded

Inputs

ParameterTypeDescription
newOperatoraddress
isAddbool

Outputs

(void)
event

AlerterAdded

Inputs

ParameterTypeDescription
newAlerteraddress
isAddbool

Outputs

(void)
event

AdminClaimed

Inputs

ParameterTypeDescription
newAdminaddress
previousAdminaddress

Outputs

(void)
event

TransferAdminPending

Inputs

ParameterTypeDescription
pendingAdminaddress

Outputs

(void)
Utils2
function

getBalance

view

Inputs

ParameterTypeDescription
tokenaddress
useraddress

Outputs

TypeDescription
uint256
Withdrawable
function

withdrawEther

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
amountuint256
sendToaddress

Outputs

(void)
function

withdrawToken

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress
amountuint256
sendToaddress

Outputs

(void)
event

EtherWithdraw

Inputs

ParameterTypeDescription
amountuint256
sendToaddress

Outputs

(void)
event

TokenWithdraw

Inputs

ParameterTypeDescription
tokenaddress
amountuint256
sendToaddress

Outputs

(void)
function

admin

view

Inputs

(void)

Outputs

TypeDescription
address
function

kyberNetworkContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

pendingAdmin

view

Inputs

(void)

Outputs

TypeDescription
address