Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Lido v2 fix comments #779

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions contracts/0.4.24/Lido.sol
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,10 @@ contract Lido is Versioned, StETHPermit, AragonApp {
}

/**
* @notice Send funds to the pool
* @dev Users are able to submit their funds by transacting to the fallback function.
* @notice Send funds to the pool and mints `StETH` tokens to `msg.sender` address
folkyatina marked this conversation as resolved.
Show resolved Hide resolved
* @dev Users are able to submit their funds by sending ether to the contract address.
* Unlike vanilla Ethereum Deposit contract, accepting only 32-Ether transactions, Lido
* accepts payments of any size. Submitted Ethers are stored in Buffer until someone calls
* accepts payments of any size. Submitted ether are stored in the buffer until someone calls
* deposit() and pushes them to the Ethereum Deposit contract.
*/
// solhint-disable-next-line no-complex-fallback
Expand All @@ -458,7 +458,7 @@ contract Lido is Versioned, StETHPermit, AragonApp {
}

/**
* @notice Send funds to the pool with optional _referral parameter
* @notice Send funds to the pool with the optional `_referral` parameter and mints `StETH` tokens to `msg.sender` address
folkyatina marked this conversation as resolved.
Show resolved Hide resolved
* @dev This function is alternative way to submit funds. Supports optional referral address.
* @return Amount of StETH shares generated
*/
Expand Down
Loading