DeFi Integration for wfragAsset
fragAsset
ensures that the owner can claim rewards directly by executing a transaction.
This guide is for handling rewards accrued from wfragAsset
.
wfragAsset
is a legacy SPL token and does not support the same tracking capabilities.
Fragmetric uses the following approach for tracking wfragAsset
contributions:
wfragAsset
token accounts to be tracked on-chain. A dedicated reward account is created per registered token account.
wfragAsset
deposits.fragSOL
, fragJTO
, fragBTC
) — will track registered token accounts and update their contribution share in the reward system.
fragAsset
-based reward tracking with reduced accuracy and flexibility, tailored for protocols using wfragAsset
.
It is activated and maintained through consensus between Fragmetric governance and the participating DeFi protocol.
user_claim_reward
instruction of the restaking program
either on-chain or off-chain.
The Anchor IDL is embedded in the @fragmetric-labs/sdk package.
Alternatively, you can download the latest IDL from the restaking program account on Solana Explorer.