首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何通过MyEtherWallet从简单的钱包合同发送ETH?

如何通过MyEtherWallet从简单的钱包合同发送ETH?
EN

Ethereum用户
提问于 2017-07-03 23:50:57
回答 1查看 1.3K关注 0票数 4

我用签了一份单钱包合同,并寄了一些ETH。当我在MyEtherWallet中加载密钥存储库时,我可以看到主帐户上的余额,但是,我看不到钱包合同上的余额。

如何查看钱包合同上的余额,并使用MyEtherWallet (而不是MyEtherWallet)从该合同中发送?

EN

回答 1

Ethereum用户

发布于 2017-11-12 01:10:32

入门

MyEtherWallet.com上的合同选项卡吧。

下拉式应该有一个Multisig合同ABI。如果没有,您可以手动使用此页面底部的ABI。

做的事情,

  1. 首先,在顶部的Contract Address字段中输入您的合同地址。
  2. 第二,你想执行。
    1. 从下拉列表中选择execute
    2. _to字段中输入要发送的地址。
    3. _value字段中输入要发送的金额。
    4. data字段保留为空。
    5. 建议您先用少量的测试!
    6. 解锁所有者地址并单击WRITE按钮。
    7. 会出现一个弹出。将Amount to Send改为0
    8. 单击Generate Transaction按钮&确认和发送。

  3. 单击与成功消息一起输出的事务ID。复印这个身份证。
  4. 如果是带有两个所有者的multisig,则需要刷新该页面并选择“确认”。
    1. 在步骤3中,您从EXECUTE调用中打开了TX。您应该有这样一个打开的页面:https://etherscan.io/tx/0x0c643a1ae66637217f24791df05071c7849941a1231cf9fa2a0daf145da833e3
    2. 单击Event Logs选项卡。
    3. 在上面的链接(https://etherscan.io/tx/0x47e4cc87...#eventlog -不是您的链接)上,_h字段将是9228aeaf3ed560274899483646ea4ce9b322bccffac60cac2d035d08752617f4
    4. 看看上面的链接,看看上面写着9228a....的地方。看看你的链接,看看你的_h是什么。复制它。
    5. 返回到MyEtherWallet,在那里可以打开确认,并将该散列粘贴到_h字段中。
    6. 再次单击"WRITE"按钮并解锁第二个所有者的帐户。
    7. 生成并发送事务。

  5. 确保一切按计划进行。
  6. 如果您的multisig是5个multisig中的3个,您将对每个所有者重复确认过程,直到它达到必要的批准为止。幸运的是,每个_h值都是相同的。
  7. 请参阅我前面的示例的另一个批准:https://etherscan.io/tx/0x47e4cc8748e296d9b5d85ebd9bd705177bb1940517b084a2efcca11feeb2391d#eventlog
  8. 然后,无论何时要发送ETH,您都可以重复此过程。

Mist / Ethereum‘s Multisig合同ABI

[{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"removeOwner","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"isOwner","outputs":[{"name":","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"m_numOwners","outputs":[{"name":","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"m_lastDay","outputs":[{"name":","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"resetSpentToday","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"m_spentToday","outputs":[{"name":","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"addOwner","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"m_required","outputs":[{"name":","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_h","type":"bytes32"}],"name":"confirm","outputs":[{"name":","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"_newLimit","type":"uint256"}],"name":"setDailyLimit","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"execute","outputs":[{"name":"_r","type":"bytes32"}],"type":"function"},{"constant":false,"inputs":[{"name":"_operation","type":"bytes32"}],"name":"revoke","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_newRequired","type":"uint256"}],"name":"changeRequirement","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"_operation","type":"bytes32"},{"name":"_owner","type":"address"}],"name":"hasConfirmed","outputs":[{"name":","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"kill","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"name":"changeOwner","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"m_dailyLimit","outputs":[{"name":","type":"uint256"}],"type":"function"},{"inputs":[{"name":"_owners","type":"address[]"},{"name":"_required","type":"uint256"},{"name":"_daylimit","type":"uint256"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"operation","type":"bytes32"}],"name":"Confirmation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"operation","type":"bytes32"}],"name":"Revoke","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"oldOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newOwner","type":"address"}],"name":"OwnerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"oldOwner","type":"address"}],"name":"OwnerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newRequirement","type":"uint256"}],"name":"RequirementChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"data","type":"bytes"}],"name":"SingleTransact","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"operation","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"data","type":"bytes"}],"name":"MultiTransact","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"operation","type":"bytes32"},{"indexed":false,"name":"initiator","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"data","type":"bytes"}],"name":"ConfirmationNeeded","type":"event"}]

您也可以从这里复制上面的内容:

https://www.reddit.com/r/ethereum/comments/5nev1a/help_所需的_多么_至_发现_多硅_合同_钱包/*

票数 1
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/19349

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档