org.fisco.bcos.web3j.tx.TransactionManager Java Examples

The following examples show how to use org.fisco.bcos.web3j.tx.TransactionManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TestRingSig.java    From group-signature-client with GNU General Public License v3.0 6 votes vote down vote up
@Deprecated
public static RemoteCall<TestRingSig> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit,
        String _sig,
        String _message,
        String _param_info) {
    String encodedConstructor =
            FunctionEncoder.encodeConstructor(
                    Arrays.<Type>asList(
                            new Utf8String(_sig),
                            new Utf8String(_message),
                            new Utf8String(_param_info)));
    return deployRemoteCall(
            TestRingSig.class,
            web3j,
            transactionManager,
            gasPrice,
            gasLimit,
            BINARY,
            encodedConstructor);
}
 
Example #2
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 6 votes vote down vote up
public static RemoteCall<TestGroupSig> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider,
        String _sig,
        String _message,
        String _gpk_info,
        String _pbc_param_info) {
    String encodedConstructor =
            FunctionEncoder.encodeConstructor(
                    Arrays.<Type>asList(
                            new Utf8String(_sig),
                            new Utf8String(_message),
                            new Utf8String(_gpk_info),
                            new Utf8String(_pbc_param_info)));
    return deployRemoteCall(
            TestGroupSig.class,
            web3j,
            transactionManager,
            contractGasProvider,
            BINARY,
            encodedConstructor);
}
 
Example #3
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 6 votes vote down vote up
@Deprecated
public static RemoteCall<TestGroupSig> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit,
        String _sig,
        String _message,
        String _gpk_info,
        String _pbc_param_info) {
    String encodedConstructor =
            FunctionEncoder.encodeConstructor(
                    Arrays.<Type>asList(
                            new Utf8String(_sig),
                            new Utf8String(_message),
                            new Utf8String(_gpk_info),
                            new Utf8String(_pbc_param_info)));
    return deployRemoteCall(
            TestGroupSig.class,
            web3j,
            transactionManager,
            gasPrice,
            gasLimit,
            BINARY,
            encodedConstructor);
}
 
