Language
Solidity
Total Length
1.7h
Part of Learning Track
Build on Telos + 1
What You’ll Learn
The complete process of implementing a Staking Protocol on Telos
Telos
Staking
Syllabus
Unit 1 - Course Introduction
Course Introduction to Implementing a Staking Protocol on Telos.
Unit 2 - Contract Initialization and Basic Setup
In this section, you will learn how to initialize the staking protocol and understand the roles of various basic settings and variables in the contract.
Unit 3 - Querying Pool Information
This section introduces how to query the number of pools.
Unit 4 - Adding and Updating Pools
This section introduces how to add and update pools.
Unit 5 - Staking and Withdrawal Operations
This section introduces how to implement the staking and withdrawal functions in the staking protocol.
Unit 6 - Safe Reward Transfer Function
This section introduces how to safely transfer reward tokens to users.
Unit 7 - Interaction
In this chapter, you will learn how to build and deploy the application.
Language
Solidity
Total Length
1.7h
Part of Learning Track
Build on Telos + 1