Skip to content

Commit

Permalink
docs: remove references to thirdPartyTransfersForbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
nadir-akhtar committed Jan 6, 2025
1 parent 005daee commit 7f08d2b
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions docs/core/StrategyManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ Note that once the owner adds tokens to the blacklist, they cannot be removed. T

```solidity
function whitelistStrategies(
IStrategy[] calldata strategiesToWhitelist,
bool[] calldata thirdPartyTransfersForbiddenValues
IStrategy[] calldata strategiesToWhitelist
)
external
onlyOwner
Expand Down Expand Up @@ -436,8 +435,7 @@ Allows the `owner` to update the Strategy Whitelister address. Currently, the St

```solidity
function addStrategiesToDepositWhitelist(
IStrategy[] calldata strategiesToWhitelist,
bool[] calldata thirdPartyTransfersForbiddenValues
IStrategy[] calldata strategiesToWhitelist
)
external
onlyStrategyWhitelister
Expand All @@ -447,7 +445,6 @@ Allows the Strategy Whitelister to add any number of strategies to the `Strategy

*Effects*:
* Adds entries to `StrategyManager.strategyIsWhitelistedForDeposit`
* Sets `thirdPartyTransfersForbidden` for each added strategy

*Requirements*:
* Caller MUST be the `strategyWhitelister`
Expand All @@ -469,24 +466,3 @@ Allows the Strategy Whitelister to remove any number of strategies from the `Str

*Requirements*:
* Caller MUST be the `strategyWhitelister`

#### `setThirdPartyTransfersForbidden`

```solidity
function setThirdPartyTransfersForbidden(
IStrategy strategy,
bool value
)
external
onlyStrategyWhitelister
```

Allows the Strategy Whitelister to enable or disable third-party transfers for any `strategy`. If third-party transfers are disabled:
* Deposits via [`depositIntoStrategyWithSiganture`](#depositintostrategywithsignature) are disabled.
* Withdrawals to a different address via [`DelegationManager.queueWithdrawals`](./DelegationManager.md#queuewithdrawals) are disabled.

*Effects*:
* Sets `thirdPartyTransfersForbidden[strategy]`, even if that strategy is not currently whitelisted

*Requirements*:
* Caller MUST be the `strategyWhitelister`

0 comments on commit 7f08d2b

Please sign in to comment.