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: create getAccountGroup function #9

Merged
merged 3 commits into from
Oct 21, 2024
Merged

feat: create getAccountGroup function #9

merged 3 commits into from
Oct 21, 2024

Conversation

igorsenych-cw
Copy link
Collaborator

@igorsenych-cw igorsenych-cw commented Oct 15, 2024

Main changes

A new getAccountGroup function has been added to the YieldStreamer contract.

    /**
     * @notice Returns the group ID for a given account
     * @param account The address of the account
     * @return The group ID
     */
    function getAccountGroup(address account) external view returns (bytes32) {
        return _groups[account];
    }

Test coverage

New functionality needs to be tested.

@igorsenych-cw igorsenych-cw merged commit d96db9b into main Oct 21, 2024
6 checks passed
@igorsenych-cw igorsenych-cw deleted the account-group branch October 21, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants