diff --git a/contracts/token/ERC20/extensions/ERC7540AdminDeposit.sol b/contracts/token/ERC20/extensions/ERC7540AdminDeposit.sol index 5b0ecf74a5d..58f66730d67 100644 --- a/contracts/token/ERC20/extensions/ERC7540AdminDeposit.sol +++ b/contracts/token/ERC20/extensions/ERC7540AdminDeposit.sol @@ -17,8 +17,7 @@ import {ERC7540} from "./ERC7540.sol"; * * Production equivalents include * https://github.com/usdai-foundation/usdai-contracts/blob/main/src/StakedUSDai.sol[USDai], - * https://github.com/plumenetwork/nest-protocol/blob/main/contracts/NestVaultCore.sol[Nest (Plume)], - * https://github.com/turingcapitalgroup/metaVault/blob/main/src/MetaVault.sol[MetaVault], and + * https://github.com/plumenetwork/nest-protocol/blob/main/contracts/NestVaultCore.sol[Nest (Plume)], and * https://github.com/centrifuge/protocol/blob/main/src/vaults/AsyncVault.sol[Centrifuge]. * * All requests share `requestId = 0` (per-controller accounting only). diff --git a/contracts/token/ERC20/extensions/ERC7540AdminRedeem.sol b/contracts/token/ERC20/extensions/ERC7540AdminRedeem.sol index 2f00f93e2b6..f644b34048c 100644 --- a/contracts/token/ERC20/extensions/ERC7540AdminRedeem.sol +++ b/contracts/token/ERC20/extensions/ERC7540AdminRedeem.sol @@ -18,8 +18,7 @@ import {ERC7540} from "./ERC7540.sol"; * * Production equivalents include * https://github.com/usdai-foundation/usdai-contracts/blob/main/src/StakedUSDai.sol[USDai], - * https://github.com/plumenetwork/nest-protocol/blob/main/contracts/NestVaultCore.sol[Nest (Plume)], - * https://github.com/turingcapitalgroup/metaVault/blob/main/src/MetaVault.sol[MetaVault], and + * https://github.com/plumenetwork/nest-protocol/blob/main/contracts/NestVaultCore.sol[Nest (Plume)], and * https://github.com/centrifuge/protocol/blob/main/src/vaults/AsyncVault.sol[Centrifuge]. * * All requests share `requestId = 0` (per-controller accounting only). diff --git a/contracts/token/ERC20/extensions/ERC7540EpochDeposit.sol b/contracts/token/ERC20/extensions/ERC7540EpochDeposit.sol index 562ae102c76..32377cb26b3 100644 --- a/contracts/token/ERC20/extensions/ERC7540EpochDeposit.sol +++ b/contracts/token/ERC20/extensions/ERC7540EpochDeposit.sol @@ -17,7 +17,7 @@ import {ERC7540} from "./ERC7540.sol"; * Production equivalents: * https://github.com/Storm-Labs-Inc/cove-contracts-core/blob/master/src/BasketToken.sol[Cove], * https://github.com/AmphorProtocol/asynchronous-vault/tree/main[Amphor], - * https://github.com/hopperlabsxyz/lagoon-v0/blob/main/src/v0.5.0/ERC7540.sol[Lagoon]. + * https://github.com/hopperlabsxyz/lagoon-v0/blob/v0.5.0/src/v0.5.0/ERC7540.sol[Lagoon]. * * The `requestId` returned by {requestDeposit} is the epoch ID. By default, epochs are weekly * and start on Mondays (`(block.timestamp + 3 days) / 1 weeks`); override {currentDepositEpoch} to change diff --git a/contracts/token/ERC20/extensions/ERC7540EpochRedeem.sol b/contracts/token/ERC20/extensions/ERC7540EpochRedeem.sol index 18c48ef2f8f..9cfe1bee9bb 100644 --- a/contracts/token/ERC20/extensions/ERC7540EpochRedeem.sol +++ b/contracts/token/ERC20/extensions/ERC7540EpochRedeem.sol @@ -17,7 +17,7 @@ import {ERC7540} from "./ERC7540.sol"; * Production equivalents: * https://github.com/Storm-Labs-Inc/cove-contracts-core/blob/master/src/BasketToken.sol[Cove], * https://github.com/AmphorProtocol/asynchronous-vault/tree/main[Amphor], - * https://github.com/hopperlabsxyz/lagoon-v0/blob/main/src/v0.5.0/ERC7540.sol[Lagoon]. + * https://github.com/hopperlabsxyz/lagoon-v0/blob/v0.5.0/src/v0.5.0/ERC7540.sol[Lagoon]. * * The `requestId` returned by {requestRedeem} is the epoch ID. By default, epochs are weekly * and start on Mondays (`(block.timestamp + 3 days) / 1 weeks`); override {currentRedeemEpoch} to change diff --git a/docs/modules/ROOT/pages/erc7540.adoc b/docs/modules/ROOT/pages/erc7540.adoc index 594dd86fa56..f93b207b52a 100644 --- a/docs/modules/ROOT/pages/erc7540.adoc +++ b/docs/modules/ROOT/pages/erc7540.adoc @@ -289,7 +289,7 @@ TIP: The delay can be customized per controller by overriding `depositDelay(addr The epoch strategy batches all requests submitted in the same time window — an _epoch_ — and settles them together at a single locked exchange rate when the admin closes the epoch. Every controller in a fulfilled epoch receives the same pro-rata conversion. -This suits use cases where settlement is naturally periodic: weekly rebalances, NAV-driven funds, basket tokens, or vaults that aggregate inflows and outflows and process them in batches. Production equivalents include https://github.com/Storm-Labs-Inc/cove-contracts-core/blob/master/src/BasketToken.sol[Cove], https://github.com/AmphorProtocol/asynchronous-vault[Amphor], and https://github.com/hopperlabsxyz/lagoon-v0/blob/main/src/v0.5.0/ERC7540.sol[Lagoon]. +This suits use cases where settlement is naturally periodic: weekly rebalances, NAV-driven funds, basket tokens, or vaults that aggregate inflows and outflows and process them in batches. Production equivalents include https://github.com/Storm-Labs-Inc/cove-contracts-core/blob/master/src/BasketToken.sol[Cove], https://github.com/AmphorProtocol/asynchronous-vault[Amphor], and https://github.com/hopperlabsxyz/lagoon-v0/blob/v0.5.0/src/v0.5.0/ERC7540.sol[Lagoon]. Unlike the admin strategy (per-request fulfillment), every controller in the same epoch shares a single locked rate, and a single `_fulfillDeposit(epochId, totalShares)` / `_fulfillRedeem(epochId, totalAssets)` call settles all of them at once: