dydx / PriceOracle

DaiPriceOracle

0xccfcF083335633C48e99872899586113A2BD08D8
DaiPriceOracle
function

ownerSetPokerAddress

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newPokeraddress

Outputs

(void)
function

updatePrice

nonpayable

Inputs

ParameterTypeDescription
minimumtuple
maximumtuple

Outputs

TypeDescription
tuple
function

getTargetPrice

view

Inputs

(void)

Outputs

TypeDescription
tuple
function

getUniswapPrice

view

Inputs

ParameterTypeDescription
ethUsdtuple

Outputs

TypeDescription
tuple
function

getPrice

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
tuple
function

getOasisPrice

view

Inputs

ParameterTypeDescription
ethUsdtuple

Outputs

TypeDescription
tuple
function

getMedianizerPrice

view

Inputs

(void)

Outputs

TypeDescription
tuple
function

getBoundedTargetPrice

view

Inputs

(void)

Outputs

TypeDescription
tuple
event

PriceSet

Inputs

ParameterTypeDescription
newPriceInfotuple

Outputs

(void)
Ownable
function

transferOwnership

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

renounceOwnership

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

isOwner

view

Inputs

(void)

Outputs

TypeDescription
bool
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
constructor

nonpayable

Inputs

ParameterTypeDescription
pokeraddress
wethaddress
daiaddress
medianizeraddress
oasisaddress
uniswapaddress
oasisEthAmountuint256
deviationParamstuple

Outputs

(void)
function

DAI

view

Inputs

(void)

Outputs

TypeDescription
address
function

UNISWAP

view

Inputs

(void)

Outputs

TypeDescription
address
function

g_priceInfo

view

Inputs

(void)

Outputs

TypeDescription
uint128
uint32
function

WETH

view

Inputs

(void)

Outputs

TypeDescription
address
function

OASIS_ETH_AMOUNT

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

MEDIANIZER

view

Inputs

(void)

Outputs

TypeDescription
address
function

g_poker

view

Inputs

(void)

Outputs

TypeDescription
address
function

ONE_DOLLAR

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

DEVIATION_PARAMS

view

Inputs

(void)

Outputs

TypeDescription
uint64
uint64
uint64
function

OASIS

view

Inputs

(void)

Outputs

TypeDescription
address