Skip to content

[Feature Request]: Synchronous updates for stVaults together with the AccountingOracle reports (on subscription) #1418

@TheDZhon

Description

@TheDZhon

Summary

An stVault can receive an updated report after AccountingOracle delivers the top-level merkle tree root.

So, unrolling the report would happen in a separate transaction and one needs to gather the off-chain data to make it happen.

That creates a challenge for 'pure' on-chain integrations that would rather want synchronous underlying asset updates and lack the off-chain data access in general (without additional oracles).

Problem

Integration barriers.

Implementation

One way to solve this is to bundle the accounting oracle tx with such a hook to update the limited set of vaults if they opted in and 'subscribed' on a service.

Guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestvaultsLido stVaults related changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions