ERC-7540 Asynchronous Tokenized Vault Standard
Introduction
ERC-7540 extends the ERC-4626 Tokenized Vault Standard by adding support for asynchronous deposit and redemption flows. It introduces a request-then-claim pattern: users first submit a request (handing their assets or shares to the vault), then claim the result after the vault has processed it.
This is needed when a vault cannot settle instantly in one transaction, for example:
- Real-world asset (RWA) protocols like tokenized treasuries, private credit, and other assets with T+1 or T+2 settlement cycles
- Undercollateralized lending where credit assessments happen off-chain
- Cross-chain vault strategies where bridging introduces delays
- Liquid staking tokens with unbonding periods
Vaults can choose to be asynchronous on deposits only, redemptions only, or both. This flexibility lets vault developers add async flows only where the underlying strategy requires it, while keeping the other side synchronous.
Prerequisites
To better understand this page, we recommend you first read about token standards, ERC-20, and ERC-4626.
ERC-4626 vs ERC-7540
In ERC-4626, a deposit settles atomically: the investor sends assets and receives shares back in a single transaction.
On a plate, an investor account is joined by two pipes, one for assets and one for shares, to a vault contract holding a tank of the underlying asset and a stack of its shares. Step 1: the investor calls deposit. Step 2: the vault takes the assets. Step 3: in the same transaction, it mints shares to the investor at the current rate. The example vault holds 1,050 assets for 1,000 shares, so a share is worth 1.05 assets and 100 assets buys 95 shares, rounded down in the vault's favor.
ERC-7540 splits this into two steps. The investor first calls requestDeposit(), which transfers their assets into the vault, then waits for the vault to process the request. How and when that happens is up to the vault, for example when an offchain settlement completes. Once fulfilled, the investor calls deposit() to claim their shares. The exchange rate is not fixed at request time: the vault sets it, typically when it fulfills the request, so the shares received can differ from what convertToShares() returned when the request was made.
On a plate, an investor account is joined by two pipes, one for assets and one for shares, to a vault contract holding a tank of the underlying asset and a stack of its shares. In front of the vault is a tray with two bays, pending and claimable; to its right, the strategy where the vault puts assets to work. Step 1: the investor calls requestDeposit; the vault takes 100 assets and the request waits in the pending bay. Step 2: the vault works with its strategy, which can take days. Step 3: the vault fulfills the request at the rate it has then, and the request moves to the claimable bay. Step 4: the investor claims with a second call, deposit, and receives 94 shares.
The redemption flow works the same way: requestRedeem() takes the shares from the investor, and once fulfilled the investor calls redeem() to claim assets.
ERC-7540 Functions and Features
ERC-7540 inherits the full ERC-4626 interface but repurposes deposit/mint/withdraw/redeem as claim functions. The new requestDeposit and requestRedeem functions handle the initial request step.
Each request moves through three states: pending (submitted, waiting for processing), claimable (fulfilled and priced), and claimed (investor has collected their shares or assets). A vault may make a request claimable immediately, skipping pending, but claiming is always a separate call. The standard defines no event for when a request becomes claimable.
On a plate, an investor account is joined by two pipes, one for assets and one for shares, to a vault contract. In front of the vault is a tray with two bays, pending and claimable. Step 1: the investor calls requestDeposit, and the request waits in the pending bay; pendingDepositRequest returns 100 assets. Step 2: the vault processes and prices the request, which moves to the claimable bay; claimableDepositRequest returns 100 assets and pendingDepositRequest zero. Step 3: the investor claims with deposit and receives 94 shares; both view functions return zero for the request. A vault can make a request claimable right away, but the claim is always a separate call.
Deposit request flow
requestDeposit
function requestDeposit(uint256 assets, address controller, address owner) external returns (uint256 requestId)
Transfers assets from owner into the vault and submits a request to deposit. The controller address receives control of the request. Returns a requestId identifying the request batch.
pendingDepositRequest
function pendingDepositRequest(uint256 requestId, address controller) external view returns (uint256 assets)
Returns the amount of assets in a pending (not yet claimable) deposit request for the given controller and requestId.
claimableDepositRequest
function claimableDepositRequest(uint256 requestId, address controller) external view returns (uint256 assets)
Returns the amount of assets in a claimable (fulfilled but not yet claimed) deposit request for the given controller and requestId.
Claiming deposits
Once a deposit request becomes claimable, the user calls the standard ERC-4626 deposit or mint function to claim their shares. In ERC-7540, these functions no longer transfer assets (that already happened at request time). They only mint shares to the receiver.
Redemption request flow
requestRedeem
function requestRedeem(uint256 shares, address controller, address owner) external returns (uint256 requestId)
Takes control of shares from owner and submits a request to redeem. The vault may hold the shares until the request is claimed or burn them right away. The controller address receives control of the request.
pendingRedeemRequest
function pendingRedeemRequest(uint256 requestId, address controller) external view returns (uint256 shares)
Returns the amount of shares in a pending redemption request for the given controller and requestId.
claimableRedeemRequest
function claimableRedeemRequest(uint256 requestId, address controller) external view returns (uint256 shares)
Returns the amount of shares in a claimable redemption request for the given controller and requestId.
Claiming redemptions
Once a redemption request becomes claimable, the user calls the standard ERC-4626 redeem or withdraw function to claim their assets.
Operator management
ERC-7540 includes an operator pattern (from ERC-6909 (opens in a new tab)) that allows third parties to manage requests on behalf of a user.
setOperator
function setOperator(address operator, bool approved) external returns (bool)
Approves or revokes operator to act on behalf of msg.sender for deposit/redeem requests and claims.
isOperator
function isOperator(address controller, address operator) external view returns (bool)
Returns whether operator is approved to act on behalf of controller.
Request IDs
Request IDs differentiate between different batches of requests. All requests sharing the same requestId are fungible: they transition between states together and receive the same exchange rate.
When a vault returns requestId = 0 for all requests, only the controller address differentiates request state. Multiple requests from the same controller are aggregated.
Events
DepositRequest Event
MUST be emitted when a deposit request is submitted via requestDeposit.
event DepositRequest(
address indexed controller,
address indexed owner,
uint256 indexed requestId,
address sender,
uint256 assets
)
RedeemRequest Event
MUST be emitted when a redemption request is submitted via requestRedeem.
event RedeemRequest(
address indexed controller,
address indexed owner,
uint256 indexed requestId,
address sender,
uint256 shares
)
OperatorSet Event
MUST be emitted when an operator is approved or revoked via setOperator.
event OperatorSet(
address indexed controller,
address indexed operator,
bool approved
)
Preview functions
The preview functions must revert only for the flows that are asynchronous, because the exchange rate is not known until the request is fulfilled. In an async-deposit vault, previewDeposit and previewMint MUST revert, while previewRedeem and previewWithdraw keep working as in ERC-4626 (and vice versa for an async-redeem vault). This is a key behavioral difference from ERC-4626.