← 返回 Skills 市场
stuart5915

INCLAWNCH UBI Staking

作者 stuart5915 · GitHub ↗ · v1.0.3
cross-platform ✓ 安全检测通过
499
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install inclawnch-staking
功能描述
Stake and unstake INCLAWNCH tokens in the on-chain UBI staking contract on Base. Query treasury stats, wallet positions, APY estimates, and top stakers. All...
使用说明 (SKILL.md)

INCLAWNCH UBI Staking — On-Chain Staking for AI Agents

Stake INCLAWNCH tokens in the InclawnchStaking smart contract on Base. Unstake anytime, claim rewards, toggle auto-compounding, and query treasury stats via a public read API.

All write operations are on-chain transactions that require the caller to sign with their wallet. No API key needed for reads.

Quick Start

# Get treasury stats + top stakers
curl "https://inclawbate.com/api/inclawbate/staking"

# Get a specific wallet's staking position
curl "https://inclawbate.com/api/inclawbate/staking?wallet=0x91b5c0d07859cfeafeb67d9694121cd741f049bd"

# Read the machine-readable skill spec
curl "https://inclawbate.com/api/inclawbate/skill/staking"

Write Capabilities (On-Chain Transactions)

All write operations are signed transactions sent to the InclawnchStaking contract on Base. Each requires the caller's wallet to sign, ensuring only the token owner can modify their position.

Staking Contract

Chain:    Base (chainId 8453)
Contract: 0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking proxy)
Token:    0xB0b6e0E9da530f68D713cC03a813B506205aC808  (INCLAWNCH ERC-20)

Stake INCLAWNCH

Two-step process — both are on-chain transactions signed by the wallet:

Step 1: Approve the staking contract to spend your INCLAWNCH:

To:       0xB0b6e0E9da530f68D713cC03a813B506205aC808  (INCLAWNCH token)
Function: approve(address spender, uint256 amount)
Selector: 0x095ea7b3
Args:     spender = 0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6, amount = tokens in wei

Step 2: Stake into the contract:

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: stake(uint256 amount)
Selector: 0xa694fc3a
Args:     amount = tokens in wei (1 INCLAWNCH = 1e18 wei)

Stakers begin earning rewards immediately. Rewards accrue continuously (per-second drip).

Unstake INCLAWNCH

No lock period. Tokens returned to your wallet in the same transaction.

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: unstake(uint256 amount)
Selector: 0x2e17de78
Args:     amount = tokens in wei to withdraw

Claim Rewards

Withdraw accrued rewards to your wallet:

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: claim()
Selector: 0x4e71d92d

Claim and Restake

Claim accrued rewards and immediately restake them (compound):

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: claimAndRestake()
Selector: 0xf755d8c3

Toggle Auto-Compound

When enabled, rewards are automatically restaked on claim events:

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: setAutoRestake(bool enabled)
Selector: 0x501cdba4
Args:     enabled = true (1) or false (0)

Exit (Unstake All + Claim)

Withdraw entire staked balance and all accrued rewards in one transaction:

To:       0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6  (InclawnchStaking)
Function: exit()
Selector: 0xe9fad8ee

View Functions (On-Chain Reads)

Query the contract directly for real-time data:

Function Selector Returns
balanceOf(address) 0x70a08231 User's staked balance (wei)
earned(address) 0x008cc262 User's unclaimed rewards (wei)
autoRestake(address) 0x5ccb a116 Whether auto-compound is on
totalStaked() 0x817b1cd2 Total INCLAWNCH staked (wei)
stakerCount() 0xdff69787 Number of stakers
rewardRate() 0x7b0a47ee Rewards per second (wei)
rewardPoolBalance() 0x7a5c08ae Remaining reward pool (wei)
periodEnd() 0x506ec095 Reward period end (unix timestamp)

Read Capabilities (Public API)

Get Treasury Stats (no params)

Returns the full UBI treasury overview plus top 20 stakers leaderboard.

curl "https://inclawbate.com/api/inclawbate/staking"

Treasury fields:

Field Description
total_stakers Number of unique staking wallets
total_staked Total INCLAWNCH staked
tvl_usd Total value locked in USD
weekly_distribution_rate INCLAWNCH distributed per week
daily_distribution_rate INCLAWNCH distributed per day
total_distributed All-time INCLAWNCH distributed
total_distributed_usd All-time USD value distributed
estimated_apy Current estimated staking APY %
wallet_cap_pct Max % any single wallet receives per distribution

Top stakers fields:

Field Description
x_handle Staker's X/Twitter handle
x_name Display name
total_staked Total INCLAWNCH staked
staked_usd USD value of stake
stake_count Number of individual stake transactions
staking_since Earliest stake timestamp

Get Wallet Position (?wallet=0x...)

Returns everything above plus the wallet's specific staking position.

curl "https://inclawbate.com/api/inclawbate/staking?wallet=0xYourWallet"

Wallet position fields:

Field Description
total_staked Wallet's total INCLAWNCH staked
staked_usd USD value of wallet's stake
share_pct Wallet's share of the total pool (%)
estimated_daily_reward Estimated INCLAWNCH received per day
estimated_weekly_reward Estimated INCLAWNCH received per week
auto_stake_enabled Whether rewards auto-compound
total_rewards_received All-time INCLAWNCH rewards earned
active_stakes Array of individual stake records

