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)
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)
event
SendWalletFees
Inputs
Parameter | Type | Description |
---|---|---|
wallet | address | |
reserve | address | |
sender | address |
Outputs
(void)
event
SendTaxFee
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
sender | address | |
taxWallet | address | |
quantity | uint256 |
Outputs
(void)
event
BurnAssignedFees
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
sender | address | |
quantity | uint256 |
Outputs
(void)
event
AssignBurnFees
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
burnFee | uint256 |
Outputs
(void)
event
AssignFeeToWallet
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
wallet | address | |
walletFee | uint256 |
Outputs
(void)
event
KNCRateSet
Inputs
Parameter | Type | Description |
---|---|---|
ethToKncRatePrecision | uint256 | |
kyberEthKnc | uint256 | |
kyberKncEth | uint256 | |
updater | address |
Outputs
(void)
event
TaxWalletSet
Inputs
Parameter | Type | Description |
---|---|---|
taxWallet | address |
Outputs
(void)
event
TaxFeesSet
Inputs
Parameter | Type | Description |
---|---|---|
feesInBps | uint256 |
Outputs
(void)
event
WalletFeesSet
Inputs
Parameter | Type | Description |
---|---|---|
wallet | address | |
feesInBps | uint256 |
Outputs
(void)
event
ReserveDataSet
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
feeInBps | uint256 | |
kncWallet | address |
Outputs
(void)
constructor
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_admin | address | |
_kncToken | address | |
_kyberNetwork | address | |
_initialKncToEthRatePrecision | uint256 |
Outputs
(void)
function
handleFees
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
tradeWeiAmount | uint256 | |
reserve | address | |
wallet | address |
Outputs
Type | Description |
---|---|
bool |
function
admin
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
burnReserveFees
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address |
Outputs
(void)
function
setTaxWallet
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_taxWallet | address |
Outputs
(void)
function
knc
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
sendFeeToWallet
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
wallet | address | |
reserve | address |
Outputs
(void)
function
feePayedPerReserve
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |
function
getBalance
view
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
user | address |
Outputs
Type | Description |
---|---|
uint256 |
function
withdrawEther
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
amount | uint256 | |
sendTo | address |
Outputs
(void)
function
kyberNetwork
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
removeOperator
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
operator | address |
Outputs
(void)
function
setTaxInBps
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
_taxFeeBps | uint256 |
Outputs
(void)
function
addOperator
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
newOperator | address |
Outputs
(void)
function
setKNCRate
nonpayable
Inputs
(void)
Outputs
(void)
function
getAlerters
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address[] |
function
transferAdminQuickly
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
newAdmin | address |
Outputs
(void)
function
claimAdmin
nonpayable
Inputs
(void)
Outputs
(void)
function
transferAdmin
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
newAdmin | address |
Outputs
(void)
function
setWalletFees
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
wallet | address | |
feesInBps | uint256 |
Outputs
(void)
function
setReserveData
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
reserve | address | |
feesInBps | uint256 | |
kncWallet | address |
Outputs
(void)
function
walletFeesInBps
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |
function
addAlerter
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
newAlerter | address |
Outputs
(void)
function
withdrawToken
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
token | address | |
amount | uint256 | |
sendTo | address |
Outputs
(void)
function
taxFeeBps
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
reserveFeesInBps
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |
function
kncPerEthRatePrecision
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
taxWallet
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
reserveFeeToBurn
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
uint256 |
function
getOperators
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address[] |
function
pendingAdmin
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
reserveFeeToWallet
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address |
Outputs
Type | Description |
---|---|
uint256 |
function
reserveKNCWallet
view
Inputs
Parameter | Type | Description |
---|---|---|
address |
Outputs
Type | Description |
---|---|
address |
function
removeAlerter
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
alerter | address |
Outputs
(void)