> For the complete documentation index, see [llms.txt](https://docs.stacks.pet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacks.pet/stackspet/activity.md).

# Activity

## 四、动态与 Agent

### 4.1 动态 Activity

展示连接 Stacks 钱包的真实链上记录，包括：

* STX 转账
* SIP-010 Token 转账
* 合约调用
* Swap
* Stacking
* Zest 存款与提款
* 成功或失败状态
* 区块高度
* 时间
* Hiro Explorer 链接

### 4.2 跨链历史

跨链历史作为 USDCx 页面内部子页面展示。

记录内容：

* 来源网络
* 目标网络
* 源链 Hash
* Stacks 或 Ethereum 目标链 Hash
* 输入金额
* 预计到账
* 实际到账
* 当前状态
* 提交时间

失败交易不计入成功跨链次数和累计跨链金额。

### 4.3 Agent 功能

Agent 第一阶段建议定位为“链上资产分析工具”，而不是自动控制钱包。

功能可包含：

* 钱包资产集中度分析
* 低价值代币识别
* 连续下跌资产提醒
* 闲置资产识别
* 收益仓位对比
* 收益优化建议

所有建议只作为信息展示。涉及资产转移、授权、质押或跨链时，必须由用户钱包最终确认。

### 发布前检查

GitBook 正式发布前，建议再完成一次合约核验表：

* 每条链的地址在正确浏览器上存在字节码
* 合约源码已验证
* 构造参数已验证
* 手续费接收地址已验证
* `FEE_BPS = 50`
* Router 地址和 Pool Fee 已验证
* Circle Domain 配置正确
* Keeper 监听地址与前端地址一致
* Stacks Clarity 合约源码一致
* 所有测试交易可在源链与目标链对应起来
* 文档中没有私钥、API Secret 或 Keeper Secret

尤其注意：以上地址是从当前项目配置中整理出来的“配置地址”，不等同于已经完成独立安全审计。正式对外发布前应逐链核验。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stacks.pet/stackspet/activity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
