public class Governance extends Object
| 构造器和说明 |
|---|
Governance(OntSdk sdk) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
commitDpos(Account account,
String sideChainData,
Account payer,
long gaslimit,
long gasprice) |
Configuration |
getConfiguration() |
GlobalParam |
getGlobalParam() |
GovernanceView |
getGovernanceView() |
Map |
getPeerPoolMap() |
String |
getSideChainId() |
SplitCurve |
getSplitCurve() |
String |
inputConfig(Account account,
Configuration configuration,
Account payer,
long gaslimit,
long gasprice) |
String |
inputGlobalParam(Account account,
GlobalParam param,
Account payer,
long gaslimit,
long gasprice) |
String |
inputGovernanceView(Account account,
GovernanceView view,
Account payer,
long gaslimit,
long gasprice) |
String |
inputPeerPoolMap(Account account,
InputPeerPoolMapParam peerPoolMap,
Account payer,
long gaslimit,
long gasprice) |
String |
inputSplitCurve(Account account,
SplitCurve splitCurve,
Account payer,
long gaslimit,
long gasprice) |
public Governance(OntSdk sdk)
public String getSideChainId() throws ConnectorException, IOException, SDKException
public GovernanceView getGovernanceView() throws SDKException, ConnectorException, IOException, SDKException
public Map getPeerPoolMap() throws ConnectorException, IOException, SDKException
public SplitCurve getSplitCurve() throws ConnectorException, IOException, SDKException, SDKException
public Configuration getConfiguration() throws ConnectorException, IOException, SDKException
public GlobalParam getGlobalParam() throws ConnectorException, IOException, SDKException
public String commitDpos(Account account, String sideChainData, Account payer, long gaslimit, long gasprice) throws Exception
Exceptionpublic String inputPeerPoolMap(Account account, InputPeerPoolMapParam peerPoolMap, Account payer, long gaslimit, long gasprice) throws Exception
account - peerPoolMap - payer - gaslimit - gasprice - Exceptionpublic String inputConfig(Account account, Configuration configuration, Account payer, long gaslimit, long gasprice) throws Exception
Exceptionpublic String inputGlobalParam(Account account, GlobalParam param, Account payer, long gaslimit, long gasprice) throws Exception
Exceptionpublic String inputSplitCurve(Account account, SplitCurve splitCurve, Account payer, long gaslimit, long gasprice) throws Exception
ExceptionCopyright © 2022. All rights reserved.