KyberNetwork / KyberReserve

Reserve2 - KyberReserve

0x7a3370075a54b187d7bd5dcebf0ff2b5552d4f7d
KyberReserve
function

setContracts

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
_kyberNetworkaddress
_conversionRatesaddress
_sanityRatesaddress

Outputs

(void)
function

approveWithdrawAddress

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress
addraddress
approvebool

Outputs

(void)
function

setTokenWallet

nonpayable
Restricted (onlyAdmin)

Inputs

ParameterTypeDescription
tokenaddress
walletaddress

Outputs

(void)
function

enableTrade

nonpayable
Restricted (onlyAdmin)

Inputs

(void)

Outputs

TypeDescription
bool
function

disableTrade

nonpayable
Restricted (onlyAlerter)

Inputs

(void)

Outputs

TypeDescription
bool
function

withdraw

nonpayable
Restricted (onlyOperator)

Inputs

ParameterTypeDescription
tokenaddress
amountuint256
destinationaddress

Outputs

TypeDescription
bool
function

trade

payable

Inputs

ParameterTypeDescription
srcTokenaddress
srcAmountuint256
destTokenaddress
destAddressaddress
conversionRateuint256
validatebool

Outputs

TypeDescription
bool
function

getDestQty

view

Inputs

ParameterTypeDescription
srcaddress
destaddress
srcQtyuint256
rateuint256

Outputs

TypeDescription
uint256
function

getBalance

view

Inputs

ParameterTypeDescription
tokenaddress

Outputs

TypeDescription
uint256
function

getSrcQty

view

Inputs

ParameterTypeDescription
srcaddress
destaddress
dstQtyuint256
rateuint256

Outputs

TypeDescription
uint256
function

getConversionRate

view

Inputs

ParameterTypeDescription
srcaddress
destaddress
srcQtyuint256
blockNumberuint256

Outputs

TypeDescription
uint256
constructor

KyberReserve

nonpayable

Inputs

ParameterTypeDescription
_kyberNetworkaddress
_ratesContractaddress
_adminaddress

Outputs

(void)
fallback

(fallback)

payable

Inputs

(void)

Outputs

(void)
event

SetContractAddresses

Inputs

ParameterTypeDescription
networkaddress
rateaddress
sanityaddress

Outputs

(void)
event

WithdrawFunds

Inputs

ParameterTypeDescription
tokenaddress
amountuint256
destinationaddress

Outputs

(void)
event

NewTokenWallet

Inputs

ParameterTypeDescription
tokenaddress
walletaddress

Outputs

(void)
event

WithdrawAddressApproved

Inputs

ParameterTypeDescription
tokenaddress
addraddress
approvebool

Outputs

(void)
event

TradeEnabled

Inputs

ParameterTypeDescription
enablebool

Outputs

(void)
event

TradeExecute

Inputs

ParameterTypeDescription
originaddress
srcaddress
srcAmountuint256
destTokenaddress
destAmountuint256
destAddressaddress

Outputs

(void)
event

DepositToken

Inputs

ParameterTypeDescription
tokenaddress
amountuint256

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

approvedWithdrawAddresses

view

Inputs

ParameterTypeDescription
bytes32

Outputs

TypeDescription
bool
function

tradeEnabled

view

Inputs

(void)

Outputs

TypeDescription
bool
function

conversionRatesContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

kyberNetwork

view

Inputs

(void)

Outputs

TypeDescription
address
function

tokenWallet

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
address
function

sanityRatesContract

view

Inputs

(void)

Outputs

TypeDescription
address
function

pendingAdmin

view

Inputs

(void)

Outputs

TypeDescription
address