We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with these below functions
constructor(address _rewardTokenAddress) Initializes the contract with the reward token address and sets the contract owner.
createQuiz Creates a new quiz with questions, answers, and rewards.
participateInQuiz Allows a user to participate in a quiz by submitting their answers and calculates their score.
_distributeReward Distributes reward tokens to participants based on their quiz score.
getQuizDetails Returns basic details of a quiz like title, number of questions, and participants.
hasUserParticipated Checks if a user has already participated in a specific quiz.
getScore Retrieves the score of a participant for a specific quiz.
fundContract Allows the owner to fund the contract with tokens for rewards.
withdrawTokens Allows the owner to withdraw tokens from the contract. could you please assign this to me under WoB24 i'm very intrested to work
The text was updated successfully, but these errors were encountered:
i had made a pr as a new branch named contracts contains backend contracts and now #12 is closed
Sorry, something went wrong.
No branches or pull requests
with these below functions
constructor(address _rewardTokenAddress)
Initializes the contract with the reward token address and sets the contract owner.
createQuiz
Creates a new quiz with questions, answers, and rewards.
participateInQuiz
Allows a user to participate in a quiz by submitting their answers and calculates their score.
_distributeReward
Distributes reward tokens to participants based on their quiz score.
getQuizDetails
Returns basic details of a quiz like title, number of questions, and participants.
hasUserParticipated
Checks if a user has already participated in a specific quiz.
getScore
Retrieves the score of a participant for a specific quiz.
fundContract
Allows the owner to fund the contract with tokens for rewards.
withdrawTokens
Allows the owner to withdraw tokens from the contract.
could you please assign this to me under WoB24 i'm very intrested to work
The text was updated successfully, but these errors were encountered: