org.fisco.bcos.web3j.tuples.generated.Tuple1 Java Examples
The following examples show how to use
org.fisco.bcos.web3j.tuples.generated.Tuple1.
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: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getFreezeAccountInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_FREEZEACCOUNT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #2
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getGrantCommitteeMemberInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_GRANTCOMMITTEEMEMBER, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #3
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getGrantCommitteeMemberOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_GRANTCOMMITTEEMEMBER, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #4
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getUnfreezeAccountInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_UNFREEZEACCOUNT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #5
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getUnfreezeAccountOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_UNFREEZEACCOUNT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #6
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getUpdateThresholdInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_UPDATETHRESHOLD, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #7
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getUpdateThresholdOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_UPDATETHRESHOLD, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #8
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getRevokeCommitteeMemberInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_REVOKECOMMITTEEMEMBER, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #9
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getRevokeCommitteeMemberOutput( TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_REVOKECOMMITTEEMEMBER, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #10
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getGrantOperatorInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_GRANTOPERATOR, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #11
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getGrantOperatorOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_GRANTOPERATOR, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #12
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getUpdateCommitteeMemberWeightOutput( TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_UPDATECOMMITTEEMEMBERWEIGHT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #13
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getFreezeAccountOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_FREEZEACCOUNT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #14
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getRevokeOperatorInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function( FUNC_REVOKEOPERATOR, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #15
Source File: ChainGovernance.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getRevokeOperatorOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_REVOKEOPERATOR, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #16
Source File: Permission.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getInsertOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_INSERT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #17
Source File: Permission.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getRemoveOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_REMOVE, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #18
Source File: Permission.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getGrantWriteOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_GRANTWRITE, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #19
Source File: Permission.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getRevokeWriteOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_REVOKEWRITE, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Int256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<BigInteger>((BigInteger) results.get(0).getValue()); }
Example #20
Source File: Ok.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getTransInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function(FUNC_TRANS, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Uint256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<BigInteger>( (BigInteger) results.get(0).getValue() ); }
Example #21
Source File: EvidenceVerify.java From web3sdk with Apache License 2.0 | 5 votes |
public Tuple1<String> getInsertEvidenceOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function( FUNC_INSERTEVIDENCE, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Address>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters()); ; return new Tuple1<String>((String) results.get(0).getValue()); }
Example #22
Source File: Topic.java From WeEvent with Apache License 2.0 | 5 votes |
public Tuple1<Boolean> getAddTopicACLOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function(FUNC_ADDTOPICACL, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Bool>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<Boolean>( (Boolean) results.get(0).getValue() ); }
Example #23
Source File: Ok.java From WeBASE-Front with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getTransInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function(FUNC_TRANS, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Uint256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<BigInteger>( (BigInteger) results.get(0).getValue() ); }
Example #24
Source File: Evidence.java From WeBASE-Front with Apache License 2.0 | 5 votes |
public Tuple1<Boolean> getAddSignaturesOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function(FUNC_ADDSIGNATURES, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Bool>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<Boolean>( (Boolean) results.get(0).getValue() ); }
Example #25
Source File: HelloWorld.java From WeBASE-Front with Apache License 2.0 | 5 votes |
public Tuple1<List<BigInteger>> getSetInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function(FUNC_SET, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<DynamicArray<Uint256>>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<List<BigInteger>>( convertToNative((List<Uint256>) results.get(0).getValue()) ); }
Example #26
Source File: HelloWorldGM.java From WeBASE-Front with Apache License 2.0 | 5 votes |
public Tuple1<String> getSetInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function(FUNC_SET, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Utf8String>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<String>( (String) results.get(0).getValue() ); }
Example #27
Source File: TopicController.java From WeEvent with Apache License 2.0 | 5 votes |
public Tuple1<String> getAddTopicInfoInput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getInput().substring(10); final Function function = new Function(FUNC_ADDTOPICINFO, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Utf8String>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<String>( (String) results.get(0).getValue() ); }
Example #28
Source File: TopicController.java From WeEvent with Apache License 2.0 | 5 votes |
public Tuple1<Boolean> getAddTopicInfoOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function(FUNC_ADDTOPICINFO, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Bool>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<Boolean>( (Boolean) results.get(0).getValue() ); }
Example #29
Source File: Topic.java From WeEvent with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getAddOperatorOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function(FUNC_ADDOPERATOR, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Uint256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<BigInteger>( (BigInteger) results.get(0).getValue() ); }
Example #30
Source File: Topic.java From WeEvent with Apache License 2.0 | 5 votes |
public Tuple1<BigInteger> getPublishWeEventOutput(TransactionReceipt transactionReceipt) { String data = transactionReceipt.getOutput(); final Function function = new Function(FUNC_PUBLISHWEEVENT, Arrays.<Type>asList(), Arrays.<TypeReference<?>>asList(new TypeReference<Uint256>() {})); List<Type> results = FunctionReturnDecoder.decode(data, function.getOutputParameters());; return new Tuple1<BigInteger>( (BigInteger) results.get(0).getValue() ); }