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

Sdai adapter and substream #102

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open

Sdai adapter and substream #102

wants to merge 75 commits into from

Conversation

mp-web3
Copy link
Collaborator

@mp-web3 mp-web3 commented Oct 30, 2024

No description provided.

mp-web3 and others added 29 commits October 16, 2024 10:23
…n due to a bug in runPoolBehaviour with constant price pools.
…apter-and-substream

Sdk implementation/sdai adapter and substream
90) /
100;
limits[1] = savingsDai.previewDeposit(limits[0]);
limits[0] = 3 * (10 ** 24);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain this value it seems very arbitrary.

Copy link
Collaborator

@domenicodev domenicodev Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kayibal It is the DAI total supply value approx., and we need to use static values due to the incompatibility issue between substreams and external calls

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

Successfully merging this pull request may close these issues.

3 participants