public class AssembleTransactionWithRemoteSignProcessor extends AssembleTransactionProcessor implements AssembleTransactionWithRemoteSignProviderInterface
abiCodec, contractLoader, log, transactionDecoder, transactionPusherchainId, client, cryptoKeyPair, cryptoSuite, groupId, transactionBuilder, 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)
deploy contract to fisco bcos node and get response.
|
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.
|
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> args,
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.
|
callAndGetResponse, createSignedConstructor, deployAndGetReceipt, deployAndGetResponse, deployAndGetResponseWithStringParams, deployAsync, deployByContractLoader, deployByContractLoaderAsync, deployOnly, encodeFunction, getContractLoader, getRawTransaction, getRawTransaction, getRawTransactionForConstructor, getRawTransactionForConstructor, sendCall, sendCall, sendCallByContractLoader, sendCallWithStringParams, sendTransactionAndGetReceiptByContractLoader, sendTransactionAndGetReceiptByContractLoaderAsync, sendTransactionAndGetResponse, sendTransactionAndGetResponse, sendTransactionAndGetResponseByContractLoader, sendTransactionAsync, sendTransactionAsync, sendTransactionAsync, sendTransactionOnly, sendTransactionWithStringParamsAndGetResponsecreateSignedTransaction, executeCall, executeCall, sendTransactionAndGetReceipt, sendTransactionAsyncpublic 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) throws ABICodecException
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 parametersABICodecExceptionpublic void deployAsync(TransactionData rawTransaction, RemoteSignCallbackInterface remoteSignCallbackInterface) throws ABICodecException
deployAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacerawTransaction - raw transactionremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionpublic void deployAsync(java.lang.String abi,
java.lang.String bin,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException
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 hookABICodecExceptionpublic java.util.concurrent.CompletableFuture<TransactionReceipt> deployAsync(java.lang.String abi, java.lang.String bin, java.util.List<java.lang.Object> params) throws ABICodecException
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 parametersABICodecExceptionpublic void deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> args,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException,
NoSuchTransactionFileException
deployByContractLoaderAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacecontractName - contract function name.args - contract function parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionNoSuchTransactionFileExceptionpublic void 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
sendTransactionAndGetReceiptByContractLoaderAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacecontractName - target contract name.to - target contract address.functionName - contract function name.params - contract function parametersremoteSignCallbackInterface - after signed, callback function hookABICodecExceptionTransactionBaseExceptionpublic void sendTransactionAsync(java.lang.String to,
java.lang.String abi,
java.lang.String functionName,
java.util.List<java.lang.Object> params,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ABICodecException
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 hookABICodecExceptionpublic 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 ABICodecException
sendTransactionAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfaceto - the target contract address.abi - contract abi, which could be obtained by compiling solidity contract.functionName - contract function name.params - contract function parametersABICodecExceptionpublic TransactionReceipt encodeAndPush(TransactionData rawTransaction, java.lang.String signatureStr, int txAttribute)
encodeAndPush 在接口中 AssembleTransactionWithRemoteSignProviderInterfacerawTransaction - raw transactionsignatureStr - signature string.public java.util.concurrent.CompletableFuture<TransactionReceipt> signAndPush(TransactionData rawTransaction, byte[] rawTxHash, int txAttribute)
signAndPush 在接口中 AssembleTransactionWithRemoteSignProviderInterfacerawTransaction - raw transactionrawTxHash - signature byte array.