KyberNetwork

ConversionRates

0x798AbDA6Cc246D0EDbA912092A2a3dBd3d11191B
ConversionRates
function

addToken

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress

Outputs

(void)
function

setValidRateDurationInBlocks

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
durationuint256

Outputs

(void)
function

enableTokenTrade

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress

Outputs

(void)
function

setReserveAddress

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
reserveaddress

Outputs

(void)
function

disableTokenTrade

nonpayable
Restricted (onlyAlerter)

Inputs

ParameterTypeDescription
tokenaddress

Outputs

(void)
function

setImbalanceStepFunction

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
tokenaddress
xBuyint256[]
yBuyint256[]
xSellint256[]
ySellint256[]

Outputs

(void)
function

setQtyStepFunction

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
tokenaddress
xBuyint256[]
yBuyint256[]
xSellint256[]
ySellint256[]

Outputs

(void)
function

setCompactData

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
buybytes14[]
sellbytes14[]
blockNumberuint256
indicesuint256[]

Outputs

(void)
function

setBaseRate

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
tokensaddress[]
baseBuyuint256[]
baseSelluint256[]
buybytes14[]
sellbytes14[]
blockNumberuint256
indicesuint256[]

Outputs

(void)
function

recordImbalance

nonpayable

Inputs

ParameterTypeDescription
tokenaddress
buyAmountint256
rateUpdateBlockuint256
currentBlockuint256

Outputs

(void)
function

getCompactData

view

Inputs

ParameterTypeDescription
tokenaddress

Outputs

TypeDescription
uint256
uint256
bytes1
bytes1
function

getBasicRate

view

Inputs

ParameterTypeDescription
tokenaddress
buybool

Outputs

TypeDescription
uint256
function

getRate

view

Inputs

ParameterTypeDescription
tokenaddress
currentBlockNumberuint256
buybool
qtyuint256

Outputs

TypeDescription
uint256
function

getRateUpdateBlock

view

Inputs

ParameterTypeDescription
tokenaddress

Outputs

TypeDescription
uint256
function

getTokenBasicData

view

Inputs

ParameterTypeDescription
tokenaddress

Outputs

TypeDescription
bool
bool
function

getStepFunctionData

view

Inputs

ParameterTypeDescription
tokenaddress
commanduint256
paramuint256

Outputs

TypeDescription
int256
function

getListedTokens

view

Inputs

(void)

Outputs

TypeDescription
address[]
constructor

ConversionRates

nonpayable
Restricted (VolumeImbalanceRecorder)

Inputs

ParameterTypeDescription
_adminaddress

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)
VolumeImbalanceRecorder
function

setTokenControlInfo

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress
minimalRecordResolutionuint256
maxPerBlockImbalanceuint256
maxTotalImbalanceuint256

Outputs

(void)
function

getTokenControlInfo

view

Inputs

ParameterTypeDescription
tokenaddress

Outputs

TypeDescription
uint256
uint256
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

tokenImbalanceData

view

Inputs

ParameterTypeDescription
address
uint256

Outputs

TypeDescription
uint256
function

reserveContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

numTokensInCurrentCompactData

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

pendingAdmin

view

Inputs

(void)

Outputs

TypeDescription
address
function

validRateDurationInBlocks

view

Inputs

(void)

Outputs

TypeDescription
uint256