Skip to content

Commit

Permalink
docs: correcting natspec from tricrypto-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCentonze committed Jun 13, 2024
1 parent f3f5337 commit d33ba9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contracts/main/CurveTwocrypto.vy
Original file line number Diff line number Diff line change
Expand Up @@ -1443,13 +1443,12 @@ def burnFrom(_to: address, _value: uint256) -> bool:
@view
def internal_price_oracle() -> uint256:
"""
@notice Returns the oracle price of the coin at index `k` w.r.t the coin
@notice Returns the oracle price of the coin at index 1 w.r.t the coin
at index 0.
@dev The oracle is an exponential moving average, with a periodicity
determined by `self.ma_time`. The aggregated prices are cached state
prices (dy/dx) calculated AFTER the latest trade.
@param k The index of the coin.
@return uint256 Price oracle value of kth coin.
@return uint256 Price oracle value of second coin.
"""
price_oracle: uint256 = self.cached_price_oracle
price_scale: uint256 = self.cached_price_scale
Expand Down

0 comments on commit d33ba9c

Please sign in to comment.