Example #4
Source File: RingSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
protected RingSigPrecompiled(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #5
Source File: TestRingSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static TestRingSig load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return new TestRingSig(contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #6
Source File: RingSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static RingSigPrecompiled load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return new RingSigPrecompiled(
            contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #7
Source File: TestRingSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
protected TestRingSig(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #8
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
public static RemoteCall<GroupSigPrecompiled> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    return deployRemoteCall(
            GroupSigPrecompiled.class,
            web3j,
            transactionManager,
            gasPrice,
            gasLimit,
            BINARY,
            "");
}
 
Example #9
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static RemoteCall<GroupSigPrecompiled> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return deployRemoteCall(
            GroupSigPrecompiled.class,
            web3j,
            transactionManager,
            contractGasProvider,
            BINARY,
            "");
}
 
Example #10
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static TestGroupSig load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return new TestGroupSig(contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #11
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
protected TestGroupSig(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #12
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static GroupSigPrecompiled load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return new GroupSigPrecompiled(
            contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #13
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
public static GroupSigPrecompiled load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    return new GroupSigPrecompiled(
            contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #14
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
protected GroupSigPrecompiled(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    super(BINARY, contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #15
Source File: GroupSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
protected GroupSigPrecompiled(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #16
Source File: Evidence.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
public static RemoteCall<Evidence> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider, String evi, String info, String id, BigInteger v, byte[] r, byte[] s, String addr, String sender) {
    String encodedConstructor = FunctionEncoder.encodeConstructor(Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Utf8String(evi), 
            new org.fisco.bcos.web3j.abi.datatypes.Utf8String(info), 
            new org.fisco.bcos.web3j.abi.datatypes.Utf8String(id), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Uint8(v), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Bytes32(r), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Bytes32(s), 
            new org.fisco.bcos.web3j.abi.datatypes.Address(addr), 
            new org.fisco.bcos.web3j.abi.datatypes.Address(sender)));
    return deployRemoteCall(Evidence.class, web3j, transactionManager, contractGasProvider, BINARY, encodedConstructor);
}
 
Example #17
Source File: Evidence.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
@Deprecated
public static RemoteCall<Evidence> deploy(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, String evi, String info, String id, BigInteger v, byte[] r, byte[] s, String addr, String sender) {
    String encodedConstructor = FunctionEncoder.encodeConstructor(Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Utf8String(evi), 
            new org.fisco.bcos.web3j.abi.datatypes.Utf8String(info), 
            new org.fisco.bcos.web3j.abi.datatypes.Utf8String(id), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Uint8(v), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Bytes32(r), 
            new org.fisco.bcos.web3j.abi.datatypes.generated.Bytes32(s), 
            new org.fisco.bcos.web3j.abi.datatypes.Address(addr), 
            new org.fisco.bcos.web3j.abi.datatypes.Address(sender)));
    return deployRemoteCall(Evidence.class, web3j, transactionManager, gasPrice, gasLimit, BINARY, encodedConstructor);
}
 
Example #18
Source File: Ok.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
@Deprecated
protected Ok(
    String contractAddress,
    Web3j web3j,
    TransactionManager transactionManager,
    BigInteger gasPrice,
    BigInteger gasLimit) {
  super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #19
Source File: RingSigPrecompiled.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
public static RemoteCall<RingSigPrecompiled> deploy(
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    return deployRemoteCall(
            RingSigPrecompiled.class,
            web3j,
            transactionManager,
            contractGasProvider,
            BINARY,
            "");
}
 
Example #20
Source File: Ok.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
@Deprecated
public static Ok load(
    String contractAddress,
    Web3j web3j,
    TransactionManager transactionManager,
    BigInteger gasPrice,
    BigInteger gasLimit) {
  return new Ok(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #21
Source File: Ok.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
public static Ok load(
    String contractAddress,
    Web3j web3j,
    TransactionManager transactionManager,
    ContractGasProvider contractGasProvider) {
  return new Ok(contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #22
Source File: Ok.java    From WeBASE-Front with Apache License 2.0 5 votes vote down vote up
@Deprecated
public static RemoteCall<Ok> deploy(
    Web3j web3j,
    TransactionManager transactionManager,
    BigInteger gasPrice,
    BigInteger gasLimit) {
  return deployRemoteCall(Ok.class, web3j, transactionManager, gasPrice, gasLimit, BINARY, "");
}
 
Example #23
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
@Deprecated
public static TestGroupSig load(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        BigInteger gasPrice,
        BigInteger gasLimit) {
    return new TestGroupSig(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #24
Source File: TestGroupSig.java    From group-signature-client with GNU General Public License v3.0 5 votes vote down vote up
protected TestGroupSig(
        String contractAddress,
        Web3j web3j,
        TransactionManager transactionManager,
        ContractGasProvider contractGasProvider) {
    super(BINARY, contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #25
Source File: HelloWorld.java    From WeBASE-Codegen-Monkey with Apache License 2.0 4 votes vote down vote up
@Deprecated
public static RemoteCall<HelloWorld> deploy(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) {
    return deployRemoteCall(HelloWorld.class, web3j, transactionManager, gasPrice, gasLimit, BINARY, "");
}
 
Example #26
Source File: HelloWorld.java    From WeBASE-Codegen-Monkey with Apache License 2.0 4 votes vote down vote up
public static RemoteCall<HelloWorld> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider) {
    return deployRemoteCall(HelloWorld.class, web3j, transactionManager, contractGasProvider, BINARY, "");
}
 
Example #27
Source File: Topic.java    From WeEvent with Apache License 2.0 4 votes vote down vote up
@Deprecated
public static Topic load(String contractAddress, Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) {
    return new Topic(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
 
Example #28
Source File: HelloWorld.java    From WeBASE-Codegen-Monkey with Apache License 2.0 4 votes vote down vote up
public static HelloWorld load(String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider) {
    return new HelloWorld(contractAddress, web3j, transactionManager, contractGasProvider);
}
 
Example #29
Source File: Topic.java    From WeEvent with Apache License 2.0 4 votes vote down vote up
public static RemoteCall<Topic> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider) {
    return deployRemoteCall(Topic.class, web3j, transactionManager, contractGasProvider, getBinary(), "");
}
 
Example #30
Source File: TopicController.java    From WeEvent with Apache License 2.0 4 votes vote down vote up
public static RemoteCall<TopicController> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider, String topicAddress) {
    String encodedConstructor = FunctionEncoder.encodeConstructor(Arrays.<Type>asList(new org.fisco.bcos.web3j.abi.datatypes.Address(topicAddress)));
    return deployRemoteCall(TopicController.class, web3j, transactionManager, contractGasProvider, getBinary(), encodedConstructor);
}