Java源码示例:org.fisco.bcos.web3j.tx.TransactionManager
示例1
@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);
}
示例2
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);
}
示例3
@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);
}
示例4
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);
}
示例5
@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);
}
示例6
@Deprecated
protected Ok(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例7
public static RemoteCall<RingSigPrecompiled> deploy(
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return deployRemoteCall(
RingSigPrecompiled.class,
web3j,
transactionManager,
contractGasProvider,
BINARY,
"");
}
示例8
@Deprecated
public static Ok load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
return new Ok(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例9
public static Ok load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return new Ok(contractAddress, web3j, transactionManager, contractGasProvider);
}
示例10
@Deprecated
public static RemoteCall<Ok> deploy(
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
return deployRemoteCall(Ok.class, web3j, transactionManager, gasPrice, gasLimit, BINARY, "");
}
示例11
@Deprecated
protected RingSigPrecompiled(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例12
@Deprecated
public static TestGroupSig load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
return new TestGroupSig(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例13
@Deprecated
protected GroupSigPrecompiled(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例14
protected GroupSigPrecompiled(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
super(BINARY, contractAddress, web3j, transactionManager, contractGasProvider);
}
示例15
@Deprecated
public static GroupSigPrecompiled load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
return new GroupSigPrecompiled(
contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例16
public static GroupSigPrecompiled load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return new GroupSigPrecompiled(
contractAddress, web3j, transactionManager, contractGasProvider);
}
示例17
public static RemoteCall<GroupSigPrecompiled> deploy(
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return deployRemoteCall(
GroupSigPrecompiled.class,
web3j,
transactionManager,
contractGasProvider,
BINARY,
"");
}
示例18
@Deprecated
public static RemoteCall<GroupSigPrecompiled> deploy(
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
return deployRemoteCall(
GroupSigPrecompiled.class,
web3j,
transactionManager,
gasPrice,
gasLimit,
BINARY,
"");
}
示例19
@Deprecated
protected TestRingSig(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例20
public static RingSigPrecompiled load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return new RingSigPrecompiled(
contractAddress, web3j, transactionManager, contractGasProvider);
}
示例21
public static TestRingSig load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return new TestRingSig(contractAddress, web3j, transactionManager, contractGasProvider);
}
示例22
public static TestGroupSig load(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
return new TestGroupSig(contractAddress, web3j, transactionManager, contractGasProvider);
}
示例23
@Deprecated
protected TestGroupSig(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
BigInteger gasPrice,
BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例24
protected TestGroupSig(
String contractAddress,
Web3j web3j,
TransactionManager transactionManager,
ContractGasProvider contractGasProvider) {
super(BINARY, contractAddress, web3j, transactionManager, contractGasProvider);
}
示例25
@Deprecated
protected EvidenceSignersData(String contractAddress, Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) {
super(BINARY, contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例26
protected EvidenceSignersData(String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider) {
super(BINARY, contractAddress, web3j, transactionManager, contractGasProvider);
}
示例27
@Deprecated
public static EvidenceSignersData load(String contractAddress, Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) {
return new EvidenceSignersData(contractAddress, web3j, transactionManager, gasPrice, gasLimit);
}
示例28
public static EvidenceSignersData load(String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider) {
return new EvidenceSignersData(contractAddress, web3j, transactionManager, contractGasProvider);
}
示例29
public static RemoteCall<EvidenceSignersData> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider, List<String> evidenceSigners) {
String encodedConstructor = FunctionEncoder.encodeConstructor(Arrays.<Type>asList(evidenceSigners.isEmpty()?org.fisco.bcos.web3j.abi.datatypes.DynamicArray.empty("address[]"):new org.fisco.bcos.web3j.abi.datatypes.DynamicArray<org.fisco.bcos.web3j.abi.datatypes.Address>(
org.fisco.bcos.web3j.abi.Utils.typeMap(evidenceSigners, org.fisco.bcos.web3j.abi.datatypes.Address.class))));
return deployRemoteCall(EvidenceSignersData.class, web3j, transactionManager, contractGasProvider, BINARY, encodedConstructor);
}
示例30
@Deprecated
public static RemoteCall<EvidenceSignersData> deploy(Web3j web3j, TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, List<String> evidenceSigners) {
String encodedConstructor = FunctionEncoder.encodeConstructor(Arrays.<Type>asList(evidenceSigners.isEmpty()?org.fisco.bcos.web3j.abi.datatypes.DynamicArray.empty("address[]"):new org.fisco.bcos.web3j.abi.datatypes.DynamicArray<org.fisco.bcos.web3j.abi.datatypes.Address>(
org.fisco.bcos.web3j.abi.Utils.typeMap(evidenceSigners, org.fisco.bcos.web3j.abi.datatypes.Address.class))));
return deployRemoteCall(EvidenceSignersData.class, web3j, transactionManager, gasPrice, gasLimit, BINARY, encodedConstructor);
}