@superfluid-finance/sdk-core 0.2.1 → 0.2.2-dev.04f99df.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +740 -139
- package/dist/main/BatchCall.js +5 -5
- package/dist/main/BatchCall.js.map +1 -1
- package/dist/main/ConstantFlowAgreementV1.js +4 -4
- package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/main/Framework.js +7 -7
- package/dist/main/Framework.js.map +1 -1
- package/dist/main/InstantDistributionAgreementV1.js +3 -3
- package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/main/Operation.js +4 -7
- package/dist/main/Operation.js.map +1 -1
- package/dist/main/Query.d.ts +2 -1
- package/dist/main/Query.d.ts.map +1 -1
- package/dist/main/Query.js +14 -15
- package/dist/main/Query.js.map +1 -1
- package/dist/main/SFError.d.ts +2 -2
- package/dist/main/SFError.d.ts.map +1 -1
- package/dist/main/SFError.js +2 -1
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/SuperToken.js +4 -4
- package/dist/main/SuperToken.js.map +1 -1
- package/dist/main/Token.js +6 -6
- package/dist/main/Token.js.map +1 -1
- package/dist/main/frameworkHelpers.js +7 -10
- package/dist/main/frameworkHelpers.js.map +1 -1
- package/dist/main/index.d.ts +17 -5
- package/dist/main/index.d.ts.map +1 -1
- package/dist/main/index.js +18 -3
- package/dist/main/index.js.map +1 -1
- package/dist/main/mapGetAllEventsQueryEvents.d.ts +2 -2
- package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/main/mapGetAllEventsQueryEvents.js +38 -39
- package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/main/ordering.d.ts +1 -4
- package/dist/main/ordering.d.ts.map +1 -1
- package/dist/main/subgraph/SubgraphClient.js +3 -6
- package/dist/main/subgraph/SubgraphClient.js.map +1 -1
- package/dist/main/subgraph/entities/account/account.d.ts +29 -0
- package/dist/main/subgraph/entities/account/account.d.ts.map +1 -0
- package/dist/main/subgraph/entities/account/account.js +28 -0
- package/dist/main/subgraph/entities/account/account.js.map +1 -0
- package/dist/main/subgraph/entities/account/accounts.generated.d.ts +27 -0
- package/dist/main/subgraph/entities/account/accounts.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/account/accounts.generated.js +5 -0
- package/dist/main/subgraph/entities/account/accounts.generated.js.map +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +38 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +28 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +40 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +5 -0
- package/dist/main/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -0
- package/dist/main/subgraph/entities/index/index.d.ts +38 -0
- package/dist/main/subgraph/entities/index/index.d.ts.map +1 -0
- package/dist/main/subgraph/entities/index/index.js +31 -0
- package/dist/main/subgraph/entities/index/index.js.map +1 -0
- package/dist/main/subgraph/entities/index/indexes.generated.d.ts +42 -0
- package/dist/main/subgraph/entities/index/indexes.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/index/indexes.generated.js +5 -0
- package/dist/main/subgraph/entities/index/indexes.generated.js.map +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts +36 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js +32 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +42 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +5 -0
- package/dist/main/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -0
- package/dist/main/subgraph/entities/stream/stream.d.ts +33 -0
- package/dist/main/subgraph/entities/stream/stream.d.ts.map +1 -0
- package/dist/main/subgraph/entities/stream/stream.js +31 -0
- package/dist/main/subgraph/entities/stream/stream.js.map +1 -0
- package/dist/main/subgraph/entities/stream/streams.generated.d.ts +37 -0
- package/dist/main/subgraph/entities/stream/streams.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/stream/streams.generated.js +5 -0
- package/dist/main/subgraph/entities/stream/streams.generated.js.map +1 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriod.d.ts +36 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriod.d.ts.map +1 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriod.js +37 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriod.js.map +1 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriods.generated.d.ts +46 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriods.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriods.generated.js +5 -0
- package/dist/main/subgraph/entities/streamPeriod/streamPeriods.generated.js.map +1 -0
- package/dist/main/subgraph/entities/token/token.d.ts +32 -0
- package/dist/main/subgraph/entities/token/token.d.ts.map +1 -0
- package/dist/main/subgraph/entities/token/token.js +26 -0
- package/dist/main/subgraph/entities/token/token.js.map +1 -0
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts +30 -0
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/token/tokens.generated.js +5 -0
- package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistic.d.ts +37 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistic.d.ts.map +1 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistic.js +26 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistic.js.map +1 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistics.generated.d.ts +35 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistics.generated.d.ts.map +1 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistics.generated.js +5 -0
- package/dist/main/subgraph/entities/tokenStatistic/tokenStatistics.generated.js.map +1 -0
- package/dist/main/subgraph/events/events.d.ts +21 -0
- package/dist/main/subgraph/events/events.d.ts.map +1 -0
- package/dist/main/subgraph/events/events.generated.d.ts +1385 -0
- package/dist/main/subgraph/events/events.generated.d.ts.map +1 -0
- package/dist/main/subgraph/events/events.generated.js +40 -0
- package/dist/main/subgraph/events/events.generated.js.map +1 -0
- package/dist/main/subgraph/events/events.js +27 -0
- package/dist/main/subgraph/events/events.js.map +1 -0
- package/dist/main/subgraph/events/flowUpdatedEvent.d.ts +21 -0
- package/dist/main/subgraph/events/flowUpdatedEvent.d.ts.map +1 -0
- package/dist/main/subgraph/events/flowUpdatedEvent.js +27 -0
- package/dist/main/subgraph/events/flowUpdatedEvent.js.map +1 -0
- package/dist/main/subgraph/events/indexUpdatedEvent.d.ts +21 -0
- package/dist/main/subgraph/events/indexUpdatedEvent.d.ts.map +1 -0
- package/dist/main/subgraph/events/indexUpdatedEvent.js +27 -0
- package/dist/main/subgraph/events/indexUpdatedEvent.js.map +1 -0
- package/dist/main/subgraph/events/subscriptionUnitsUpdatedEvents.d.ts +21 -0
- package/dist/main/subgraph/events/subscriptionUnitsUpdatedEvents.d.ts.map +1 -0
- package/dist/main/subgraph/events/subscriptionUnitsUpdatedEvents.js +27 -0
- package/dist/main/subgraph/events/subscriptionUnitsUpdatedEvents.js.map +1 -0
- package/dist/main/subgraph/mappedSubgraphTypes.d.ts +6 -0
- package/dist/main/subgraph/mappedSubgraphTypes.d.ts.map +1 -0
- package/dist/main/subgraph/mappedSubgraphTypes.js +4 -0
- package/dist/main/subgraph/mappedSubgraphTypes.js.map +1 -0
- package/dist/main/subgraph/normalizeSubgraphFilter.d.ts +6 -0
- package/dist/main/subgraph/normalizeSubgraphFilter.d.ts.map +1 -0
- package/dist/main/subgraph/normalizeSubgraphFilter.js +39 -0
- package/dist/main/subgraph/normalizeSubgraphFilter.js.map +1 -0
- package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +0 -247
- package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getAllEvents.generated.js +2 -3
- package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
- package/dist/main/subgraph/schema.generated.d.ts +99 -2640
- package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/main/subgraph/subgraphQueryHandler.d.ts +97 -0
- package/dist/main/subgraph/subgraphQueryHandler.d.ts.map +1 -0
- package/dist/main/subgraph/subgraphQueryHandler.js +97 -0
- package/dist/main/subgraph/subgraphQueryHandler.js.map +1 -0
- package/dist/main/utils.d.ts +4 -0
- package/dist/main/utils.d.ts.map +1 -1
- package/dist/main/utils.js +8 -6
- package/dist/main/utils.js.map +1 -1
- package/dist/main/validation.js +2 -2
- package/dist/main/validation.js.map +1 -1
- package/dist/module/BatchCall.js +1 -1
- package/dist/module/BatchCall.js.map +1 -1
- package/dist/module/ConstantFlowAgreementV1.js +1 -1
- package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
- package/dist/module/Framework.js +1 -1
- package/dist/module/Framework.js.map +1 -1
- package/dist/module/InstantDistributionAgreementV1.js +1 -1
- package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
- package/dist/module/Operation.js +1 -1
- package/dist/module/Operation.js.map +1 -1
- package/dist/module/Query.d.ts +2 -1
- package/dist/module/Query.d.ts.map +1 -1
- package/dist/module/Query.js +3 -4
- package/dist/module/Query.js.map +1 -1
- package/dist/module/SFError.d.ts +2 -2
- package/dist/module/SFError.d.ts.map +1 -1
- package/dist/module/SFError.js +1 -1
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/SuperToken.js +1 -1
- package/dist/module/SuperToken.js.map +1 -1
- package/dist/module/Token.js +1 -1
- package/dist/module/Token.js.map +1 -1
- package/dist/module/frameworkHelpers.js +1 -1
- package/dist/module/frameworkHelpers.js.map +1 -1
- package/dist/module/index.d.ts +17 -5
- package/dist/module/index.d.ts.map +1 -1
- package/dist/module/index.js +17 -5
- package/dist/module/index.js.map +1 -1
- package/dist/module/mapGetAllEventsQueryEvents.d.ts +2 -2
- package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
- package/dist/module/mapGetAllEventsQueryEvents.js +3 -4
- package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
- package/dist/module/ordering.d.ts +1 -4
- package/dist/module/ordering.d.ts.map +1 -1
- package/dist/module/subgraph/SubgraphClient.js +1 -1
- package/dist/module/subgraph/SubgraphClient.js.map +1 -1
- package/dist/module/subgraph/entities/account/account.d.ts +29 -0
- package/dist/module/subgraph/entities/account/account.d.ts.map +1 -0
- package/dist/module/subgraph/entities/account/account.js +24 -0
- package/dist/module/subgraph/entities/account/account.js.map +1 -0
- package/dist/module/subgraph/entities/account/accounts.generated.d.ts +27 -0
- package/dist/module/subgraph/entities/account/accounts.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/account/accounts.generated.js +2 -0
- package/dist/module/subgraph/entities/account/accounts.generated.js.map +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts +38 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.d.ts.map +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js +24 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshot.js.map +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts +40 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js +2 -0
- package/dist/module/subgraph/entities/accountTokenSnapshot/accountTokenSnapshots.generated.js.map +1 -0
- package/dist/module/subgraph/entities/index/index.d.ts +38 -0
- package/dist/module/subgraph/entities/index/index.d.ts.map +1 -0
- package/dist/module/subgraph/entities/index/index.js +27 -0
- package/dist/module/subgraph/entities/index/index.js.map +1 -0
- package/dist/module/subgraph/entities/index/indexes.generated.d.ts +42 -0
- package/dist/module/subgraph/entities/index/indexes.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/index/indexes.generated.js +2 -0
- package/dist/module/subgraph/entities/index/indexes.generated.js.map +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts +36 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.d.ts.map +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js +28 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscription.js.map +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts +42 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js +2 -0
- package/dist/module/subgraph/entities/indexSubscription/indexSubscriptions.generated.js.map +1 -0
- package/dist/module/subgraph/entities/stream/stream.d.ts +33 -0
- package/dist/module/subgraph/entities/stream/stream.d.ts.map +1 -0
- package/dist/module/subgraph/entities/stream/stream.js +27 -0
- package/dist/module/subgraph/entities/stream/stream.js.map +1 -0
- package/dist/module/subgraph/entities/stream/streams.generated.d.ts +37 -0
- package/dist/module/subgraph/entities/stream/streams.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/stream/streams.generated.js +2 -0
- package/dist/module/subgraph/entities/stream/streams.generated.js.map +1 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriod.d.ts +36 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriod.d.ts.map +1 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriod.js +33 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriod.js.map +1 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriods.generated.d.ts +46 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriods.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriods.generated.js +2 -0
- package/dist/module/subgraph/entities/streamPeriod/streamPeriods.generated.js.map +1 -0
- package/dist/module/subgraph/entities/token/token.d.ts +32 -0
- package/dist/module/subgraph/entities/token/token.d.ts.map +1 -0
- package/dist/module/subgraph/entities/token/token.js +22 -0
- package/dist/module/subgraph/entities/token/token.js.map +1 -0
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts +30 -0
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/token/tokens.generated.js +2 -0
- package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistic.d.ts +37 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistic.d.ts.map +1 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistic.js +22 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistic.js.map +1 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistics.generated.d.ts +35 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistics.generated.d.ts.map +1 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistics.generated.js +2 -0
- package/dist/module/subgraph/entities/tokenStatistic/tokenStatistics.generated.js.map +1 -0
- package/dist/module/subgraph/events/events.d.ts +21 -0
- package/dist/module/subgraph/events/events.d.ts.map +1 -0
- package/dist/module/subgraph/events/events.generated.d.ts +1385 -0
- package/dist/module/subgraph/events/events.generated.d.ts.map +1 -0
- package/dist/module/subgraph/events/events.generated.js +37 -0
- package/dist/module/subgraph/events/events.generated.js.map +1 -0
- package/dist/module/subgraph/events/events.js +23 -0
- package/dist/module/subgraph/events/events.js.map +1 -0
- package/dist/module/subgraph/events/flowUpdatedEvent.d.ts +21 -0
- package/dist/module/subgraph/events/flowUpdatedEvent.d.ts.map +1 -0
- package/dist/module/subgraph/events/flowUpdatedEvent.js +23 -0
- package/dist/module/subgraph/events/flowUpdatedEvent.js.map +1 -0
- package/dist/module/subgraph/events/indexUpdatedEvent.d.ts +21 -0
- package/dist/module/subgraph/events/indexUpdatedEvent.d.ts.map +1 -0
- package/dist/module/subgraph/events/indexUpdatedEvent.js +23 -0
- package/dist/module/subgraph/events/indexUpdatedEvent.js.map +1 -0
- package/dist/module/subgraph/events/subscriptionUnitsUpdatedEvents.d.ts +21 -0
- package/dist/module/subgraph/events/subscriptionUnitsUpdatedEvents.d.ts.map +1 -0
- package/dist/module/subgraph/events/subscriptionUnitsUpdatedEvents.js +23 -0
- package/dist/module/subgraph/events/subscriptionUnitsUpdatedEvents.js.map +1 -0
- package/dist/module/subgraph/mappedSubgraphTypes.d.ts +6 -0
- package/dist/module/subgraph/mappedSubgraphTypes.d.ts.map +1 -0
- package/dist/module/subgraph/mappedSubgraphTypes.js +3 -0
- package/dist/module/subgraph/mappedSubgraphTypes.js.map +1 -0
- package/dist/module/subgraph/normalizeSubgraphFilter.d.ts +6 -0
- package/dist/module/subgraph/normalizeSubgraphFilter.d.ts.map +1 -0
- package/dist/module/subgraph/normalizeSubgraphFilter.js +34 -0
- package/dist/module/subgraph/normalizeSubgraphFilter.js.map +1 -0
- package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +0 -247
- package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -2
- package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
- package/dist/module/subgraph/schema.generated.d.ts +99 -2640
- package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
- package/dist/module/subgraph/subgraphQueryHandler.d.ts +97 -0
- package/dist/module/subgraph/subgraphQueryHandler.d.ts.map +1 -0
- package/dist/module/subgraph/subgraphQueryHandler.js +90 -0
- package/dist/module/subgraph/subgraphQueryHandler.js.map +1 -0
- package/dist/module/utils.d.ts +4 -0
- package/dist/module/utils.d.ts.map +1 -1
- package/dist/module/utils.js +5 -1
- package/dist/module/utils.js.map +1 -1
- package/dist/module/validation.js +1 -1
- package/dist/module/validation.js.map +1 -1
- package/package.json +6 -5
package/dist/index.umd.js
CHANGED
|
@@ -56245,7 +56245,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
56245
56245
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56246
56246
|
const ethers_1 = require("ethers");
|
|
56247
56247
|
const Host_1 = __importDefault(require("./Host"));
|
|
56248
|
-
const SFError_1 =
|
|
56248
|
+
const SFError_1 = require("./SFError");
|
|
56249
56249
|
const Superfluid_json_1 = __importDefault(require("./abi/Superfluid.json"));
|
|
56250
56250
|
const utils_1 = require("./utils");
|
|
56251
56251
|
const operationTypeStringToTypeMap = new Map([
|
|
@@ -56278,14 +56278,14 @@ class BatchCall {
|
|
|
56278
56278
|
const operationType = operationTypeStringToTypeMap.get(operation.type);
|
|
56279
56279
|
const populatedTransaction = await operation.populateTransactionPromise;
|
|
56280
56280
|
if (!operationType) {
|
|
56281
|
-
throw new SFError_1.
|
|
56281
|
+
throw new SFError_1.SFError({
|
|
56282
56282
|
type: "UNSUPPORTED_OPERATION",
|
|
56283
56283
|
customMessage: "The operation at index " + index + " is unsupported.",
|
|
56284
56284
|
});
|
|
56285
56285
|
}
|
|
56286
56286
|
/* istanbul ignore next */
|
|
56287
56287
|
if (!populatedTransaction.to || !populatedTransaction.data) {
|
|
56288
|
-
throw new SFError_1.
|
|
56288
|
+
throw new SFError_1.SFError({
|
|
56289
56289
|
type: "MISSING_TRANSACTION_PROPERTIES",
|
|
56290
56290
|
customMessage: "The transaction is missing the to or data property.",
|
|
56291
56291
|
});
|
|
@@ -56323,7 +56323,7 @@ class BatchCall {
|
|
|
56323
56323
|
.batchCall(operationStructArray);
|
|
56324
56324
|
}
|
|
56325
56325
|
catch (err) {
|
|
56326
|
-
throw new SFError_1.
|
|
56326
|
+
throw new SFError_1.SFError({
|
|
56327
56327
|
type: "BATCH_CALL_ERROR",
|
|
56328
56328
|
customMessage: "There was an error executing your batch call:",
|
|
56329
56329
|
errorObject: err,
|
|
@@ -56346,7 +56346,7 @@ class BatchCall {
|
|
|
56346
56346
|
.forwardBatchCall(operationStructArray);
|
|
56347
56347
|
}
|
|
56348
56348
|
catch (err) {
|
|
56349
|
-
throw new SFError_1.
|
|
56349
|
+
throw new SFError_1.SFError({
|
|
56350
56350
|
type: "BATCH_CALL_ERROR",
|
|
56351
56351
|
customMessage: "There was an error executing your batch call:",
|
|
56352
56352
|
errorObject: err,
|
|
@@ -56366,7 +56366,7 @@ class BatchCall {
|
|
|
56366
56366
|
}
|
|
56367
56367
|
exports.default = BatchCall;
|
|
56368
56368
|
|
|
56369
|
-
},{"./Host":255,"./SFError":259,"./abi/Superfluid.json":267,"./utils":
|
|
56369
|
+
},{"./Host":255,"./SFError":259,"./abi/Superfluid.json":267,"./utils":310,"ethers":249}],253:[function(require,module,exports){
|
|
56370
56370
|
"use strict";
|
|
56371
56371
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
56372
56372
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -56374,7 +56374,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
56374
56374
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56375
56375
|
const ethers_1 = require("ethers");
|
|
56376
56376
|
const Host_1 = __importDefault(require("./Host"));
|
|
56377
|
-
const SFError_1 =
|
|
56377
|
+
const SFError_1 = require("./SFError");
|
|
56378
56378
|
const IConstantFlowAgreementV1_json_1 = __importDefault(require("./abi/IConstantFlowAgreementV1.json"));
|
|
56379
56379
|
const utils_1 = require("./utils");
|
|
56380
56380
|
const cfaInterface = new ethers_1.ethers.utils.Interface(IConstantFlowAgreementV1_json_1.default.abi);
|
|
@@ -56404,7 +56404,7 @@ class ConstantFlowAgreementV1 {
|
|
|
56404
56404
|
return this._sanitizeflowInfo(flowData);
|
|
56405
56405
|
}
|
|
56406
56406
|
catch (err) {
|
|
56407
|
-
throw new SFError_1.
|
|
56407
|
+
throw new SFError_1.SFError({
|
|
56408
56408
|
type: "CFAV1_READ",
|
|
56409
56409
|
customMessage: "There was an error getting the flow",
|
|
56410
56410
|
errorObject: err,
|
|
@@ -56428,7 +56428,7 @@ class ConstantFlowAgreementV1 {
|
|
|
56428
56428
|
return this._sanitizeflowInfo(flowData);
|
|
56429
56429
|
}
|
|
56430
56430
|
catch (err) {
|
|
56431
|
-
throw new SFError_1.
|
|
56431
|
+
throw new SFError_1.SFError({
|
|
56432
56432
|
type: "CFAV1_READ",
|
|
56433
56433
|
customMessage: "There was an error getting the account flow information",
|
|
56434
56434
|
errorObject: err,
|
|
@@ -56451,7 +56451,7 @@ class ConstantFlowAgreementV1 {
|
|
|
56451
56451
|
.getNetFlow(normalizedToken, normalizedAccount)).toString();
|
|
56452
56452
|
}
|
|
56453
56453
|
catch (err) {
|
|
56454
|
-
throw new SFError_1.
|
|
56454
|
+
throw new SFError_1.SFError({
|
|
56455
56455
|
type: "CFAV1_READ",
|
|
56456
56456
|
customMessage: "There was an error getting net flow",
|
|
56457
56457
|
errorObject: err,
|
|
@@ -56545,7 +56545,7 @@ class ConstantFlowAgreementV1 {
|
|
|
56545
56545
|
}
|
|
56546
56546
|
exports.default = ConstantFlowAgreementV1;
|
|
56547
56547
|
|
|
56548
|
-
},{"./Host":255,"./SFError":259,"./abi/IConstantFlowAgreementV1.json":263,"./utils":
|
|
56548
|
+
},{"./Host":255,"./SFError":259,"./abi/IConstantFlowAgreementV1.json":263,"./utils":310,"ethers":249}],254:[function(require,module,exports){
|
|
56549
56549
|
"use strict";
|
|
56550
56550
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
56551
56551
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -56558,7 +56558,7 @@ const ConstantFlowAgreementV1_1 = __importDefault(require("./ConstantFlowAgreeme
|
|
|
56558
56558
|
const Host_1 = __importDefault(require("./Host"));
|
|
56559
56559
|
const InstantDistributionAgreementV1_1 = __importDefault(require("./InstantDistributionAgreementV1"));
|
|
56560
56560
|
const Query_1 = __importDefault(require("./Query"));
|
|
56561
|
-
const SFError_1 =
|
|
56561
|
+
const SFError_1 = require("./SFError");
|
|
56562
56562
|
const SuperToken_1 = __importDefault(require("./SuperToken"));
|
|
56563
56563
|
const IResolver_json_1 = __importDefault(require("./abi/IResolver.json"));
|
|
56564
56564
|
const SuperfluidLoader_json_1 = __importDefault(require("./abi/SuperfluidLoader.json"));
|
|
@@ -56584,7 +56584,7 @@ class Framework {
|
|
|
56584
56584
|
!options.provider &&
|
|
56585
56585
|
!options.signer &&
|
|
56586
56586
|
!options.web3Provider) {
|
|
56587
|
-
throw new SFError_1.
|
|
56587
|
+
throw new SFError_1.SFError({
|
|
56588
56588
|
type: "CREATE_SIGNER",
|
|
56589
56589
|
customMessage: "You must pass in a private key, provider or signer.",
|
|
56590
56590
|
});
|
|
@@ -56592,7 +56592,7 @@ class Framework {
|
|
|
56592
56592
|
/* istanbul ignore else */
|
|
56593
56593
|
if (options.privateKey) {
|
|
56594
56594
|
if (!options.provider) {
|
|
56595
|
-
throw new SFError_1.
|
|
56595
|
+
throw new SFError_1.SFError({
|
|
56596
56596
|
type: "CREATE_SIGNER",
|
|
56597
56597
|
customMessage: "You must pass in a provider with your private key.",
|
|
56598
56598
|
});
|
|
@@ -56607,7 +56607,7 @@ class Framework {
|
|
|
56607
56607
|
return options.web3Provider.getSigner();
|
|
56608
56608
|
}
|
|
56609
56609
|
/* istanbul ignore next */
|
|
56610
|
-
throw new SFError_1.
|
|
56610
|
+
throw new SFError_1.SFError({
|
|
56611
56611
|
type: "CREATE_SIGNER",
|
|
56612
56612
|
customMessage: "Something went wrong, this should never occur.",
|
|
56613
56613
|
});
|
|
@@ -56645,7 +56645,7 @@ class Framework {
|
|
|
56645
56645
|
address = tokenAddress;
|
|
56646
56646
|
}
|
|
56647
56647
|
catch (err) {
|
|
56648
|
-
throw new SFError_1.
|
|
56648
|
+
throw new SFError_1.SFError({
|
|
56649
56649
|
type: "SUPERTOKEN_INITIALIZATION",
|
|
56650
56650
|
customMessage: "There was an error with loading the SuperToken with symbol: " +
|
|
56651
56651
|
tokenAddressOrSymbol +
|
|
@@ -56710,7 +56710,7 @@ Framework.create = async (options) => {
|
|
|
56710
56710
|
: options.provider.provider;
|
|
56711
56711
|
const network = await provider.getNetwork();
|
|
56712
56712
|
if (network.chainId !== chainId && chainId != null) {
|
|
56713
|
-
throw new SFError_1.
|
|
56713
|
+
throw new SFError_1.SFError({
|
|
56714
56714
|
type: "NETWORK_MISMATCH",
|
|
56715
56715
|
customMessage: "Your provider network chainId is: " +
|
|
56716
56716
|
network.chainId +
|
|
@@ -56748,7 +56748,7 @@ Framework.create = async (options) => {
|
|
|
56748
56748
|
return new Framework(options, settings);
|
|
56749
56749
|
}
|
|
56750
56750
|
catch (err) {
|
|
56751
|
-
throw new SFError_1.
|
|
56751
|
+
throw new SFError_1.SFError({
|
|
56752
56752
|
type: "FRAMEWORK_INITIALIZATION",
|
|
56753
56753
|
customMessage: "There was an error initializing the framework",
|
|
56754
56754
|
errorObject: err,
|
|
@@ -56756,7 +56756,7 @@ Framework.create = async (options) => {
|
|
|
56756
56756
|
}
|
|
56757
56757
|
};
|
|
56758
56758
|
|
|
56759
|
-
},{"./BatchCall":252,"./ConstantFlowAgreementV1":253,"./Host":255,"./InstantDistributionAgreementV1":256,"./Query":258,"./SFError":259,"./SuperToken":260,"./abi/IResolver.json":265,"./abi/SuperfluidLoader.json":268,"./constants":269,"./frameworkHelpers":271,"./utils":
|
|
56759
|
+
},{"./BatchCall":252,"./ConstantFlowAgreementV1":253,"./Host":255,"./InstantDistributionAgreementV1":256,"./Query":258,"./SFError":259,"./SuperToken":260,"./abi/IResolver.json":265,"./abi/SuperfluidLoader.json":268,"./constants":269,"./frameworkHelpers":271,"./utils":310,"ethers":249}],255:[function(require,module,exports){
|
|
56760
56760
|
"use strict";
|
|
56761
56761
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
56762
56762
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -56796,7 +56796,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
56796
56796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56797
56797
|
const ethers_1 = require("ethers");
|
|
56798
56798
|
const Host_1 = __importDefault(require("./Host"));
|
|
56799
|
-
const SFError_1 =
|
|
56799
|
+
const SFError_1 = require("./SFError");
|
|
56800
56800
|
const IInstantDistributionAgreementV1_json_1 = __importDefault(require("./abi/IInstantDistributionAgreementV1.json"));
|
|
56801
56801
|
const utils_1 = require("./utils");
|
|
56802
56802
|
const idaInterface = new ethers_1.ethers.utils.Interface(IInstantDistributionAgreementV1_json_1.default.abi);
|
|
@@ -56832,7 +56832,7 @@ class InstantDistributionAgreementV1 {
|
|
|
56832
56832
|
};
|
|
56833
56833
|
}
|
|
56834
56834
|
catch (err) {
|
|
56835
|
-
throw new SFError_1.
|
|
56835
|
+
throw new SFError_1.SFError({
|
|
56836
56836
|
type: "IDAV1_READ",
|
|
56837
56837
|
customMessage: "There was an error getting the subscription",
|
|
56838
56838
|
errorObject: err,
|
|
@@ -56862,7 +56862,7 @@ class InstantDistributionAgreementV1 {
|
|
|
56862
56862
|
};
|
|
56863
56863
|
}
|
|
56864
56864
|
catch (err) {
|
|
56865
|
-
throw new SFError_1.
|
|
56865
|
+
throw new SFError_1.SFError({
|
|
56866
56866
|
type: "IDAV1_READ",
|
|
56867
56867
|
customMessage: "There was an error getting the index",
|
|
56868
56868
|
errorObject: err,
|
|
@@ -57038,14 +57038,11 @@ class InstantDistributionAgreementV1 {
|
|
|
57038
57038
|
}
|
|
57039
57039
|
exports.default = InstantDistributionAgreementV1;
|
|
57040
57040
|
|
|
57041
|
-
},{"./Host":255,"./SFError":259,"./abi/IInstantDistributionAgreementV1.json":264,"./utils":
|
|
57041
|
+
},{"./Host":255,"./SFError":259,"./abi/IInstantDistributionAgreementV1.json":264,"./utils":310,"ethers":249}],257:[function(require,module,exports){
|
|
57042
57042
|
"use strict";
|
|
57043
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
57044
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
57045
|
-
};
|
|
57046
57043
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57047
57044
|
const ethers_1 = require("ethers");
|
|
57048
|
-
const SFError_1 =
|
|
57045
|
+
const SFError_1 = require("./SFError");
|
|
57049
57046
|
/**
|
|
57050
57047
|
* @dev Operation Helper Class
|
|
57051
57048
|
* @description A helper class to create `Operation` objects which can be executed or batched.
|
|
@@ -57064,7 +57061,7 @@ class Operation {
|
|
|
57064
57061
|
return await signer.sendTransaction(populatedTransaction);
|
|
57065
57062
|
}
|
|
57066
57063
|
catch (err) {
|
|
57067
|
-
throw new SFError_1.
|
|
57064
|
+
throw new SFError_1.SFError({
|
|
57068
57065
|
type: "EXECUTE_TRANSACTION",
|
|
57069
57066
|
customMessage: "There was an error executing the transaction",
|
|
57070
57067
|
errorObject: err,
|
|
@@ -57083,7 +57080,7 @@ class Operation {
|
|
|
57083
57080
|
}
|
|
57084
57081
|
catch (err) {
|
|
57085
57082
|
/* istanbul ignore next */
|
|
57086
|
-
throw new SFError_1.
|
|
57083
|
+
throw new SFError_1.SFError({
|
|
57087
57084
|
type: "POPULATE_TRANSACTION",
|
|
57088
57085
|
customMessage: "There was an error populating the transaction",
|
|
57089
57086
|
errorObject: err,
|
|
@@ -57102,7 +57099,7 @@ class Operation {
|
|
|
57102
57099
|
return signedTxn;
|
|
57103
57100
|
}
|
|
57104
57101
|
catch (err) {
|
|
57105
|
-
throw new SFError_1.
|
|
57102
|
+
throw new SFError_1.SFError({
|
|
57106
57103
|
type: "SIGN_TRANSACTION",
|
|
57107
57104
|
customMessage: "There was an error signing the transaction",
|
|
57108
57105
|
errorObject: err,
|
|
@@ -57132,7 +57129,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
57132
57129
|
};
|
|
57133
57130
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57134
57131
|
const lodash_1 = __importDefault(require("lodash"));
|
|
57135
|
-
const SFError_1 =
|
|
57132
|
+
const SFError_1 = require("./SFError");
|
|
57136
57133
|
const mapGetAllEventsQueryEvents_1 = require("./mapGetAllEventsQueryEvents");
|
|
57137
57134
|
const pagination_1 = require("./pagination");
|
|
57138
57135
|
const SubgraphClient_1 = require("./subgraph/SubgraphClient");
|
|
@@ -57142,6 +57139,7 @@ const getIndexSubscriptions_generated_1 = require("./subgraph/queries/getIndexSu
|
|
|
57142
57139
|
const getIndexes_generated_1 = require("./subgraph/queries/getIndexes.generated");
|
|
57143
57140
|
const getStreams_generated_1 = require("./subgraph/queries/getStreams.generated");
|
|
57144
57141
|
const getTokens_generated_1 = require("./subgraph/queries/getTokens.generated");
|
|
57142
|
+
const utils_1 = require("./utils");
|
|
57145
57143
|
const validation_1 = require("./validation");
|
|
57146
57144
|
/**
|
|
57147
57145
|
* @dev Query Helper Class
|
|
@@ -57168,7 +57166,7 @@ class Query {
|
|
|
57168
57166
|
orderDirection: "desc",
|
|
57169
57167
|
}) => {
|
|
57170
57168
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57171
|
-
throw new SFError_1.
|
|
57169
|
+
throw new SFError_1.SFError({
|
|
57172
57170
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57173
57171
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57174
57172
|
});
|
|
@@ -57185,7 +57183,7 @@ class Query {
|
|
|
57185
57183
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57186
57184
|
skip: paging.skip,
|
|
57187
57185
|
});
|
|
57188
|
-
const mappedResult = response.result.map((x) => typeGuard({
|
|
57186
|
+
const mappedResult = response.result.map((x) => (0, utils_1.typeGuard)({
|
|
57189
57187
|
...x,
|
|
57190
57188
|
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
57191
57189
|
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
@@ -57198,7 +57196,7 @@ class Query {
|
|
|
57198
57196
|
}) => {
|
|
57199
57197
|
var _a, _b;
|
|
57200
57198
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57201
|
-
throw new SFError_1.
|
|
57199
|
+
throw new SFError_1.SFError({
|
|
57202
57200
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57203
57201
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57204
57202
|
});
|
|
@@ -57216,7 +57214,7 @@ class Query {
|
|
|
57216
57214
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57217
57215
|
skip: paging.skip,
|
|
57218
57216
|
});
|
|
57219
|
-
const mappedResult = response.result.map((x) => typeGuard({
|
|
57217
|
+
const mappedResult = response.result.map((x) => (0, utils_1.typeGuard)({
|
|
57220
57218
|
...x,
|
|
57221
57219
|
publisher: x.publisher.id,
|
|
57222
57220
|
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
@@ -57237,7 +57235,7 @@ class Query {
|
|
|
57237
57235
|
}) => {
|
|
57238
57236
|
var _a;
|
|
57239
57237
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57240
|
-
throw new SFError_1.
|
|
57238
|
+
throw new SFError_1.SFError({
|
|
57241
57239
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57242
57240
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57243
57241
|
});
|
|
@@ -57254,7 +57252,7 @@ class Query {
|
|
|
57254
57252
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57255
57253
|
skip: paging.skip,
|
|
57256
57254
|
});
|
|
57257
|
-
const mappedResult = response.result.map((x) => typeGuard({
|
|
57255
|
+
const mappedResult = response.result.map((x) => (0, utils_1.typeGuard)({
|
|
57258
57256
|
...x,
|
|
57259
57257
|
subscriber: x.subscriber.id,
|
|
57260
57258
|
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
@@ -57278,7 +57276,7 @@ class Query {
|
|
|
57278
57276
|
}) => {
|
|
57279
57277
|
var _a, _b, _c;
|
|
57280
57278
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57281
|
-
throw new SFError_1.
|
|
57279
|
+
throw new SFError_1.SFError({
|
|
57282
57280
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57283
57281
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57284
57282
|
});
|
|
@@ -57296,7 +57294,7 @@ class Query {
|
|
|
57296
57294
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57297
57295
|
skip: paging.skip,
|
|
57298
57296
|
});
|
|
57299
|
-
const mappedResult = response.result.map((x) => typeGuard({
|
|
57297
|
+
const mappedResult = response.result.map((x) => (0, utils_1.typeGuard)({
|
|
57300
57298
|
...x,
|
|
57301
57299
|
sender: x.sender.id,
|
|
57302
57300
|
receiver: x.receiver.id,
|
|
@@ -57323,7 +57321,7 @@ class Query {
|
|
|
57323
57321
|
}) => {
|
|
57324
57322
|
var _a, _b;
|
|
57325
57323
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57326
|
-
throw new SFError_1.
|
|
57324
|
+
throw new SFError_1.SFError({
|
|
57327
57325
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57328
57326
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57329
57327
|
});
|
|
@@ -57340,7 +57338,7 @@ class Query {
|
|
|
57340
57338
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57341
57339
|
skip: paging.skip,
|
|
57342
57340
|
});
|
|
57343
|
-
const mappedResult = response.result.map((x) => typeGuard({
|
|
57341
|
+
const mappedResult = response.result.map((x) => (0, utils_1.typeGuard)({
|
|
57344
57342
|
...x,
|
|
57345
57343
|
account: x.account.id,
|
|
57346
57344
|
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
@@ -57359,7 +57357,7 @@ class Query {
|
|
|
57359
57357
|
}) => {
|
|
57360
57358
|
var _a, _b;
|
|
57361
57359
|
if (this.options.dataMode === "WEB3_ONLY") {
|
|
57362
|
-
throw new SFError_1.
|
|
57360
|
+
throw new SFError_1.SFError({
|
|
57363
57361
|
type: "UNSUPPORTED_WEB_3_ONLY",
|
|
57364
57362
|
customMessage: "This query is not supported in WEB3_ONLY mode.",
|
|
57365
57363
|
});
|
|
@@ -57378,7 +57376,7 @@ class Query {
|
|
|
57378
57376
|
first: (0, pagination_1.takePlusOne)(paging),
|
|
57379
57377
|
skip: paging.skip,
|
|
57380
57378
|
});
|
|
57381
|
-
return (0, pagination_1.createPagedResult)((0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response), paging);
|
|
57379
|
+
return (0, pagination_1.createPagedResult)((0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response.events), paging);
|
|
57382
57380
|
};
|
|
57383
57381
|
this.options = options;
|
|
57384
57382
|
this.subgraphClient = new SubgraphClient_1.SubgraphClient(this.options.customSubgraphQueriesEndpoint);
|
|
@@ -57434,12 +57432,11 @@ class Query {
|
|
|
57434
57432
|
}
|
|
57435
57433
|
}
|
|
57436
57434
|
exports.default = Query;
|
|
57437
|
-
// Why? Because `return obj as T` and `return <T>obj` are not safe type casts.
|
|
57438
|
-
const typeGuard = (obj) => obj;
|
|
57439
57435
|
|
|
57440
|
-
},{"./SFError":259,"./mapGetAllEventsQueryEvents":274,"./pagination":
|
|
57436
|
+
},{"./SFError":259,"./mapGetAllEventsQueryEvents":274,"./pagination":276,"./subgraph/SubgraphClient":277,"./subgraph/queries/getAccountTokenSnapshots.generated":301,"./subgraph/queries/getAllEvents.generated":302,"./subgraph/queries/getIndexSubscriptions.generated":303,"./subgraph/queries/getIndexes.generated":304,"./subgraph/queries/getStreams.generated":305,"./subgraph/queries/getTokens.generated":306,"./utils":310,"./validation":311,"lodash":175}],259:[function(require,module,exports){
|
|
57441
57437
|
"use strict";
|
|
57442
57438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57439
|
+
exports.SFError = void 0;
|
|
57443
57440
|
const errorTypeToTitleMap = new Map([
|
|
57444
57441
|
["FRAMEWORK_INITIALIZATION", "Framework Initialization"],
|
|
57445
57442
|
["SUPERTOKEN_INITIALIZATION", "SuperToken Initialization"],
|
|
@@ -57472,7 +57469,7 @@ class SFError {
|
|
|
57472
57469
|
title + " Error - " + customMessage + formattedErrorObject;
|
|
57473
57470
|
}
|
|
57474
57471
|
}
|
|
57475
|
-
exports.
|
|
57472
|
+
exports.SFError = SFError;
|
|
57476
57473
|
|
|
57477
57474
|
},{}],260:[function(require,module,exports){
|
|
57478
57475
|
"use strict";
|
|
@@ -57485,7 +57482,7 @@ const ethers_1 = require("ethers");
|
|
|
57485
57482
|
const ConstantFlowAgreementV1_1 = __importDefault(require("./ConstantFlowAgreementV1"));
|
|
57486
57483
|
const InstantDistributionAgreementV1_1 = __importDefault(require("./InstantDistributionAgreementV1"));
|
|
57487
57484
|
const Operation_1 = __importDefault(require("./Operation"));
|
|
57488
|
-
const SFError_1 =
|
|
57485
|
+
const SFError_1 = require("./SFError");
|
|
57489
57486
|
const Token_1 = __importDefault(require("./Token"));
|
|
57490
57487
|
const SuperToken_json_1 = __importDefault(require("./abi/SuperToken.json"));
|
|
57491
57488
|
const constants_1 = require("./constants");
|
|
@@ -57521,7 +57518,7 @@ class SuperToken extends Token_1.default {
|
|
|
57521
57518
|
};
|
|
57522
57519
|
}
|
|
57523
57520
|
catch (err) {
|
|
57524
|
-
throw new SFError_1.
|
|
57521
|
+
throw new SFError_1.SFError({
|
|
57525
57522
|
type: "SUPERTOKEN_READ",
|
|
57526
57523
|
customMessage: "There was an error getting realtimeBalanceOf",
|
|
57527
57524
|
errorObject: err,
|
|
@@ -57841,7 +57838,7 @@ exports.default = SuperToken;
|
|
|
57841
57838
|
_a = SuperToken;
|
|
57842
57839
|
SuperToken.create = async (options) => {
|
|
57843
57840
|
if (!options.chainId && !options.networkName) {
|
|
57844
|
-
throw new SFError_1.
|
|
57841
|
+
throw new SFError_1.SFError({
|
|
57845
57842
|
type: "SUPERTOKEN_INITIALIZATION",
|
|
57846
57843
|
customMessage: "You must input chainId or networkName.",
|
|
57847
57844
|
});
|
|
@@ -57865,7 +57862,7 @@ SuperToken.create = async (options) => {
|
|
|
57865
57862
|
return new SuperToken(options, settings);
|
|
57866
57863
|
}
|
|
57867
57864
|
catch (err) {
|
|
57868
|
-
throw new SFError_1.
|
|
57865
|
+
throw new SFError_1.SFError({
|
|
57869
57866
|
type: "SUPERTOKEN_INITIALIZATION",
|
|
57870
57867
|
customMessage: "There was an error initializing the SuperToken",
|
|
57871
57868
|
errorObject: err,
|
|
@@ -57873,7 +57870,7 @@ SuperToken.create = async (options) => {
|
|
|
57873
57870
|
}
|
|
57874
57871
|
};
|
|
57875
57872
|
|
|
57876
|
-
},{"./ConstantFlowAgreementV1":253,"./InstantDistributionAgreementV1":256,"./Operation":257,"./SFError":259,"./Token":261,"./abi/SuperToken.json":266,"./constants":269,"./frameworkHelpers":271,"./utils":
|
|
57873
|
+
},{"./ConstantFlowAgreementV1":253,"./InstantDistributionAgreementV1":256,"./Operation":257,"./SFError":259,"./Token":261,"./abi/SuperToken.json":266,"./constants":269,"./frameworkHelpers":271,"./utils":310,"ethers":249}],261:[function(require,module,exports){
|
|
57877
57874
|
"use strict";
|
|
57878
57875
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
57879
57876
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -57881,7 +57878,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
57881
57878
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57882
57879
|
const ethers_1 = require("ethers");
|
|
57883
57880
|
const Operation_1 = __importDefault(require("./Operation"));
|
|
57884
|
-
const SFError_1 =
|
|
57881
|
+
const SFError_1 = require("./SFError");
|
|
57885
57882
|
const ERC20WithTokenInfo_json_1 = __importDefault(require("./abi/ERC20WithTokenInfo.json"));
|
|
57886
57883
|
const utils_1 = require("./utils");
|
|
57887
57884
|
class Token {
|
|
@@ -57904,7 +57901,7 @@ class Token {
|
|
|
57904
57901
|
return allowance.toString();
|
|
57905
57902
|
}
|
|
57906
57903
|
catch (err) {
|
|
57907
|
-
throw new SFError_1.
|
|
57904
|
+
throw new SFError_1.SFError({
|
|
57908
57905
|
type: "SUPERTOKEN_READ",
|
|
57909
57906
|
customMessage: "There was an error getting allowance",
|
|
57910
57907
|
errorObject: err,
|
|
@@ -57926,7 +57923,7 @@ class Token {
|
|
|
57926
57923
|
return balanceOf.toString();
|
|
57927
57924
|
}
|
|
57928
57925
|
catch (err) {
|
|
57929
|
-
throw new SFError_1.
|
|
57926
|
+
throw new SFError_1.SFError({
|
|
57930
57927
|
type: "SUPERTOKEN_READ",
|
|
57931
57928
|
customMessage: "There was an error getting balanceOf",
|
|
57932
57929
|
errorObject: err,
|
|
@@ -57946,7 +57943,7 @@ class Token {
|
|
|
57946
57943
|
return name;
|
|
57947
57944
|
}
|
|
57948
57945
|
catch (err) {
|
|
57949
|
-
throw new SFError_1.
|
|
57946
|
+
throw new SFError_1.SFError({
|
|
57950
57947
|
type: "SUPERTOKEN_READ",
|
|
57951
57948
|
customMessage: "There was an error getting name",
|
|
57952
57949
|
errorObject: err,
|
|
@@ -57966,7 +57963,7 @@ class Token {
|
|
|
57966
57963
|
return symbol;
|
|
57967
57964
|
}
|
|
57968
57965
|
catch (err) {
|
|
57969
|
-
throw new SFError_1.
|
|
57966
|
+
throw new SFError_1.SFError({
|
|
57970
57967
|
type: "SUPERTOKEN_READ",
|
|
57971
57968
|
customMessage: "There was an error getting symbol",
|
|
57972
57969
|
errorObject: err,
|
|
@@ -57986,7 +57983,7 @@ class Token {
|
|
|
57986
57983
|
return totalSupply.toString();
|
|
57987
57984
|
}
|
|
57988
57985
|
catch (err) {
|
|
57989
|
-
throw new SFError_1.
|
|
57986
|
+
throw new SFError_1.SFError({
|
|
57990
57987
|
type: "SUPERTOKEN_READ",
|
|
57991
57988
|
customMessage: "There was an error getting totalSupply",
|
|
57992
57989
|
errorObject: err,
|
|
@@ -58040,7 +58037,7 @@ class Token {
|
|
|
58040
58037
|
}
|
|
58041
58038
|
exports.default = Token;
|
|
58042
58039
|
|
|
58043
|
-
},{"./Operation":257,"./SFError":259,"./abi/ERC20WithTokenInfo.json":262,"./utils":
|
|
58040
|
+
},{"./Operation":257,"./SFError":259,"./abi/ERC20WithTokenInfo.json":262,"./utils":310,"ethers":249}],262:[function(require,module,exports){
|
|
58044
58041
|
module.exports={ "abi": [
|
|
58045
58042
|
{
|
|
58046
58043
|
"anonymous": false,
|
|
@@ -62665,17 +62662,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
62665
62662
|
|
|
62666
62663
|
},{}],271:[function(require,module,exports){
|
|
62667
62664
|
"use strict";
|
|
62668
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
62669
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
62670
|
-
};
|
|
62671
62665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62672
62666
|
exports.getNetworkName = exports.getSubgraphQueriesEndpoint = exports.validateFrameworkConstructorOptions = void 0;
|
|
62673
|
-
const SFError_1 =
|
|
62667
|
+
const SFError_1 = require("./SFError");
|
|
62674
62668
|
const constants_1 = require("./constants");
|
|
62675
62669
|
const utils_1 = require("./utils");
|
|
62676
62670
|
const validateFrameworkConstructorOptions = (options) => {
|
|
62677
62671
|
if (!options.chainId && !options.networkName) {
|
|
62678
|
-
throw new SFError_1.
|
|
62672
|
+
throw new SFError_1.SFError({
|
|
62679
62673
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62680
62674
|
customMessage: "You must input chainId or networkName.",
|
|
62681
62675
|
});
|
|
@@ -62686,13 +62680,13 @@ const validateFrameworkConstructorOptions = (options) => {
|
|
|
62686
62680
|
options.chainId &&
|
|
62687
62681
|
constants_1.chainIds.includes(options.chainId) &&
|
|
62688
62682
|
constants_1.networkNameToChainIdMap.get(options.networkName) !== options.chainId) {
|
|
62689
|
-
throw new SFError_1.
|
|
62683
|
+
throw new SFError_1.SFError({
|
|
62690
62684
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62691
62685
|
customMessage: "The network name and chainId you have selected don't match.",
|
|
62692
62686
|
});
|
|
62693
62687
|
}
|
|
62694
62688
|
if (!options.provider) {
|
|
62695
|
-
throw new SFError_1.
|
|
62689
|
+
throw new SFError_1.SFError({
|
|
62696
62690
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62697
62691
|
customMessage: "You must pass in a provider, an injected web3.js or ethers.js instance when initializing the framework.",
|
|
62698
62692
|
});
|
|
@@ -62704,13 +62698,13 @@ const validateFrameworkConstructorOptions = (options) => {
|
|
|
62704
62698
|
(options.chainId != null && !constants_1.chainIds.includes(options.chainId))) {
|
|
62705
62699
|
if (options.dataMode !== "WEB3_ONLY" &&
|
|
62706
62700
|
(0, utils_1.isNullOrEmpty)(options.customSubgraphQueriesEndpoint)) {
|
|
62707
|
-
throw new SFError_1.
|
|
62701
|
+
throw new SFError_1.SFError({
|
|
62708
62702
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62709
62703
|
customMessage: "You must input your own custom subgraph query endpoint if you use an unsupported network with dataMode set to SUBGRAPH_ONLY or SUBGRAPH_WEB3.",
|
|
62710
62704
|
});
|
|
62711
62705
|
}
|
|
62712
62706
|
if ((0, utils_1.isNullOrEmpty)(options.resolverAddress)) {
|
|
62713
|
-
throw new SFError_1.
|
|
62707
|
+
throw new SFError_1.SFError({
|
|
62714
62708
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62715
62709
|
customMessage: "You must input your own resolver address if you use an unsupported network.",
|
|
62716
62710
|
});
|
|
@@ -62732,7 +62726,7 @@ const getSubgraphQueriesEndpoint = (options) => {
|
|
|
62732
62726
|
return resolverData.subgraphAPIEndpoint;
|
|
62733
62727
|
}
|
|
62734
62728
|
/* istanbul ignore next */
|
|
62735
|
-
throw new SFError_1.
|
|
62729
|
+
throw new SFError_1.SFError({
|
|
62736
62730
|
type: "FRAMEWORK_INITIALIZATION",
|
|
62737
62731
|
customMessage: "Something went wrong, this should never occur.",
|
|
62738
62732
|
});
|
|
@@ -62754,7 +62748,7 @@ const getNetworkName = (options) => {
|
|
|
62754
62748
|
};
|
|
62755
62749
|
exports.getNetworkName = getNetworkName;
|
|
62756
62750
|
|
|
62757
|
-
},{"./SFError":259,"./constants":269,"./utils":
|
|
62751
|
+
},{"./SFError":259,"./constants":269,"./utils":310}],272:[function(require,module,exports){
|
|
62758
62752
|
"use strict";
|
|
62759
62753
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
62760
62754
|
if (k2 === undefined) k2 = k;
|
|
@@ -62770,9 +62764,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
62770
62764
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
62771
62765
|
};
|
|
62772
62766
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62773
|
-
exports.BatchCall = exports.Host = exports.InstantDistributionAgreementV1 = exports.ConstantFlowAgreementV1 = exports.Query = exports.SuperToken = exports.Framework =
|
|
62774
|
-
|
|
62775
|
-
Object.defineProperty(exports, "_ethers", { enumerable: true, get: function () { return ethers_1.ethers; } });
|
|
62767
|
+
exports.BatchCall = exports.Host = exports.InstantDistributionAgreementV1 = exports.ConstantFlowAgreementV1 = exports.Query = exports.SuperToken = exports.Framework = void 0;
|
|
62768
|
+
__exportStar(require("./subgraph/schema.generated"), exports);
|
|
62776
62769
|
const BatchCall_1 = __importDefault(require("./BatchCall"));
|
|
62777
62770
|
exports.BatchCall = BatchCall_1.default;
|
|
62778
62771
|
const ConstantFlowAgreementV1_1 = __importDefault(require("./ConstantFlowAgreementV1"));
|
|
@@ -62790,22 +62783,37 @@ exports.SuperToken = SuperToken_1.default;
|
|
|
62790
62783
|
__exportStar(require("./interfaces"), exports);
|
|
62791
62784
|
__exportStar(require("./utils"), exports);
|
|
62792
62785
|
__exportStar(require("./pagination"), exports);
|
|
62786
|
+
__exportStar(require("./ordering"), exports);
|
|
62793
62787
|
__exportStar(require("./events"), exports);
|
|
62794
62788
|
__exportStar(require("./types"), exports);
|
|
62795
|
-
|
|
62796
|
-
|
|
62789
|
+
__exportStar(require("./subgraph/entities/account/account"), exports);
|
|
62790
|
+
__exportStar(require("./subgraph/entities/accountTokenSnapshot/accountTokenSnapshot"), exports);
|
|
62791
|
+
__exportStar(require("./subgraph/entities/index/index"), exports);
|
|
62792
|
+
__exportStar(require("./subgraph/entities/indexSubscription/indexSubscription"), exports);
|
|
62793
|
+
__exportStar(require("./subgraph/entities/stream/stream"), exports);
|
|
62794
|
+
__exportStar(require("./subgraph/entities/streamPeriod/streamPeriod"), exports);
|
|
62795
|
+
__exportStar(require("./subgraph/entities/token/token"), exports);
|
|
62796
|
+
__exportStar(require("./subgraph/entities/tokenStatistic/tokenStatistic"), exports);
|
|
62797
|
+
__exportStar(require("./subgraph/events/events"), exports);
|
|
62798
|
+
__exportStar(require("./subgraph/events/flowUpdatedEvent"), exports);
|
|
62799
|
+
__exportStar(require("./subgraph/events/indexUpdatedEvent"), exports);
|
|
62800
|
+
__exportStar(require("./subgraph/events/subscriptionUnitsUpdatedEvents"), exports);
|
|
62801
|
+
__exportStar(require("./subgraph/mappedSubgraphTypes"), exports);
|
|
62802
|
+
__exportStar(require("./SFError"), exports);
|
|
62803
|
+
__exportStar(require("./subgraph/subgraphQueryHandler"), exports);
|
|
62804
|
+
|
|
62805
|
+
},{"./BatchCall":252,"./ConstantFlowAgreementV1":253,"./Framework":254,"./Host":255,"./InstantDistributionAgreementV1":256,"./Query":258,"./SFError":259,"./SuperToken":260,"./events":270,"./interfaces":273,"./ordering":275,"./pagination":276,"./subgraph/entities/account/account":278,"./subgraph/entities/accountTokenSnapshot/accountTokenSnapshot":280,"./subgraph/entities/index/index":282,"./subgraph/entities/indexSubscription/indexSubscription":284,"./subgraph/entities/stream/stream":286,"./subgraph/entities/streamPeriod/streamPeriod":288,"./subgraph/entities/token/token":290,"./subgraph/entities/tokenStatistic/tokenStatistic":292,"./subgraph/events/events":295,"./subgraph/events/flowUpdatedEvent":296,"./subgraph/events/indexUpdatedEvent":297,"./subgraph/events/subscriptionUnitsUpdatedEvents":298,"./subgraph/mappedSubgraphTypes":299,"./subgraph/schema.generated":307,"./subgraph/subgraphQueryHandler":308,"./types":309,"./utils":310}],273:[function(require,module,exports){
|
|
62797
62806
|
arguments[4][270][0].apply(exports,arguments)
|
|
62798
62807
|
},{"dup":270}],274:[function(require,module,exports){
|
|
62799
62808
|
"use strict";
|
|
62800
62809
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62801
62810
|
exports.mapGetAllEventsQueryEvents = void 0;
|
|
62802
|
-
|
|
62803
|
-
const
|
|
62804
|
-
|
|
62805
|
-
return queryResponse.events.map((x) => {
|
|
62811
|
+
const utils_1 = require("./utils");
|
|
62812
|
+
const mapGetAllEventsQueryEvents = (queryEvents) => {
|
|
62813
|
+
return queryEvents.map((x) => {
|
|
62806
62814
|
switch (x.__typename) {
|
|
62807
62815
|
case "AppRegisteredEvent":
|
|
62808
|
-
return typeGuard({
|
|
62816
|
+
return (0, utils_1.typeGuard)({
|
|
62809
62817
|
name: "AppRegistered",
|
|
62810
62818
|
id: x.id,
|
|
62811
62819
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62814,7 +62822,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62814
62822
|
app: x.app,
|
|
62815
62823
|
});
|
|
62816
62824
|
case "AgreementClassRegisteredEvent":
|
|
62817
|
-
return typeGuard({
|
|
62825
|
+
return (0, utils_1.typeGuard)({
|
|
62818
62826
|
name: "AgreementClassRegistered",
|
|
62819
62827
|
id: x.id,
|
|
62820
62828
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62824,7 +62832,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62824
62832
|
code: x.code,
|
|
62825
62833
|
});
|
|
62826
62834
|
case "AgreementClassUpdatedEvent":
|
|
62827
|
-
return typeGuard({
|
|
62835
|
+
return (0, utils_1.typeGuard)({
|
|
62828
62836
|
name: "AgreementClassUpdated",
|
|
62829
62837
|
id: x.id,
|
|
62830
62838
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62834,7 +62842,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62834
62842
|
code: x.code,
|
|
62835
62843
|
});
|
|
62836
62844
|
case "AgreementLiquidatedByEvent":
|
|
62837
|
-
return typeGuard({
|
|
62845
|
+
return (0, utils_1.typeGuard)({
|
|
62838
62846
|
name: "AgreementLiquidatedBy",
|
|
62839
62847
|
id: x.id,
|
|
62840
62848
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62850,7 +62858,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62850
62858
|
token: x.token,
|
|
62851
62859
|
});
|
|
62852
62860
|
case "BurnedEvent":
|
|
62853
|
-
return typeGuard({
|
|
62861
|
+
return (0, utils_1.typeGuard)({
|
|
62854
62862
|
name: "Burned",
|
|
62855
62863
|
id: x.id,
|
|
62856
62864
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62863,7 +62871,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62863
62871
|
operatorData: x.operatorData,
|
|
62864
62872
|
});
|
|
62865
62873
|
case "CFAv1LiquidationPeriodChangedEvent":
|
|
62866
|
-
return typeGuard({
|
|
62874
|
+
return (0, utils_1.typeGuard)({
|
|
62867
62875
|
name: "CFAv1LiquidationPeriodChanged",
|
|
62868
62876
|
id: x.id,
|
|
62869
62877
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62875,7 +62883,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62875
62883
|
superToken: x.superToken,
|
|
62876
62884
|
});
|
|
62877
62885
|
case "ConfigChangedEvent":
|
|
62878
|
-
return typeGuard({
|
|
62886
|
+
return (0, utils_1.typeGuard)({
|
|
62879
62887
|
name: "ConfigChanged",
|
|
62880
62888
|
id: x.id,
|
|
62881
62889
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62888,7 +62896,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62888
62896
|
value: x.value,
|
|
62889
62897
|
});
|
|
62890
62898
|
case "CustomSuperTokenCreatedEvent":
|
|
62891
|
-
return typeGuard({
|
|
62899
|
+
return (0, utils_1.typeGuard)({
|
|
62892
62900
|
name: "CustomSuperTokenCreated",
|
|
62893
62901
|
id: x.id,
|
|
62894
62902
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62897,7 +62905,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62897
62905
|
token: x.token,
|
|
62898
62906
|
});
|
|
62899
62907
|
case "FlowUpdatedEvent":
|
|
62900
|
-
return typeGuard({
|
|
62908
|
+
return (0, utils_1.typeGuard)({
|
|
62901
62909
|
name: "FlowUpdated",
|
|
62902
62910
|
id: x.id,
|
|
62903
62911
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62909,7 +62917,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62909
62917
|
sender: x.sender,
|
|
62910
62918
|
});
|
|
62911
62919
|
case "GovernanceReplacedEvent":
|
|
62912
|
-
return typeGuard({
|
|
62920
|
+
return (0, utils_1.typeGuard)({
|
|
62913
62921
|
name: "GovernanceReplaced",
|
|
62914
62922
|
id: x.id,
|
|
62915
62923
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62919,7 +62927,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62919
62927
|
newGovernance: x.newGovernance,
|
|
62920
62928
|
});
|
|
62921
62929
|
case "IndexCreatedEvent":
|
|
62922
|
-
return typeGuard({
|
|
62930
|
+
return (0, utils_1.typeGuard)({
|
|
62923
62931
|
name: "IndexCreated",
|
|
62924
62932
|
id: x.id,
|
|
62925
62933
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62931,7 +62939,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62931
62939
|
userData: x.userData,
|
|
62932
62940
|
});
|
|
62933
62941
|
case "IndexDistributionClaimedEvent":
|
|
62934
|
-
return typeGuard({
|
|
62942
|
+
return (0, utils_1.typeGuard)({
|
|
62935
62943
|
name: "IndexDistributionClaimed",
|
|
62936
62944
|
id: x.id,
|
|
62937
62945
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62944,7 +62952,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62944
62952
|
subscriber: x.subscriber,
|
|
62945
62953
|
});
|
|
62946
62954
|
case "IndexSubscribedEvent":
|
|
62947
|
-
return typeGuard({
|
|
62955
|
+
return (0, utils_1.typeGuard)({
|
|
62948
62956
|
name: "IndexSubscribed",
|
|
62949
62957
|
id: x.id,
|
|
62950
62958
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62956,7 +62964,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62956
62964
|
subscriber: x.subscriber,
|
|
62957
62965
|
});
|
|
62958
62966
|
case "IndexUnitsUpdatedEvent":
|
|
62959
|
-
return typeGuard({
|
|
62967
|
+
return (0, utils_1.typeGuard)({
|
|
62960
62968
|
name: "IndexUnitsUpdated",
|
|
62961
62969
|
id: x.id,
|
|
62962
62970
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62971,7 +62979,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62971
62979
|
userData: x.userData,
|
|
62972
62980
|
});
|
|
62973
62981
|
case "IndexUnsubscribedEvent":
|
|
62974
|
-
return typeGuard({
|
|
62982
|
+
return (0, utils_1.typeGuard)({
|
|
62975
62983
|
name: "IndexUnsubscribed",
|
|
62976
62984
|
id: x.id,
|
|
62977
62985
|
blockNumber: Number(x.blockNumber),
|
|
@@ -62984,7 +62992,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
62984
62992
|
userData: x.userData,
|
|
62985
62993
|
});
|
|
62986
62994
|
case "IndexUpdatedEvent":
|
|
62987
|
-
return typeGuard({
|
|
62995
|
+
return (0, utils_1.typeGuard)({
|
|
62988
62996
|
name: "IndexUpdated",
|
|
62989
62997
|
id: x.id,
|
|
62990
62998
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63000,7 +63008,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63000
63008
|
userData: x.userData,
|
|
63001
63009
|
});
|
|
63002
63010
|
case "JailEvent":
|
|
63003
|
-
return typeGuard({
|
|
63011
|
+
return (0, utils_1.typeGuard)({
|
|
63004
63012
|
name: "Jail",
|
|
63005
63013
|
id: x.id,
|
|
63006
63014
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63010,7 +63018,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63010
63018
|
reason: x.reason,
|
|
63011
63019
|
});
|
|
63012
63020
|
case "MintedEvent":
|
|
63013
|
-
return typeGuard({
|
|
63021
|
+
return (0, utils_1.typeGuard)({
|
|
63014
63022
|
name: "Minted",
|
|
63015
63023
|
id: x.id,
|
|
63016
63024
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63023,7 +63031,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63023
63031
|
operatorData: x.operatorData,
|
|
63024
63032
|
});
|
|
63025
63033
|
case "RewardAddressChangedEvent":
|
|
63026
|
-
return typeGuard({
|
|
63034
|
+
return (0, utils_1.typeGuard)({
|
|
63027
63035
|
name: "RewardAddressChanged",
|
|
63028
63036
|
id: x.id,
|
|
63029
63037
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63035,7 +63043,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63035
63043
|
rewardAddress: x.rewardAddress,
|
|
63036
63044
|
});
|
|
63037
63045
|
case "RoleAdminChangedEvent":
|
|
63038
|
-
return typeGuard({
|
|
63046
|
+
return (0, utils_1.typeGuard)({
|
|
63039
63047
|
name: "RoleAdminChanged",
|
|
63040
63048
|
id: x.id,
|
|
63041
63049
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63046,7 +63054,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63046
63054
|
newAdminRole: x.newAdminRole,
|
|
63047
63055
|
});
|
|
63048
63056
|
case "RoleGrantedEvent":
|
|
63049
|
-
return typeGuard({
|
|
63057
|
+
return (0, utils_1.typeGuard)({
|
|
63050
63058
|
name: "RoleGranted",
|
|
63051
63059
|
id: x.id,
|
|
63052
63060
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63057,7 +63065,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63057
63065
|
sender: x.sender,
|
|
63058
63066
|
});
|
|
63059
63067
|
case "RoleRevokedEvent":
|
|
63060
|
-
return typeGuard({
|
|
63068
|
+
return (0, utils_1.typeGuard)({
|
|
63061
63069
|
name: "RoleRevoked",
|
|
63062
63070
|
id: x.id,
|
|
63063
63071
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63068,7 +63076,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63068
63076
|
sender: x.sender,
|
|
63069
63077
|
});
|
|
63070
63078
|
case "SentEvent":
|
|
63071
|
-
return typeGuard({
|
|
63079
|
+
return (0, utils_1.typeGuard)({
|
|
63072
63080
|
name: "Sent",
|
|
63073
63081
|
id: x.id,
|
|
63074
63082
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63081,7 +63089,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63081
63089
|
operatorData: x.operatorData,
|
|
63082
63090
|
});
|
|
63083
63091
|
case "SubscriptionApprovedEvent":
|
|
63084
|
-
return typeGuard({
|
|
63092
|
+
return (0, utils_1.typeGuard)({
|
|
63085
63093
|
name: "SubscriptionApproved",
|
|
63086
63094
|
id: x.id,
|
|
63087
63095
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63095,7 +63103,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63095
63103
|
subscription: x.subscription.id,
|
|
63096
63104
|
});
|
|
63097
63105
|
case "SubscriptionDistributionClaimedEvent":
|
|
63098
|
-
return typeGuard({
|
|
63106
|
+
return (0, utils_1.typeGuard)({
|
|
63099
63107
|
name: "SubscriptionDistributionClaimed",
|
|
63100
63108
|
id: x.id,
|
|
63101
63109
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63109,7 +63117,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63109
63117
|
subscription: x.subscription.id,
|
|
63110
63118
|
});
|
|
63111
63119
|
case "SubscriptionRevokedEvent":
|
|
63112
|
-
return typeGuard({
|
|
63120
|
+
return (0, utils_1.typeGuard)({
|
|
63113
63121
|
name: "SubscriptionRevoked",
|
|
63114
63122
|
id: x.id,
|
|
63115
63123
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63123,7 +63131,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63123
63131
|
subscription: x.subscription.id,
|
|
63124
63132
|
});
|
|
63125
63133
|
case "SubscriptionUnitsUpdatedEvent":
|
|
63126
|
-
return typeGuard({
|
|
63134
|
+
return (0, utils_1.typeGuard)({
|
|
63127
63135
|
name: "SubscriptionUnitsUpdated",
|
|
63128
63136
|
id: x.id,
|
|
63129
63137
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63138,7 +63146,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63138
63146
|
subscription: x.subscription.id,
|
|
63139
63147
|
});
|
|
63140
63148
|
case "SuperTokenCreatedEvent":
|
|
63141
|
-
return typeGuard({
|
|
63149
|
+
return (0, utils_1.typeGuard)({
|
|
63142
63150
|
name: "SuperTokenCreated",
|
|
63143
63151
|
id: x.id,
|
|
63144
63152
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63147,7 +63155,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63147
63155
|
token: x.token,
|
|
63148
63156
|
});
|
|
63149
63157
|
case "SuperTokenFactoryUpdatedEvent":
|
|
63150
|
-
return typeGuard({
|
|
63158
|
+
return (0, utils_1.typeGuard)({
|
|
63151
63159
|
name: "SuperTokenFactoryUpdated",
|
|
63152
63160
|
id: x.id,
|
|
63153
63161
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63156,7 +63164,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63156
63164
|
newFactory: x.newFactory,
|
|
63157
63165
|
});
|
|
63158
63166
|
case "SuperTokenLogicCreatedEvent":
|
|
63159
|
-
return typeGuard({
|
|
63167
|
+
return (0, utils_1.typeGuard)({
|
|
63160
63168
|
name: "SuperTokenLogicCreated",
|
|
63161
63169
|
id: x.id,
|
|
63162
63170
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63165,7 +63173,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63165
63173
|
tokenLogic: x.tokenLogic,
|
|
63166
63174
|
});
|
|
63167
63175
|
case "SuperTokenLogicUpdatedEvent":
|
|
63168
|
-
return typeGuard({
|
|
63176
|
+
return (0, utils_1.typeGuard)({
|
|
63169
63177
|
name: "SuperTokenLogicUpdated",
|
|
63170
63178
|
id: x.id,
|
|
63171
63179
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63175,7 +63183,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63175
63183
|
code: x.code,
|
|
63176
63184
|
});
|
|
63177
63185
|
case "TokenDowngradedEvent":
|
|
63178
|
-
return typeGuard({
|
|
63186
|
+
return (0, utils_1.typeGuard)({
|
|
63179
63187
|
name: "TokenDowngraded",
|
|
63180
63188
|
id: x.id,
|
|
63181
63189
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63186,7 +63194,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63186
63194
|
account: x.account.id,
|
|
63187
63195
|
});
|
|
63188
63196
|
case "TokenUpgradedEvent":
|
|
63189
|
-
return typeGuard({
|
|
63197
|
+
return (0, utils_1.typeGuard)({
|
|
63190
63198
|
name: "TokenUpgraded",
|
|
63191
63199
|
id: x.id,
|
|
63192
63200
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63197,7 +63205,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63197
63205
|
account: x.account.id,
|
|
63198
63206
|
});
|
|
63199
63207
|
case "TransferEvent":
|
|
63200
|
-
return typeGuard({
|
|
63208
|
+
return (0, utils_1.typeGuard)({
|
|
63201
63209
|
name: "Transfer",
|
|
63202
63210
|
id: x.id,
|
|
63203
63211
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63209,7 +63217,7 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63209
63217
|
value: x.value,
|
|
63210
63218
|
});
|
|
63211
63219
|
case "TrustedForwarderChangedEvent":
|
|
63212
|
-
return typeGuard({
|
|
63220
|
+
return (0, utils_1.typeGuard)({
|
|
63213
63221
|
name: "TrustedForwarderChanged",
|
|
63214
63222
|
id: x.id,
|
|
63215
63223
|
blockNumber: Number(x.blockNumber),
|
|
@@ -63228,7 +63236,9 @@ const mapGetAllEventsQueryEvents = (queryResponse) => {
|
|
|
63228
63236
|
};
|
|
63229
63237
|
exports.mapGetAllEventsQueryEvents = mapGetAllEventsQueryEvents;
|
|
63230
63238
|
|
|
63231
|
-
},{}],275:[function(require,module,exports){
|
|
63239
|
+
},{"./utils":310}],275:[function(require,module,exports){
|
|
63240
|
+
arguments[4][270][0].apply(exports,arguments)
|
|
63241
|
+
},{"dup":270}],276:[function(require,module,exports){
|
|
63232
63242
|
"use strict";
|
|
63233
63243
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63234
63244
|
exports.takePlusOne = exports.nextLastIdPaging = exports.nextSkipPaging = exports.createLastIdPaging = exports.createSkipPaging = exports.createPagedResult = void 0;
|
|
@@ -63289,15 +63299,12 @@ const takePlusOne = (paging) => {
|
|
|
63289
63299
|
};
|
|
63290
63300
|
exports.takePlusOne = takePlusOne;
|
|
63291
63301
|
|
|
63292
|
-
},{}],
|
|
63302
|
+
},{}],277:[function(require,module,exports){
|
|
63293
63303
|
"use strict";
|
|
63294
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
63295
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
63296
|
-
};
|
|
63297
63304
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63298
63305
|
exports.SubgraphClient = void 0;
|
|
63299
63306
|
const graphql_request_1 = require("graphql-request");
|
|
63300
|
-
const SFError_1 =
|
|
63307
|
+
const SFError_1 = require("../SFError");
|
|
63301
63308
|
class SubgraphClient {
|
|
63302
63309
|
constructor(subgraphUrl) {
|
|
63303
63310
|
this.subgraphUrl = subgraphUrl;
|
|
@@ -63307,7 +63314,7 @@ class SubgraphClient {
|
|
|
63307
63314
|
return await (0, graphql_request_1.request)(this.subgraphUrl, document, cleanVariables(variables));
|
|
63308
63315
|
}
|
|
63309
63316
|
catch (err) {
|
|
63310
|
-
throw new SFError_1.
|
|
63317
|
+
throw new SFError_1.SFError({
|
|
63311
63318
|
type: "SUBGRAPH_ERROR",
|
|
63312
63319
|
customMessage: `Failed call to subgraph with query ${document}`,
|
|
63313
63320
|
errorObject: err,
|
|
@@ -63319,7 +63326,7 @@ class SubgraphClient {
|
|
|
63319
63326
|
return await (0, graphql_request_1.batchRequests)(this.subgraphUrl, documents);
|
|
63320
63327
|
}
|
|
63321
63328
|
catch (err) {
|
|
63322
|
-
throw new SFError_1.
|
|
63329
|
+
throw new SFError_1.SFError({
|
|
63323
63330
|
type: "SUBGRAPH_ERROR",
|
|
63324
63331
|
customMessage: "Failed call to subgraph with query...",
|
|
63325
63332
|
errorObject: err,
|
|
@@ -63341,54 +63348,643 @@ function cleanVariables(variables) {
|
|
|
63341
63348
|
]));
|
|
63342
63349
|
}
|
|
63343
63350
|
|
|
63344
|
-
},{"../SFError":259,"graphql-request":149}],
|
|
63351
|
+
},{"../SFError":259,"graphql-request":149}],278:[function(require,module,exports){
|
|
63352
|
+
"use strict";
|
|
63353
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63354
|
+
exports.AccountQueryHandler = void 0;
|
|
63355
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63356
|
+
const accounts_generated_1 = require("./accounts.generated");
|
|
63357
|
+
class AccountQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63358
|
+
constructor() {
|
|
63359
|
+
super(...arguments);
|
|
63360
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63361
|
+
accountKeys: ["id"],
|
|
63362
|
+
tokenKeys: [],
|
|
63363
|
+
});
|
|
63364
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63365
|
+
accounts: [result.id],
|
|
63366
|
+
tokens: [],
|
|
63367
|
+
});
|
|
63368
|
+
this.mapFromSubgraphResponse = (response) => response.accounts.map((x) => ({
|
|
63369
|
+
...x,
|
|
63370
|
+
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
63371
|
+
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
63372
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63373
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63374
|
+
}));
|
|
63375
|
+
this.requestDocument = accounts_generated_1.AccountsDocument;
|
|
63376
|
+
}
|
|
63377
|
+
}
|
|
63378
|
+
exports.AccountQueryHandler = AccountQueryHandler;
|
|
63379
|
+
|
|
63380
|
+
},{"../../subgraphQueryHandler":308,"./accounts.generated":279}],279:[function(require,module,exports){
|
|
63381
|
+
"use strict";
|
|
63382
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63383
|
+
exports.AccountsDocument = void 0;
|
|
63384
|
+
exports.AccountsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "accounts" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Account_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Account_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "accounts" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSuperApp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }] } }] } }] };
|
|
63385
|
+
|
|
63386
|
+
},{}],280:[function(require,module,exports){
|
|
63387
|
+
"use strict";
|
|
63388
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63389
|
+
exports.AccountTokenSnapshotQueryHandler = void 0;
|
|
63390
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63391
|
+
const accountTokenSnapshots_generated_1 = require("./accountTokenSnapshots.generated");
|
|
63392
|
+
class AccountTokenSnapshotQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63393
|
+
constructor() {
|
|
63394
|
+
super(...arguments);
|
|
63395
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63396
|
+
accountKeys: ["account"],
|
|
63397
|
+
tokenKeys: ["token"],
|
|
63398
|
+
});
|
|
63399
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63400
|
+
tokens: [result.token],
|
|
63401
|
+
accounts: [result.account],
|
|
63402
|
+
});
|
|
63403
|
+
this.mapFromSubgraphResponse = (response) => response.accountTokenSnapshots.map((x) => ({
|
|
63404
|
+
...x,
|
|
63405
|
+
account: x.account.id,
|
|
63406
|
+
token: x.token.id,
|
|
63407
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63408
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63409
|
+
}));
|
|
63410
|
+
this.requestDocument = accountTokenSnapshots_generated_1.AccountTokenSnapshotsDocument;
|
|
63411
|
+
}
|
|
63412
|
+
}
|
|
63413
|
+
exports.AccountTokenSnapshotQueryHandler = AccountTokenSnapshotQueryHandler;
|
|
63414
|
+
|
|
63415
|
+
},{"../../subgraphQueryHandler":308,"./accountTokenSnapshots.generated":281}],281:[function(require,module,exports){
|
|
63416
|
+
"use strict";
|
|
63417
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63418
|
+
exports.AccountTokenSnapshotsDocument = void 0;
|
|
63419
|
+
exports.AccountTokenSnapshotsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "accountTokenSnapshots" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AccountTokenSnapshot_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AccountTokenSnapshot_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "accountTokenSnapshots" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "balanceUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountStreamedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountTransferredUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalInflowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalApprovedSubscriptions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNetFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfActiveStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOutflowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfClosedStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSubscriptionsWithUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }] } }] } }] };
|
|
63420
|
+
|
|
63421
|
+
},{}],282:[function(require,module,exports){
|
|
63422
|
+
"use strict";
|
|
63423
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63424
|
+
exports.IndexQueryHandler = void 0;
|
|
63425
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63426
|
+
const indexes_generated_1 = require("./indexes.generated");
|
|
63427
|
+
class IndexQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63428
|
+
constructor() {
|
|
63429
|
+
super(...arguments);
|
|
63430
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63431
|
+
accountKeys: ["publisher"],
|
|
63432
|
+
tokenKeys: ["token"],
|
|
63433
|
+
});
|
|
63434
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63435
|
+
tokens: [result.token],
|
|
63436
|
+
accounts: [result.publisher],
|
|
63437
|
+
});
|
|
63438
|
+
this.mapFromSubgraphResponse = (response) => response.indexes.map((x) => ({
|
|
63439
|
+
...x,
|
|
63440
|
+
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
63441
|
+
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
63442
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63443
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63444
|
+
indexCreatedEvent: x.indexCreatedEvent.id,
|
|
63445
|
+
publisher: x.publisher.id,
|
|
63446
|
+
token: x.token.id,
|
|
63447
|
+
}));
|
|
63448
|
+
this.requestDocument = indexes_generated_1.IndexesDocument;
|
|
63449
|
+
}
|
|
63450
|
+
}
|
|
63451
|
+
exports.IndexQueryHandler = IndexQueryHandler;
|
|
63452
|
+
|
|
63453
|
+
},{"../../subgraphQueryHandler":308,"./indexes.generated":283}],283:[function(require,module,exports){
|
|
63454
|
+
"use strict";
|
|
63455
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63456
|
+
exports.IndexesDocument = void 0;
|
|
63457
|
+
exports.IndexesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexes" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Index_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Index_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexes" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexCreatedEvent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountDistributedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSubscriptionsWithUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }] } }] } }] };
|
|
63458
|
+
|
|
63459
|
+
},{}],284:[function(require,module,exports){
|
|
63460
|
+
"use strict";
|
|
63461
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63462
|
+
exports.IndexSubscriptionQueryHandler = void 0;
|
|
63463
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63464
|
+
const indexSubscriptions_generated_1 = require("./indexSubscriptions.generated");
|
|
63465
|
+
class IndexSubscriptionQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63466
|
+
constructor() {
|
|
63467
|
+
super(...arguments);
|
|
63468
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63469
|
+
accountKeys: ["subscriber"],
|
|
63470
|
+
tokenKeys: [],
|
|
63471
|
+
});
|
|
63472
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63473
|
+
tokens: [result.token],
|
|
63474
|
+
accounts: [result.subscriber, result.publisher],
|
|
63475
|
+
});
|
|
63476
|
+
this.mapFromSubgraphResponse = (response) => response.indexSubscriptions.map((x) => ({
|
|
63477
|
+
...x,
|
|
63478
|
+
subscriber: x.subscriber.id,
|
|
63479
|
+
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
63480
|
+
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
63481
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63482
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63483
|
+
index: x.index.id,
|
|
63484
|
+
token: x.index.token.id,
|
|
63485
|
+
publisher: x.index.publisher.id,
|
|
63486
|
+
}));
|
|
63487
|
+
this.requestDocument = indexSubscriptions_generated_1.IndexSubscriptionsDocument;
|
|
63488
|
+
}
|
|
63489
|
+
}
|
|
63490
|
+
exports.IndexSubscriptionQueryHandler = IndexSubscriptionQueryHandler;
|
|
63491
|
+
|
|
63492
|
+
},{"../../subgraphQueryHandler":308,"./indexSubscriptions.generated":285}],285:[function(require,module,exports){
|
|
63493
|
+
"use strict";
|
|
63494
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63495
|
+
exports.IndexSubscriptionsDocument = void 0;
|
|
63496
|
+
exports.IndexSubscriptionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexSubscriptions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscription_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscription_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexSubscriptions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "approved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexValueUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountReceivedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }] } }] } }] };
|
|
63497
|
+
|
|
63498
|
+
},{}],286:[function(require,module,exports){
|
|
63499
|
+
"use strict";
|
|
63500
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63501
|
+
exports.StreamQueryHandler = void 0;
|
|
63502
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63503
|
+
const streams_generated_1 = require("./streams.generated");
|
|
63504
|
+
class StreamQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63505
|
+
constructor() {
|
|
63506
|
+
super(...arguments);
|
|
63507
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63508
|
+
accountKeys: ["sender", "receiver"],
|
|
63509
|
+
tokenKeys: ["token"],
|
|
63510
|
+
});
|
|
63511
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63512
|
+
tokens: [result.token],
|
|
63513
|
+
accounts: [result.sender, result.receiver],
|
|
63514
|
+
});
|
|
63515
|
+
this.mapFromSubgraphResponse = (response) => response.streams.map((x) => ({
|
|
63516
|
+
...x,
|
|
63517
|
+
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
63518
|
+
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
63519
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63520
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63521
|
+
receiver: x.receiver.id,
|
|
63522
|
+
token: x.token.id,
|
|
63523
|
+
sender: x.sender.id,
|
|
63524
|
+
}));
|
|
63525
|
+
this.requestDocument = streams_generated_1.StreamsDocument;
|
|
63526
|
+
}
|
|
63527
|
+
}
|
|
63528
|
+
exports.StreamQueryHandler = StreamQueryHandler;
|
|
63529
|
+
|
|
63530
|
+
},{"../../subgraphQueryHandler":308,"./streams.generated":287}],287:[function(require,module,exports){
|
|
63531
|
+
"use strict";
|
|
63532
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63533
|
+
exports.StreamsDocument = void 0;
|
|
63534
|
+
exports.StreamsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "streams" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "streams" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "streamedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }] } }] } }] };
|
|
63535
|
+
|
|
63536
|
+
},{}],288:[function(require,module,exports){
|
|
63537
|
+
"use strict";
|
|
63538
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63539
|
+
exports.StreamPeriodQueryHandler = void 0;
|
|
63540
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63541
|
+
const streamPeriods_generated_1 = require("./streamPeriods.generated");
|
|
63542
|
+
class StreamPeriodQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63543
|
+
constructor() {
|
|
63544
|
+
super(...arguments);
|
|
63545
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63546
|
+
accountKeys: ["sender", "receiver"],
|
|
63547
|
+
tokenKeys: ["token"],
|
|
63548
|
+
});
|
|
63549
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63550
|
+
tokens: [result.token],
|
|
63551
|
+
accounts: [result.sender, result.receiver],
|
|
63552
|
+
});
|
|
63553
|
+
this.mapFromSubgraphResponse = (response) => response.streamPeriods.map((x) => {
|
|
63554
|
+
var _a;
|
|
63555
|
+
return ({
|
|
63556
|
+
...x,
|
|
63557
|
+
stream: x.stream.id,
|
|
63558
|
+
token: x.token.id,
|
|
63559
|
+
sender: x.sender.id,
|
|
63560
|
+
receiver: x.receiver.id,
|
|
63561
|
+
startedAtEvent: x.startedAtEvent.id,
|
|
63562
|
+
stoppedAtEvent: (_a = x.stoppedAtEvent) === null || _a === void 0 ? void 0 : _a.id,
|
|
63563
|
+
startedAtBlockNumber: Number(x.startedAtBlockNumber),
|
|
63564
|
+
stoppedAtBlockNumber: Number(x.stoppedAtBlockNumber),
|
|
63565
|
+
startedAtTimestamp: Number(x.startedAtTimestamp),
|
|
63566
|
+
stoppedAtTimestamp: Number(x.stoppedAtTimestamp),
|
|
63567
|
+
});
|
|
63568
|
+
});
|
|
63569
|
+
this.requestDocument = streamPeriods_generated_1.StreamPeriodsDocument;
|
|
63570
|
+
}
|
|
63571
|
+
}
|
|
63572
|
+
exports.StreamPeriodQueryHandler = StreamPeriodQueryHandler;
|
|
63573
|
+
|
|
63574
|
+
},{"../../subgraphQueryHandler":308,"./streamPeriods.generated":289}],289:[function(require,module,exports){
|
|
63575
|
+
"use strict";
|
|
63576
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63577
|
+
exports.StreamPeriodsDocument = void 0;
|
|
63578
|
+
exports.StreamPeriodsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "streamPeriods" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "StreamPeriod_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "StreamPeriod_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "streamPeriods" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "stoppedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "stoppedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountStreamed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "stream" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "stoppedAtEvent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAtEvent" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }] } }] };
|
|
63579
|
+
|
|
63580
|
+
},{}],290:[function(require,module,exports){
|
|
63581
|
+
"use strict";
|
|
63582
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63583
|
+
exports.TokenQueryHandler = void 0;
|
|
63584
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63585
|
+
const tokens_generated_1 = require("./tokens.generated");
|
|
63586
|
+
class TokenQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63587
|
+
constructor() {
|
|
63588
|
+
super(...arguments);
|
|
63589
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63590
|
+
accountKeys: [],
|
|
63591
|
+
tokenKeys: ["id", "underlyingToken", "underlyingAddress"],
|
|
63592
|
+
});
|
|
63593
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63594
|
+
tokens: [result.underlyingAddress, result.id],
|
|
63595
|
+
accounts: [],
|
|
63596
|
+
});
|
|
63597
|
+
this.mapFromSubgraphResponse = (response) => response.tokens.map((x) => ({
|
|
63598
|
+
...x,
|
|
63599
|
+
createdAtBlockNumber: Number(x.createdAtBlockNumber),
|
|
63600
|
+
createdAtTimestamp: Number(x.createdAtTimestamp),
|
|
63601
|
+
}));
|
|
63602
|
+
this.requestDocument = tokens_generated_1.TokensDocument;
|
|
63603
|
+
}
|
|
63604
|
+
}
|
|
63605
|
+
exports.TokenQueryHandler = TokenQueryHandler;
|
|
63606
|
+
|
|
63607
|
+
},{"../../subgraphQueryHandler":308,"./tokens.generated":291}],291:[function(require,module,exports){
|
|
63608
|
+
"use strict";
|
|
63609
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63610
|
+
exports.TokensDocument = void 0;
|
|
63611
|
+
exports.TokensDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "tokens" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Token_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Token_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokens" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decimals" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSuperToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] };
|
|
63612
|
+
|
|
63613
|
+
},{}],292:[function(require,module,exports){
|
|
63614
|
+
"use strict";
|
|
63615
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63616
|
+
exports.TokenStatisticQueryHandler = void 0;
|
|
63617
|
+
const subgraphQueryHandler_1 = require("../../subgraphQueryHandler");
|
|
63618
|
+
const tokenStatistics_generated_1 = require("./tokenStatistics.generated");
|
|
63619
|
+
class TokenStatisticQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63620
|
+
constructor() {
|
|
63621
|
+
super(...arguments);
|
|
63622
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63623
|
+
accountKeys: [],
|
|
63624
|
+
tokenKeys: ["id", "token"],
|
|
63625
|
+
});
|
|
63626
|
+
this.getRelevantAddressesFromResultCore = (result) => ({
|
|
63627
|
+
tokens: [result.id],
|
|
63628
|
+
accounts: [],
|
|
63629
|
+
});
|
|
63630
|
+
this.mapFromSubgraphResponse = (response) => response.tokenStatistics.map((x) => ({
|
|
63631
|
+
...x,
|
|
63632
|
+
updatedAtBlockNumber: Number(x.updatedAtBlockNumber),
|
|
63633
|
+
updatedAtTimestamp: Number(x.updatedAtTimestamp),
|
|
63634
|
+
}));
|
|
63635
|
+
this.requestDocument = tokenStatistics_generated_1.TokenStatisticsDocument;
|
|
63636
|
+
}
|
|
63637
|
+
}
|
|
63638
|
+
exports.TokenStatisticQueryHandler = TokenStatisticQueryHandler;
|
|
63639
|
+
|
|
63640
|
+
},{"../../subgraphQueryHandler":308,"./tokenStatistics.generated":293}],293:[function(require,module,exports){
|
|
63641
|
+
"use strict";
|
|
63642
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63643
|
+
exports.TokenStatisticsDocument = void 0;
|
|
63644
|
+
exports.TokenStatisticsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "tokenStatistics" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenStatistic_orderBy" } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenStatistic_filter" } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenStatistics" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountDistributedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountStreamedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountTransferredUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalApprovedSubscriptions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfActiveIndexes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfActiveStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfIndexes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfClosedStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOutflowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSubscriptionsWithUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSupply" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }] } }] } }] };
|
|
63645
|
+
|
|
63646
|
+
},{}],294:[function(require,module,exports){
|
|
63647
|
+
"use strict";
|
|
63648
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63649
|
+
exports.EventsDocument = exports.SuperTokenLogicCreatedEventsDocument = exports.SuperTokenCreatedEventsDocument = exports.CustomSuperTokenCreatedEventsDocument = exports.SentEventsDocument = exports.MintedEventsDocument = exports.BurnedEventsDocument = exports.AgreementLiquidatedByEventsDocument = exports.TrustedForwarderChangedEventsDocument = exports.RewardAddressChangedEventsDocument = exports.ConfigChangedEventsDocument = exports.CfaV1LiquidationPeriodChangedEventsDocument = exports.RoleRevokedEventsDocument = exports.RoleGrantedEventsDocument = exports.RoleAdminChangedEventsDocument = exports.SuperTokenLogicUpdatedEventsDocument = exports.SuperTokenFactoryUpdatedEventsDocument = exports.JailEventsDocument = exports.GovernanceReplacedEventsDocument = exports.AppRegisteredEventsDocument = exports.AgreementClassUpdatedEventsDocument = exports.AgreementClassRegisteredEventsDocument = exports.TokenDowngradedEventsDocument = exports.TokenUpgradedEventsDocument = exports.TransferEventsDocument = exports.SubscriptionUnitsUpdatedEventsDocument = exports.SubscriptionRevokedEventsDocument = exports.SubscriptionDistributionClaimedEventsDocument = exports.SubscriptionApprovedEventsDocument = exports.IndexUnsubscribedEventsDocument = exports.IndexUnitsUpdatedEventsDocument = exports.IndexSubscribedEventsDocument = exports.IndexUpdatedEventsDocument = exports.IndexDistributionClaimedEventsDocument = exports.IndexCreatedEventsDocument = exports.FlowUpdatedEventsDocument = void 0;
|
|
63650
|
+
exports.FlowUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "flowUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "FlowUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "FlowUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "flowUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63651
|
+
exports.IndexCreatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexCreatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexCreatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexCreatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexCreatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63652
|
+
exports.IndexDistributionClaimedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexDistributionClaimedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexDistributionClaimedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexDistributionClaimedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexDistributionClaimedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63653
|
+
exports.IndexUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63654
|
+
exports.IndexSubscribedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexSubscribedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscribedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscribedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexSubscribedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63655
|
+
exports.IndexUnitsUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexUnitsUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnitsUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnitsUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexUnitsUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63656
|
+
exports.IndexUnsubscribedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "indexUnsubscribedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnsubscribedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnsubscribedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "indexUnsubscribedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63657
|
+
exports.SubscriptionApprovedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "subscriptionApprovedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionApprovedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionApprovedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "subscriptionApprovedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63658
|
+
exports.SubscriptionDistributionClaimedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "subscriptionDistributionClaimedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionDistributionClaimedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionDistributionClaimedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "subscriptionDistributionClaimedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63659
|
+
exports.SubscriptionRevokedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "subscriptionRevokedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionRevokedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionRevokedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "subscriptionRevokedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63660
|
+
exports.SubscriptionUnitsUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "subscriptionUnitsUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionUnitsUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionUnitsUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "subscriptionUnitsUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63661
|
+
exports.TransferEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "transferEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "transferEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63662
|
+
exports.TokenUpgradedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "tokenUpgradedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenUpgradedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenUpgradedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenUpgradedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63663
|
+
exports.TokenDowngradedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "tokenDowngradedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenDowngradedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenDowngradedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenDowngradedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63664
|
+
exports.AgreementClassRegisteredEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "agreementClassRegisteredEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassRegisteredEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassRegisteredEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agreementClassRegisteredEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63665
|
+
exports.AgreementClassUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "agreementClassUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agreementClassUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63666
|
+
exports.AppRegisteredEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "appRegisteredEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppRegisteredEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppRegisteredEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appRegisteredEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63667
|
+
exports.GovernanceReplacedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "governanceReplacedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GovernanceReplacedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GovernanceReplacedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "governanceReplacedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "oldGovernance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newGovernance" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63668
|
+
exports.JailEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "jailEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JailEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JailEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "jailEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63669
|
+
exports.SuperTokenFactoryUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "superTokenFactoryUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenFactoryUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenFactoryUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superTokenFactoryUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "newFactory" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63670
|
+
exports.SuperTokenLogicUpdatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "superTokenLogicUpdatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicUpdatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicUpdatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superTokenLogicUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63671
|
+
exports.RoleAdminChangedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "roleAdminChangedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleAdminChangedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleAdminChangedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "roleAdminChangedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "previousAdminRole" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newAdminRole" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63672
|
+
exports.RoleGrantedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "roleGrantedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleGrantedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleGrantedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "roleGrantedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63673
|
+
exports.RoleRevokedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "roleRevokedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleRevokedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleRevokedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "roleRevokedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63674
|
+
exports.CfaV1LiquidationPeriodChangedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "cfaV1LiquidationPeriodChangedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CFAv1LiquidationPeriodChangedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CFAv1LiquidationPeriodChangedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cfav1LiquidationPeriodChangedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidationPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63675
|
+
exports.ConfigChangedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "configChangedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConfigChangedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConfigChangedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "configChangedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63676
|
+
exports.RewardAddressChangedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "rewardAddressChangedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RewardAddressChangedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "RewardAddressChangedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "rewardAddressChangedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63677
|
+
exports.TrustedForwarderChangedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "trustedForwarderChangedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TrustedForwarderChangedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TrustedForwarderChangedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "trustedForwarderChangedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "forwarder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63678
|
+
exports.AgreementLiquidatedByEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "agreementLiquidatedByEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementLiquidatedByEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementLiquidatedByEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "agreementLiquidatedByEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "penaltyAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidatorAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bondAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bailoutAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementClass" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63679
|
+
exports.BurnedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "burnedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BurnedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BurnedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "burnedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63680
|
+
exports.MintedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "mintedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "MintedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "MintedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "mintedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63681
|
+
exports.SentEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "sentEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SentEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SentEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sentEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63682
|
+
exports.CustomSuperTokenCreatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "customSuperTokenCreatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomSuperTokenCreatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomSuperTokenCreatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "customSuperTokenCreatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63683
|
+
exports.SuperTokenCreatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "superTokenCreatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenCreatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenCreatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superTokenCreatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63684
|
+
exports.SuperTokenLogicCreatedEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "superTokenLogicCreatedEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicCreatedEvent_filter" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicCreatedEvent_orderBy" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superTokenLogicCreatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenLogic" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] };
|
|
63685
|
+
exports.EventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "events" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "events" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "FlowUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnsubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionApprovedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenUpgradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenDowngradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GovernanceReplacedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "oldGovernance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newGovernance" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "JailEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenFactoryUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "newFactory" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleAdminChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "previousAdminRole" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newAdminRole" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleGrantedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CFAv1LiquidationPeriodChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidationPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConfigChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RewardAddressChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TrustedForwarderChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "forwarder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementLiquidatedByEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "penaltyAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidatorAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bondAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bailoutAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementClass" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BurnedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "MintedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SentEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomSuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenLogic" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] } }] };
|
|
63686
|
+
|
|
63687
|
+
},{}],295:[function(require,module,exports){
|
|
63688
|
+
"use strict";
|
|
63689
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63690
|
+
exports.EventQueryHandler = void 0;
|
|
63691
|
+
const mapGetAllEventsQueryEvents_1 = require("../../mapGetAllEventsQueryEvents");
|
|
63692
|
+
const subgraphQueryHandler_1 = require("../subgraphQueryHandler");
|
|
63693
|
+
const events_generated_1 = require("./events.generated");
|
|
63694
|
+
class EventQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63695
|
+
constructor() {
|
|
63696
|
+
super(...arguments);
|
|
63697
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63698
|
+
accountKeys: ["addresses"],
|
|
63699
|
+
tokenKeys: [],
|
|
63700
|
+
});
|
|
63701
|
+
this.requestDocument = events_generated_1.EventsDocument;
|
|
63702
|
+
}
|
|
63703
|
+
getRelevantAddressesFromResultCore() {
|
|
63704
|
+
return {
|
|
63705
|
+
accounts: [],
|
|
63706
|
+
tokens: [],
|
|
63707
|
+
};
|
|
63708
|
+
}
|
|
63709
|
+
mapFromSubgraphResponse(response) {
|
|
63710
|
+
return (0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response.events);
|
|
63711
|
+
}
|
|
63712
|
+
}
|
|
63713
|
+
exports.EventQueryHandler = EventQueryHandler;
|
|
63714
|
+
|
|
63715
|
+
},{"../../mapGetAllEventsQueryEvents":274,"../subgraphQueryHandler":308,"./events.generated":294}],296:[function(require,module,exports){
|
|
63716
|
+
"use strict";
|
|
63717
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63718
|
+
exports.FlowUpdatedEventQueryHandler = void 0;
|
|
63719
|
+
const mapGetAllEventsQueryEvents_1 = require("../../mapGetAllEventsQueryEvents");
|
|
63720
|
+
const subgraphQueryHandler_1 = require("../subgraphQueryHandler");
|
|
63721
|
+
const events_generated_1 = require("./events.generated");
|
|
63722
|
+
class FlowUpdatedEventQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63723
|
+
constructor() {
|
|
63724
|
+
super(...arguments);
|
|
63725
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63726
|
+
accountKeys: ["sender", "receiver"],
|
|
63727
|
+
tokenKeys: ["token"],
|
|
63728
|
+
});
|
|
63729
|
+
this.requestDocument = events_generated_1.FlowUpdatedEventsDocument;
|
|
63730
|
+
}
|
|
63731
|
+
getRelevantAddressesFromResultCore(result) {
|
|
63732
|
+
return {
|
|
63733
|
+
accounts: [result.sender, result.receiver],
|
|
63734
|
+
tokens: [result.token],
|
|
63735
|
+
};
|
|
63736
|
+
}
|
|
63737
|
+
mapFromSubgraphResponse(response) {
|
|
63738
|
+
return (0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response.flowUpdatedEvents);
|
|
63739
|
+
}
|
|
63740
|
+
}
|
|
63741
|
+
exports.FlowUpdatedEventQueryHandler = FlowUpdatedEventQueryHandler;
|
|
63742
|
+
|
|
63743
|
+
},{"../../mapGetAllEventsQueryEvents":274,"../subgraphQueryHandler":308,"./events.generated":294}],297:[function(require,module,exports){
|
|
63744
|
+
"use strict";
|
|
63745
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63746
|
+
exports.IndexUpdatedEventQueryHandler = void 0;
|
|
63747
|
+
const mapGetAllEventsQueryEvents_1 = require("../../mapGetAllEventsQueryEvents");
|
|
63748
|
+
const subgraphQueryHandler_1 = require("../subgraphQueryHandler");
|
|
63749
|
+
const events_generated_1 = require("./events.generated");
|
|
63750
|
+
class IndexUpdatedEventQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63751
|
+
constructor() {
|
|
63752
|
+
super(...arguments);
|
|
63753
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63754
|
+
accountKeys: ["publisher"],
|
|
63755
|
+
tokenKeys: ["token"],
|
|
63756
|
+
});
|
|
63757
|
+
this.requestDocument = events_generated_1.IndexUpdatedEventsDocument;
|
|
63758
|
+
}
|
|
63759
|
+
getRelevantAddressesFromResultCore(result) {
|
|
63760
|
+
return {
|
|
63761
|
+
accounts: [result.publisher],
|
|
63762
|
+
tokens: [result.token],
|
|
63763
|
+
};
|
|
63764
|
+
}
|
|
63765
|
+
mapFromSubgraphResponse(response) {
|
|
63766
|
+
return (0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response.indexUpdatedEvents);
|
|
63767
|
+
}
|
|
63768
|
+
}
|
|
63769
|
+
exports.IndexUpdatedEventQueryHandler = IndexUpdatedEventQueryHandler;
|
|
63770
|
+
|
|
63771
|
+
},{"../../mapGetAllEventsQueryEvents":274,"../subgraphQueryHandler":308,"./events.generated":294}],298:[function(require,module,exports){
|
|
63772
|
+
"use strict";
|
|
63773
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63774
|
+
exports.SubscriptionUnitsUpdatedEventQueryHandler = void 0;
|
|
63775
|
+
const mapGetAllEventsQueryEvents_1 = require("../../mapGetAllEventsQueryEvents");
|
|
63776
|
+
const subgraphQueryHandler_1 = require("../subgraphQueryHandler");
|
|
63777
|
+
const events_generated_1 = require("./events.generated");
|
|
63778
|
+
class SubscriptionUnitsUpdatedEventQueryHandler extends subgraphQueryHandler_1.SubgraphQueryHandler {
|
|
63779
|
+
constructor() {
|
|
63780
|
+
super(...arguments);
|
|
63781
|
+
this.getAddressFieldKeysFromFilter = () => ({
|
|
63782
|
+
accountKeys: ["publisher", "subscriber"],
|
|
63783
|
+
tokenKeys: ["token"],
|
|
63784
|
+
});
|
|
63785
|
+
this.requestDocument = events_generated_1.SubscriptionUnitsUpdatedEventsDocument;
|
|
63786
|
+
}
|
|
63787
|
+
getRelevantAddressesFromResultCore(result) {
|
|
63788
|
+
return {
|
|
63789
|
+
accounts: [result.publisher, result.subscriber],
|
|
63790
|
+
tokens: [result.token],
|
|
63791
|
+
};
|
|
63792
|
+
}
|
|
63793
|
+
mapFromSubgraphResponse(response) {
|
|
63794
|
+
return (0, mapGetAllEventsQueryEvents_1.mapGetAllEventsQueryEvents)(response.subscriptionUnitsUpdatedEvents);
|
|
63795
|
+
}
|
|
63796
|
+
}
|
|
63797
|
+
exports.SubscriptionUnitsUpdatedEventQueryHandler = SubscriptionUnitsUpdatedEventQueryHandler;
|
|
63798
|
+
|
|
63799
|
+
},{"../../mapGetAllEventsQueryEvents":274,"../subgraphQueryHandler":308,"./events.generated":294}],299:[function(require,module,exports){
|
|
63800
|
+
"use strict";
|
|
63801
|
+
// TODO(KK): Add comments
|
|
63802
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63803
|
+
|
|
63804
|
+
},{}],300:[function(require,module,exports){
|
|
63805
|
+
"use strict";
|
|
63806
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63807
|
+
exports.normalizeSubgraphFilterValue = exports.normalizeSubgraphFilter = void 0;
|
|
63808
|
+
const normalizeSubgraphFilter = (value) => {
|
|
63809
|
+
return Object.keys(value)
|
|
63810
|
+
.sort()
|
|
63811
|
+
.reduce((acc, key) => {
|
|
63812
|
+
acc[key] = (0, exports.normalizeSubgraphFilterValue)(value[key]);
|
|
63813
|
+
return acc;
|
|
63814
|
+
}, {});
|
|
63815
|
+
};
|
|
63816
|
+
exports.normalizeSubgraphFilter = normalizeSubgraphFilter;
|
|
63817
|
+
/**
|
|
63818
|
+
* NOTE: Regex taken from Ethers.
|
|
63819
|
+
*/
|
|
63820
|
+
const isAddressRegex = /^(0x)?[0-9a-fA-F]{40}$/;
|
|
63821
|
+
/**
|
|
63822
|
+
* Normalize addresses and empty strings for cache keys.
|
|
63823
|
+
*/
|
|
63824
|
+
const normalizeSubgraphFilterValue = (value) => lowerCaseIfAddress(undefinedIfEmpty(value));
|
|
63825
|
+
exports.normalizeSubgraphFilterValue = normalizeSubgraphFilterValue;
|
|
63826
|
+
const undefinedIfEmpty = (value) => {
|
|
63827
|
+
if (value === "") {
|
|
63828
|
+
return undefined;
|
|
63829
|
+
}
|
|
63830
|
+
return value;
|
|
63831
|
+
};
|
|
63832
|
+
const lowerCaseIfAddress = (value) => {
|
|
63833
|
+
if (typeof value === "string") {
|
|
63834
|
+
if (value.match(isAddressRegex)) {
|
|
63835
|
+
return value.toLowerCase();
|
|
63836
|
+
}
|
|
63837
|
+
}
|
|
63838
|
+
if (Array.isArray(value)) {
|
|
63839
|
+
return value.map((x) => lowerCaseIfAddress(x));
|
|
63840
|
+
}
|
|
63841
|
+
return value;
|
|
63842
|
+
};
|
|
63843
|
+
|
|
63844
|
+
},{}],301:[function(require,module,exports){
|
|
63345
63845
|
"use strict";
|
|
63346
63846
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63347
63847
|
exports.GetAccountTokenSnapshotsDocument = void 0;
|
|
63348
63848
|
exports.GetAccountTokenSnapshotsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getAccountTokenSnapshots" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AccountTokenSnapshot_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AccountTokenSnapshot_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "result" }, "name": { "kind": "Name", "value": "accountTokenSnapshots" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfActiveStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNumberOfClosedStreams" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSubscriptionsWithUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalApprovedSubscriptions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "balanceUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalNetFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalInflowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOutflowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountStreamedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountTransferredUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] } }] };
|
|
63349
63849
|
|
|
63350
|
-
},{}],
|
|
63850
|
+
},{}],302:[function(require,module,exports){
|
|
63351
63851
|
"use strict";
|
|
63352
63852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63353
|
-
exports.GetAllEventsDocument =
|
|
63354
|
-
exports.EventFieldsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "eventFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] };
|
|
63355
|
-
exports.GetAllEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getAllEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "events" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "FlowUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnsubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionApprovedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenUpgradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenDowngradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GovernanceReplacedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldGovernance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newGovernance" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "JailEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "reason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenFactoryUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newFactory" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleAdminChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "previousAdminRole" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newAdminRole" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleGrantedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CFAv1LiquidationPeriodChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidationPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConfigChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RewardAddressChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TrustedForwarderChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "forwarder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementLiquidatedByEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "penaltyAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidatorAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bondAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bailoutAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementClass" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BurnedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "MintedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SentEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomSuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "eventFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tokenLogic" } }] } }] } }] } }, ...exports.EventFieldsFragmentDoc.definitions] };
|
|
63853
|
+
exports.GetAllEventsDocument = void 0;
|
|
63854
|
+
exports.GetAllEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getAllEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "events" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "FlowUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newIndexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexUnsubscribedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionApprovedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionDistributionClaimedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SubscriptionUnitsUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscription" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenUpgradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenDowngradedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementClassUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementType" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AppRegisteredEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GovernanceReplacedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "oldGovernance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newGovernance" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "JailEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "app" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenFactoryUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "newFactory" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicUpdatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleAdminChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "previousAdminRole" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newAdminRole" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleGrantedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RoleRevokedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "account" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CFAv1LiquidationPeriodChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidationPeriod" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ConfigChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "value" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RewardAddressChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAddress" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TrustedForwarderChangedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "isKeySet" } }, { "kind": "Field", "name": { "kind": "Name", "value": "host" } }, { "kind": "Field", "name": { "kind": "Name", "value": "forwarder" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enabled" } }, { "kind": "Field", "name": { "kind": "Name", "value": "superToken" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "AgreementLiquidatedByEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rewardAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "penaltyAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "liquidatorAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bondAccount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bailoutAmount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "agreementClass" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "BurnedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "from" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "MintedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SentEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "to" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operatorData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "operator" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }, { "kind": "Field", "name": { "kind": "Name", "value": "amount" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CustomSuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SuperTokenLogicCreatedEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenLogic" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Event" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }] } }] } }] } }] } }] };
|
|
63356
63855
|
|
|
63357
|
-
},{}],
|
|
63856
|
+
},{}],303:[function(require,module,exports){
|
|
63358
63857
|
"use strict";
|
|
63359
63858
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63360
63859
|
exports.GetIndexSubscriptionsDocument = void 0;
|
|
63361
63860
|
exports.GetIndexSubscriptionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getIndexSubscriptions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscription_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "IndexSubscription_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "result" }, "name": { "kind": "Name", "value": "indexSubscriptions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subscriber" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "approved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "units" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountReceivedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexValueUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "index" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] } }] } }] };
|
|
63362
63861
|
|
|
63363
|
-
},{}],
|
|
63862
|
+
},{}],304:[function(require,module,exports){
|
|
63364
63863
|
"use strict";
|
|
63365
63864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63366
63865
|
exports.GetIndexesDocument = void 0;
|
|
63367
63866
|
exports.GetIndexesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getIndexes" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Index_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Index_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "result" }, "name": { "kind": "Name", "value": "indexes" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "indexValue" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSubscriptionsWithUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsPending" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnitsApproved" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountDistributedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "publisher" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }] } }] } }] };
|
|
63368
63867
|
|
|
63369
|
-
},{}],
|
|
63868
|
+
},{}],305:[function(require,module,exports){
|
|
63370
63869
|
"use strict";
|
|
63371
63870
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63372
63871
|
exports.GetStreamsDocument = void 0;
|
|
63373
63872
|
exports.GetStreamsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getStreams" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "result" }, "name": { "kind": "Name", "value": "streams" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "streamedUntilUpdatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowUpdatedEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "EnumValue", "value": "timestamp" } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "blockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "timestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "transactionHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sender" } }, { "kind": "Field", "name": { "kind": "Name", "value": "receiver" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalSenderFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalReceiverFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldFlowRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalAmountStreamedUntilTimestamp" } }] } }] } }] } }] };
|
|
63374
63873
|
|
|
63375
|
-
},{}],
|
|
63874
|
+
},{}],306:[function(require,module,exports){
|
|
63376
63875
|
"use strict";
|
|
63377
63876
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63378
63877
|
exports.GetTokensDocument = void 0;
|
|
63379
63878
|
exports.GetTokensDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "getTokens" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Token_filter" } } }, "defaultValue": { "kind": "ObjectValue", "fields": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "0" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, "defaultValue": { "kind": "IntValue", "value": "10" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Token_orderBy" } } }, "defaultValue": { "kind": "EnumValue", "value": "id" } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrderDirection" } } }, "defaultValue": { "kind": "EnumValue", "value": "asc" } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "result" }, "name": { "kind": "Name", "value": "tokens" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "where" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "where" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "skip" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "skip" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderBy" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderBy" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orderDirection" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orderDirection" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtTimestamp" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAtBlockNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "symbol" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isListed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] };
|
|
63380
63879
|
|
|
63381
|
-
},{}],
|
|
63880
|
+
},{}],307:[function(require,module,exports){
|
|
63382
63881
|
arguments[4][270][0].apply(exports,arguments)
|
|
63383
|
-
},{"dup":270}],
|
|
63882
|
+
},{"dup":270}],308:[function(require,module,exports){
|
|
63384
63883
|
"use strict";
|
|
63385
63884
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
63386
63885
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
63387
63886
|
};
|
|
63388
63887
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63389
|
-
exports.
|
|
63888
|
+
exports.SubgraphQueryHandler = void 0;
|
|
63889
|
+
const lodash_1 = __importDefault(require("lodash"));
|
|
63890
|
+
const pagination_1 = require("../pagination");
|
|
63891
|
+
const utils_1 = require("../utils");
|
|
63892
|
+
const normalizeSubgraphFilter_1 = require("./normalizeSubgraphFilter");
|
|
63893
|
+
/**
|
|
63894
|
+
* A base class to handle common Subgraph query logic.
|
|
63895
|
+
*/
|
|
63896
|
+
class SubgraphQueryHandler {
|
|
63897
|
+
constructor() {
|
|
63898
|
+
/**
|
|
63899
|
+
* For every primary address field key there are more fields generated which it should look for addresses.
|
|
63900
|
+
* NOTE: The implementation is a bit "magical" but it rids of a bunch of boilerplate and creates a single point for editing.
|
|
63901
|
+
*/
|
|
63902
|
+
this.getRelevantAddressesFromFilterByAddressFieldKeys = (filter, addressFieldKeys) => addressFieldKeys
|
|
63903
|
+
.map((key) => [
|
|
63904
|
+
filter[key],
|
|
63905
|
+
filter[`${key}_in`],
|
|
63906
|
+
filter[`${key}_not`],
|
|
63907
|
+
filter[`${key}_not_in`],
|
|
63908
|
+
]
|
|
63909
|
+
.filter((x) => typeof x !== "undefined")
|
|
63910
|
+
.flat()
|
|
63911
|
+
.filter((x) => !!x))
|
|
63912
|
+
.flat();
|
|
63913
|
+
}
|
|
63914
|
+
getRelevantAddressesFromFilter(filter) {
|
|
63915
|
+
if (!filter) {
|
|
63916
|
+
return {
|
|
63917
|
+
tokens: [],
|
|
63918
|
+
accounts: [],
|
|
63919
|
+
};
|
|
63920
|
+
}
|
|
63921
|
+
const addressFieldKeys = this.getAddressFieldKeysFromFilter();
|
|
63922
|
+
const tokenAddresses = this.getRelevantAddressesFromFilterByAddressFieldKeys(filter, addressFieldKeys.tokenKeys);
|
|
63923
|
+
const accountAddresses = this.getRelevantAddressesFromFilterByAddressFieldKeys(filter, addressFieldKeys.accountKeys);
|
|
63924
|
+
return {
|
|
63925
|
+
tokens: lodash_1.default.uniq(tokenAddresses),
|
|
63926
|
+
accounts: lodash_1.default.uniq(accountAddresses),
|
|
63927
|
+
};
|
|
63928
|
+
}
|
|
63929
|
+
getRelevantAddressesFromResult(result) {
|
|
63930
|
+
if (!result) {
|
|
63931
|
+
return {
|
|
63932
|
+
tokens: [],
|
|
63933
|
+
accounts: [],
|
|
63934
|
+
};
|
|
63935
|
+
}
|
|
63936
|
+
const intermediate = this.getRelevantAddressesFromResultCore(result);
|
|
63937
|
+
return {
|
|
63938
|
+
tokens: lodash_1.default.uniq(intermediate.tokens.flat().filter((x) => !!x)),
|
|
63939
|
+
accounts: lodash_1.default.uniq(intermediate.accounts.flat().filter((x) => !!x)),
|
|
63940
|
+
};
|
|
63941
|
+
}
|
|
63942
|
+
async get(subgraphClient, query) {
|
|
63943
|
+
var _a;
|
|
63944
|
+
if (!query.id) {
|
|
63945
|
+
return null;
|
|
63946
|
+
}
|
|
63947
|
+
const response = await this.querySubgraph(subgraphClient, {
|
|
63948
|
+
where: {
|
|
63949
|
+
id: query.id.toLowerCase(),
|
|
63950
|
+
},
|
|
63951
|
+
skip: 0,
|
|
63952
|
+
take: 1,
|
|
63953
|
+
});
|
|
63954
|
+
return (_a = this.mapFromSubgraphResponse(response)[0]) !== null && _a !== void 0 ? _a : null;
|
|
63955
|
+
}
|
|
63956
|
+
async list(subgraphClient, query) {
|
|
63957
|
+
var _a, _b, _c, _d;
|
|
63958
|
+
const pagination = (_a = query.pagination) !== null && _a !== void 0 ? _a : (0, pagination_1.createSkipPaging)();
|
|
63959
|
+
const subgraphFilter = (0, utils_1.typeGuard)((0, normalizeSubgraphFilter_1.normalizeSubgraphFilter)({
|
|
63960
|
+
...((_b = query.filter) !== null && _b !== void 0 ? _b : {}),
|
|
63961
|
+
id_gt: pagination.lastId,
|
|
63962
|
+
}));
|
|
63963
|
+
const subgraphQueryVariables = (0, utils_1.typeGuard)({
|
|
63964
|
+
where: (0, normalizeSubgraphFilter_1.normalizeSubgraphFilter)(subgraphFilter),
|
|
63965
|
+
orderBy: (_c = query.order) === null || _c === void 0 ? void 0 : _c.orderBy,
|
|
63966
|
+
orderDirection: (_d = query.order) === null || _d === void 0 ? void 0 : _d.orderDirection,
|
|
63967
|
+
first: (0, pagination_1.takePlusOne)(pagination),
|
|
63968
|
+
skip: pagination.skip,
|
|
63969
|
+
});
|
|
63970
|
+
const subgraphResponse = await this.querySubgraph(subgraphClient, subgraphQueryVariables);
|
|
63971
|
+
const mappedResult = this.mapFromSubgraphResponse(subgraphResponse);
|
|
63972
|
+
return (0, pagination_1.createPagedResult)(mappedResult, pagination);
|
|
63973
|
+
}
|
|
63974
|
+
async querySubgraph(subgraphClient, variables) {
|
|
63975
|
+
return await subgraphClient.request(this.requestDocument, variables);
|
|
63976
|
+
}
|
|
63977
|
+
}
|
|
63978
|
+
exports.SubgraphQueryHandler = SubgraphQueryHandler;
|
|
63979
|
+
|
|
63980
|
+
},{"../pagination":276,"../utils":310,"./normalizeSubgraphFilter":300,"lodash":175}],309:[function(require,module,exports){
|
|
63981
|
+
arguments[4][270][0].apply(exports,arguments)
|
|
63982
|
+
},{"dup":270}],310:[function(require,module,exports){
|
|
63983
|
+
"use strict";
|
|
63984
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63985
|
+
exports.typeGuard = exports.isInjectedEthers = exports.isInjectedWeb3 = exports.isEthersProvider = exports.getBalance = exports.getSanitizedTimestamp = exports.getStringCurrentTimeInSeconds = exports.subscriptionTotalAmountClaimableSinceUpdatedAt = exports.subscriptionTotalAmountReceivedSinceUpdated = exports.subscriptionTotalAmountDistributedSinceUpdated = exports.flowedAmountSinceUpdatedAt = exports.getFlowAmountByPerSecondFlowRate = exports.getPerSecondFlowRateByDay = exports.getPerSecondFlowRateByWeek = exports.getPerSecondFlowRateByMonth = exports.getPerSecondFlowRateByYear = exports.getTransactionDescription = exports.removeSigHashFromCallData = exports.isNullOrEmpty = exports.normalizeAddress = void 0;
|
|
63390
63986
|
const ethers_1 = require("ethers");
|
|
63391
|
-
const SFError_1 =
|
|
63987
|
+
const SFError_1 = require("./SFError");
|
|
63392
63988
|
const constants_1 = require("./constants");
|
|
63393
63989
|
const EMPTY = "0x";
|
|
63394
63990
|
/**
|
|
@@ -63400,7 +63996,7 @@ const normalizeAddress = (address) => {
|
|
|
63400
63996
|
if (!address)
|
|
63401
63997
|
return "";
|
|
63402
63998
|
if (ethers_1.ethers.utils.isAddress(address) === false) {
|
|
63403
|
-
throw new SFError_1.
|
|
63999
|
+
throw new SFError_1.SFError({
|
|
63404
64000
|
type: "INVALID_ADDRESS",
|
|
63405
64001
|
customMessage: "The address you have entered is not a valid ethereum address.",
|
|
63406
64002
|
});
|
|
@@ -63560,8 +64156,13 @@ const isInjectedWeb3 = (provider) => !!provider.currentProvider;
|
|
|
63560
64156
|
exports.isInjectedWeb3 = isInjectedWeb3;
|
|
63561
64157
|
const isInjectedEthers = (provider) => !!provider.provider;
|
|
63562
64158
|
exports.isInjectedEthers = isInjectedEthers;
|
|
64159
|
+
/**
|
|
64160
|
+
* Why? Because `return obj as T` and `return <T>obj` are not safe type casts.
|
|
64161
|
+
*/
|
|
64162
|
+
const typeGuard = (obj) => obj;
|
|
64163
|
+
exports.typeGuard = typeGuard;
|
|
63563
64164
|
|
|
63564
|
-
},{"./SFError":259,"./constants":269,"ethers":249}],
|
|
64165
|
+
},{"./SFError":259,"./constants":269,"ethers":249}],311:[function(require,module,exports){
|
|
63565
64166
|
"use strict";
|
|
63566
64167
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
63567
64168
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -63570,7 +64171,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
63570
64171
|
exports.validateAccountTokenSnapshotRequest = exports.validateStreamRequest = exports.validateIndexSubscriptionRequest = exports.validateIndexRequest = exports.validateEventRequest = exports.validateSuperTokenRequest = void 0;
|
|
63571
64172
|
const ajv_1 = __importDefault(require("ajv"));
|
|
63572
64173
|
const ethers_1 = require("ethers");
|
|
63573
|
-
const SFError_1 =
|
|
64174
|
+
const SFError_1 = require("./SFError");
|
|
63574
64175
|
const ajv = new ajv_1.default();
|
|
63575
64176
|
ajv.addFormat("addressOrEmpty", {
|
|
63576
64177
|
type: "string",
|
|
@@ -63644,7 +64245,7 @@ const streamRequestSchema = {
|
|
|
63644
64245
|
function wrapValidationWithCustomError(validateFunction) {
|
|
63645
64246
|
return (filter) => {
|
|
63646
64247
|
if (!validateFunction(filter)) {
|
|
63647
|
-
throw new SFError_1.
|
|
64248
|
+
throw new SFError_1.SFError({
|
|
63648
64249
|
type: "INVALID_OBJECT",
|
|
63649
64250
|
customMessage: "Invalid Filter Object",
|
|
63650
64251
|
errorObject: validateFunction.errors,
|