Skip to content

Commit

Permalink
Merge pull request #274 from PolymathNetwork/new_poly_oracle
Browse files Browse the repository at this point in the history
New poly oracle
  • Loading branch information
satyamakgec committed Sep 24, 2018
2 parents a3f915b + 24743e7 commit 706a464
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 394 deletions.
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

0 comments on commit 706a464

Please sign in to comment.