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

Rotate Royalty #199

Merged
merged 3 commits into from
May 20, 2024
Merged

Conversation

daplcor
Copy link
Contributor

@daplcor daplcor commented Apr 30, 2024

Added 2 new functions and a defcap for rotating the account and guard receiving royalties for a given nft token-id. Repl tests included for royalty-policy-v1. I purposely left out updating the royalty-payout as that would make more sense on a separate policy, designed to handle fee changes.

defcap UPDATE-ROYALTY handles enforcing the current owner is legitimate

defun get-royalty is a simple function to retrieve current royalty owner

defun rotate performs the actual task for updating creator/guard.

daplcor and others added 2 commits April 30, 2024 11:59
Added 2 functions and a defcap to make retrieving the royalty address easier, rotating the account and guard for receiving royalties, and prove current keyset is the owner.  Repl tests included for royalty-policy-v1.
@ggobugi27
Copy link
Collaborator

Can you change this PR to merge to the point-release branch so we can do 1 deployment cycle with the testing phase?

Changed capability to ROTATE-ROYALTY
@daplcor daplcor changed the base branch from main to point-release/1.1.0 May 17, 2024 15:47
@ggobugi27 ggobugi27 merged commit 767c4c7 into kadena-io:point-release/1.1.0 May 20, 2024
1 check passed
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.

2 participants