Overview
Learn about how to interact with an ERC20PeggedIncentive using the SDK
The ERC20 Pegged Incentive is a specialized protocol incentive that allows for the distribution of ERC-20 assets with rewards pegged to the value of another token. This enables creating rewards that maintain a specific value relative to a pegged asset. When users claim rewards, they receive an amount of the reward token equivalent in value to the pegged amount.
The Boost V2 Docs are under active development and will be subject to changes.
Smart Contract
Read the smart contracts
Typedoc
See technical documentation
SDK Implementation
See the source
Key Features
- Rewards pegged to the value of another token (e.g., USDC) or native chain token (e.g., ETH)
- Dynamic reward amounts based on current price ratios
- Supports any ERC20 token as the reward asset
- Total distribution limit in reward asset tokens
- Managed access for incentive control and clawbacks
Unlike budgets, allowlists, and validators, incentives cannot be re-used between multiple Boosts.
To peg rewards to the chain’s native token (e.g., ETH), use zeroAddress
(0x0000000000000000000000000000000000000000) as the peg parameter. This tells the protocol to use the native token’s price for calculations.
Create a new ERC20PeggedIncentive
The manager parameter specifies an address that has administrative control over the incentive. This address can perform management operations like triggering clawbacks of undistributed rewards if needed.