Skip to content

Commit

Permalink
Update stake mentions in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Apr 9, 2024
1 parent f73e729 commit b4552b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/contracts/BitcoinRedeemer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ contract BitcoinRedeemer is Ownable2StepUpgradeable, IReceiveApproval {
/// setup. This contract remains upgradable to have flexibility to handle
/// adjustments to tBTC Bridge changes.
/// @dev Redemption data should include a `redeemer` address matching the
/// address of the staker who is redeeming the shares. In case anything
/// address of the deposit owner who is redeeming the shares. In case anything
/// goes wrong during the tBTC unminting process, the redeemer will be
/// able to claim the tBTC tokens back from the tBTC Bank contract.
/// @param owner The owner of the stBTC tokens.
Expand Down
2 changes: 1 addition & 1 deletion core/contracts/Dispatcher.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract Dispatcher is Router, Ownable2Step {
bool authorized;
}

/// The main stBTC contract holding tBTC deposited by stakers.
/// The main stBTC contract holding tBTC deposits.
stBTC public immutable stbtc;
/// tBTC token contract.
IERC20 public immutable tbtc;
Expand Down
7 changes: 3 additions & 4 deletions core/contracts/stBTC.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ import {ZeroAddress} from "./utils/Errors.sol";
/// @title stBTC
/// @notice This contract implements the ERC-4626 tokenized vault standard. By
/// staking tBTC, users acquire a liquid staking token called stBTC,
/// commonly referred to as "shares". The staked tBTC is securely
/// deposited into Acre's vaults, where it generates yield over time.
/// commonly referred to as "shares".
/// Users have the flexibility to redeem stBTC, enabling them to
/// withdraw their staked tBTC along with the accrued yield.
/// withdraw their deposited tBTC along with the accrued yield.
/// @dev ERC-4626 is a standard to optimize and unify the technical parameters
/// of yield-bearing vaults. This contract facilitates the minting and
/// burning of shares (stBTC), which are represented as standard ERC20
Expand Down Expand Up @@ -126,7 +125,7 @@ contract stBTC is ERC4626Fees, PausableOwnable {
// TODO: Implement a governed upgrade process that initiates an update and
// then finalizes it after a delay.
/// @notice Updates the dispatcher contract and gives it an unlimited
/// allowance to transfer staked tBTC.
/// allowance to transfer deposited tBTC.
/// @param newDispatcher Address of the new dispatcher contract.
function updateDispatcher(Dispatcher newDispatcher) external onlyOwner {
if (address(newDispatcher) == address(0)) {
Expand Down
2 changes: 1 addition & 1 deletion core/contracts/test/upgrades/stBTCV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ contract stBTCV2 is ERC4626Fees, PausableOwnable {
// TODO: Implement a governed upgrade process that initiates an update and
// then finalizes it after a delay.
/// @notice Updates the dispatcher contract and gives it an unlimited
/// allowance to transfer staked tBTC.
/// allowance to transfer deposited tBTC.
/// @param newDispatcher Address of the new dispatcher contract.
function updateDispatcher(Dispatcher newDispatcher) external onlyOwner {
if (address(newDispatcher) == address(0)) {
Expand Down

0 comments on commit b4552b1

Please sign in to comment.