-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pallet partner attribution #920
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.
Looking good! Would be useful adding a test for the EnsureFuturepass logic. Need to run benchmarks
…butions - for futurepass account
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.
Lgtm, nice work 🚀
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.
lgtm👍 Added a minor comment.
Description
This PR introduces the Partner Attribution pallet which enables partner management and user attribution.
The pallet allows:
Context & Background
The Partner Attribution pallet is designed to support Futureverse's partner ecosystem by enabling:
Key components:
Notes & Additional Information
Technical Implementation Details:
TODOs
Release Notes
Key Changes
Type of Change
API Changes
Storage Changes
Added
NextPartnerId
- increment-only unique partner idPartners
- partner registration detailsAttributions
- futurepass -> partner attributionsExtrinsic Changes
Added
register_partner
update_partner_account
attribute_account
upgrade_partner
Event Changes
Added
PartnerRegistered
PartnerUpdated
PartnerRemoved
PartnerUpgraded
AccountAttributed
Error Messages
Added
NoAvailableIds
PartnerNotFound
PartnerAlreadyExists
Unauthorized
CallerNotFuturepass
AccountAlreadyAttributed