Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Just updated comment in getBidPrice.
Browse files Browse the repository at this point in the history
  • Loading branch information
bweick committed Nov 6, 2018
1 parent fa0856f commit 47fe520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/core/RebalancingSetToken.sol
Expand Up @@ -188,7 +188,7 @@ contract RebalancingSetToken is
uint256 _auctionPriceDivisor
)
external
{
{
ICore core = ICore(IRebalancingSetFactory(factory).core());

// Make sure it is manager that is proposing the rebalance
Expand All @@ -199,7 +199,7 @@ contract RebalancingSetToken is

// Make sure enough time has passed from last rebalance to start a new proposal
require(block.timestamp >= lastRebalanceTimestamp.add(rebalanceInterval), "PROPOSE_CALLED_TOO_EARLY");

// Check that new proposed Set is valid Set created by Core
require(core.validSets(_nextSet), "PROPOSED_SET_INVALID");

Expand Down Expand Up @@ -404,7 +404,7 @@ contract RebalancingSetToken is
uint256[] memory inflowUnitArray = new uint256[](combinedTokenArray.length);
uint256[] memory outflowUnitArray = new uint256[](combinedTokenArray.length);

// Get bid conversion price, currently static placeholder for calling auctionlibrary
// Get bid conversion price from specified auction price curve
uint256 priceNumerator = IAuctionPriceCurve(auctionLibrary).getCurrentPrice(
auctionStartTime,
auctionStartPrice,
Expand Down

0 comments on commit 47fe520

Please sign in to comment.