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

Add Quizzes to ICTT Course #188

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

owenwahlgren
Copy link
Contributor

No description provided.

@owenwahlgren owenwahlgren requested review from martineckardt and a team as code owners October 11, 2024 19:44
@owenwahlgren owenwahlgren linked an issue Oct 11, 2024 that may be closed by this pull request
Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
avalanche-academy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 8:25pm

Copy link
Collaborator

@martineckardt martineckardt left a 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

],
"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.",
Copy link
Collaborator

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

"It enables the function to execute without gas fees.",
"It prevents the function from modifying state variables."
],
"correctAnswers": [1],
Copy link
Collaborator

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

"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.",
Copy link
Collaborator

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"
}
Copy link
Collaborator

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"

@martineckardt martineckardt merged commit 5d58613 into dev Oct 11, 2024
3 checks passed
@martineckardt martineckardt deleted the 101-ictt-course-add-quizes--certificate branch October 11, 2024 20:32
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.

ICTT Course: Add Quizes & Certificate
2 participants