Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New poly oracle #274

Merged
merged 7 commits into from
Sep 24, 2018
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ All notable changes to this project will be documented in this file.
[__1.5.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __15-08-18__

## Added
* `transferTickerOwnership()` function is introduced in `TickerRegistry` to transfer the ticker ownership after the registeration #191.
* Generalised MakerDAO oracle to allow different instances referencing different currencies
* Added DAI as a fundraising currency to USDTieredSTO
* `transferTickerOwnership()` function is introduced in `TickerRegistry` to transfer the ticker ownership after the registeration #191.
* `getTickersByOwner()` function is used to get the list of tickers owned by the issuer #189.
* New function `addCustomTicker()` is used the add the Ticker in tickerRegistry. To avail the facility to Registry owner to add the tokens without paying the fee #190.
* Adding the functionality to change the `version`,`name`,`description`,`title` of a Module factory.
Expand All @@ -18,10 +20,10 @@ All notable changes to this project will be documented in this file.
* Add new function `modifyTickerDetails()`, To modify the details of undeployed ticker. #230

## Fixed
* Generalize the STO varaible names and added them in `ISTO.sol` to use the common standard in all STOs.
* Generalize the STO varaible names and added them in `ISTO.sol` to use the common standard in all STOs.
* Generalize the event when any new token get registered with the polymath ecosystem. `LogNewSecurityToken` should emit _ticker, _name, _securityTokenAddress, _owner, _addedAt, _registrant respectively. #230
## Removed

## Removed
* Remove `swarmHash` from the `registerTicker(), addCustomTicker(), generateSecurityToken(), addCustomSecurityToken()` functions of TickerRegistry.sol and SecurityTokenRegistry.sol. #230

======
Expand Down Expand Up @@ -80,7 +82,7 @@ allowed)
* Minor CLI fixes
* Change in the datastructure of SymbolDetails new variable `expiredTimestamp` introduced and change the variable name `timestamp` to `registeredTimestamp` in Tickerregistry.sol #192.
* Rounding edge cases in USDTieredSTO.sol that could have reverted valid transactions
* Bug in ManualApprovalTransferManager that allowed anyone to reduce anyone's transfer allowance
* Bug in ManualApprovalTransferManager that allowed anyone to reduce anyone's transfer allowance

=======
# v1.3.0
Expand Down
33 changes: 33 additions & 0 deletions contracts/external/IMedianizer.sol
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;

}
Loading