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

Added SimpleTreasury contract #21

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Added SimpleTreasury contract #21

merged 3 commits into from
Jan 15, 2025

Conversation

gabrielfior
Copy link
Contributor

This contract replaces the setup we had with NFTKey -> Mech -> signer of Safe wallet.

Now it becomes
NFT key -> if nft_keys_balance(msg.sender), then msg.sender can call withdraw and retrieve all the money.

@gabrielfior gabrielfior requested a review from kongzii January 14, 2025 21:08
Copy link
Collaborator

@kongzii kongzii left a comment

Choose a reason for hiding this comment

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

Very nice!

@gabrielfior gabrielfior merged commit 874730a into main Jan 15, 2025
2 of 3 checks passed
@gabrielfior gabrielfior deleted the gabriel/simple-treasury branch January 15, 2025 18:36
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