Loading...
Loading...
Play Yoink, an onchain capture-the-flag game on Base. Yoink the flag from the current holder, check game stats and leaderboards, view player scores, and compete for the trophy. Uses Bankr for transaction execution.
npx skill4agent add bankrbot/openclaw-skills yoink0x4bBFD120d9f352A0BEd7a014bd67913a2007a878yoink()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 |
|---|---|---|---|
| | - | (write) |
| | - | address |
| | - | uint256 timestamp |
| | - | uint256 |
| | - | address (trophy holder) |
| | - | uint256 (record) |
| | - | uint256 (600) |
| | addr (32B padded) | (yoinks, time, lastYoinkedAt) |
| | addr + tokenId | uint256 (FLAG_ID=1, TROPHY_ID=2) |
score(){
"to": "0x4bBFD120d9f352A0BEd7a014bd67913a2007a878",
"data": "0x9846cd9e",
"value": "0",
"chainId": 8453
}| Error | Selector | Meaning |
|---|---|---|
| | Cooldown not elapsed. Param = seconds remaining. |
| | You already hold the flag. |
current_time - lastYoinkedAt() >= 600lastYoinkedBy()lastYoinkedAt()lastYoinkedBy()score(address)