Skip to content

Reduce Dividend Info contract calls #12

@manoranjith-shankar

Description

@manoranjith-shankar

Problem - UX

Image Users have to click on this reveal icon to get the dividend of a specific property, which makes a backend call querying this contract function:

Image

The problem is, we have to query this contract function for every property owned with every unclaimed dividend with respective to the token, ex. if the users have 10 property tokens and have to claim last 5 month dividend - 50 querying rpc calls which leads to rpc timing out

Solution 1 - Contract Level

Subtask 1

create a subgraph for the event emitted when a dividend is created
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions