-
Notifications
You must be signed in to change notification settings - Fork 381
feat: tectonic integration #609
feat: tectonic integration #609
Conversation
1dd6fe4
to
07b39fd
Compare
Hello @CronosLabsDev ! The PR is still marked as a draft, so I haven't taken a look yet for review. Let us know when you're ready for review and we'll begin! |
@immasandwich The PR is ready to review! Thank you! |
07b39fd
to
44d2b48
Compare
network, | ||
lensAddress: '0x37baFE282Cb7D4EF6AD80eE979C341c91dEf4C17', | ||
rewardTokenAddress: '0xDD73dEa10ABC2Bff99c60882EC5b2B81Bb1Dc5B2', | ||
tectonicCoreAddress: '0xb3831584acb95ED9cCb0C11f677B5AD01DeaeEc0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep addresses lowercased 🙏
network, | ||
appId, | ||
groupId, | ||
tectonicCoreAddress: '0xb3831584acb95ED9cCb0C11f677B5AD01DeaeEc0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lowercase 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If nothing is changed in the helper classes from what was copied from src/apps/compound
, you can use the helper classes from src/apps/compound/helpers
directly. Just make sure you include CompoundAppModule
as an import
in your TectonicAppModule
.
Hey @CronosLabsDev !
Rest looks good! Let me know when you have addressed the comments and we can merge. |
44d2b48
to
e84e7cd
Compare
@immasandwich Updated. please feel free to review, thanks! |
e84e7cd
to
4e74d8a
Compare
4e74d8a
to
a5192cd
Compare
@immasandwich I need a favor here, I can't get the TrueUSD (TUSD) using the |
@CronosLabsDev absolutely. We'll add TUSD to the Cronos network right now. Give me 5 min. |
Description
Checklist
How to test?
ENABLED_APPS=tectonic
to.env
pnpm dev
to spin up the nest serverBalance fetcher
endpoint:
http://localhost:5001/apps/tectonic/balances?addresses[]=<ADDRESS>&network=cronos
Supply token fetcher
endpoint:
http://localhost:5001/apps/tectonic/tokens?groupIds[]=supply&network=cronos
response:
Borrow position fetcher
endpoint:
http://localhost:5001/apps/tectonic/positions?groupIds[]=borrow&network=cronos
response:
TVL fetcher
endpoint:
http://localhost:5001/apps/tectonic/tvl?network=cronos
response: