BZxOracle
inputs | 0 | address | _vaultContract | |
1 | address | _kyberContract | ||
2 | address | _wethContract | ||
3 | address | _bZRxTokenContract |
BZxOwnershipTransferred
275474e6
inputs | 0 | address | previousBZxContract | |
1 | address | newBZxContract |
GasRefund
1bcea78f
inputs | 0 | address | payer | |
1 | uint256 | gasUsed | ||
2 | uint256 | currentGasPrice | ||
3 | uint256 | refundAmount | ||
4 | bool | refundSuccess |
OwnershipRenounced
f8df3114
inputs | 0 | address | previousOwner |
OwnershipTransferred
8be0079c
inputs | 0 | address | previousOwner | |
1 | address | newOwner |
bZRxTokenContract
779dec5b
bZxContractAddress
e4a72b13
bountyRewardPercent
669f6d80
collateralInWethAmounts
fbb7f232
inputs | 0 | uint256 |
didChangeCollateral
bcad1a5a
inputs | 0 | tuple | ||
1 | tuple | |||
2 | uint256 |
didChangeLenderOwnership
4ce5eff1
inputs | 0 | tuple | ||
1 | address | |||
2 | address | |||
3 | uint256 |
didChangeTraderOwnership
c6645cfa
inputs | 0 | tuple | ||
1 | tuple | |||
2 | address | |||
3 | uint256 |
didCloseLoan
58f4028f
inputs | 0 | tuple | ||
1 | tuple | |||
2 | address | loanCloser | ||
3 | bool | isLiquidation | ||
4 | uint256 | gasUsed |
didDepositCollateral
cec5b6d5
inputs | 0 | tuple | ||
1 | tuple | |||
2 | uint256 |
didIncreaseLoanableAmount
71e265c1
inputs | 0 | tuple | ||
1 | address | |||
2 | uint256 | |||
3 | uint256 | |||
4 | uint256 |
didPayInterest
625a33d6
inputs | 0 | tuple | loanOrder | |
1 | address | lender | ||
2 | uint256 | amountOwed | ||
3 | bool | convert | ||
4 | uint256 |
didTakeOrder
b0c3b1e7
inputs | 0 | tuple | ||
1 | tuple | |||
2 | tuple | loanPosition | ||
3 | address | |||
4 | uint256 |
didTradePosition
f8561765
inputs | 0 | tuple | loanOrder | |
1 | tuple | loanPosition | ||
2 | uint256 |
didWithdrawCollateral
92b1dc2e
inputs | 0 | tuple | ||
1 | tuple | |||
2 | uint256 |
didWithdrawProfit
299df3cf
inputs | 0 | tuple | ||
1 | tuple | |||
2 | uint256 | |||
3 | uint256 |
doManualTrade
7c06db04
inputs | 0 | address | sourceTokenAddress | |
1 | address | destTokenAddress | ||
2 | uint256 | sourceTokenAmount |
doTrade
cb33e7fa
inputs | 0 | address | sourceTokenAddress | |
1 | address | destTokenAddress | ||
2 | uint256 | sourceTokenAmount |
emaPeriods
2c9f6792
emaValue
a48205cb
enforceMinimum
f0ad0b7f
gasUpperBound
cc11a3b6
getCurrentMarginAmount
00432cf3
inputs | 0 | address | loanTokenAddress | |
1 | address | positionTokenAddress | ||
2 | address | collateralTokenAddress | ||
3 | uint256 | loanTokenAmount | ||
4 | uint256 | positionTokenAmount | ||
5 | uint256 | collateralTokenAmount | ||
outputs | 0 | uint256 |
getProfitOrLoss
5376a03d
inputs | 0 | address | positionTokenAddress | |
1 | address | loanTokenAddress | ||
2 | uint256 | positionTokenAmount | ||
3 | uint256 | loanTokenAmount |
getTradeData
06599aa0
inputs | 0 | address | sourceTokenAddress | |
1 | address | destTokenAddress | ||
2 | uint256 | sourceTokenAmount |
interestFeePercent
fe8925f4
isManualTradingAllowed
5d8e0c2c
isTradeSupported
5a1e921b
inputs | 0 | address | sourceTokenAddress | |
1 | address | destTokenAddress | ||
2 | uint256 | sourceTokenAmount |
kyberContract
2aed1390
minInitialMarginAmount
26e010c8
minMaintenanceMarginAmount
af2bf027
minimumCollateralInWethAmount
e5e47582
outlierAdder
7ca7cbc1
outlierMultiplier
903509d6
owner
8da5cb5b
processCollateral
5075c7e8
inputs | 0 | tuple | loanOrder | |
1 | tuple | loanPosition | ||
2 | uint256 | loanTokenAmountNeeded | ||
3 | bool | isLiquidation |
renounceOwnership
715018a6
Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the onlyOwner
modifier anymore.
Allows the current owner to relinquish control of the contract.
setBZRxTokenContractAddress
41ce9f0e
inputs | 0 | address | newAddress |
setBountyRewardPercent
b5c9fa0a
inputs | 0 | uint256 | newValue |
setDecimals
4a00709d
inputs | 0 | address | token |
setDecimalsBatch
5e19a6eb
inputs | 0 | address[] | tokens |
setEMAPeriods
cc677679
inputs | 0 | uint256 | _newEMAPeriods |
setEMAValue
e2506eab
inputs | 0 | uint256 | _newEMAValue |
setGasUpperBound
63621532
inputs | 0 | uint256 | newValue |
setInterestFeePercent
8c9f7074
inputs | 0 | uint256 | newRate |
setKyberContractAddress
d28a4f9e
inputs | 0 | address | newAddress |
setManualTradingAllowed
c4cae886
inputs | 0 | bool | _isManualTradingAllowed |
setMarginThresholds
8605c97e
inputs | 0 | uint256 | newInitialMargin | |
1 | uint256 | newMaintenanceMargin |
setMinimumCollateralInWethAmount
2ce334ba
inputs | 0 | uint256 | newValue | |
1 | bool | enforce |
setVaultContractAddress
871105cc
inputs | 0 | address | newAddress |
setWethContractAddress
f1cf5b38
inputs | 0 | address | newAddress |
shouldLiquidate
be3daf55
inputs | 0 | bytes32 | ||
1 | address | |||
2 | address | loanTokenAddress | ||
3 | address | positionTokenAddress | ||
4 | address | collateralTokenAddress | ||
5 | uint256 | loanTokenAmount | ||
6 | uint256 | positionTokenAmount | ||
7 | uint256 | collateralTokenAmount | ||
8 | uint256 | maintenanceMarginAmount |
throwOnGasRefundFail
754efc98
transferBZxOwnership
72e98a79
Allows the current owner to transfer the bZx contract owner to a new contract address
inputs | 0 | address | newBZxContractAddress | The bZx contract address to transfer ownership to. |
transferEther
05b1137b
inputs | 0 | address | to | |
1 | uint256 | value |
transferOwnership
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
inputs | 0 | address | newOwner | The address to transfer ownership to. This overrides transferOwnership in Ownable to prevent setting the new owner the same as the bZxContract |
transferToken
f5537ede
inputs | 0 | address | tokenAddress | |
1 | address | to | ||
2 | uint256 | value |
vaultContract
2274346b
verifyAndLiquidate
05425026
inputs | 0 | tuple | loanOrder | |
1 | tuple | loanPosition |
wethContract
4780eac1