Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Pin and Link Proof of Portfolio during Epoch Close #2431

Open
mustermeiszer opened this issue Sep 6, 2024 · 1 comment
Open

feat: Pin and Link Proof of Portfolio during Epoch Close #2431

mustermeiszer opened this issue Sep 6, 2024 · 1 comment
Assignees

Comments

@mustermeiszer
Copy link
Contributor

mustermeiszer commented Sep 6, 2024

Needed for future oracle integrations. These integrations will query the proof of portfolio and verify it.

Process

  1. Updating NAV through the UI

    • Sign attestation with private key from the connected key-pair offchain
      ONLY sign the portfolio section!
    • Pin attestation on ipfs
    • Update portfolio onchain
      remark.Remark(IPFS_HASH, utility.batchAll(UPDATE_PRICES, UPDATE_NAV, ...))
      
    • IF WANTED: Close and execute epoch
  2. Subquery indexes latest portfolio attestation by filtering for Remark::IPFS-event the and extracting the info from the JSON

  3. Chronicle retrieves latest portfolio attestation from subquery

    • Verifies signature is from known public key of fund admin
    • Post check of verification on EVM chains

Full Spec

@mustermeiszer
Copy link
Contributor Author

TBD: Indexing logic and work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants