import { BaseCoreSDK } from "./../mixins/base-core-sdk";
import { getEventLogs, getConditionalCommitAuthorizedEventLogs } from "./subgraph";
export class EventLogsMixin extends BaseCoreSDK {
    /**
     * Returns event logs from subgraph.
     * @param queryVars - Optional query variables to skip, order or filter.
     * @returns Event log entities from subgraph.
     */
    async getEventLogs(queryVars) {
        return getEventLogs(this._subgraphUrl, queryVars);
    }
    /**
     * Returns conditionalCommitAuthorized event logs from subgraph.
     * @param queryVars - Optional query variables to skip, order or filter.
     * @returns ConditionalCommitAuthorized event log entities from subgraph.
     */
    async getConditionalCommitAuthorizedEventLogs(queryVars) {
        return getConditionalCommitAuthorizedEventLogs(this._subgraphUrl, queryVars);
    }
}
//# sourceMappingURL=mixin.js.map