npx skills add https://github.com/bankrbot/openclaw-skills --skill yoink在 Base 链上玩 Yoink,一个链上夺旗游戏。从当前持有者手中夺取旗帜以启动你的计时。总夺取次数最多的玩家持有奖杯。
合约: Base 链上的 0x4bBFD120d9f352A0BEd7a014bd67913a2007a878 (链 ID 8453)
yoink() 从当前持有者手中夺取旗帜RPC 模板:
curl -s -X POST https://mainnet.base.org -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x4bBFD120d9f352A0BEd7a014bd67913a2007a878","data":"SELECTOR+PARAMS"},"latest"],"id":1}' | jq -r '.result'
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 函数 | 选择器 | 参数 | 返回值 |
|---|
yoink() | 0x9846cd9e | - | (写入操作) |
lastYoinkedBy() | 0xd4dbf9f4 | - | 地址 |
lastYoinkedAt() | 0x6a99616f | - | uint256 时间戳 |
totalYoinks() | 0xa5d0dadd | - | uint256 |
topYoinker() | 0x6a974e6e | - | 地址 (奖杯持有者) |
mostYoinks() | 0xd2d7774a | - | uint256 (记录) |
COOLDOWN() | 0xa2724a4d | - | uint256 (600) |
score(address) | 0x776f3843 | 地址 (32B 填充) | (夺取次数, 时间, 上次夺取时间) |
balanceOf(address,uint256) | 0x00fdd58e | 地址 + 代币ID | uint256 (FLAG_ID=1, TROPHY_ID=2) |
编码: 地址用零填充至 32 字节。score() 返回 96 字节 (3 × uint256)。
使用 Bankr 的任意交易功能:
{
"to": "0x4bBFD120d9f352A0BEd7a014bd67913a2007a878",
"data": "0x9846cd9e",
"value": "0",
"chainId": 8453
}
| 错误 | 选择器 | 含义 |
|---|---|---|
SlowDown(uint256) | 0x58d6f4c6 | 冷却时间未结束。参数 = 剩余秒数。 |
Unauthorized() | 0x82b42900 | 你已持有旗帜。 |
冷却时间检查: 当前时间 - lastYoinkedAt() >= 600
lastYoinkedBy() 和 lastYoinkedAt() 以检查状态/冷却时间lastYoinkedBy() 或 score(address) 进行验证每周安装量
85
仓库
GitHub 星标数
988
首次出现
2026年2月2日
安全审计
安装于
openclaw82
opencode68
claude-code62
codex62
cursor62
gemini-cli60
Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder to start your clock. The player with the most total yoinks holds the trophy.
Contract: 0x4bBFD120d9f352A0BEd7a014bd67913a2007a878 on Base (chain ID 8453)
yoink() to take the flag from the current holderRPC template:
curl -s -X POST https://mainnet.base.org -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x4bBFD120d9f352A0BEd7a014bd67913a2007a878","data":"SELECTOR+PARAMS"},"latest"],"id":1}' | jq -r '.result'
| Function | Selector | Params | Returns |
|---|---|---|---|
yoink() | 0x9846cd9e | - | (write) |
lastYoinkedBy() | 0xd4dbf9f4 | - | address |
lastYoinkedAt() | 0x6a99616f | - | uint256 timestamp |
Encoding: Addresses are zero-padded to 32 bytes. score() returns 96 bytes (3 × uint256).
Use Bankr's arbitrary transaction feature:
{
"to": "0x4bBFD120d9f352A0BEd7a014bd67913a2007a878",
"data": "0x9846cd9e",
"value": "0",
"chainId": 8453
}
| Error | Selector | Meaning |
|---|---|---|
SlowDown(uint256) | 0x58d6f4c6 | Cooldown not elapsed. Param = seconds remaining. |
Unauthorized() | 0x82b42900 | You already hold the flag. |
Cooldown check: current_time - lastYoinkedAt() >= 600
lastYoinkedBy() and lastYoinkedAt() to check status/cooldownlastYoinkedBy() or score(address)Weekly Installs
85
Repository
GitHub Stars
988
First Seen
Feb 2, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
openclaw82
opencode68
claude-code62
codex62
cursor62
gemini-cli60
CoinGecko API 集成 - 实时加密货币价格、市场数据与区块链分析工具
3,900 周安装
Zapier与Make无代码自动化模式指南:企业流程优化与最佳实践
1 周安装
Web Artifacts Builder:React + TypeScript + Vite 前端构件生成器,一键打包为单HTML文件
1 周安装
2025漏洞扫描器与安全评估指南:OWASP Top 10、供应链安全与风险优先级排序
1 周安装
Twilio通信开发指南:短信发送与验证码API集成教程
1 周安装
Trigger.dev 专家 | TypeScript 后台任务与工作流编排解决方案
1 周安装
React Native 测试模式与工具指南:TDD、工厂模式、模拟与自定义渲染
1 周安装
totalYoinks() | 0xa5d0dadd | - | uint256 |
topYoinker() | 0x6a974e6e | - | address (trophy holder) |
mostYoinks() | 0xd2d7774a | - | uint256 (record) |
COOLDOWN() | 0xa2724a4d | - | uint256 (600) |
score(address) | 0x776f3843 | addr (32B padded) | (yoinks, time, lastYoinkedAt) |
balanceOf(address,uint256) | 0x00fdd58e | addr + tokenId | uint256 (FLAG_ID=1, TROPHY_ID=2) |