Maple is a Pool-Share Ledger for Deposits and Queued Withdrawals
Maple is an onchain credit protocol where one pool deposit mints LP shares that record a lender's proportional position. Adding assets mints more shares, while an exit converts selected shares into the pool asset through a first-in, first-out withdrawal queue whose completion follows available liquidity.
Funding a Treasury Position With USDC
Funding a Maple pool with USDC starts a traceable position lifecycle: authorize the wallet, approve the asset when needed, deposit through the pool route and receive LP shares.
Wallet Authorization
PoolPermissionManager decides whether the depositing wallet may call the selected pool's gated entry functions.
SyrupRouter combines self-authorization and the first deposit when an eligible address hasn't received permission yet. The authorization digest contains six inputs: chain ID, router address, owner, nonce, bitmap and deadline. Its signature carries three components: v, r and s. After permission becomes active, later deposits from that address use the ordinary route. Institutional pools may instead rely on a Global Allowlist, so the relevant status belongs to the wallet-pool relationship, not merely the asset balance. Moving funds to a different address doesn't carry the original wallet's permission with them during later deposits.
Asset Approval and Deposit
USDC uses six decimal places, so 1 USDC enters a contract call as 1 000 000 base units. With a standard ERC-20 allowance, a first entry needs two onchain transactions: approve SyrupRouter and then deposit. A supported ERC-2612 permit replaces the approval transaction with an offchain EIP-712 signature, leaving one onchain depositWithPermit call. The receiving address gets the LP shares after the deposit confirms.
Receipt and LP Shares
The confirmed transaction moves the underlying asset from the wallet and mints the pool's ERC-20 LP shares to the stated receiver.
Wallet Confirmations and Network Cost
Maple position changes create Ethereum gas costs, while pool management and strategy fees flow through share accounting instead of appearing as a separate wallet debit. Ethereum mainnet has chain ID 1, and every state-changing call consumes ETH-priced gas. The ordinary first deposit uses two transactions - approval and deposit - whereas depositWithPermit uses one onchain call after signing. A withdrawal request takes one transaction; automatic queue settlement requires zero further wallet transactions. Gas spend equals gas used multiplied by the transaction's gas price.
LP Shares as the Position Ledger
LP shares give each Maple wallet a proportional claim on one pool, so the share count stays fixed between actions while its asset value follows the pool exchange rate.
A Maple PoolV2 contract implements ERC-4626 and issues its LP shares as ERC-20 tokens. The ERC-4626 Deposit event records four values: caller, owner, deposited assets and minted shares. Those fields connect a wallet receipt to the pool's accounting without treating the displayed asset balance as a second token. An Ethereum address occupies 20 bytes, while a transaction hash occupies 32 bytes; keeping both values distinguishes the position owner from the action that changed the position. One PoolV2 address therefore defines one share ledger, even when several pools accept the same underlying asset.
Interest and accounting changes move the asset-per-share rate rather than minting daily shares, so an unchanged token count can represent a changing pool-asset balance.
A Worked Deposit, Top-Up and Exit Calculation
A share calculation keeps three Maple actions on one ledger by converting each deposit at its entry rate and the selected redemption at its processing rate.
Every changing input in this hypothetical is assumed: an initial 10 000 USDC deposit at 1.00 USDC per share, a later 2 500 USDC top-up at 1.25 and a 4 000-share redemption processed at an exit rate of 1.20.
The first deposit mints 10 000 shares because 10 000 divided by 1.00 equals 10 000. The top-up mints 2 000 more because 2 500 divided by 1.25 equals 2 000, bringing the wallet to 12 000 shares. Requesting 4 000 shares moves that amount into the queue. Processing at 1.20 returns 4 800 USDC and leaves 8 000 shares in the active position. The calculation excludes Ethereum gas because gas changes wallet cost, not the pool's share conversion.
The final asset amount changes when the processing-time exit rate differs, even though the requested share count remains 4 000.
Adding Capital Without Reopening the Position
A Maple top-up mints additional LP shares to the same wallet and pool address, extending the existing position without resetting the earlier shares or their transaction history.
The deposit function takes an asset amount and returns shares, while mint starts from a desired share amount and determines the required assets. These are two entry modes for the same ERC-4626 ledger. Before submitting either call, maxDeposit or maxMint reports the pool and wallet limit for that action. A liquidity cap, an inactive permission or an insufficient allowance can reduce the admissible amount. The new shares join the wallet's existing balance once the transaction confirms.
Underlying assets remain separated by pool contract. Adding USDC to syrupUSDC increases that PoolV2 position; depositing USDT into syrupUSDT or USDG into syrupUSDG creates or enlarges a different ledger. A treasury therefore tracks the pool address alongside the ticker. The onchain balance aggregates shares acquired across deposits, while transaction receipts preserve the acquisition sequence.
What Happens When You Enter the Withdrawal Queue?
Entering Maple's WithdrawalManagerQueue escrows the requested LP shares, assigns a new request ID and places that request behind earlier unprocessed IDs for the same pool.
Request Creation
The requestRedeem call accepts a positive share amount and an owner address. WithdrawalManagerQueue stores request IDs as unsigned 128-bit values and advances the last ID by one for each new request. The queue processes withdrawal requests in first-in, first-out order as pool liquidity becomes available. Signing earlier doesn't establish priority; block inclusion and the resulting request ID do.
Escrow and Availability
The request transfers the selected shares from the wallet into WithdrawalManagerQueue and increases the contract's total pending shares by the same amount. Those shares disappear from the wallet's available balance, yet they remain part of pool supply until processing burns them. The queue doesn't reserve an equal cash amount at entry, so the eventual payout follows the exit exchange rate and liquidity available when processing occurs.
Partial Processing
The queue processor chooses a share batch supported by available pool assets and works from the oldest live request. If the batch covers only part of that request, the contract reduces its remaining shares and keeps it at the front. Automatic mode redeems processed shares and sends the underlying asset to the owner. Completion time therefore changes with cash in the pool, repayments and assets returned from connected strategies.
Reading Balance and Queue Status
Later in the process, Maple position status comes from both the PoolV2 share ledger and WithdrawalManagerQueue because wallet-held shares and escrowed queue shares occupy different contracts during an exit (compare Maple alternatives 101 ).
The Maple GraphQL position record exposes three core fields for this job: availableBalance, availableShares and redeemRequested. AvailableBalance translates wallet shares into the pool asset, availableShares reports the shares outside the queue and redeemRequested flags an active exit. The queue adds three further signals: totalShares, nextRequest and the selected request's status. Its queue view returns two boundary IDs - the next request and last created request - while request-specific data supplies the owner and remaining shares. Reading both sides prevents a pending position from looking like a vanished balance.
Where it matters, Maple SDK integrations can read the same contracts directly, while Etherscan receipts connect each status change to its confirmed Ethereum transaction.
Changing or Cancelling a Pending Request
A pending Maple withdrawal can be reduced by removing a positive number of escrowed shares, or cancelled by returning the request's entire remaining share balance.
A partial removal must stay at or below the shares still attached to that request. WithdrawalManagerQueue subtracts the removed amount from both the request and total pending shares, then returns those LP tokens to the owner. The request keeps its ID and FIFO place when shares remain. Removing 100% of the remainder deletes the request, so the returned shares become available for holding, transfer where permitted or a later redemption request.
A later request receives a new ID at the tail of the live queue. That consequence matters when deciding between a smaller reduction and a full cancellation.
Processing-Time Exchange Rates and Final Settlement
Absent anything unusual, Maple settles a queued redemption by burning the processed shares and sending the underlying pool asset at the exit exchange rate calculated for that processing transaction.
Deposit Rate
The deposit-side conversion divides totalAssets by totalSupply and uses that rate for convertToShares. It doesn't subtract unrealized losses from the entry calculation. New deposits therefore don't receive an entry discount solely from a recorded impairment.
Exit Rate
Set against that, Maple calculates the exit rate as totalAssets minus unrealizedLosses, divided by totalSupply. This separate rate distributes an impairment across exiting LP shares instead of letting one withdrawal ignore the paper loss. syrupUSDC and syrupUSDT redemptions use the smart-contract rate at processing rather than a market swap, so there's no separate slippage calculation.
Settlement Receipt
Automatic queue processing sends assets without another wallet signature. The ERC-4626 Withdraw event carries five values: caller, receiver, owner, assets and shares. Together they show which queue operation settled, where the pool asset landed and how many LP shares the contract burned. Share-based requestRedeem remains the stable exit instruction because an asset-denominated share estimate changes whenever the exchange rate moves.
The ERC-4626 Boundary Behind the Lifecycle
ERC-4626 supplies Maple's deposit, mint, redeem and preview vocabulary, while PoolManager and WithdrawalManager add permission checks, dual exchange rates and queued liquidity control.
The architecture pairs one pool with one PoolManager, which handles administrative logic and connects the immutable share token to its withdrawal mechanism. Maple extends the vault interface with depositWithPermit and mintWithPermit, providing two single-transaction entry routes when the underlying token supports ERC-2612. On exit, maxRedeem, maxWithdraw, previewRedeem and previewWithdraw expose four views that respect the active withdrawal mechanism; they return zero when the owner has no amount available for immediate redemption. That behavior keeps generic vault tooling aligned with the queue instead of promising instant cash.
The lifecycle ends only after processed shares burn and the pool asset reaches the owner, while unprocessed shares remain governed by their queue request.
Maple: questions and answers
Can Maple LP shares be transferred to another Ethereum address?
Maple LP-share transferability depends on the pool's permission configuration. Permissioned PoolV2 contracts check both sender and recipient through PoolPermissionManager, so a transfer to an address without the required status reverts. Syrup products have their own integration paths, and a venue must support the specific token and pool. Queued shares aren't in the wallet at all; WithdrawalManagerQueue holds them until processing or removal.
Does revoking an ERC-20 allowance close an existing Maple position?
Revoking an ERC-20 allowance doesn't close a Maple position or change LP shares already minted. The allowance only authorizes a contract such as SyrupRouter to move the underlying asset for a future deposit. After a confirmed deposit, the wallet may set that allowance to zero; a later top-up then needs a new approval or a supported ERC-2612 permit. Queue processing relies on escrowed LP shares, not the old asset allowance.
Which multisig requirements apply to a Maple pool position?
A Safe multisig can submit Maple pool transactions when the Safe address holds the assets, has the required pool authorization and can execute the approval or permit route the integration expects. Authorization belongs to the Safe address, not its individual owners. Typed-data signing and contract-wallet signature handling differ from an externally owned account, so the chosen Maple interface or custodian workflow must support that signing path before funds move.
When should a treasury record a queued Maple exit as settled?
A queued Maple exit becomes settled when the processing transaction burns the escrowed LP shares and transfers the underlying pool asset to the receiving wallet. The request transaction changes the position from available shares to pending withdrawal, but it doesn't establish the final asset amount. The processing-time exit rate and the Withdraw event supply the values needed for reconciliation.
Why do two controlled wallets remain separate in one Maple pool?
Maple records each pool position by wallet address, so two Ethereum addresses remain separate even when one organization controls both. Pool share balances, permissions, allowances, request IDs and payout histories attach to their respective addresses. An offchain portfolio system may aggregate them for reporting, but the PoolV2 and WithdrawalManagerQueue contracts don't merge ownership. Moving unqueued shares between addresses still faces the receiving pool's permission rules.
Are all Maple LP shares usable through Pendle?
Maple LP shares should be treated as pool-specific tokens, not universally accepted collateral. A DeFi venue must support the exact token contract, its transfer restrictions and its redemption mechanics. Pendle has supported selected Syrup assets, while that fact doesn't make every institutional PoolV2 share portable. Before depositing through another protocol, the relevant wallet and contract addresses must satisfy the pool's permission configuration.
Do Maple pool authorization and ERC-2612 permits expire together?
Maple pool authorization and an ERC-2612 permit follow separate lifecycles. PoolPermissionManager records whether an address may call gated pool functions, while a permit carries its own deadline and one nonce for the token allowance. Using or expiring that permit doesn't automatically remove pool authorization. Likewise, retaining authorization doesn't create an allowance, so a future deposit still needs an active approval or a fresh permit.
Can a Maple queue request be reassigned to a different signer?
A Maple queue request remains associated with the owner recorded when requestRedeem creates it. The escrowed shares sit in WithdrawalManagerQueue, so they can't be transferred from the wallet while pending. To change control, the owner must remove the shares that remain, complete any required transfer under the pool's permission rules and submit a new request. That new request receives a later ID and therefore a new FIFO position.