EtherFi Integration: Where Share and Accrual Accounting Breaks
In liquid restaking, the balance stops being 1:1 with ETH: EtherFi issues a share whose value changes along with the exchange rate.
If the EtherFi integration keeps accounting in nominal ETH and does not recalculate the share against the underlying asset, the balance in the dashboard diverges from the actual balance in the contract.
On small amounts the error is unnoticeable, but it surfaces on the first large withdrawal, when the discrepancy has to be covered at your own expense.
Staking accruals are the second point of failure. Their source is contract events and periodic rate recalculation, not an export from an exchange report.
Manual reconciliations break on a missed event, duplicate delivery, or chain reorganization: accruals are either double-counted or lost, and there is no way to reconstruct the picture after the fact.
The third point of failure is withdrawal of funds. A request enters a queue and remains tied to an address and receipt, not to a record in the accounting system.
Typical withdrawal errors begin with the integration treating withdrawal as an instant operation: the request status is not tracked, the receipt owner is not verified — funds hang in the queue, and the right to them is lost when the wallet changes.
All three failures share one root cause: accounting for the share, staking accruals, and withdrawal rights must be built on contract data, not on intermediate tables. We explain how this is addressed.
What Changes After Connecting Liquid Restaking
The staking position stops being “frozen”: instead of ETH, the balance shows a receipt token that represents the same share but circulates as an ordinary asset.
Validators continue to operate and generate restaking yield, while the receipt participates in settlements, serves as collateral, or goes into another strategy. EtherFi provides this model, and it changes not the size of the reward but the liquidity of the already deposited ETH.
Withdrawal no longer requires stopping validators. Previously, exit meant waiting in a queue and losing rewards for all that time; now the position is closed by exchanging the receipt, while the validator continues to generate income until the actual exit.
Withdrawal time is measured by one transaction instead of hours and days of waiting, and the engineering result here is predictability: the amount of available liquidity is known in advance rather than depending on network load.
Accrual accounting moves into the ledger. Contract events are read directly, rewards and conversion rates enter the database automatically, and the share of manual operations drops to exception reconciliation.
An entire class of failures disappears — a discrepancy between the internal balance and the actual state of the position: previously it was caught the next day, now the discrepancy is visible at the moment of the operation.
For the client, this means restaking yield becomes a manageable quantity rather than an after-the-fact report.
We handle such integrations end to end: the contract part, event reading, recalculating the receipt rate in the database, handling edge states, and export for accounting.
Connection Formats: Protocol Contract, Gateway, Intermediary
Connection formats differ not by interface but by who retains the keys and where position accounting is kept. A direct protocol contract gives maximum control: your roles, your confirmations, and no third-party logic between the code and EtherFi.
A gateway wrapper adds a thin layer of checks on your side — per-operation limits, a daily cap, and separation of operator and withdrawer roles. An intermediary scheme transfers custody of positions to an external party, leaving you only with accounting.
| Format | When it fits | Limitations |
|---|---|---|
| Direct protocol contract | Keys and withdrawal policy remain in-house; full control over roles and operation pause is needed | You handle withdrawal delays, exchange rate changes, and protocol-side updates yourself; you design permission separation from scratch |
| Gateway wrapper | Internal accounting already has roles and limits — a single point of checks before calling the protocol is needed | Adds an execution step and gas cost; your code requires an audit and is updated following the protocol interface |
| Intermediary scheme | Quick start, no team permanently holding keys, accounting is more important than direct ownership of the position | Counterparty risk, withdrawal delays, limited rights, dependence on third-party reporting |
In practice, the choice comes down to three questions: who holds the keys, in which system accounting reconciles, and how many roles need to be separated. If roles are not separated, no format saves you: one key for deposit and withdrawal nullifies any limits.
Describe your permissions and accounting model — we will return with an estimate and a transition plan.
EtherFi Integration Procedure: From Audit to Handover
Integration with EtherFi is not a one-time transaction but changes in key storage, the role model, and withdrawal limits. First we assemble the flow diagram: where ETH goes into staking, where the confirming tokens arrive, and by what path they return.
Then work proceeds in stages — from auditing the current environment to handing over procedures to the team.
- Wallet audit. Inventory of addresses, keys, and access, signing schemes, and issued contract permissions — including those left over from past tasks.
- Flow diagram. We document the movement of ETH and confirming tokens between wallets, staking, and the treasury, marking where a manual signature is required.
- Role and limit setup. Initiation, confirmation, and withdrawal are separated into different roles; per-operation and daily limits plus a confirmation threshold prevent withdrawing the entire amount with one signature.
- Withdrawal testing. We run the full exit path, accounting for restaking exit waiting time and emergency scenarios: delay, signature refusal, return of funds to cold storage.
- Test environment. We replicate the scheme with a real role model and limited amounts — we verify that limits trigger and every action is logged.
- Monitoring. We set up alerts for large fund movements, permission changes, and withdrawal anomalies.
- Procedure handover. We deliver the role map, limit policy, withdrawal instructions, and incident response procedure.
What We Hand Over: Access Policies and Procedures
Handover is not an archive with keys but a set of artifacts that your team uses to perform operations and investigate incidents without our involvement. Each document is tied to a specific action, not written “for completeness.”
- Access policies. Roles and rights on contracts, confirmation thresholds for multisig wallets, a “who signs what” matrix, and the procedure for key rotation and removing a participant from the scheme.
- Integration diagram. Contract addresses, token movement routes between wallets and the strategy, external dependencies — with failure points and actions for each.
- Withdrawal procedure. Step-by-step order, per-operation and daily limits, who confirms, and how the fact and reason for request rejection are recorded.
- Accounting documentation. Which events are read from the network, how they become accrual entries, mapping references, and rounding rules.
- Accrual monitoring. Alerts for divergence between expected and actual rewards, growth of the withdrawal queue, and downtime — with thresholds, channel, and owner.
- Verification and recovery. Acceptance checklist, where configuration backups are stored, and the procedure for rolling back to the previous working version.
The list answers the team’s and external auditors’ questions: why a given amount was accrued, who is entitled to withdraw funds, what to do in case of a discrepancy. EtherFi integration stops depending on one person — knowledge lives in documents, not in chat.
Case Study: How Restaking Withdrawal Stopped Requiring Manual Work
Before: Withdrawal Queue and Manual Reconciliations
The client held a large share of positions in liquid restaking — based on EtherFi with its withdrawal queue. The operator assembled each request manually: exported the list, reconciled it with internal accounting, checked the available balance, and only then sent the transaction. Dozens of requests per week, two to three reconciliations for each.
The cost of an error turned out to be higher than the labor cost. Withdrawal limits were checked after sending: if a request exceeded the available amount, it was rejected, and the operator reassembled it from scratch.
About a third of requests went to repeat, the average withdrawal time reached two days, and discrepancies between the dashboard and accounting were searched for by eye.
After: Orchestrator with Pre-Validation
We moved the process into an orchestrator service: it polls the queue, matches the request with the accounting record, and checks limits before sending. Tasks are idempotent and retain state, so a retry after a failure does not create a duplicate.
Rejected requests are resubmitted automatically with increasing delay, and reconciliation is calculated by operation hashes instead of a manual table.
Before-and-after metrics: the share of requests passing through the operator — from 100% to zero; withdrawal time — from two days to two to three hours; first-pass success — from 65% to 99%; manual reconciliations — zero instead of dozens per week. A separate class of failures was eliminated: over-limit requests no longer reach the network.
How Does Liquid Restaking Differ from Regular Staking?
In regular staking, the share remains locked: the asset generates a reward but does not participate in any other operations and cannot be transferred until exit from the queue.
Liquid restaking issues a receipt token for the deposited share — liquidity of the share remains with the owner, and the share itself works not only in network security but also in additional services.
The difference in approaches shows up in withdrawal modes: instead of one queue, two paths appear — exchanging the receipt token on the market (immediately, but at a rate that may deviate from the value of the underlying share) and withdrawal through the network (at the calculated value, but with a delay). These are different risk profiles, and the choice depends on the scenario, not on speed.
| Option | When it fits | Limitations |
|---|---|---|
| Regular staking | Long-term holding, liquidity is not needed | Share is locked until exit, exit through the common queue |
| Liquid staking | A transferable share and quick exit are needed | Reward only from base staking, a contract layer is added |
| Liquid restaking | The share must work in additional services | Contract risk and receipt token rate divergence |
To the risk of slashing and exit delay are added contract risk and exchange rate divergence: the receipt token trades separately from the underlying asset, and the discount widens exactly when liquidity is most needed. Regular staking does not create these layers, but it also does not provide flexibility.
In accounting, the difference is no less noticeable.
A regular share is one position with accrual in the same asset; with EtherFi integration, two objects appear: the underlying share and the receipt token, which must be revalued, reconciled with the underlying asset rate, and tracked separately from the reward.
Common Technical Concerns Before Connecting
Before starting, the client and its finance department raise the same set of topics: how quickly assets are returned, who bears the risk of validator penalties, where keys are stored, and whether accounting will diverge from protocol data. Below is what exactly we set up for each point.
How long does withdrawal from the queue take?
The withdrawal queue is a property of the protocol itself, not an integration delay: assets are released after the validator is unlocked, and during peak periods the queue stretches.
In the interface, we show the actual request status and its position rather than an estimated date. If liquidity is needed earlier, we provide for exchanging the restaking token with slippage taken into account.
Who is responsible for penalty charges?
A penalty occurs when a validator violates the rules, not when funds are withdrawn. To keep the risk from falling on the client’s balance, we distribute assets across several operators and limit the share of any one — a failure at one does not sink overall yield.
Where are keys stored and who controls them?
Private keys remain with the owner: the integration works through signed operations and roles in contracts.
We set up separation of rights — who deposits, who withdraws, who changes parameters — and describe the owner change procedure so that an employee’s departure does not block access.
How will this reconcile with current accounting, and what happens when contracts are updated?
The restaking token is not ETH: it has its own quote, and in accounting it is tracked as a separate position. We emit events for each operation and reconcile accruals with protocol data so that a discrepancy surfaces immediately, not at the end of the period.
We keep addresses and parameters of external contracts in configuration: when the protocol is updated, the setting changes, not the code.
Let’s Discuss the Task: We’ll Return with an Estimate and Work Plan
To return with an estimate and plan, we need not a general idea but your environment: networks, roles, keys, volumes, and constraints.
EtherFi integration almost always touches third-party smart contracts and ETH flows, so a discrepancy in one input changes both the architecture and the timeline.
- Start of work. We fix the goal: what exactly we do with ETH — place it, withdraw it, display the balance and accrued reward in the interface — and which scenario the user follows.
- Environment inputs. We need networks, contract addresses, roles and transaction signing policy, current flows, limits, and access requirements.
- Estimate and plan. We return with a work breakdown, stages, dependencies on external services, and readiness criteria by which you will accept the result.
- Pilot environment. We assemble a minimal scope on a test network: placement, withdrawal, reward accrual, and system behavior when an external service fails.
- Knowledge transfer. We hand over interaction diagrams, configurations, operating instructions, and incident analysis — the team supports the solution without us.
Describe the task in free form — with or without a flow diagram. We will return with an estimate, a work plan, and a list of questions that should be resolved before the start.







