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

[Feature]: Create a function to buy from outside the contract. #7

Open
1 task done
shobhit15082003 opened this issue Mar 21, 2024 · 0 comments
Open
1 task done
Labels
Issue:feature issue is created for new feature request Type:Easy Pr is accepted with difficulty level as easy

Comments

@shobhit15082003
Copy link
Member

So, what is it about?

Create a function with appropriate modifiers so that the user can buy some assets from outside the contract (suppose from a shop) .
Input : (thing to be bought(string)(ex: house), uint amt(the cost of that product))

Note: Accordingly update the cash and asset of the user.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shobhit15082003 shobhit15082003 added Issue:feature issue is created for new feature request Type:Easy Pr is accepted with difficulty level as easy labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue:feature issue is created for new feature request Type:Easy Pr is accepted with difficulty level as easy
Projects
None yet
Development

No branches or pull requests

1 participant