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.
|
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.
|
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, createSignedConstructor, createSignedConstructor, deployAndGetReceipt, deployAndGetReceipt, deployAndGetReceipt, deployAndGetResponse, deployAndGetResponse, deployAndGetResponse, deployAndGetResponseWithStringParams, deployAndGetResponseWithStringParams, deployAsync, deployAsync, deployAsync, deployAsync, deployAsync, deployByContractLoader, deployByContractLoaderAsync, deployOnly, deployOnly, deployOnly, encodeFunction, getContractLoader, getRawTransaction, getRawTransaction, getRawTransactionForConstructor, getRawTransactionForConstructor, sendCall, sendCall, sendCallAsync, sendCallAsync, sendCallByContractLoader, sendCallWithStringParams, sendCallWithStringParamsAsync, sendTransactionAndGetReceiptByContractLoader, sendTransactionAndGetReceiptByContractLoaderAsync, sendTransactionAndGetResponse, sendTransactionAndGetResponse, sendTransactionAndGetResponse, sendTransactionAndGetResponseByContractLoader, sendTransactionAsync, sendTransactionAsync, sendTransactionAsync, sendTransactionOnly, sendTransactionWithStringParamsAndGetResponseasyncExecuteCall, asyncExecuteCall, createDeploySignedTransaction, createDeploySignedTransaction, createSignedTransaction, createSignedTransaction, deployAndGetReceipt, deployAndGetReceipt, executeCall, executeCall, 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 io.github.alleriawindrunner.sdk.jni.common.JniException
deployAsync 在接口中 AssembleTransactionWithRemoteSignProviderInterfacetransactionData - raw transaction dataremoteSignCallbackInterface - after signed, callback function hookio.github.alleriawindrunner.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,
io.github.alleriawindrunner.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 errorio.github.alleriawindrunner.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, io.github.alleriawindrunner.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 errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when encode transaction errorpublic void deployByContractLoaderAsync(java.lang.String contractName,
java.util.List<java.lang.Object> args,
RemoteSignCallbackInterface remoteSignCallbackInterface)
throws ContractCodecException,
NoSuchTransactionFileException,
io.github.alleriawindrunner.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 contractio.github.alleriawindrunner.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,
io.github.alleriawindrunner.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 errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction 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,
io.github.alleriawindrunner.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 errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction 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, io.github.alleriawindrunner.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 errorio.github.alleriawindrunner.sdk.jni.common.JniException - throw when jni encode transaction errorpublic TransactionReceipt encodeAndPush(long transactionData, java.lang.String signatureStr, int txAttribute) throws io.github.alleriawindrunner.sdk.jni.common.JniException
encodeAndPush 在接口中 AssembleTransactionWithRemoteSignProviderInterfacetransactionData - raw transactionsignatureStr - signature string.txAttribute - transaction attribute, see more in TransactionAttributeio.github.alleriawindrunner.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