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

create deployer contract #7

Merged
merged 7 commits into from
Aug 19, 2024
Merged

create deployer contract #7

merged 7 commits into from
Aug 19, 2024

Conversation

gangov
Copy link
Collaborator

@gangov gangov commented Aug 14, 2024

No description provided.

@gangov gangov linked an issue Aug 14, 2024 that may be closed by this pull request
@gangov gangov requested a review from ueco-jb August 14, 2024 09:11
@gangov gangov self-assigned this Aug 14, 2024
contracts/collections/src/contract.rs Outdated Show resolved Hide resolved
contracts/deployer/src/tests.rs Outdated Show resolved Hide resolved
@gangov gangov requested a review from ueco-jb August 16, 2024 08:16
@gangov gangov force-pushed the 6-create-deployer-contract branch from aa096c5 to a5471e9 Compare August 16, 2024 11:08
Copy link
Member

@ueco-jb ueco-jb left a comment

Choose a reason for hiding this comment

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

burn and burn_batch has a wrong implementation, since you only call

//FIXME: who can burn? - admin/sender/both
from.require_auth();

while you should check if that's the owner or operator.

@gangov gangov force-pushed the 6-create-deployer-contract branch from b4fb277 to ed7a2c3 Compare August 19, 2024 14:30
@gangov
Copy link
Collaborator Author

gangov commented Aug 19, 2024

closing this, will utilize operator in a separate PR

@gangov gangov merged commit 69df66b into master Aug 19, 2024
3 checks 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.

create Deployer contract
2 participants