-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from PolymathNetwork/new_poly_oracle
New poly oracle
- Loading branch information
Showing
6 changed files
with
72 additions
and
394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pragma solidity ^0.4.24; | ||
|
||
/** | ||
* @title Interface to MakerDAO Medianizer contract | ||
*/ | ||
|
||
interface IMedianizer { | ||
|
||
function peek() constant external returns (bytes32, bool); | ||
|
||
function read() constant external returns (bytes32); | ||
|
||
function set(address wat) external; | ||
|
||
function set(bytes12 pos, address wat) external; | ||
|
||
function setMin(uint96 min_) external; | ||
|
||
function setNext(bytes12 next_) external; | ||
|
||
function unset(bytes12 pos) external; | ||
|
||
function unset(address wat) external; | ||
|
||
function poke() external; | ||
|
||
function poke(bytes32) external; | ||
|
||
function compute() constant external returns (bytes32, bool); | ||
|
||
function void() external; | ||
|
||
} |
Oops, something went wrong.