public interface AssembleTransactionWithRemoteSignProviderInterface
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node asynchronously.
|
void |
deployAsync(TransactionData rawTransaction,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node asynchronously.
|
void |
deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node by contract name asynchronously.
|
TransactionReceipt |
encodeAndPush(TransactionData rawTransaction,
java.lang.String signatureStr,
int txAttribute)
sign based on raw transaction and send to fisco bcos node.
|
void |
sendTransactionAndGetReceiptByContractLoaderAsync(java.lang.String contractName,
java.lang.String to,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node by contract name asynchronously.
|
java.util.concurrent.CompletableFuture<TransactionReceipt> |
sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params)
send transaction to fisco bcos node by contract name asynchronously.
|
void |
sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
send transaction to fisco bcos node by contract name asynchronously.
|
java.util.concurrent.CompletableFuture<TransactionReceipt> |
signAndPush(TransactionData rawTransaction,
byte[] rawTxHash,
int txAttribute)
sign based on raw transaction and send to fisco bcos node.
|
void deployAsync(TransactionData rawTransaction, RemoteSignCallbackInterface remoteSignCallbackInterface) throws ABICodecException
rawTransaction - raw transactionremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionvoid deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException
abi - contract abi, which could be obtained by compiling solidity contract.bin - contract binary, which could be obtained by compiling solidity contract.params - contract construct parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionvoid deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException,
NoSuchTransactionFileException
contractName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionNoSuchTransactionFileExceptionvoid sendTransactionAndGetReceiptByContractLoaderAsync(java.lang.String contractName,
java.lang.String to,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException,
TransactionBaseException
contractName - target contract name.to - target contract address.functionName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionTransactionBaseExceptionvoid sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException
to - the target contract address.abi - contract abi, which could be obtained by compiling solidity contract.functionName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionjava.util.concurrent.CompletableFuture<TransactionReceipt> sendTransactionAsync(java.lang.String to, java.lang.String abi, java.lang.String functionName, java.util.List<java.lang.Object> params) throws ABICodecException
to - the target contract address.abi - contract abi, which could be obtained by compiling solidity contract.functionName - contract function name.params - contract function parametersABICodecExceptionTransactionReceipt encodeAndPush(TransactionData rawTransaction, java.lang.String signatureStr, int txAttribute)
rawTransaction - raw transactionsignatureStr - signature string.java.util.concurrent.CompletableFuture<TransactionReceipt> signAndPush(TransactionData rawTransaction, byte[] rawTxHash, int txAttribute)
rawTransaction - raw transactionrawTxHash - signature byte array.