[Feat] : Implemented Family Wallet Contract#118
Open
ryzen-xp wants to merge 1 commit intoRemitwise-Org:mainfrom
Open
[Feat] : Implemented Family Wallet Contract#118ryzen-xp wants to merge 1 commit intoRemitwise-Org:mainfrom
ryzen-xp wants to merge 1 commit intoRemitwise-Org:mainfrom
Conversation
Contributor
Author
|
Hello @Baskarayelu , Kindly Review my PR ASAP. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Implement Family Wallet Contract #69
Summary
Implements the
family_walletcrate referenced in README and GITHUB_ISSUES.md but missing from the repo.Changes
New Files
family_wallet/src/lib.rs— Soroban contract with all required functionsfamily_wallet/src/test_issue_69.rs— Unit tests for all new functionsfamily_wallet/Cargo.toml— Crate configModified Files
Cargo.toml— Addedfamily_walletto workspace membersNew Functions
Access Control
add_member— Owner or Admin only (Error::Unauthorized = 1)update_spending_limit— Owner or Admin only (Error::Unauthorized = 1)get_member/check_spending_limit— public readEvents
MemberAddedEvent— emitted onadd_memberSpendingLimitUpdatedEvent— emitted onupdate_spending_limitTests
Closes
Closes #69