Skip to content

WIP: MAHA Protocol Revenue Collector Contract for USDe to USDC Conversion, Buyback & Burn, and Distribution to sUSDz Stakers#48

Open
obchain wants to merge 19 commits intomahaxyz:masterfrom
obchain:maha/buyback-burn
Open

WIP: MAHA Protocol Revenue Collector Contract for USDe to USDC Conversion, Buyback & Burn, and Distribution to sUSDz Stakers#48
obchain wants to merge 19 commits intomahaxyz:masterfrom
obchain:maha/buyback-burn

Conversation

@obchain
Copy link
Copy Markdown
Contributor

@obchain obchain commented Nov 19, 2024

This PR includes the following enhancements and fixes:

  1. Fix for Collector Contract:
  • Resolved issues in the collector contract to ensure proper handling and functionality during transactions and interactions.
  1. Fork Test for Odos Functionality:
  • Added a comprehensive fork test to validate the Odos swapping mechanism.

  • The test involves swapping sUSDe to USDC using the Odos integration and sending the swapped USDC tokens to the collector contract.

  • This ensures the reliability and correctness of the swapping and transfer process.

  1. Stargate Integration for USDC Bridging:
  • Implemented Stargate integration to facilitate seamless bridging of USDC tokens from the current chain to the Base chain.

  • On the Base chain, the bridged USDC is directed to the BuyBackBurn contract for execution of its intended functionality.

These updates aim to improve cross-chain asset handling, ensure proper functionality of core contract interactions, and enhance testing coverage to maintain reliability.

DeployedAddress
Proxy :- 0x29482Dbc6e646a9eF517b5381e95ACd5BdC8Af07
Implementation :- 0x002ae66C699CbF3DcB01d684f969b46C2e66FdaF

@obchain obchain marked this pull request as ready for review November 19, 2024 15:16
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.

2 participants