-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add Quizzes to ICTT Course #188
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments on some questions. Let's also issue a certificate at the end of the course
components/quizzes/quizData.json
Outdated
], | ||
"correctAnswers": [1], | ||
"hint": "Consider both value transfer and execution costs in the network.", | ||
"explanation": "In an EVM-based blockchain, the native token serves as both a means of value transfer within the network and as the gas token for executing transfers or smart contracts.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add note that some blockchains use the native token also as their staking/governance token, but that this is optional
components/quizzes/quizData.json
Outdated
"It enables the function to execute without gas fees.", | ||
"It prevents the function from modifying state variables." | ||
], | ||
"correctAnswers": [1], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct answer always has index 1
components/quizzes/quizData.json
Outdated
"question": "What is the purpose of the `approve()` function in the ERC-20 token standard?", | ||
"options": [ | ||
"It allows an address to transfer tokens to another address directly.", | ||
"It enables an owner to authorize a spender to transfer up to a certain amount from the owner's account.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grant an allowance for another account to spend the balance of an account
"correctAnswers": [0], | ||
"hint": "Consider how token amounts are scaled between chains with different decimal places.", | ||
"explanation": "The `_tokenMultiplier` is used to scale the token amounts when transferring between chains with different decimal systems. It is calculated based on the difference in decimals between the home and remote tokens and ensures that the token value remains consistent across chains.", | ||
"chapter": "Interchain Token Transfer" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a question like "can there be multiple remotes for a single home"
No description provided.