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

feat: symbiotic batch 3 #42

Merged
merged 5 commits into from
Feb 18, 2025
Merged

feat: symbiotic batch 3 #42

merged 5 commits into from
Feb 18, 2025

Conversation

stevenvaleri
Copy link
Contributor

@stevenvaleri stevenvaleri commented Feb 13, 2025

In-Scope Strategies (4)
MEV-wstETH
sfrxETH
Gauntlet-swETH
ETHFI
lvlwaUSDC - on hold. Error on deposit.

MEV-wstETH
defaultCollateral.deposit
defaultCollateral.withdraw
defaultCollateral.transfer these functions are not on the vault
defaultCollateral.approve these functions are not on the vault
[underlying already approved]

sfrxETH
defaultCollateral.deposit
defaultCollateral.withdraw
defaultCollateral.transfer
defaultCollateral.approve
underlying.transfer
underlying.approve

Gauntlet-swETH
defaultCollateral.deposit
defaultCollateral.withdraw
defaultCollateral.transfer
defaultCollateral.approve
[underlying approved in batch 2]

potential reward token, limited approvals
ETHFI
defaultCollateral.transfer
defaultCollateral.approve

Copy link
Contributor

@jparklev jparklev left a comment

Choose a reason for hiding this comment

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

Question on if approve should be on the allowlist, and a little weirdness around one of the contracts

configs[2] = TokenGuardConfig({
token: MAINNET_SYMBIOTIC_SFRXETH_COLLATERAL,
transferAllowState: RumpelGuard.AllowListState.ON,
approveAllowState: RumpelGuard.AllowListState.OFF
Copy link
Contributor

Choose a reason for hiding this comment

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

In the other two PRs, I think we add the approve function for symbiotic collat tokens too. (eg) any reason for the difference?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes - should be ON. This will allow for users to migrate to new vaults. I'll update.

( not including the newer vaults, which don't have transfer or approve as you mentioned )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@@ -40,6 +40,11 @@ library RumpelConfig {
address public constant MAINNET_ZIRCUIT_RESTAKING_POOL = 0xF047ab4c75cebf0eB9ed34Ae2c186f3611aEAfa6;
address public constant MAINNET_SYMBIOTIC_WSTETH_COLLATERAL = 0xC329400492c6ff2438472D4651Ad17389fCb843a;
address public constant MAINNET_SYMBIOTIC_SUSDE_COLLATERAL = 0x19d0D8e6294B7a04a2733FE433444704B791939A;
address public constant MAINNET_SYMBIOTIC_MEV_CAPITAL_WSTETH_COLLATERAL = 0x4e0554959A631B3D3938ffC158e0a7b2124aF9c5;
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to https://github.com/sense-finance/rumpel-wallet/pull/41/files#r1953753194, this contract doesn't seem to have a transfer function. are you seeing the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes - will review and update

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@stevenvaleri stevenvaleri changed the title feat: add MEV-wstETH,sfrxETH,Gauntlet-swETH,ETHFI feat: symbiotic batch 3 Feb 13, 2025
@stevenvaleri
Copy link
Contributor Author

@jparklev queued - nonce 33

@stevenvaleri stevenvaleri merged commit faa24a7 into main Feb 18, 2025
2 checks passed
@stevenvaleri stevenvaleri deleted the feat/symbiotic-batch-3 branch February 18, 2025 15:26
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