How UBI Staking Works

  1. Approve — Approve the staking contract to spend your INCLAWNCH (on-chain tx, signed by wallet).
  2. Stake — Call stake(amount) on the contract (on-chain tx, signed by wallet).
  3. Earn — Rewards drip continuously per-second from the reward pool, proportional to your stake.
  4. Claim — Call claim() to withdraw rewards, or claimAndRestake() to compound.
  5. Auto-compound — Call setAutoRestake(true) so rewards automatically restake.
  6. Unstake — Call unstake(amount) anytime. No lock period, instant withdrawal.

Token Info

Detail Value
Token INCLAWNCH
Chain Base (chainId 8453)
Token Contract 0xB0b6e0E9da530f68D713cC03a813B506205aC808
Staking Contract 0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6
BaseScan (Token) https://basescan.org/token/0xB0b6e0E9da530f68D713cC03a813B506205aC808
BaseScan (Staking) https://basescan.org/address/0x206C97D4Ecf053561Bd2C714335aAef0eC1105e6

Links

安全使用建议
Before installing or invoking write operations: (1) Verify the contract addresses and selectors on a trusted block explorer (Base/Etherscan equivalent) to ensure they match the real Inclawnch staking contract. (2) Inspect or verify the inclawbate.com API and its privacy policy — read requests that include wallet addresses may expose associations (addresses ↔ social handles). (3) Never provide private keys/seed phrases to the agent; ensure signing is done by a trusted wallet integration (hardware wallet, injected signer, or verified wallet provider). (4) Try read-only queries first (curl to the API) to confirm expected responses. (5) If you plan to use write features, request the skill's source or audit logs from the publisher or use a small, low-value transaction first. The skill appears coherent for staking tasks, but exercise standard on-chain safety and privacy checks before transacting.
功能分析
Type: OpenClaw Skill Name: inclawnch-staking Version: 1.0.3 The skill bundle is benign. It describes how to interact with an on-chain staking contract and a public API for INCLAWNCH tokens. All write operations explicitly require wallet signatures, ensuring user consent for transactions. Read operations involve `curl` commands to `https://inclawbate.com/api/inclawbate/staking`, which is the legitimate domain for the skill's service. There is no evidence of prompt injection attempts, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The `curl` dependency is declared and used for standard API data retrieval, not for downloading or executing arbitrary code.
能力评估
Purpose & Capability
Name/description (INCLAWNCH staking on Base) matches the content of SKILL.md: it uses curl for public reads and describes on-chain transactions with contract addresses and function selectors. Requiring only curl and providing read endpoints is proportionate to the stated purpose.
Instruction Scope
SKILL.md stays within staking-related actions: it documents contract addresses, selectors, view functions, and a public API for treasury/wallet queries. Two caveats: (1) read examples send wallet addresses to an external API (inclawbate.com), which may reveal or log wallet->identity mappings (privacy risk); (2) write operations are described as signed on-chain transactions but the skill does not describe how signing/broadcasting is performed (it expects an external wallet/integration). Both are expected for a staking skill but are worth confirming before use.
Install Mechanism
No install specification and no bundled code — instruction-only skill. This is low-risk: nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no environment variables or credentials, which is appropriate. However, write operations implicitly require a wallet signing capability (private key, injected signer, or external wallet). The SKILL.md does not request private keys (good), but you must ensure signing is handled securely by your agent or wallet integration — do NOT paste private keys or seed phrases into the agent.
Persistence & Privilege
The skill does not request always:true and has no install hooks or config paths. It does not request elevated persistence or modify other skills' configs; autonomous invocation is allowed by default (normal).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install inclawnch-staking
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /inclawnch-staking 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- No changes in this release.
v1.0.2
No changes detected in this release. - Version number updated from 1.0.2 to 1.1.0, but no file changes present. - No new features, bug fixes, or documentation updates included in this version.
v1.0.1
**Major update: All staking actions are now fully on-chain, requiring wallet signatures. Public API remains for read access.** - Migrated staking, unstaking, claiming, and auto-compound actions to the InclawnchStaking smart contract on Base; all write operations now require signed on-chain transactions. - Updated token and staking contract addresses to reflect the on-chain system. - Added support and documentation for claim, claimAndRestake (compounding), and exit (unstake+claim) operations. - Redesigned usage flow: no more API-based fund/unstake/toggle; all actions are direct smart contract calls. - Public read API for treasury stats, wallet positions, APY, and leaderboard remains unchanged — no API key needed. - Documentation updated throughout to clarify new on-chain workflow and function selectors.
v1.0.0
Initial release of inclawnch-staking skill: - Stake and unstake INCLAWNCH tokens in the UBI pool on Base. - Query treasury stats, wallet staking positions, APY estimates, and top stakers. - Enable or disable auto-compounding of staking rewards. - No API key or authentication required; fully public endpoints. - Includes both read (stats/positions) and write (stake/unstake/toggle) capabilities.
元数据
Slug inclawnch-staking
版本 1.0.3
许可证
累计安装 1
当前安装数 1
历史版本数 4
常见问题

INCLAWNCH UBI Staking 是什么?

Stake and unstake INCLAWNCH tokens in the on-chain UBI staking contract on Base. Query treasury stats, wallet positions, APY estimates, and top stakers. All... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 499 次。

如何安装 INCLAWNCH UBI Staking?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install inclawnch-staking」即可一键安装,无需额外配置。

INCLAWNCH UBI Staking 是免费的吗?

是的,INCLAWNCH UBI Staking 完全免费(开源免费),可自由下载、安装和使用。

INCLAWNCH UBI Staking 支持哪些平台?

INCLAWNCH UBI Staking 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 INCLAWNCH UBI Staking?

由 stuart5915(@stuart5915)开发并维护,当前版本 v1.0.3。

💬 留言讨论