Skip to content

Conversation

@KirienzoEth
Copy link
Contributor

This PR adds a generic MockOracleMiddlewareWithPyth contract.
As the cbBTC does not have any notable feature from a technical perspective, there's no need for custome code. This can be the case for a lot of ERC20 tokens, so instead of creating a dedicated mock, I pushed one that can be used with any underlying that doesn't need custom logic (contrary to the wstETH for example).

This PR also adds the deployement script to deploy the cbBTC USDN Protocol on a fork, the deployed protocol will use the generic MockOracleMiddlewareWithPyth.

Closes RA2BL-1207

@KirienzoEth KirienzoEth changed the base branch from main to feature/cb-btc August 28, 2025 09:50
@beeb beeb self-requested a review September 3, 2025 09:45
@KirienzoEth KirienzoEth requested a review from beeb September 16, 2025 11:15
Copy link
Contributor

@beeb beeb left a comment

Choose a reason for hiding this comment

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

lgtmmmmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants