-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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
script/RumpelConfig.sol
Outdated
configs[2] = TokenGuardConfig({ | ||
token: MAINNET_SYMBIOTIC_SFRXETH_COLLATERAL, | ||
transferAllowState: RumpelGuard.AllowListState.ON, | ||
approveAllowState: RumpelGuard.AllowListState.OFF |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 )
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
@jparklev queued - nonce 33 |
In-Scope Strategies (4)
MEV-wstETH
sfrxETH
Gauntlet-swETH
ETHFI
lvlwaUSDC - on hold. Error on deposit.
MEV-wstETH
defaultCollateral.deposit
defaultCollateral.withdraw
defaultCollateral.transferthese functions are not on the vaultdefaultCollateral.approvethese 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