check-vault-onchain
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCheck vault onchain
检查链上金库
This script will run against a deployed smart contract and see if it detects out as one of our supported vaults. This skill will run a Python script and get you the output back.
本脚本将针对已部署的智能合约运行,检测其是否属于我们支持的金库类型。该技能会运行一个Python脚本并向您返回输出结果。
Required inputs
必要输入
- Smart ctonract chain and address: User gives this either a link (check the page and blockchain explorer) or directly
- 智能合约链与地址:用户可通过链接(需查看对应页面及区块链浏览器)或直接提供该信息
Script source
脚本源码
Get the script source code from `scripts/erc-4626/check-vault-onchain.py
从获取脚本源码
scripts/erc-4626/check-vault-onchain.pyRunning the script
运行脚本
Clone the script and replace to be the correct chain id and vault address string.
specThen run the generated script using console command.
python克隆脚本并将替换为正确的链ID和金库地址字符串。
spec然后使用控制台命令运行生成的脚本。
pythonDisplay output
输出展示
Send all the script output back to the user, format as a table.
将脚本的所有输出结果返回给用户,并以表格格式呈现。