public class Proposal extends Object
| 构造器和说明 |
|---|
Proposal() |
| 限定符和类型 | 方法和说明 |
|---|---|
Proposal |
addAuthRequire(String name) |
Transaction |
build(XuperClient client) |
Proposal |
invokeContract(String module,
String contract,
String method,
Map<String,byte[]> args) |
Transaction |
preExec(XuperClient client) |
Proposal |
setChainName(String name) |
Proposal |
setDesc(String desc) |
Proposal |
setFee(String fee) |
Proposal |
setInitiator(Account initiator) |
Proposal |
transfer(String to,
BigInteger amount) |
public Proposal addAuthRequire(String name)
name - Must be Account.getAuthrequireIdpublic Proposal transfer(String to, BigInteger amount)
public Proposal invokeContract(String module, String contract, String method, Map<String,byte[]> args)
public Transaction preExec(XuperClient client)
public Transaction build(XuperClient client)
Copyright © 2020. All rights reserved.