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

weETH OFT adapter contract upgrade #205

Merged
merged 2 commits into from
Dec 4, 2024
Merged

Conversation

seongyun-ko
Copy link
Contributor

@seongyun-ko seongyun-ko commented Dec 2, 2024

@jtfirek :)

We are upgrading our OFT {token and adapter} contracts to have these features:

  • OFT bridge pausing: Introduces a role PAUSER_ROLE that can be shared with hypernative to pause bridging to and from the native chain. This pauser role only halts bridging operations
  • Pairwise rate limiting: The current iteration of our OFT contracts only rate limits outbound transfers on our token contract. This upgrade extends the layerzero RateLimter contract to allow for the rate limiting of inbound transfers as well. Also integrates rate limiting into our UpgradeableOFTAdapter contract
  • Deprecate default admin: We have 2 roles {owner, default} that can set critical parameters so I consolidated all of this under owner. I also created this documentation on all the roles here

New OFT contract: etherfi-protocol/weETH-cross-chain#14

Signed-off-by: syko <seongyun@postech.ac.kr>
Signed-off-by: syko <seongyun@postech.ac.kr>
@seongyun-ko seongyun-ko requested a review from jtfirek December 2, 2024 16:54
@seongyun-ko seongyun-ko merged commit 5460325 into master Dec 4, 2024
1 check failed
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