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

Withdraw fund method #133

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Conversation

EmmanuelAR
Copy link
Collaborator

Pull Request

Changes description

Changes:

  1. Withdraw fund method
  2. Refactor setIsActive to setState
  3. Run scarb fmt
  4. Add new withdraw fund state

Comments

Needs to test in sepolia

1. Withdraw fund method
2. Refactor setIsActive to setState
3. Run scarb fmt
4. Add new withdraw fund state
- fund ids start in 1
- withdraw method with contract balance, and working
-fixing tests
@adrianvrj adrianvrj marked this pull request as ready for review October 15, 2024 04:07
contracts/src/fund.cairo Show resolved Hide resolved
@adrianvrj adrianvrj merged commit ffc002b into web3wagers:dev Oct 15, 2024
5 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.

[feat] Implement withdraw function on fund contract
2 participants