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

Cork Integration #68

Merged
merged 12 commits into from
Feb 11, 2025
Merged

Cork Integration #68

merged 12 commits into from
Feb 11, 2025

Conversation

heri16
Copy link
Contributor

@heri16 heri16 commented Jan 29, 2025

  • Add USDe integration with cork.tech for PSM Cover-Token holders
  • Add SUSDe integration with cork.tech for PSM Cover-Token holders
  • Add USDe integration with cork.tech for AMM LP-Token holders
  • Add SUSDe integration with cork.tech for AMM LP-Token holders
  • Add USDe integration with cork.tech for Vault LV-Token holders
  • Add SUSDe integration with cork.tech for Vault LV-Token holders
  • Deploy contracts on Ethereum mainnet and update contract addresses in constants.cork

@heri16
Copy link
Contributor Author

heri16 commented Jan 30, 2025

Our implementation was constrained by the cached data needing to conform to a specific balance structure / schema. Can the Ethena sats adapter cache handle arbitrary data, perhaps through some metadata, extradata, or similar mechanisms?

ICORK_HOOK_ABI = json.load(f)

PSM_ADDRESS_BY_CHAIN = {
Chain.ETHEREUM: Web3.to_checksum_address("0xF6a5b7319DfBc84EB94872478be98462aA9Aab99"),
Copy link

@ziankork ziankork Jan 31, 2025

Choose a reason for hiding this comment

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

We haven't yet deployed to Ethereum, so i suggest removing all constant relating to our ETH addresses(for now)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need these to run on our local dev fork of Ethereum mainnet on Anvil

@deHB6 deHB6 merged commit 1a9577a into ethena-labs:main Feb 11, 2025
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