Skip to content

Commit

Permalink
docs: update comments on _transfer_in
Browse files Browse the repository at this point in the history
  • Loading branch information
massun-onibakuchi committed Dec 1, 2023
1 parent c9f1700 commit 6bed045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/main/CurveTricryptoOptimizedWETH.vy
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def _transfer_in(
expect_optimistic_transfer: bool,
) -> uint256:
"""
@notice Transfers `_coin` from `sender` to `self` and calls `callback_sig`
if it is not empty.
@notice Transfers `_coin` from `sender` to `self` if `expect_optimistic_transfer` is False.
if it is True, then it only checks if `self` holds an amount of `_coin` at least `_dx` greater than the accounting balance.
@params _coin_idx uint256 Index of the coin to transfer in.
@params dx amount of `_coin` to transfer into the pool.
@params sender address to transfer `_coin` from.
Expand Down

0 comments on commit 6bed045

Please sign in to comment.