public interface AssembleTransactionWithRemoteSignProviderInterface
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deployAsync(long transactionData,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node asynchronously.
|
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 |
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(long transactionData,
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(long transactionData,
byte[] rawTxHash,
int txAttribute)
sign based on raw transaction and send to fisco bcos node.
|
void deployAsync(long transactionData,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
io.github.alleriawindrunner.sdk.jni.common.JniException
transactionData - raw transaction dataremoteSignCallbackInterface - after signed, callback function hookContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorvoid deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
io.github.alleriawindrunner.sdk.jni.common.JniException
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 hookContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorvoid deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
NoSuchTransactionFileException,
io.github.alleriawindrunner.sdk.jni.common.JniException
contractName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorNoSuchTransactionFileException - throw when loader can not get contractvoid sendTransactionAndGetReceiptByContractLoaderAsync(java.lang.String contractName,
java.lang.String to,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
TransactionBaseException,
io.github.alleriawindrunner.sdk.jni.common.JniException
contractName - target contract name.to - target contract address.functionName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorTransactionBaseException - throw when loader get contract errorvoid sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
io.github.alleriawindrunner.sdk.jni.common.JniException
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 hookContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorjava.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 ContractCodecException, io.github.alleriawindrunner.sdk.jni.common.JniException
to - the target contract address.abi - contract abi, which could be obtained by compiling solidity contract.functionName - contract function name.params - contract function parametersContractCodecException - throw when encode deploy errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorTransactionReceipt encodeAndPush(long transactionData, java.lang.String signatureStr, int txAttribute) throws io.github.alleriawindrunner.sdk.jni.common.JniException
transactionData - raw transactionsignatureStr - signature string.txAttribute - transaction attribute, see more in TransactionAttributeio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorjava.util.concurrent.CompletableFuture<TransactionReceipt> signAndPush(long transactionData, byte[] rawTxHash, int txAttribute)
transactionData - raw transactionrawTxHash - signature byte array.txAttribute - transaction attribute, see more in TransactionAttribute