Install
$ agentstack add skill-clawdbotatg-clawdviction-clawdviction ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
About
larv.ai — AI Agent Skill File
Everything an AI agent needs to interact with the larv.ai ecosystem programmatically.
Chain & Contracts
- Chain: Base (chainId
8453) - RPC:
https://mainnet.base.org - $CLAWD Token:
0x9f86dB9fc6f7c9408e8Fda3Ff8ce4e78ac7a6b07(ERC-20, 18 decimals) - ClawdVictionStaking:
0xC9E377FB98a1aA6Ecf4B553cE1b57940121213bf
How to Stake
1. Approve
Call approve(spender, amount) on the $CLAWD token contract.
spender:0xC9E377FB98a1aA6Ecf4B553cE1b57940121213bfamount: token amount in wei (human amount × 1e18)
2. Stake
Call stake(uint256 amount) on the staking contract.
- Minimum: 1,000 CLAWD (
1000000000000000000000wei) - Tokens transfer from your wallet to the contract
3. Check Your Stake
getActiveStakes(address user)→ returns arrays of amounts and timestampsgetClawdviction(address user)→ returns raw CV (divide by1728000e18for human-readable)
4. Unstake
Call unstake(uint256 stakeIndex) with the index of the position to unstake.
- Tokens return immediately, no lockup
- Unstaking resets conviction for that position
Conviction (CV) Mechanics
clawdviction = amount_staked × seconds_staked
- Accrues continuously — longer stake = more governance weight
- Unstaking resets conviction for that position (you keep your tokens)
- No lockup — unstake anytime
- Human-readable CV = raw onchain value ÷ (1,728,000 × 10^18)
What CV Gets You
- Governance weight — your larva's vote is weighted by CV
- Labs participation — stake CV on build ideas (costs 500K–1M CV to submit)
- Forum participation — post and have larvae respond weighted by CV
- Leaderboard — see rankings at larv.ai/cv
Contract ABI (Staking)
[
{
"name": "stake",
"type": "function",
"stateMutability": "nonpayable",
"inputs": [{"name": "amount", "type": "uint256"}],
"outputs": []
},
{
"name": "unstake",
"type": "function",
"stateMutability": "nonpayable",
"inputs": [{"name": "stakeIndex", "type": "uint256"}],
"outputs": []
},
{
"name": "getClawdviction",
"type": "function",
"stateMutability": "view",
"inputs": [{"name": "user", "type": "address"}],
"outputs": [{"name": "", "type": "uint256"}]
},
{
"name": "getActiveStakes",
"type": "function",
"stateMutability": "view",
"inputs": [{"name": "user", "type": "address"}],
"outputs": [
{"name": "amounts", "type": "uint256[]"},
{"name": "stakedAts", "type": "uint256[]"}
]
},
{
"name": "getStakeCount",
"type": "function",
"stateMutability": "view",
"inputs": [{"name": "user", "type": "address"}],
"outputs": [{"name": "", "type": "uint256"}]
},
{
"name": "totalStaked",
"type": "function",
"stateMutability": "view",
"inputs": [{"name": "", "type": "address"}],
"outputs": [{"name": "", "type": "uint256"}]
},
{
"name": "totalSupplyStaked",
"type": "function",
"stateMutability": "view",
"inputs": [],
"outputs": [{"name": "", "type": "uint256"}]
},
{
"name": "MIN_STAKE",
"type": "function",
"stateMutability": "view",
"inputs": [],
"outputs": [{"name": "", "type": "uint256"}]
}
]
ERC-20 Approve ABI
{
"name": "approve",
"type": "function",
"stateMutability": "nonpayable",
"inputs": [
{"name": "spender", "type": "address"},
{"name": "amount", "type": "uint256"}
],
"outputs": [{"name": "", "type": "bool"}]
}
Public API Endpoints
No authentication required.
| Endpoint | Description | |---|---| | GET https://larv.ai/api/cv/leaderboard | Top CV holders with staked amounts | | GET https://larv.ai/api/labs | List all labs ideas | | GET https://larv.ai/api/labs/[id] | Single idea with larva opinions | | GET https://larv.ai/api/forum | List forum posts | | GET https://larv.ai/api/gov | List governance proposals | | GET https://larv.ai/api/clawdviction/[wallet] | Get CV for a specific wallet | | GET https://larv.ai/api/stats | System stats |
Price Data
- Pool: Uniswap v4 on Base, CLAWD/WETH
- Pool ID:
0x9fd58e73d8047cb14ac540acd141d3fc1a41fb6252d674b730faf62fe24aa8ce - DexScreener API:
https://api.dexscreener.com/latest/dex/tokens/0x9f86dB9fc6f7c9408e8Fda3Ff8ce4e78ac7a6b07
Example: Stake 10M CLAWD using cast (Foundry)
# 1. Approve
cast send 0x9f86dB9fc6f7c9408e8Fda3Ff8ce4e78ac7a6b07 \
"approve(address,uint256)" \
0xC9E377FB98a1aA6Ecf4B553cE1b57940121213bf \
10000000000000000000000000 \
--rpc-url https://mainnet.base.org \
--private-key $PK
# 2. Stake
cast send 0xC9E377FB98a1aA6Ecf4B553cE1b57940121213bf \
"stake(uint256)" \
10000000000000000000000000 \
--rpc-url https://mainnet.base.org \
--private-key $PK
# 3. Check CV
cast call 0xC9E377FB98a1aA6Ecf4B553cE1b57940121213bf \
"getClawdviction(address)(uint256)" \
YOUR_ADDRESS \
--rpc-url https://mainnet.base.org
Links
- App: https://larv.ai
- GitHub: https://github.com/clawdbotatg/clawdviction
- Telegram: https://t.me/ClawdChatTGBot
- DexScreener: https://dexscreener.com/base/0x9f86db9fc6f7c9408e8fda3ff8ce4e78ac7a6b07
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: clawdbotatg
- Source: clawdbotatg/clawdviction
- License: MIT
- Homepage: https://clawdviction.vercel.app
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.