Enhance Lottery Smart Contract: Comprehensive Round Details Tracking - #1
Open
pneppl100 wants to merge 4 commits into
Conversation
pneppl100
marked this pull request as ready for review
June 12, 2025 02:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhance Lottery Smart Contract: Comprehensive Round Details Tracking
Description
Task
Extend Smart Contract to Store Additional Lottery Round Details
Acceptance Criteria
Summary of Work
This pull request extends the Lottery smart contract to capture and store more comprehensive information about each lottery round.
Key Modifications:
LotteryRoundstruct already includes:Implementation Details:
finishPickingWinner()already stores detailed round informationgetLotteryRoundDetails()method to retrieve specific round detailsPerformance Considerations:
Future Improvements:
Changes Made
Tests
Signatures
Staking Key
5anfGeJtxL1qzX2vgQFqx4M5CkDLgfref2Dm4Stm4gP2: AToxA3MAhYsXn6e6fWCd8k5BkDbamSNrFe2nM4u4EQtmZ3nh8whSYUoiX5mt7sGfgTydFB58yDQ3vD8hCY4ZEfyqmeFZTEpeso8KcBxypPPMHhDZnZSAXCoJa3v3X6qoH9Ziva7V85EZrGH3LuQPC9efmbaJCqdS75WBsEULLwxodAqebV3cohZa9YDfBRX6PiDHUuUDaauaN8mTQTK78BX5WrJcjNTwCb7v3jHwNWxmM49e6WcnPqHPYH4udia9tbCLF1Vmg7jMZVZBGfGCaKJx4B6yASxSvA3CuFt5M9R9HhK5bnhoLvozc56tXuPWVTAhv7Cus57TcwReiFFyC1Y8ZpetVxcTnWzMtW5iYFuGnUT6m1mWvZiopZMHXQ6otekLJQNQovUGxQr6guHi2rMDsbKJ8x2gN8
Public Key
DA8gmhDZQJz7igNrrkkYXwfYGpWaPaa3ftPDHt2yyn2S: 98KmWWrSAMjuvNK6g5wE88x914J4WydtizZrdszdr4ZhyH592QEjtjFP9FKLG2g5kk6gXvpDqvVopfz2raqey4JiYhrDsmsQ1N6bmsqXYN5GRZtRFdQTffSu85Mu3ns2ZA6TMf97t6BHfnaLAa3Z5Ckpgxc1FyHVgifAnhtjRb7qdL62SyHRNp6aMMYAFi3Ey1qmWXe1u1TtRgCECMwkgyhLpCiRdugHyGsVAV9oavY9fo3g8iyJRroMcWhVUa7o7MmYWro1GbhQ2uHf79r1zqKL2MUBMDYVbSMSvGhNH9vaXnAPCx3jw8xDfN9qCWKC5xL3rmTstK9YXGVXGQSxBm4dEBFbue5nPAY4e4EEdkJqoPD9NqcRwBua7Nn4aK4idX1sEy8SJUidUK44Kqr6HDgVjJ8kdmXQYC