Enable the approveAndCall mechanism everywhere
Open
- Dominant language
- JavaScript
- Stars
- 50
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
We now have the ability to approveAndCall with `GenesisProtocol.stake`. Makes sense to add this ability everywhere, which currently includes: `ContributionReward.proposeContributionReward` and `VestingScheme.createVestedAgreement`
Contributor guide
Research direction
Start by reading the existing approveAndCall support in GenesisProtocol.stake, then inspect ContributionReward.proposeContributionReward and VestingScheme.createVestedAgreement. Done means both named mechanisms offer equivalent approveAndCall support, with relevant tests or call paths confirming the behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100