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

Maker asssets and loans not working #136

Open
valera-shulghin opened this issue Jan 25, 2021 · 2 comments
Open

Maker asssets and loans not working #136

valera-shulghin opened this issue Jan 25, 2021 · 2 comments

Comments

@valera-shulghin
Copy link

https://etherscan.io/address/0x78f32a27559170f9a005b319ed53441b9e852158#loansAddress
https://app.zerion.io/0x78f32a27559170f9a005b319ed53441b9e852158/overview

This address has Loans and Assets on Maker, but none are returned on getProtocolBalances, or on getBalances.

@ojnc
Copy link

ojnc commented Feb 19, 2021

I too had the same problem; Maker seems not supported
In output of getProtocolNames there is "Maker Governance" but no "Maker" or "Maker Dao"

Tried this code that works for "Compound"

var protocol = "Maker";
defiSdk.getProtocolBalance(account, protocol).then(function (balance) {
    console.log('\n\ngetProtocolBalance "Maker"');
    console.log(JSON.stringify(balance, null, 2));
});

I got exception
(node:7444) UnhandledPromiseRejectionWarning: ProtocolDoesNotExistError: Protocol [Maker] does not exists get exception

Please provide solution or workaround

Regards
Jayanta

@sobolevigor986
Copy link

hi!

it is called Multi-Collateral Dai and currently supports only ETH and BAT collateral :)

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

3 participants