upvoting-on-abstract
Installation
SKILL.md
Upvoting on Abstract
The Abstract Portal has an on-chain voting system where users spend ETH to upvote apps each epoch. Votes signal app quality and contribute to Portal XP.
Operating Rules
- Check the vote cost with
voteCost()before submitting a vote — the cost is set per epoch and may change. - Check remaining votes with
userVotesRemaining(address)before voting. - The
voteForAppfunction is payable — include the vote cost asvalue. - Each user can vote for each app only once per epoch (
AlreadyVotedForerror). - Preview every vote with
--dry-runbefore execution. - Read references/voting-contract.md for the full contract interface and error handling.
Contract
| Network | Address |
|---|---|
| Mainnet | 0x3b50de27506f0a8c1f4122a1e6f470009a76ce2a |