mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add documentation for extractReturnParameterDocs
This commit is contained in:
@@ -131,9 +131,9 @@ contract LMSRMarketMaker is MarketMaker {
|
||||
/// @param netOutcomeTokensSold Net outcome tokens sold by market
|
||||
/// @param funding Initial funding for market
|
||||
/// @param outcomeIndex Index of exponential term to extract (for use by marginal price function)
|
||||
/// @return sum of the outcomes
|
||||
/// @return offset that is used for all
|
||||
/// @return outcomeExpTerm the summand associated with the supplied index
|
||||
/// @return sum The sum of the outcomes
|
||||
/// @return offset The offset that is used for all
|
||||
/// @return outcomeExpTerm The summand associated with the supplied index
|
||||
function sumExpOffset(int logN, int[] memory netOutcomeTokensSold, uint funding, uint8 outcomeIndex)
|
||||
private
|
||||
view
|
||||
|
||||
@@ -468,7 +468,7 @@ BOOST_AUTO_TEST_CASE(dev_return_desc_multiple_unamed_mixed_2)
|
||||
/// @return _milk And milk with nutella
|
||||
function mul(uint a, uint second) public returns (uint _cookies, uint, uint _milk) {
|
||||
uint mul = a * 7;
|
||||
uint milk = 4;
|
||||
uint milk = 4;
|
||||
return (mul, second, milk);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user