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

CombinedRateProviderFactory #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zen-Maxi
Copy link

@Zen-Maxi Zen-Maxi commented Feb 3, 2025

Adds contract for CombinedRateProviderFactorty and CombinedRateProvider. The purpose of these contracts is to combined two rates in scenarios where the common denomination of assets is not uniform. For example, a rate provider denominated in wstETH and another in wETH cannot be used in a pool pairing. Combining the wstETH denominated rate with wstETH's known rate provider solves this issue with a new contract.

Verified Deployments:

Base
Factory: https://basescan.org/address/0x40b48e1eb72c62f7201b4c2621df7d822ccb9944#code
Deployment https://basescan.org/address/0xbB44C335593C79b4807cb76e5EBC3a4fF5c9b8B8#code

OP
Factory: https://optimistic.etherscan.io/address/0x7d9507014cc564e3b95e4d0972a878d0862af7ae
Deployment: https://optimistic.etherscan.io/address/0x75ab951aec0ff692225e440f96d3f5a16befac3b

Arbitrum
Factory: https://arbiscan.io/address/0x26dec0e6a4249f28e0f16a1a79808bf9ba308310#code
Deployment: https://arbiscan.io/address/0x998DE64cB90EdF3d205CFDB864E199fDA4d55710#code

Mainnet
Factory https://etherscan.io/address/0xd2cd8027f8c4b8ddcd1bfcd4e47587f41f2712f2
Deployment https://etherscan.io/address/0x3ba1a97D96F53611C4b2A788A5aa65c840d94c54

Adds contract for CombinedRateProviderFactorty and CombinedRateProvider. The purpose of these contracts is to combined two rates in scenarios where the common denomination of assets is not uniform. For example, a rate provider denominated in wstETH and another in wETH cannot be used in a pool pairing. Combining the wstETH denominated rate with wstETH's known rate provider solves this issue with a new contract.
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.

1 participant