DaiPriceOracle
function
ownerSetPokerAddress
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description | 
|---|---|---|
| newPoker | address | 
Outputs
(void)
function
updatePrice
nonpayable
Inputs
| Parameter | Type | Description | 
|---|---|---|
| minimum | tuple | |
| maximum | tuple | 
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getTargetPrice
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getUniswapPrice
view
Inputs
| Parameter | Type | Description | 
|---|---|---|
| ethUsd | tuple | 
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getPrice
view
Inputs
| Parameter | Type | Description | 
|---|---|---|
| address | 
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getOasisPrice
view
Inputs
| Parameter | Type | Description | 
|---|---|---|
| ethUsd | tuple | 
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getMedianizerPrice
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| tuple | 
function
getBoundedTargetPrice
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| tuple | 
event
PriceSet
Inputs
| Parameter | Type | Description | 
|---|---|---|
| newPriceInfo | tuple | 
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description | 
|---|---|---|
| newOwner | address | 
Outputs
(void)
function
renounceOwnership
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
isOwner
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| bool | 
function
owner
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
event
OwnershipTransferred
Inputs
| Parameter | Type | Description | 
|---|---|---|
| previousOwner | address | |
| newOwner | address | 
Outputs
(void)
constructor
nonpayable
Inputs
| Parameter | Type | Description | 
|---|---|---|
| poker | address | |
| weth | address | |
| dai | address | |
| medianizer | address | |
| oasis | address | |
| uniswap | address | |
| oasisEthAmount | uint256 | |
| deviationParams | tuple | 
Outputs
(void)
function
DAI
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
function
UNISWAP
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
function
g_priceInfo
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| uint128 | |
| uint32 | 
function
WETH
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
function
OASIS_ETH_AMOUNT
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| uint256 | 
function
MEDIANIZER
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
function
g_poker
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address | 
function
ONE_DOLLAR
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| uint256 | 
function
DEVIATION_PARAMS
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| uint64 | |
| uint64 | |
| uint64 | 
function
OASIS
view
Inputs
(void)
Outputs
| Type | Description | 
|---|---|
| address |