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

Updated exclusivity logic #266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

aalavandhan
Copy link
Member

Allowing, the same vault to stake in multiple exclusive geysers. Relaxing the previous condition which required a new vault per geyser.

The same tokens within the vault can't be staked in multiple programs.

Copy link
Member

@brandoniles brandoniles left a comment

Choose a reason for hiding this comment

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

Logic looks good, just one suggested comment update for readability

import {IUniversalVault} from "./UniversalVault.sol";
import {Geyser} from "./Geyser.sol";

/// @title ExclusiveGeyser
/// @notice A special extension of GeyserV2 which allows staking in,
/// at most one distribution program in any given time, for a given staking token.
/// @notice A special extension of GeyserV2 which limits staking tokens,
Copy link
Member

Choose a reason for hiding this comment

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

How about
A special extension of GeyserV2 which enforces that no staking token balance may be staked in more than one geyser at a time.

@aalavandhan aalavandhan force-pushed the updated-exclusivity-logic branch from c73c143 to cf9452e Compare February 10, 2025 22:51
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