The ERC7540 Router enables Nodes to interact with asynchronous yield-bearing vaults that implement the ERC7540 interface. This includes protocols with delayed withdrawals, request-claim patterns, and multi-step operations.
Key Features
Manages async deposit/withdrawal flows
Handles request and claim operations
Tracks pending and claimable amounts
Coordinates multi-step transactions
Request ID
The ERC7540Router expects that async deposits and redemptions returns a request ID of 0, otherwise the functionality reverts. However, some ERC-7540 vaults may return a non-zero request ID, according to future EIPS. In the case of NashPoint, the router contract purely uses the controller to discriminate the request state.