质押池投票者
如果您是质押池的投票者,我们强烈建议您在托管人支持此功能之前,不要将您的 Aptos 投票密钥存储在托管人处.在那之前,我们建议您将投票密钥存储在像Petra这样的 Aptos 钱包中.
本文档描述了如何使用 Aptos 钱包在 Aptos 主网上执行质押投票操作.
使用治理 UI
Section titled “使用治理 UI”要作为投票者参与 Aptos 治理,请按照以下步骤操作:
- 转到 Aptos 治理页面的提案部分.
- 点击页面右上角的CONNECT WALLET连接您的钱包.
- 确保钱包设置为连接到主网.
- 查看提案,当您准备好对提案进行投票时,点击提案并投票.
- 您将看到一个绿色的进度条,则表示投票交易成功.
使用 Aptos CLI
Section titled “使用 Aptos CLI”- 使用命令
aptos node get-stake-pool --owner-address <owner-address> --url <REST API for the network>
获取您的质押池信息. - 执行命令
aptos governance list-proposals --url https://api.mainnet.aptoslabs.com
查看提案列表. - 运行
aptos init
设置您的投票者资料. - 执行命令
aptos governance vote --proposal-id <PROPOSAL_ID> --pool-address <POOL_ADDRESS> --url <URL> --profile <profile>
对提案进行投票.
委托池投票者
Section titled “委托池投票者”如果您在委托池中进行了质押,您可以按照您在委托池中的质押金额比例进行投票,或者将您的投票权委托给另一个投票者的地址.
使用治理 UI
Section titled “使用治理 UI”要作为投票者参与治理,请按照以下步骤操作:
- 转到 Govscan 上的提案部分.
- 点击CONNECT WALLET连接您的钱包.
- 确保钱包设置为连接到主网.
- 查看提案.当您准备好对提案进行投票时,点击提案并投票.
- 您将看到一个绿色条,表示投票交易成功.
使用 Aptos CLI
Section titled “使用 Aptos CLI”- 从Aptos Explorer 页面获取您的委托池地址.
- 执行命令
aptos governance list-proposals --url https://api.mainnet.aptoslabs.com
查看提案列表. - 运行
aptos init
设置您的投票者资料. - 执行命令
aptos move run --function-id 0x1::delegation_pool::vote --args address:<pool-address> u64:<proposal-id> u64:<voting-power> bool:<true or false>
对提案进行投票.
要委托您的投票权,请按照以下步骤操作:
- 从Aptos Explorer 页面获取您的委托池地址.
- 运行
aptos init
设置您的投票者资料. - 执行命令
aptos move run --function-id 0x1::delegation_pool::delegate_voting_power --args address:<pool-address> address:<delegated-voter-address>
委托投票权. - 新的被委托投票者将在当前锁定周期结束后的下一个锁定周期生效.要查看被委托的投票者,运行
aptos move view --profile delegator --function-id 0x1::delegation_pool::calculate_and_update_delegator_voter --args address:<pool-address> address:<delegator-address>
.