public class AssembleTransactionWithRemoteSignProcessor extends AssembleTransactionProcessor implements AssembleTransactionWithRemoteSignProviderInterface
contractCodec, contractLoader, log, transactionDecoder, transactionPusherchainId, client, cryptoKeyPair, cryptoSuite, groupId, transactionEncoder| 构造器和说明 |
|---|
AssembleTransactionWithRemoteSignProcessor(Client client,
CryptoKeyPair cryptoKeyPair,
java.lang.String groupId,
java.lang.String chainId,
ContractLoader contractLoader,
RemoteSignProviderInterface transactionSignProvider) |
AssembleTransactionWithRemoteSignProcessor(Client client,
CryptoKeyPair cryptoKeyPair,
java.lang.String groupId,
java.lang.String chainId,
java.lang.String contractName,
RemoteSignProviderInterface transactionSignProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
TransactionResponse |
deployAndGetResponse(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
java.lang.String path)
deploy contract to fisco bcos node and get response.
|
void |
deployAsync(long transactionData,
RemoteSignCallbackInterface remoteSignCallbackInterface)
deploy contract to fisco bcos node asynchronously.
|
java.util.concurrent.CompletableFuture<TransactionReceipt> |
deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params)
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.
|
TransactionResponse |
deployByContractLoader(java.lang.String contractName,
java.util.List<java.lang.Object> args)
Deploy by bin and abi files.
|
void |
deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> args,
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.
|
TransactionResponse |
sendTransactionAndGetResponse(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 and get response.
|
TransactionResponse |
sendTransactionAndGetResponseByContractLoader(java.lang.String contractName,
java.lang.String contractAddress,
java.lang.String functionName,
java.util.List<java.lang.Object> funcParams)
send transaction to fisco bcos node and get transaction response by contract name.
|
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.
|
callAndGetResponse, callAndGetResponse, callAndGetResponseAsync, callWithSignAndGetResponse, createSignedConstructor, createSignedConstructor, createSignedConstructor, deployAndGetReceipt, deployAndGetReceipt, deployAndGetReceipt, deployAndGetResponse, deployAndGetResponse, deployAndGetResponse, deployAndGetResponseWithStringParams, deployAndGetResponseWithStringParams, deployAsync, deployAsync, deployAsync, deployAsync, deployAsync, deployByContractLoader, deployByContractLoaderAsync, deployByContractLoaderAsync, deployOnly, deployOnly, deployOnly, encodeFunction, getCallResponse, getContractLoader, getRawTransaction, getRawTransaction, getRawTransactionForConstructor, getRawTransactionForConstructor, sendCall, sendCall, sendCallAsync, sendCallAsync, sendCallByContractLoader, sendCallWithSign, sendCallWithSignWithStringParams, sendCallWithStringParams, sendCallWithStringParamsAsync, sendTransactionAndGetReceiptByContractLoader, sendTransactionAndGetReceiptByContractLoaderAsync, sendTransactionAndGetResponse, sendTransactionAndGetResponse, sendTransactionAsync, sendTransactionAsync, sendTransactionAsync, sendTransactionOnly, sendTransactionWithStringParamsAndGetResponseasyncExecuteCall, asyncExecuteCall, asyncExecuteCallWithSign, createDeploySignedTransaction, createDeploySignedTransaction, createSignedTransaction, createSignedTransaction, deployAndGetReceipt, deployAndGetReceipt, executeCall, executeCall, executeCallWithSign, executeCallWithSign, getCryptoKeyPair, sendTransactionAndGetReceipt, sendTransactionAndGetReceipt, sendTransactionAsync, sendTransactionAsync, setCryptoKeyPairpublic AssembleTransactionWithRemoteSignProcessor(Client client, CryptoKeyPair cryptoKeyPair, java.lang.String groupId, java.lang.String chainId, java.lang.String contractName, RemoteSignProviderInterface transactionSignProvider)
public AssembleTransactionWithRemoteSignProcessor(Client client, CryptoKeyPair cryptoKeyPair, java.lang.String groupId, java.lang.String chainId, ContractLoader contractLoader, RemoteSignProviderInterface transactionSignProvider)
public TransactionResponse deployAndGetResponse(java.lang.String abi, java.lang.String bin, java.util.List<java.lang.Object> params, java.lang.String path) throws ContractCodecException
AssembleTransactionProcessorInterfacedeployAndGetResponse 在接口中 AssembleTransactionProcessorInterfacedeployAndGetResponse 在类中 AssembleTransactionProcessorabi - contract abi, which could be obtained by compiling solidity contract.bin - contract binary, which could be obtained by compiling solidity contract.params - contract construct parameterspath - this param only enable in wasm, the BFS path, which the contract be deployed in
exactly pathContractCodecException - throw when encode deploy errorpublic void deployAsync(long transactionData,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws org.fisco.bcos.sdk.jni.common.JniException
deployAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacetransactionData - raw transaction dataremoteSignCallbackInterface - after signed, callback function hookorg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic void deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
org.fisco.bcos.sdk.jni.common.JniException
deployAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfaceabi - 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 errororg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic java.util.concurrent.CompletableFuture<TransactionReceipt> deployAsync(java.lang.String abi, java.lang.String bin, java.util.List<java.lang.Object> params) throws ContractCodecException, org.fisco.bcos.sdk.jni.common.JniException
AssembleTransactionProcessorInterfacedeployAsync 在接口中 AssembleTransactionProcessorInterfacedeployAsync 在类中 AssembleTransactionProcessorabi - contract abi, which could be obtained by compiling solidity contract.bin - contract binary, which could be obtained by compiling solidity contract.params - contract construct parametersContractCodecException - throw when encode deploy errororg.fisco.bcos.sdk.jni.common.JniException - throw when encode transaction errorpublic TransactionResponse deployByContractLoader(java.lang.String contractName, java.util.List<java.lang.Object> args) throws ContractCodecException, TransactionBaseException
AssembleTransactionProcessordeployByContractLoader 在接口中 AssembleTransactionProcessorInterfacedeployByContractLoader 在类中 AssembleTransactionProcessorcontractName - the contract nameargs - the params when deploy a contractContractCodecException - abi encode exceptionTransactionBaseException - send transaction exceptionNoSuchTransactionFileException - Files related to abi codec were not foundpublic void deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> args,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
NoSuchTransactionFileException,
org.fisco.bcos.sdk.jni.common.JniException
deployByContractLoaderAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacecontractName - contract function name.args - contract function parametersremoteSignCallbackInterface - after signed, callback function hookContractCodecException - throw when encode deploy errorNoSuchTransactionFileException - throw when loader can not get contractorg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic void 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,
org.fisco.bcos.sdk.jni.common.JniException
sendTransactionAndGetReceiptByContractLoaderAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacecontractName - target contract name.to - target contract address.functionName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookContractCodecException - throw when encode deploy errorTransactionBaseException - throw when loader get contract errororg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic TransactionResponse sendTransactionAndGetResponseByContractLoader(java.lang.String contractName, java.lang.String contractAddress, java.lang.String functionName, java.util.List<java.lang.Object> funcParams) throws ContractCodecException, TransactionBaseException
AssembleTransactionProcessorInterfacesendTransactionAndGetResponseByContractLoader 在接口中 AssembleTransactionProcessorInterfacesendTransactionAndGetResponseByContractLoader 在类中 AssembleTransactionProcessorcontractName - contract name.contractAddress - the target contract address.functionName - contract function name.funcParams - contract function parametersContractCodecException - throw when encode deploy errorTransactionBaseException - throw when loader get contract errorpublic void sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
org.fisco.bcos.sdk.jni.common.JniException
sendTransactionAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfaceto - 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 errororg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic TransactionResponse sendTransactionAndGetResponse(java.lang.String to, java.lang.String abi, java.lang.String functionName, java.util.List<java.lang.Object> params) throws ContractCodecException
AssembleTransactionProcessorInterfacesendTransactionAndGetResponse 在接口中 AssembleTransactionProcessorInterfacesendTransactionAndGetResponse 在类中 AssembleTransactionProcessorto - the target contract address.abi - contract abi, which could be obtained by compiling solidity contract.functionName - contract function name.params - contract construct parametersContractCodecException - throw when encode deploy errorpublic 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) throws ContractCodecException, org.fisco.bcos.sdk.jni.common.JniException
sendTransactionAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfaceto - 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 errororg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic TransactionReceipt encodeAndPush(long transactionData, java.lang.String signatureStr, int txAttribute) throws org.fisco.bcos.sdk.jni.common.JniException
encodeAndPush 在接口中 AssembleTransactionWithRemoteSignProviderInterfacetransactionData - raw transactionsignatureStr - signature string.txAttribute - transaction attribute, see more in TransactionAttributeorg.fisco.bcos.sdk.jni.common.JniException - throw when jni encode transaction errorpublic java.util.concurrent.CompletableFuture<TransactionReceipt> signAndPush(long transactionData, byte[] rawTxHash, int txAttribute)
signAndPush 在接口中 AssembleTransactionWithRemoteSignProviderInterfacetransactionData - raw transactionrawTxHash - signature byte array.txAttribute - transaction attribute, see more in TransactionAttribute