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

Kinto <> USDC integration #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

fedealconada
Copy link

@fedealconada fedealconada commented May 13, 2024

Summary

This PR modifies scripts/deploy/deploy-fiat-token.s.sol to make deployments through handleOps.

Detail

It brings some of the helpers methods we use on kinto-core repo and also implements a KintoDeployer that is used to deploy proxy contract and change the admin.

NOTE that PROXY_ADMIN_ADDRESS and OWNER_ADDRESS MUST BE kinto wallets and they MUST BE different. This is because the proxy contract uses the AdminUpgradeabilityProxy so we need one address acting as the admin of the proxy and a different one acting as the owner of the implementation.

Testing

Documentation


Requested Reviewers: @rrecuero @ylv-io

zhenghui-w and others added 6 commits April 22, 2024 16:20
## Summary
This PR adds the files that we used to introduce [native USDC to the
Celo
blockchain](https://www.circle.com/blog/usdc-now-available-on-celo).

- Add `ICeloGasToken` and `IFiatTokenFeeAdapter` per Celo documentation
- Add `FiatTokenFeeAdapterProxy` and `FiatTokenFeeAdapterV1` to support
USDC as
  gas on Celo
- Implement `debitGasFees` and `creditGasFees` in `FiatTokenCeloV2_2`
@fedealconada fedealconada requested review from ylv-io and rrecuero May 13, 2024 13:39
@fedealconada fedealconada changed the title Kinto integration Kinto <> USDC integration May 17, 2024
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