Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

- added payout logic to pull from list of winners and create a benefi… #6

Merged
merged 1 commit into from
Jan 9, 2022

Conversation

lley154
Copy link
Owner

@lley154 lley154 commented Jan 9, 2022

- added payout logic to pull from list of winners and create a beneficiary map
- added beneficiary payout map in datum
- added logic to allow payout if pkh is in beneficiary payout map in datum
- added guards in state machin to ensure payout is only possible when there is an actual winner of the jackpot

…ciary map

- added beneficiary payout map in datum
- added logic to allow payout if pkh is in beneficiary payout map in datum
- added guards in state machin to ensure payout is only possible when there is an actual winner of the jackpot
-
@lley154 lley154 merged commit f3107e4 into main Jan 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant