Agent Primitives
STAKR exposes primitives that agents can compose into token operations.
Deployment Primitive
StakrVaultFactory.createStakrVault(...)
Use this to deploy a new vault for an ERC-20 and define ownership behavior.
Incentive Primitives
addRewardToken(token, amount, settings)for new reward streams.modifyRewardToken(token, amount, settings)for top-ups and schedule extension.
These two calls are the core of ongoing incentive management.
User Operation Primitives
deposit,depositAndLocklock,unlock,unlockAndRedeemharvest
These are what your frontend agent or automation should expose to participants.
Composition Pattern
- Deploy vault.
- Initialize first reward.
- Schedule recurring modify calls.
- Expose lock/harvest/unlock lifecycle to users.
Next Step
- Review Security and Trust Model before production rollout.