TestNetOracle
/contracts/tokens/testing/TestNetOracle.sol

constructor, payable

TestNetOracle

inputs0address_vaultContract
inputs1address_kyberContract
inputs2address_wethContract
inputs3address_bZRxTokenContract
event

BZxOwnershipTransferred 275474e6

inputs0addresspreviousBZxContract
inputs1addressnewBZxContract
event

GasRefund 1bcea78f

inputs0addresspayer
inputs1uint256gasUsed
inputs2uint256currentGasPrice
inputs3uint256refundAmount
inputs4boolrefundSuccess
event

OwnershipRenounced f8df3114

inputs0addresspreviousOwner
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function, constant

bZRxTokenContract 779dec5b

function, constant

bZxContractAddress e4a72b13

function, constant

bountyRewardPercent 669f6d80

function, constant

collateralInWethAmounts fbb7f232

inputs0uint256
function

didChangeCollateral bcad1a5a

inputs0tuple
inputs1tuple
inputs2uint256
function

didChangeLenderOwnership 4ce5eff1

inputs0tuple
inputs1address
inputs2address
inputs3uint256
function

didChangeTraderOwnership c6645cfa

inputs0tuple
inputs1tuple
inputs2address
inputs3uint256
function

didCloseLoan 58f4028f

inputs0tuple
inputs1tuple
inputs2addressloanCloser
inputs3boolisLiquidation
inputs4uint256gasUsed
function

didDepositCollateral cec5b6d5

inputs0tuple
inputs1tuple
inputs2uint256
function

didIncreaseLoanableAmount 71e265c1

inputs0tuple
inputs1address
inputs2uint256
inputs3uint256
inputs4uint256
function

didPayInterest 625a33d6

inputs0tupleloanOrder
inputs1addresslender
inputs2uint256amountOwed
inputs3boolconvert
inputs4uint256
function

didTakeOrder b0c3b1e7

inputs0tuple
inputs1tuple
inputs2tupleloanPosition
inputs3address
inputs4uint256
function

didTradePosition f8561765

inputs0tupleloanOrder
inputs1tupleloanPosition
inputs2uint256
function

didWithdrawCollateral 92b1dc2e

inputs0tuple
inputs1tuple
inputs2uint256
function

didWithdrawProfit 299df3cf

inputs0tuple
inputs1tuple
inputs2uint256
inputs3uint256
function

doManualTrade 7c06db04

inputs0addresssourceTokenAddress
inputs1addressdestTokenAddress
inputs2uint256sourceTokenAmount
function

doTrade cb33e7fa

inputs0addresssourceTokenAddress
inputs1addressdestTokenAddress
inputs2uint256sourceTokenAmount
function, constant

emaPeriods 2c9f6792

function, constant

emaValue a48205cb

function, constant

enforceMinimum f0ad0b7f

function, constant

faucetContract d7fbbf9a

function, constant

gasUpperBound cc11a3b6

function, constant

getCurrentMarginAmount 00432cf3

inputs0addressloanTokenAddress
inputs1addresspositionTokenAddress
inputs2addresscollateralTokenAddress
inputs3uint256loanTokenAmount
inputs4uint256positionTokenAmount
inputs5uint256collateralTokenAmount
outputs0uint256
function, constant

getProfitOrLoss 5376a03d

inputs0addresspositionTokenAddress
inputs1addressloanTokenAddress
inputs2uint256positionTokenAmount
inputs3uint256loanTokenAmount
function, constant

getTradeData 06599aa0

inputs0addresssourceTokenAddress
inputs1addressdestTokenAddress
inputs2uint256sourceTokenAmount
function, constant

interestFeePercent fe8925f4

function, constant

isManualTradingAllowed 5d8e0c2c

function, constant

isTradeSupported 5a1e921b

inputs0addresssourceTokenAddress
inputs1addressdestTokenAddress
inputs2uint256sourceTokenAmount
function, constant

kyberContract 2aed1390

function, constant

minInitialMarginAmount 26e010c8

function, constant

minMaintenanceMarginAmount af2bf027

function, constant

minimumCollateralInWethAmount e5e47582

function, constant

outlierAdder 7ca7cbc1

function, constant

outlierMultiplier 903509d6

function, constant

owner 8da5cb5b

function

processCollateral 5075c7e8

inputs0tupleloanOrder
inputs1tupleloanPosition
inputs2uint256loanTokenAmountNeeded
inputs3boolisLiquidation
function

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.

function

setBZRxTokenContractAddress 41ce9f0e

inputs0addressnewAddress
function

setBountyRewardPercent b5c9fa0a

inputs0uint256newValue
function

setDecimals 4a00709d

inputs0addresstoken
function

setDecimalsBatch 5e19a6eb

inputs0address[]tokens
function

setEMAPeriods cc677679

inputs0uint256_newEMAPeriods
function

setEMAValue e2506eab

inputs0uint256_newEMAValue
function

setFaucetContractAddress 054ec364

inputs0addressnewAddress
function

setGasUpperBound 63621532

inputs0uint256newValue
function

setInterestFeePercent 8c9f7074

inputs0uint256newRate
function

setKyberContractAddress d28a4f9e

inputs0addressnewAddress
function

setManualTradingAllowed c4cae886

inputs0bool_isManualTradingAllowed
function

setMarginThresholds 8605c97e

inputs0uint256newInitialMargin
inputs1uint256newMaintenanceMargin
function

setMinimumCollateralInWethAmount 2ce334ba

inputs0uint256newValue
inputs1boolenforce
function

setVaultContractAddress 871105cc

inputs0addressnewAddress
function

setWethContractAddress f1cf5b38

inputs0addressnewAddress
function, constant

shouldLiquidate be3daf55

inputs0bytes32
inputs1address
inputs2addressloanTokenAddress
inputs3addresspositionTokenAddress
inputs4addresscollateralTokenAddress
inputs5uint256loanTokenAmount
inputs6uint256positionTokenAmount
inputs7uint256collateralTokenAmount
inputs8uint256maintenanceMarginAmount
function, constant

throwOnGasRefundFail 754efc98

function

transferBZxOwnership 72e98a79

Allows the current owner to transfer the bZx contract owner to a new contract address

inputs0addressnewBZxContractAddress

The bZx contract address to transfer ownership to.

function

transferEther 05b1137b

inputs0addressto
inputs1uint256value
function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0addressnewOwner

The address to transfer ownership to. This overrides transferOwnership in Ownable to prevent setting the new owner the same as the bZxContract

function

transferToken f5537ede

inputs0addresstokenAddress
inputs1addressto
inputs2uint256value
function, constant

vaultContract 2274346b

function

verifyAndLiquidate 05425026

inputs0tupleloanOrder
inputs1tupleloanPosition
function, constant

wethContract 4780eac1