Java Code Examples for org.fisco.bcos.web3j.protocol.core.methods.request.BcosFilter#addSingleTopic()

The following examples show how to use org.fisco.bcos.web3j.protocol.core.methods.request.BcosFilter#addSingleTopic() . 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: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<RemoveResultEventResponse> removeResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(REMOVERESULT_EVENT));
    return removeResultEventFlowable(filter);
}
 
Example 2
Source File: NewSolTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<ApprovalEventResponse> approvalEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(APPROVAL_EVENT));
    return approvalEventFlowable(filter);
}
 
Example 3
Source File: NewSolTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<OwnershipTransferredEventResponse> ownershipTransferredEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(OWNERSHIPTRANSFERRED_EVENT));
    return ownershipTransferredEventFlowable(filter);
}
 
Example 4
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<UpdateResultEventResponse> updateResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(UPDATERESULT_EVENT));
    return updateResultEventFlowable(filter);
}
 
Example 5
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<UpdateResultEventResponse> updateResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(UPDATERESULT_EVENT));
    return updateResultEventFlowable(filter);
}
 
Example 6
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<InsertResultEventResponse> insertResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(INSERTRESULT_EVENT));
    return insertResultEventFlowable(filter);
}
 
Example 7
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<RemoveResultEventResponse> removeResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(REMOVERESULT_EVENT));
    return removeResultEventFlowable(filter);
}
 
Example 8
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<CreateResultEventResponse> createResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(CREATERESULT_EVENT));
    return createResultEventFlowable(filter);
}
 
Example 9
Source File: OkD.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<InsertResultEventResponse> insertResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(INSERTRESULT_EVENT));
    return insertResultEventFlowable(filter);
}
 
Example 10
Source File: Evidence.java    From evidenceSample with Apache License 2.0 4 votes vote down vote up
public Flowable<ErrorRepeatSignaturesEventEventResponse> errorRepeatSignaturesEventEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(ERRORREPEATSIGNATURESEVENT_EVENT));
    return errorRepeatSignaturesEventEventFlowable(filter);
}
 
Example 11
Source File: Ok.java    From WeBASE-Front with Apache License 2.0 4 votes vote down vote up
public Flowable<TransEventEventResponse> transEventEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
  BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
  filter.addSingleTopic(EventEncoder.encode(TRANSEVENT_EVENT));
  return transEventEventFlowable(filter);
}
 
Example 12
Source File: Evidence.java    From evidenceSample with Apache License 2.0 4 votes vote down vote up
public Flowable<ErrorNewSignaturesEventEventResponse> errorNewSignaturesEventEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(ERRORNEWSIGNATURESEVENT_EVENT));
    return errorNewSignaturesEventEventFlowable(filter);
}
 
Example 13
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<InsertResultEventResponse> insertResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(INSERTRESULT_EVENT));
    return insertResultEventFlowable(filter);
}
 
Example 14
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<SelectResultEventResponse> selectResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(SELECTRESULT_EVENT));
    return selectResultEventFlowable(filter);
}
 
Example 15
Source File: TableTest.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<CreateResultEventResponse> createResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(CREATERESULT_EVENT));
    return createResultEventFlowable(filter);
}
 
Example 16
Source File: MixContract.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<ReadResultEventResponse> readResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(READRESULT_EVENT));
    return readResultEventFlowable(filter);
}
 
Example 17
Source File: MixContract.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<RemoveResultEventResponse> removeResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(REMOVERESULT_EVENT));
    return removeResultEventFlowable(filter);
}
 
Example 18
Source File: Evidence.java    From evidenceSample with Apache License 2.0 4 votes vote down vote up
public Flowable<ErrorAddSignaturesEventEventResponse> errorAddSignaturesEventEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(ERRORADDSIGNATURESEVENT_EVENT));
    return errorAddSignaturesEventEventFlowable(filter);
}
 
Example 19
Source File: MixContract.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<InsertResultEventResponse> insertResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(INSERTRESULT_EVENT));
    return insertResultEventFlowable(filter);
}
 
Example 20
Source File: MixContract.java    From web3sdk with Apache License 2.0 4 votes vote down vote up
public Flowable<CreateResultEventResponse> createResultEventFlowable(
        DefaultBlockParameter startBlock, DefaultBlockParameter endBlock) {
    BcosFilter filter = new BcosFilter(startBlock, endBlock, getContractAddress());
    filter.addSingleTopic(EventEncoder.encode(CREATERESULT_EVENT));
    return createResultEventFlowable(filter);
}