Staking Pool Contract
The core staking smart contract.
The Staking Pool contract handles staking, unstaking, and governance-related state management. Its contract account holds the total supply of the dALGO asset minus any circulating supply.
Users โ€œstakeโ€ by depositing ALGO into the contract and receive an equivalent amount of dALGO in return. The amount of dALGO returned depends on how many governance rewards have entered the contract since deployment. Staking ALGO is the only way dALGO can exit the Staking Pool smart contract.
The Staking Pool contract is responsible for registering for governance and voting in governance, each of which is executed by the Staking Pool multisig account, covered in the next section.
Copy link