@requestnetwork/payment-detection 0.35.1-next.1713 → 0.35.1-next.1716

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.
@@ -24,7 +24,7 @@ export declare type Scalars = {
24
24
  Bytes: any;
25
25
  };
26
26
  /**
27
- * Account: A HOL entity created for any addresses which interact with
27
+ * Account: A higher order entity created for any addresses which interact with
28
28
  * Superfluid contracts.
29
29
  */
30
30
  export declare type Account = {
@@ -47,7 +47,7 @@ export declare type Account = {
47
47
  accountTokenSnapshots: Array<AccountTokenSnapshot>;
48
48
  };
49
49
  /**
50
- * Account: A HOL entity created for any addresses which interact with
50
+ * Account: A higher order entity created for any addresses which interact with
51
51
  * Superfluid contracts.
52
52
  */
53
53
  export declare type AccountInflowsArgs = {
@@ -58,7 +58,7 @@ export declare type AccountInflowsArgs = {
58
58
  where?: Maybe<Stream_Filter>;
59
59
  };
60
60
  /**
61
- * Account: A HOL entity created for any addresses which interact with
61
+ * Account: A higher order entity created for any addresses which interact with
62
62
  * Superfluid contracts.
63
63
  */
64
64
  export declare type AccountOutflowsArgs = {
@@ -69,7 +69,7 @@ export declare type AccountOutflowsArgs = {
69
69
  where?: Maybe<Stream_Filter>;
70
70
  };
71
71
  /**
72
- * Account: A HOL entity created for any addresses which interact with
72
+ * Account: A higher order entity created for any addresses which interact with
73
73
  * Superfluid contracts.
74
74
  */
75
75
  export declare type AccountSubscriptionsArgs = {
@@ -80,7 +80,7 @@ export declare type AccountSubscriptionsArgs = {
80
80
  where?: Maybe<IndexSubscription_Filter>;
81
81
  };
82
82
  /**
83
- * Account: A HOL entity created for any addresses which interact with
83
+ * Account: A higher order entity created for any addresses which interact with
84
84
  * Superfluid contracts.
85
85
  */
86
86
  export declare type AccountPublishedIndexesArgs = {
@@ -91,7 +91,7 @@ export declare type AccountPublishedIndexesArgs = {
91
91
  where?: Maybe<Index_Filter>;
92
92
  };
93
93
  /**
94
- * Account: A HOL entity created for any addresses which interact with
94
+ * Account: A higher order entity created for any addresses which interact with
95
95
  * Superfluid contracts.
96
96
  */
97
97
  export declare type AccountSentTransferEventsArgs = {
@@ -102,7 +102,7 @@ export declare type AccountSentTransferEventsArgs = {
102
102
  where?: Maybe<TransferEvent_Filter>;
103
103
  };
104
104
  /**
105
- * Account: A HOL entity created for any addresses which interact with
105
+ * Account: A higher order entity created for any addresses which interact with
106
106
  * Superfluid contracts.
107
107
  */
108
108
  export declare type AccountReceivedTransferEventsArgs = {
@@ -113,7 +113,7 @@ export declare type AccountReceivedTransferEventsArgs = {
113
113
  where?: Maybe<TransferEvent_Filter>;
114
114
  };
115
115
  /**
116
- * Account: A HOL entity created for any addresses which interact with
116
+ * Account: A higher order entity created for any addresses which interact with
117
117
  * Superfluid contracts.
118
118
  */
119
119
  export declare type AccountTokenUpgradedEventsArgs = {
@@ -124,7 +124,7 @@ export declare type AccountTokenUpgradedEventsArgs = {
124
124
  where?: Maybe<TokenUpgradedEvent_Filter>;
125
125
  };
126
126
  /**
127
- * Account: A HOL entity created for any addresses which interact with
127
+ * Account: A higher order entity created for any addresses which interact with
128
128
  * Superfluid contracts.
129
129
  */
130
130
  export declare type AccountTokenDowngradedEventsArgs = {
@@ -135,7 +135,7 @@ export declare type AccountTokenDowngradedEventsArgs = {
135
135
  where?: Maybe<TokenDowngradedEvent_Filter>;
136
136
  };
137
137
  /**
138
- * Account: A HOL entity created for any addresses which interact with
138
+ * Account: A higher order entity created for any addresses which interact with
139
139
  * Superfluid contracts.
140
140
  */
141
141
  export declare type AccountAccountTokenSnapshotsArgs = {
@@ -151,7 +151,7 @@ export declare type AccountAccountTokenSnapshotsArgs = {
151
151
  */
152
152
  export declare type AccountTokenSnapshot = {
153
153
  __typename?: 'AccountTokenSnapshot';
154
- /** ID composed of: accountID-tokenID */
154
+ /** ID composed of: accountID + keccak256("-") + tokenID */
155
155
  id: Scalars['ID'];
156
156
  updatedAtTimestamp: Scalars['BigInt'];
157
157
  updatedAtBlockNumber: Scalars['BigInt'];
@@ -165,6 +165,8 @@ export declare type AccountTokenSnapshot = {
165
165
  totalApprovedSubscriptions: Scalars['Int'];
166
166
  /** Balance of `account` as of `updatedAtTimestamp`/`updatedAtBlock`. */
167
167
  balanceUntilUpdatedAt: Scalars['BigInt'];
168
+ /** The total deposit this account has held by the CFA agreement for `account` active streams. */
169
+ totalDeposit: Scalars['BigInt'];
168
170
  /** The total net flow rate of the `account` as of `updatedAtTimestamp`/`updatedAtBlock`. */
169
171
  totalNetFlowRate: Scalars['BigInt'];
170
172
  /** The total inflow rate (receive flowRate per second) of the `account`. */
@@ -180,6 +182,18 @@ export declare type AccountTokenSnapshot = {
180
182
  totalAmountTransferredUntilUpdatedAt: Scalars['BigInt'];
181
183
  account: Account;
182
184
  token: Token;
185
+ flowOperators: Array<FlowOperator>;
186
+ };
187
+ /**
188
+ * AccountTokenSnapshot: An aggregate entity which aggregates data on an account's
189
+ * interaction with a `token`.
190
+ */
191
+ export declare type AccountTokenSnapshotFlowOperatorsArgs = {
192
+ skip?: Maybe<Scalars['Int']>;
193
+ first?: Maybe<Scalars['Int']>;
194
+ orderBy?: Maybe<FlowOperator_OrderBy>;
195
+ orderDirection?: Maybe<OrderDirection>;
196
+ where?: Maybe<FlowOperator_Filter>;
183
197
  };
184
198
  export declare type AccountTokenSnapshot_Filter = {
185
199
  id?: Maybe<Scalars['ID']>;
@@ -246,6 +260,14 @@ export declare type AccountTokenSnapshot_Filter = {
246
260
  balanceUntilUpdatedAt_lte?: Maybe<Scalars['BigInt']>;
247
261
  balanceUntilUpdatedAt_in?: Maybe<Array<Scalars['BigInt']>>;
248
262
  balanceUntilUpdatedAt_not_in?: Maybe<Array<Scalars['BigInt']>>;
263
+ totalDeposit?: Maybe<Scalars['BigInt']>;
264
+ totalDeposit_not?: Maybe<Scalars['BigInt']>;
265
+ totalDeposit_gt?: Maybe<Scalars['BigInt']>;
266
+ totalDeposit_lt?: Maybe<Scalars['BigInt']>;
267
+ totalDeposit_gte?: Maybe<Scalars['BigInt']>;
268
+ totalDeposit_lte?: Maybe<Scalars['BigInt']>;
269
+ totalDeposit_in?: Maybe<Array<Scalars['BigInt']>>;
270
+ totalDeposit_not_in?: Maybe<Array<Scalars['BigInt']>>;
249
271
  totalNetFlowRate?: Maybe<Scalars['BigInt']>;
250
272
  totalNetFlowRate_not?: Maybe<Scalars['BigInt']>;
251
273
  totalNetFlowRate_gt?: Maybe<Scalars['BigInt']>;
@@ -338,13 +360,15 @@ export declare enum AccountTokenSnapshot_OrderBy {
338
360
  TotalSubscriptionsWithUnits = "totalSubscriptionsWithUnits",
339
361
  TotalApprovedSubscriptions = "totalApprovedSubscriptions",
340
362
  BalanceUntilUpdatedAt = "balanceUntilUpdatedAt",
363
+ TotalDeposit = "totalDeposit",
341
364
  TotalNetFlowRate = "totalNetFlowRate",
342
365
  TotalInflowRate = "totalInflowRate",
343
366
  TotalOutflowRate = "totalOutflowRate",
344
367
  TotalAmountStreamedUntilUpdatedAt = "totalAmountStreamedUntilUpdatedAt",
345
368
  TotalAmountTransferredUntilUpdatedAt = "totalAmountTransferredUntilUpdatedAt",
346
369
  Account = "account",
347
- Token = "token"
370
+ Token = "token",
371
+ FlowOperators = "flowOperators"
348
372
  }
349
373
  export declare type Account_Filter = {
350
374
  id?: Maybe<Scalars['ID']>;
@@ -1521,6 +1545,338 @@ export declare enum Event_OrderBy {
1521
1545
  Timestamp = "timestamp",
1522
1546
  TransactionHash = "transactionHash"
1523
1547
  }
1548
+ /** FlowOperator: A higher order entity that of a flow operator for an `AccountTokenSnapshot`. */
1549
+ export declare type FlowOperator = {
1550
+ __typename?: 'FlowOperator';
1551
+ /** ID composed of: flowOperator - token - sender */
1552
+ id: Scalars['ID'];
1553
+ createdAtTimestamp: Scalars['BigInt'];
1554
+ createdAtBlockNumber: Scalars['BigInt'];
1555
+ updatedAtTimestamp: Scalars['BigInt'];
1556
+ updatedAtBlockNumber: Scalars['BigInt'];
1557
+ /**
1558
+ * The permissions granted to the `flowOperator`.
1559
+ * Octo bitmask representation.
1560
+ */
1561
+ permissions: Scalars['Int'];
1562
+ /**
1563
+ * The flow rate allowance granted to the `flowOperator`
1564
+ * by the `sender`. This can be reset if the `sender`
1565
+ * updates the `flowOperator` flow rate allowance.
1566
+ */
1567
+ flowRateAllowanceGranted: Scalars['BigInt'];
1568
+ /**
1569
+ * The remaining flow rate allowance the `flowOperator` has,
1570
+ * this will go down every time when `flowOperator` uses it
1571
+ * (if they increase flowRate or create a new flow)
1572
+ * and can only be reset if the `sender` updates the flow
1573
+ * rate allowance.
1574
+ */
1575
+ flowRateAllowanceRemaining: Scalars['BigInt'];
1576
+ flowOperator: Scalars['Bytes'];
1577
+ sender: Account;
1578
+ token: Token;
1579
+ accountTokenSnapshot: AccountTokenSnapshot;
1580
+ flowOperatorUpdatedEvents: Array<FlowOperatorUpdatedEvent>;
1581
+ };
1582
+ /** FlowOperator: A higher order entity that of a flow operator for an `AccountTokenSnapshot`. */
1583
+ export declare type FlowOperatorFlowOperatorUpdatedEventsArgs = {
1584
+ skip?: Maybe<Scalars['Int']>;
1585
+ first?: Maybe<Scalars['Int']>;
1586
+ orderBy?: Maybe<FlowOperatorUpdatedEvent_OrderBy>;
1587
+ orderDirection?: Maybe<OrderDirection>;
1588
+ where?: Maybe<FlowOperatorUpdatedEvent_Filter>;
1589
+ };
1590
+ export declare type FlowOperatorUpdatedEvent = Event & {
1591
+ __typename?: 'FlowOperatorUpdatedEvent';
1592
+ id: Scalars['ID'];
1593
+ transactionHash: Scalars['Bytes'];
1594
+ timestamp: Scalars['BigInt'];
1595
+ name: Scalars['String'];
1596
+ /** Holds the token, sender, and flowOperator addresses. */
1597
+ addresses: Array<Scalars['Bytes']>;
1598
+ blockNumber: Scalars['BigInt'];
1599
+ /** The address of the `token` being streamed. */
1600
+ token: Scalars['Bytes'];
1601
+ sender: Scalars['Bytes'];
1602
+ /**
1603
+ * The permissions granted to the `flowOperator`.
1604
+ * Octo bitmask representation.
1605
+ */
1606
+ permissions: Scalars['Int'];
1607
+ flowRateAllowance: Scalars['BigInt'];
1608
+ flowOperator: FlowOperator;
1609
+ };
1610
+ export declare type FlowOperatorUpdatedEvent_Filter = {
1611
+ id?: Maybe<Scalars['ID']>;
1612
+ id_not?: Maybe<Scalars['ID']>;
1613
+ id_gt?: Maybe<Scalars['ID']>;
1614
+ id_lt?: Maybe<Scalars['ID']>;
1615
+ id_gte?: Maybe<Scalars['ID']>;
1616
+ id_lte?: Maybe<Scalars['ID']>;
1617
+ id_in?: Maybe<Array<Scalars['ID']>>;
1618
+ id_not_in?: Maybe<Array<Scalars['ID']>>;
1619
+ transactionHash?: Maybe<Scalars['Bytes']>;
1620
+ transactionHash_not?: Maybe<Scalars['Bytes']>;
1621
+ transactionHash_in?: Maybe<Array<Scalars['Bytes']>>;
1622
+ transactionHash_not_in?: Maybe<Array<Scalars['Bytes']>>;
1623
+ transactionHash_contains?: Maybe<Scalars['Bytes']>;
1624
+ transactionHash_not_contains?: Maybe<Scalars['Bytes']>;
1625
+ timestamp?: Maybe<Scalars['BigInt']>;
1626
+ timestamp_not?: Maybe<Scalars['BigInt']>;
1627
+ timestamp_gt?: Maybe<Scalars['BigInt']>;
1628
+ timestamp_lt?: Maybe<Scalars['BigInt']>;
1629
+ timestamp_gte?: Maybe<Scalars['BigInt']>;
1630
+ timestamp_lte?: Maybe<Scalars['BigInt']>;
1631
+ timestamp_in?: Maybe<Array<Scalars['BigInt']>>;
1632
+ timestamp_not_in?: Maybe<Array<Scalars['BigInt']>>;
1633
+ name?: Maybe<Scalars['String']>;
1634
+ name_not?: Maybe<Scalars['String']>;
1635
+ name_gt?: Maybe<Scalars['String']>;
1636
+ name_lt?: Maybe<Scalars['String']>;
1637
+ name_gte?: Maybe<Scalars['String']>;
1638
+ name_lte?: Maybe<Scalars['String']>;
1639
+ name_in?: Maybe<Array<Scalars['String']>>;
1640
+ name_not_in?: Maybe<Array<Scalars['String']>>;
1641
+ name_contains?: Maybe<Scalars['String']>;
1642
+ name_contains_nocase?: Maybe<Scalars['String']>;
1643
+ name_not_contains?: Maybe<Scalars['String']>;
1644
+ name_not_contains_nocase?: Maybe<Scalars['String']>;
1645
+ name_starts_with?: Maybe<Scalars['String']>;
1646
+ name_starts_with_nocase?: Maybe<Scalars['String']>;
1647
+ name_not_starts_with?: Maybe<Scalars['String']>;
1648
+ name_not_starts_with_nocase?: Maybe<Scalars['String']>;
1649
+ name_ends_with?: Maybe<Scalars['String']>;
1650
+ name_ends_with_nocase?: Maybe<Scalars['String']>;
1651
+ name_not_ends_with?: Maybe<Scalars['String']>;
1652
+ name_not_ends_with_nocase?: Maybe<Scalars['String']>;
1653
+ addresses?: Maybe<Array<Scalars['Bytes']>>;
1654
+ addresses_not?: Maybe<Array<Scalars['Bytes']>>;
1655
+ addresses_contains?: Maybe<Array<Scalars['Bytes']>>;
1656
+ addresses_contains_nocase?: Maybe<Array<Scalars['Bytes']>>;
1657
+ addresses_not_contains?: Maybe<Array<Scalars['Bytes']>>;
1658
+ addresses_not_contains_nocase?: Maybe<Array<Scalars['Bytes']>>;
1659
+ blockNumber?: Maybe<Scalars['BigInt']>;
1660
+ blockNumber_not?: Maybe<Scalars['BigInt']>;
1661
+ blockNumber_gt?: Maybe<Scalars['BigInt']>;
1662
+ blockNumber_lt?: Maybe<Scalars['BigInt']>;
1663
+ blockNumber_gte?: Maybe<Scalars['BigInt']>;
1664
+ blockNumber_lte?: Maybe<Scalars['BigInt']>;
1665
+ blockNumber_in?: Maybe<Array<Scalars['BigInt']>>;
1666
+ blockNumber_not_in?: Maybe<Array<Scalars['BigInt']>>;
1667
+ token?: Maybe<Scalars['Bytes']>;
1668
+ token_not?: Maybe<Scalars['Bytes']>;
1669
+ token_in?: Maybe<Array<Scalars['Bytes']>>;
1670
+ token_not_in?: Maybe<Array<Scalars['Bytes']>>;
1671
+ token_contains?: Maybe<Scalars['Bytes']>;
1672
+ token_not_contains?: Maybe<Scalars['Bytes']>;
1673
+ sender?: Maybe<Scalars['Bytes']>;
1674
+ sender_not?: Maybe<Scalars['Bytes']>;
1675
+ sender_in?: Maybe<Array<Scalars['Bytes']>>;
1676
+ sender_not_in?: Maybe<Array<Scalars['Bytes']>>;
1677
+ sender_contains?: Maybe<Scalars['Bytes']>;
1678
+ sender_not_contains?: Maybe<Scalars['Bytes']>;
1679
+ permissions?: Maybe<Scalars['Int']>;
1680
+ permissions_not?: Maybe<Scalars['Int']>;
1681
+ permissions_gt?: Maybe<Scalars['Int']>;
1682
+ permissions_lt?: Maybe<Scalars['Int']>;
1683
+ permissions_gte?: Maybe<Scalars['Int']>;
1684
+ permissions_lte?: Maybe<Scalars['Int']>;
1685
+ permissions_in?: Maybe<Array<Scalars['Int']>>;
1686
+ permissions_not_in?: Maybe<Array<Scalars['Int']>>;
1687
+ flowRateAllowance?: Maybe<Scalars['BigInt']>;
1688
+ flowRateAllowance_not?: Maybe<Scalars['BigInt']>;
1689
+ flowRateAllowance_gt?: Maybe<Scalars['BigInt']>;
1690
+ flowRateAllowance_lt?: Maybe<Scalars['BigInt']>;
1691
+ flowRateAllowance_gte?: Maybe<Scalars['BigInt']>;
1692
+ flowRateAllowance_lte?: Maybe<Scalars['BigInt']>;
1693
+ flowRateAllowance_in?: Maybe<Array<Scalars['BigInt']>>;
1694
+ flowRateAllowance_not_in?: Maybe<Array<Scalars['BigInt']>>;
1695
+ flowOperator?: Maybe<Scalars['String']>;
1696
+ flowOperator_not?: Maybe<Scalars['String']>;
1697
+ flowOperator_gt?: Maybe<Scalars['String']>;
1698
+ flowOperator_lt?: Maybe<Scalars['String']>;
1699
+ flowOperator_gte?: Maybe<Scalars['String']>;
1700
+ flowOperator_lte?: Maybe<Scalars['String']>;
1701
+ flowOperator_in?: Maybe<Array<Scalars['String']>>;
1702
+ flowOperator_not_in?: Maybe<Array<Scalars['String']>>;
1703
+ flowOperator_contains?: Maybe<Scalars['String']>;
1704
+ flowOperator_contains_nocase?: Maybe<Scalars['String']>;
1705
+ flowOperator_not_contains?: Maybe<Scalars['String']>;
1706
+ flowOperator_not_contains_nocase?: Maybe<Scalars['String']>;
1707
+ flowOperator_starts_with?: Maybe<Scalars['String']>;
1708
+ flowOperator_starts_with_nocase?: Maybe<Scalars['String']>;
1709
+ flowOperator_not_starts_with?: Maybe<Scalars['String']>;
1710
+ flowOperator_not_starts_with_nocase?: Maybe<Scalars['String']>;
1711
+ flowOperator_ends_with?: Maybe<Scalars['String']>;
1712
+ flowOperator_ends_with_nocase?: Maybe<Scalars['String']>;
1713
+ flowOperator_not_ends_with?: Maybe<Scalars['String']>;
1714
+ flowOperator_not_ends_with_nocase?: Maybe<Scalars['String']>;
1715
+ /** Filter for the block changed event. */
1716
+ _change_block?: Maybe<BlockChangedFilter>;
1717
+ };
1718
+ export declare enum FlowOperatorUpdatedEvent_OrderBy {
1719
+ Id = "id",
1720
+ TransactionHash = "transactionHash",
1721
+ Timestamp = "timestamp",
1722
+ Name = "name",
1723
+ Addresses = "addresses",
1724
+ BlockNumber = "blockNumber",
1725
+ Token = "token",
1726
+ Sender = "sender",
1727
+ Permissions = "permissions",
1728
+ FlowRateAllowance = "flowRateAllowance",
1729
+ FlowOperator = "flowOperator"
1730
+ }
1731
+ export declare type FlowOperator_Filter = {
1732
+ id?: Maybe<Scalars['ID']>;
1733
+ id_not?: Maybe<Scalars['ID']>;
1734
+ id_gt?: Maybe<Scalars['ID']>;
1735
+ id_lt?: Maybe<Scalars['ID']>;
1736
+ id_gte?: Maybe<Scalars['ID']>;
1737
+ id_lte?: Maybe<Scalars['ID']>;
1738
+ id_in?: Maybe<Array<Scalars['ID']>>;
1739
+ id_not_in?: Maybe<Array<Scalars['ID']>>;
1740
+ createdAtTimestamp?: Maybe<Scalars['BigInt']>;
1741
+ createdAtTimestamp_not?: Maybe<Scalars['BigInt']>;
1742
+ createdAtTimestamp_gt?: Maybe<Scalars['BigInt']>;
1743
+ createdAtTimestamp_lt?: Maybe<Scalars['BigInt']>;
1744
+ createdAtTimestamp_gte?: Maybe<Scalars['BigInt']>;
1745
+ createdAtTimestamp_lte?: Maybe<Scalars['BigInt']>;
1746
+ createdAtTimestamp_in?: Maybe<Array<Scalars['BigInt']>>;
1747
+ createdAtTimestamp_not_in?: Maybe<Array<Scalars['BigInt']>>;
1748
+ createdAtBlockNumber?: Maybe<Scalars['BigInt']>;
1749
+ createdAtBlockNumber_not?: Maybe<Scalars['BigInt']>;
1750
+ createdAtBlockNumber_gt?: Maybe<Scalars['BigInt']>;
1751
+ createdAtBlockNumber_lt?: Maybe<Scalars['BigInt']>;
1752
+ createdAtBlockNumber_gte?: Maybe<Scalars['BigInt']>;
1753
+ createdAtBlockNumber_lte?: Maybe<Scalars['BigInt']>;
1754
+ createdAtBlockNumber_in?: Maybe<Array<Scalars['BigInt']>>;
1755
+ createdAtBlockNumber_not_in?: Maybe<Array<Scalars['BigInt']>>;
1756
+ updatedAtTimestamp?: Maybe<Scalars['BigInt']>;
1757
+ updatedAtTimestamp_not?: Maybe<Scalars['BigInt']>;
1758
+ updatedAtTimestamp_gt?: Maybe<Scalars['BigInt']>;
1759
+ updatedAtTimestamp_lt?: Maybe<Scalars['BigInt']>;
1760
+ updatedAtTimestamp_gte?: Maybe<Scalars['BigInt']>;
1761
+ updatedAtTimestamp_lte?: Maybe<Scalars['BigInt']>;
1762
+ updatedAtTimestamp_in?: Maybe<Array<Scalars['BigInt']>>;
1763
+ updatedAtTimestamp_not_in?: Maybe<Array<Scalars['BigInt']>>;
1764
+ updatedAtBlockNumber?: Maybe<Scalars['BigInt']>;
1765
+ updatedAtBlockNumber_not?: Maybe<Scalars['BigInt']>;
1766
+ updatedAtBlockNumber_gt?: Maybe<Scalars['BigInt']>;
1767
+ updatedAtBlockNumber_lt?: Maybe<Scalars['BigInt']>;
1768
+ updatedAtBlockNumber_gte?: Maybe<Scalars['BigInt']>;
1769
+ updatedAtBlockNumber_lte?: Maybe<Scalars['BigInt']>;
1770
+ updatedAtBlockNumber_in?: Maybe<Array<Scalars['BigInt']>>;
1771
+ updatedAtBlockNumber_not_in?: Maybe<Array<Scalars['BigInt']>>;
1772
+ permissions?: Maybe<Scalars['Int']>;
1773
+ permissions_not?: Maybe<Scalars['Int']>;
1774
+ permissions_gt?: Maybe<Scalars['Int']>;
1775
+ permissions_lt?: Maybe<Scalars['Int']>;
1776
+ permissions_gte?: Maybe<Scalars['Int']>;
1777
+ permissions_lte?: Maybe<Scalars['Int']>;
1778
+ permissions_in?: Maybe<Array<Scalars['Int']>>;
1779
+ permissions_not_in?: Maybe<Array<Scalars['Int']>>;
1780
+ flowRateAllowanceGranted?: Maybe<Scalars['BigInt']>;
1781
+ flowRateAllowanceGranted_not?: Maybe<Scalars['BigInt']>;
1782
+ flowRateAllowanceGranted_gt?: Maybe<Scalars['BigInt']>;
1783
+ flowRateAllowanceGranted_lt?: Maybe<Scalars['BigInt']>;
1784
+ flowRateAllowanceGranted_gte?: Maybe<Scalars['BigInt']>;
1785
+ flowRateAllowanceGranted_lte?: Maybe<Scalars['BigInt']>;
1786
+ flowRateAllowanceGranted_in?: Maybe<Array<Scalars['BigInt']>>;
1787
+ flowRateAllowanceGranted_not_in?: Maybe<Array<Scalars['BigInt']>>;
1788
+ flowRateAllowanceRemaining?: Maybe<Scalars['BigInt']>;
1789
+ flowRateAllowanceRemaining_not?: Maybe<Scalars['BigInt']>;
1790
+ flowRateAllowanceRemaining_gt?: Maybe<Scalars['BigInt']>;
1791
+ flowRateAllowanceRemaining_lt?: Maybe<Scalars['BigInt']>;
1792
+ flowRateAllowanceRemaining_gte?: Maybe<Scalars['BigInt']>;
1793
+ flowRateAllowanceRemaining_lte?: Maybe<Scalars['BigInt']>;
1794
+ flowRateAllowanceRemaining_in?: Maybe<Array<Scalars['BigInt']>>;
1795
+ flowRateAllowanceRemaining_not_in?: Maybe<Array<Scalars['BigInt']>>;
1796
+ flowOperator?: Maybe<Scalars['Bytes']>;
1797
+ flowOperator_not?: Maybe<Scalars['Bytes']>;
1798
+ flowOperator_in?: Maybe<Array<Scalars['Bytes']>>;
1799
+ flowOperator_not_in?: Maybe<Array<Scalars['Bytes']>>;
1800
+ flowOperator_contains?: Maybe<Scalars['Bytes']>;
1801
+ flowOperator_not_contains?: Maybe<Scalars['Bytes']>;
1802
+ sender?: Maybe<Scalars['String']>;
1803
+ sender_not?: Maybe<Scalars['String']>;
1804
+ sender_gt?: Maybe<Scalars['String']>;
1805
+ sender_lt?: Maybe<Scalars['String']>;
1806
+ sender_gte?: Maybe<Scalars['String']>;
1807
+ sender_lte?: Maybe<Scalars['String']>;
1808
+ sender_in?: Maybe<Array<Scalars['String']>>;
1809
+ sender_not_in?: Maybe<Array<Scalars['String']>>;
1810
+ sender_contains?: Maybe<Scalars['String']>;
1811
+ sender_contains_nocase?: Maybe<Scalars['String']>;
1812
+ sender_not_contains?: Maybe<Scalars['String']>;
1813
+ sender_not_contains_nocase?: Maybe<Scalars['String']>;
1814
+ sender_starts_with?: Maybe<Scalars['String']>;
1815
+ sender_starts_with_nocase?: Maybe<Scalars['String']>;
1816
+ sender_not_starts_with?: Maybe<Scalars['String']>;
1817
+ sender_not_starts_with_nocase?: Maybe<Scalars['String']>;
1818
+ sender_ends_with?: Maybe<Scalars['String']>;
1819
+ sender_ends_with_nocase?: Maybe<Scalars['String']>;
1820
+ sender_not_ends_with?: Maybe<Scalars['String']>;
1821
+ sender_not_ends_with_nocase?: Maybe<Scalars['String']>;
1822
+ token?: Maybe<Scalars['String']>;
1823
+ token_not?: Maybe<Scalars['String']>;
1824
+ token_gt?: Maybe<Scalars['String']>;
1825
+ token_lt?: Maybe<Scalars['String']>;
1826
+ token_gte?: Maybe<Scalars['String']>;
1827
+ token_lte?: Maybe<Scalars['String']>;
1828
+ token_in?: Maybe<Array<Scalars['String']>>;
1829
+ token_not_in?: Maybe<Array<Scalars['String']>>;
1830
+ token_contains?: Maybe<Scalars['String']>;
1831
+ token_contains_nocase?: Maybe<Scalars['String']>;
1832
+ token_not_contains?: Maybe<Scalars['String']>;
1833
+ token_not_contains_nocase?: Maybe<Scalars['String']>;
1834
+ token_starts_with?: Maybe<Scalars['String']>;
1835
+ token_starts_with_nocase?: Maybe<Scalars['String']>;
1836
+ token_not_starts_with?: Maybe<Scalars['String']>;
1837
+ token_not_starts_with_nocase?: Maybe<Scalars['String']>;
1838
+ token_ends_with?: Maybe<Scalars['String']>;
1839
+ token_ends_with_nocase?: Maybe<Scalars['String']>;
1840
+ token_not_ends_with?: Maybe<Scalars['String']>;
1841
+ token_not_ends_with_nocase?: Maybe<Scalars['String']>;
1842
+ accountTokenSnapshot?: Maybe<Scalars['String']>;
1843
+ accountTokenSnapshot_not?: Maybe<Scalars['String']>;
1844
+ accountTokenSnapshot_gt?: Maybe<Scalars['String']>;
1845
+ accountTokenSnapshot_lt?: Maybe<Scalars['String']>;
1846
+ accountTokenSnapshot_gte?: Maybe<Scalars['String']>;
1847
+ accountTokenSnapshot_lte?: Maybe<Scalars['String']>;
1848
+ accountTokenSnapshot_in?: Maybe<Array<Scalars['String']>>;
1849
+ accountTokenSnapshot_not_in?: Maybe<Array<Scalars['String']>>;
1850
+ accountTokenSnapshot_contains?: Maybe<Scalars['String']>;
1851
+ accountTokenSnapshot_contains_nocase?: Maybe<Scalars['String']>;
1852
+ accountTokenSnapshot_not_contains?: Maybe<Scalars['String']>;
1853
+ accountTokenSnapshot_not_contains_nocase?: Maybe<Scalars['String']>;
1854
+ accountTokenSnapshot_starts_with?: Maybe<Scalars['String']>;
1855
+ accountTokenSnapshot_starts_with_nocase?: Maybe<Scalars['String']>;
1856
+ accountTokenSnapshot_not_starts_with?: Maybe<Scalars['String']>;
1857
+ accountTokenSnapshot_not_starts_with_nocase?: Maybe<Scalars['String']>;
1858
+ accountTokenSnapshot_ends_with?: Maybe<Scalars['String']>;
1859
+ accountTokenSnapshot_ends_with_nocase?: Maybe<Scalars['String']>;
1860
+ accountTokenSnapshot_not_ends_with?: Maybe<Scalars['String']>;
1861
+ accountTokenSnapshot_not_ends_with_nocase?: Maybe<Scalars['String']>;
1862
+ /** Filter for the block changed event. */
1863
+ _change_block?: Maybe<BlockChangedFilter>;
1864
+ };
1865
+ export declare enum FlowOperator_OrderBy {
1866
+ Id = "id",
1867
+ CreatedAtTimestamp = "createdAtTimestamp",
1868
+ CreatedAtBlockNumber = "createdAtBlockNumber",
1869
+ UpdatedAtTimestamp = "updatedAtTimestamp",
1870
+ UpdatedAtBlockNumber = "updatedAtBlockNumber",
1871
+ Permissions = "permissions",
1872
+ FlowRateAllowanceGranted = "flowRateAllowanceGranted",
1873
+ FlowRateAllowanceRemaining = "flowRateAllowanceRemaining",
1874
+ FlowOperator = "flowOperator",
1875
+ Sender = "sender",
1876
+ Token = "token",
1877
+ AccountTokenSnapshot = "accountTokenSnapshot",
1878
+ FlowOperatorUpdatedEvents = "flowOperatorUpdatedEvents"
1879
+ }
1524
1880
  /**
1525
1881
  * FlowUpdated: An `Event` entity that is emitted
1526
1882
  * when a flow is created, updated, or deleted.
@@ -1538,10 +1894,17 @@ export declare type FlowUpdatedEvent = Event & {
1538
1894
  token: Scalars['Bytes'];
1539
1895
  sender: Scalars['Bytes'];
1540
1896
  receiver: Scalars['Bytes'];
1897
+ /**
1898
+ * The address that is triggering the flow update.
1899
+ * This will be the zero address until the flowOperator
1900
+ * feature is live.
1901
+ */
1902
+ flowOperator: Scalars['Bytes'];
1541
1903
  /** The flow rate per second. */
1542
1904
  flowRate: Scalars['BigInt'];
1543
1905
  totalSenderFlowRate: Scalars['BigInt'];
1544
1906
  totalReceiverFlowRate: Scalars['BigInt'];
1907
+ deposit: Scalars['BigInt'];
1545
1908
  userData: Scalars['Bytes'];
1546
1909
  /** The previous flow rate. */
1547
1910
  oldFlowRate: Scalars['BigInt'];
@@ -1635,6 +1998,12 @@ export declare type FlowUpdatedEvent_Filter = {
1635
1998
  receiver_not_in?: Maybe<Array<Scalars['Bytes']>>;
1636
1999
  receiver_contains?: Maybe<Scalars['Bytes']>;
1637
2000
  receiver_not_contains?: Maybe<Scalars['Bytes']>;
2001
+ flowOperator?: Maybe<Scalars['Bytes']>;
2002
+ flowOperator_not?: Maybe<Scalars['Bytes']>;
2003
+ flowOperator_in?: Maybe<Array<Scalars['Bytes']>>;
2004
+ flowOperator_not_in?: Maybe<Array<Scalars['Bytes']>>;
2005
+ flowOperator_contains?: Maybe<Scalars['Bytes']>;
2006
+ flowOperator_not_contains?: Maybe<Scalars['Bytes']>;
1638
2007
  flowRate?: Maybe<Scalars['BigInt']>;
1639
2008
  flowRate_not?: Maybe<Scalars['BigInt']>;
1640
2009
  flowRate_gt?: Maybe<Scalars['BigInt']>;
@@ -1659,6 +2028,14 @@ export declare type FlowUpdatedEvent_Filter = {
1659
2028
  totalReceiverFlowRate_lte?: Maybe<Scalars['BigInt']>;
1660
2029
  totalReceiverFlowRate_in?: Maybe<Array<Scalars['BigInt']>>;
1661
2030
  totalReceiverFlowRate_not_in?: Maybe<Array<Scalars['BigInt']>>;
2031
+ deposit?: Maybe<Scalars['BigInt']>;
2032
+ deposit_not?: Maybe<Scalars['BigInt']>;
2033
+ deposit_gt?: Maybe<Scalars['BigInt']>;
2034
+ deposit_lt?: Maybe<Scalars['BigInt']>;
2035
+ deposit_gte?: Maybe<Scalars['BigInt']>;
2036
+ deposit_lte?: Maybe<Scalars['BigInt']>;
2037
+ deposit_in?: Maybe<Array<Scalars['BigInt']>>;
2038
+ deposit_not_in?: Maybe<Array<Scalars['BigInt']>>;
1662
2039
  userData?: Maybe<Scalars['Bytes']>;
1663
2040
  userData_not?: Maybe<Scalars['Bytes']>;
1664
2041
  userData_in?: Maybe<Array<Scalars['Bytes']>>;
@@ -1722,9 +2099,11 @@ export declare enum FlowUpdatedEvent_OrderBy {
1722
2099
  Token = "token",
1723
2100
  Sender = "sender",
1724
2101
  Receiver = "receiver",
2102
+ FlowOperator = "flowOperator",
1725
2103
  FlowRate = "flowRate",
1726
2104
  TotalSenderFlowRate = "totalSenderFlowRate",
1727
2105
  TotalReceiverFlowRate = "totalReceiverFlowRate",
2106
+ Deposit = "deposit",
1728
2107
  UserData = "userData",
1729
2108
  OldFlowRate = "oldFlowRate",
1730
2109
  Type = "type",
@@ -1825,7 +2204,7 @@ export declare enum GovernanceReplacedEvent_OrderBy {
1825
2204
  OldGovernance = "oldGovernance",
1826
2205
  NewGovernance = "newGovernance"
1827
2206
  }
1828
- /** Index: A Index HOL entity. */
2207
+ /** Index: An Index higher order entity. */
1829
2208
  export declare type Index = {
1830
2209
  __typename?: 'Index';
1831
2210
  /** ID composed of: publisherAddress-tokenAddress-indexId */
@@ -1870,7 +2249,7 @@ export declare type Index = {
1870
2249
  indexUnitsUpdatedEvents: Array<IndexUnitsUpdatedEvent>;
1871
2250
  indexUnsubscribedEvents: Array<IndexUnsubscribedEvent>;
1872
2251
  };
1873
- /** Index: A Index HOL entity. */
2252
+ /** Index: An Index higher order entity. */
1874
2253
  export declare type IndexSubscriptionsArgs = {
1875
2254
  skip?: Maybe<Scalars['Int']>;
1876
2255
  first?: Maybe<Scalars['Int']>;
@@ -1878,7 +2257,7 @@ export declare type IndexSubscriptionsArgs = {
1878
2257
  orderDirection?: Maybe<OrderDirection>;
1879
2258
  where?: Maybe<IndexSubscription_Filter>;
1880
2259
  };
1881
- /** Index: A Index HOL entity. */
2260
+ /** Index: An Index higher order entity. */
1882
2261
  export declare type IndexIndexDistributionClaimedEventsArgs = {
1883
2262
  skip?: Maybe<Scalars['Int']>;
1884
2263
  first?: Maybe<Scalars['Int']>;
@@ -1886,7 +2265,7 @@ export declare type IndexIndexDistributionClaimedEventsArgs = {
1886
2265
  orderDirection?: Maybe<OrderDirection>;
1887
2266
  where?: Maybe<IndexDistributionClaimedEvent_Filter>;
1888
2267
  };
1889
- /** Index: A Index HOL entity. */
2268
+ /** Index: An Index higher order entity. */
1890
2269
  export declare type IndexIndexUpdatedEventsArgs = {
1891
2270
  skip?: Maybe<Scalars['Int']>;
1892
2271
  first?: Maybe<Scalars['Int']>;
@@ -1894,7 +2273,7 @@ export declare type IndexIndexUpdatedEventsArgs = {
1894
2273
  orderDirection?: Maybe<OrderDirection>;
1895
2274
  where?: Maybe<IndexUpdatedEvent_Filter>;
1896
2275
  };
1897
- /** Index: A Index HOL entity. */
2276
+ /** Index: An Index higher order entity. */
1898
2277
  export declare type IndexIndexSubscribedEventsArgs = {
1899
2278
  skip?: Maybe<Scalars['Int']>;
1900
2279
  first?: Maybe<Scalars['Int']>;
@@ -1902,7 +2281,7 @@ export declare type IndexIndexSubscribedEventsArgs = {
1902
2281
  orderDirection?: Maybe<OrderDirection>;
1903
2282
  where?: Maybe<IndexSubscribedEvent_Filter>;
1904
2283
  };
1905
- /** Index: A Index HOL entity. */
2284
+ /** Index: An Index higher order entity. */
1906
2285
  export declare type IndexIndexUnitsUpdatedEventsArgs = {
1907
2286
  skip?: Maybe<Scalars['Int']>;
1908
2287
  first?: Maybe<Scalars['Int']>;
@@ -1910,7 +2289,7 @@ export declare type IndexIndexUnitsUpdatedEventsArgs = {
1910
2289
  orderDirection?: Maybe<OrderDirection>;
1911
2290
  where?: Maybe<IndexUnitsUpdatedEvent_Filter>;
1912
2291
  };
1913
- /** Index: A Index HOL entity. */
2292
+ /** Index: An Index higher order entity. */
1914
2293
  export declare type IndexIndexUnsubscribedEventsArgs = {
1915
2294
  skip?: Maybe<Scalars['Int']>;
1916
2295
  first?: Maybe<Scalars['Int']>;
@@ -2339,7 +2718,7 @@ export declare enum IndexSubscribedEvent_OrderBy {
2339
2718
  Index = "index"
2340
2719
  }
2341
2720
  /**
2342
- * IndexSubscription: A HOL entity that contains subscription data for a `subscriber` account of a particular
2721
+ * IndexSubscription: A higher order entity that contains subscription data for a `subscriber` account of a particular
2343
2722
  * `Index`.
2344
2723
  */
2345
2724
  export declare type IndexSubscription = {
@@ -2380,7 +2759,7 @@ export declare type IndexSubscription = {
2380
2759
  subscriptionUnitsUpdatedEvents: Array<SubscriptionUnitsUpdatedEvent>;
2381
2760
  };
2382
2761
  /**
2383
- * IndexSubscription: A HOL entity that contains subscription data for a `subscriber` account of a particular
2762
+ * IndexSubscription: A higher order entity that contains subscription data for a `subscriber` account of a particular
2384
2763
  * `Index`.
2385
2764
  */
2386
2765
  export declare type IndexSubscriptionSubscriptionApprovedEventsArgs = {
@@ -2391,7 +2770,7 @@ export declare type IndexSubscriptionSubscriptionApprovedEventsArgs = {
2391
2770
  where?: Maybe<SubscriptionApprovedEvent_Filter>;
2392
2771
  };
2393
2772
  /**
2394
- * IndexSubscription: A HOL entity that contains subscription data for a `subscriber` account of a particular
2773
+ * IndexSubscription: A higher order entity that contains subscription data for a `subscriber` account of a particular
2395
2774
  * `Index`.
2396
2775
  */
2397
2776
  export declare type IndexSubscriptionSubscriptionDistributionClaimedEventsArgs = {
@@ -2402,7 +2781,7 @@ export declare type IndexSubscriptionSubscriptionDistributionClaimedEventsArgs =
2402
2781
  where?: Maybe<SubscriptionDistributionClaimedEvent_Filter>;
2403
2782
  };
2404
2783
  /**
2405
- * IndexSubscription: A HOL entity that contains subscription data for a `subscriber` account of a particular
2784
+ * IndexSubscription: A higher order entity that contains subscription data for a `subscriber` account of a particular
2406
2785
  * `Index`.
2407
2786
  */
2408
2787
  export declare type IndexSubscriptionSubscriptionRevokedEventsArgs = {
@@ -2413,7 +2792,7 @@ export declare type IndexSubscriptionSubscriptionRevokedEventsArgs = {
2413
2792
  where?: Maybe<SubscriptionRevokedEvent_Filter>;
2414
2793
  };
2415
2794
  /**
2416
- * IndexSubscription: A HOL entity that contains subscription data for a `subscriber` account of a particular
2795
+ * IndexSubscription: A higher order entity that contains subscription data for a `subscriber` account of a particular
2417
2796
  * `Index`.
2418
2797
  */
2419
2798
  export declare type IndexSubscriptionSubscriptionUnitsUpdatedEventsArgs = {
@@ -3558,6 +3937,8 @@ export declare type Query = {
3558
3937
  __typename?: 'Query';
3559
3938
  flowUpdatedEvent?: Maybe<FlowUpdatedEvent>;
3560
3939
  flowUpdatedEvents: Array<FlowUpdatedEvent>;
3940
+ flowOperatorUpdatedEvent?: Maybe<FlowOperatorUpdatedEvent>;
3941
+ flowOperatorUpdatedEvents: Array<FlowOperatorUpdatedEvent>;
3561
3942
  indexCreatedEvent?: Maybe<IndexCreatedEvent>;
3562
3943
  indexCreatedEvents: Array<IndexCreatedEvent>;
3563
3944
  indexDistributionClaimedEvent?: Maybe<IndexDistributionClaimedEvent>;
@@ -3638,6 +4019,8 @@ export declare type Query = {
3638
4019
  indexSubscriptions: Array<IndexSubscription>;
3639
4020
  stream?: Maybe<Stream>;
3640
4021
  streams: Array<Stream>;
4022
+ flowOperator?: Maybe<FlowOperator>;
4023
+ flowOperators: Array<FlowOperator>;
3641
4024
  streamPeriod?: Maybe<StreamPeriod>;
3642
4025
  streamPeriods: Array<StreamPeriod>;
3643
4026
  streamRevision?: Maybe<StreamRevision>;
@@ -3669,6 +4052,20 @@ export declare type QueryFlowUpdatedEventsArgs = {
3669
4052
  block?: Maybe<Block_Height>;
3670
4053
  subgraphError?: _SubgraphErrorPolicy_;
3671
4054
  };
4055
+ export declare type QueryFlowOperatorUpdatedEventArgs = {
4056
+ id: Scalars['ID'];
4057
+ block?: Maybe<Block_Height>;
4058
+ subgraphError?: _SubgraphErrorPolicy_;
4059
+ };
4060
+ export declare type QueryFlowOperatorUpdatedEventsArgs = {
4061
+ skip?: Maybe<Scalars['Int']>;
4062
+ first?: Maybe<Scalars['Int']>;
4063
+ orderBy?: Maybe<FlowOperatorUpdatedEvent_OrderBy>;
4064
+ orderDirection?: Maybe<OrderDirection>;
4065
+ where?: Maybe<FlowOperatorUpdatedEvent_Filter>;
4066
+ block?: Maybe<Block_Height>;
4067
+ subgraphError?: _SubgraphErrorPolicy_;
4068
+ };
3672
4069
  export declare type QueryIndexCreatedEventArgs = {
3673
4070
  id: Scalars['ID'];
3674
4071
  block?: Maybe<Block_Height>;
@@ -4229,6 +4626,20 @@ export declare type QueryStreamsArgs = {
4229
4626
  block?: Maybe<Block_Height>;
4230
4627
  subgraphError?: _SubgraphErrorPolicy_;
4231
4628
  };
4629
+ export declare type QueryFlowOperatorArgs = {
4630
+ id: Scalars['ID'];
4631
+ block?: Maybe<Block_Height>;
4632
+ subgraphError?: _SubgraphErrorPolicy_;
4633
+ };
4634
+ export declare type QueryFlowOperatorsArgs = {
4635
+ skip?: Maybe<Scalars['Int']>;
4636
+ first?: Maybe<Scalars['Int']>;
4637
+ orderBy?: Maybe<FlowOperator_OrderBy>;
4638
+ orderDirection?: Maybe<OrderDirection>;
4639
+ where?: Maybe<FlowOperator_Filter>;
4640
+ block?: Maybe<Block_Height>;
4641
+ subgraphError?: _SubgraphErrorPolicy_;
4642
+ };
4232
4643
  export declare type QueryStreamPeriodArgs = {
4233
4644
  id: Scalars['ID'];
4234
4645
  block?: Maybe<Block_Height>;
@@ -4959,7 +5370,7 @@ export declare enum SentEvent_OrderBy {
4959
5370
  OperatorData = "operatorData"
4960
5371
  }
4961
5372
  /**
4962
- * Stream: A HOL entity that represents the lifetime of a stream between a `sender` and a `receiver`.
5373
+ * Stream: A higher order entity that represents the lifetime of a stream between a `sender` and a `receiver`.
4963
5374
  * A account can start a stream, update the flow rate, but when they close it, it is
4964
5375
  * considered "dead". The next stream you create with the same `sender` and `receiver`
4965
5376
  * will create a new stream entity. Therefore, multiple stream entities can be created
@@ -4974,6 +5385,7 @@ export declare type Stream = {
4974
5385
  updatedAtTimestamp: Scalars['BigInt'];
4975
5386
  updatedAtBlockNumber: Scalars['BigInt'];
4976
5387
  currentFlowRate: Scalars['BigInt'];
5388
+ deposit: Scalars['BigInt'];
4977
5389
  /**
4978
5390
  * The amount streamed until `updatedAtTimestamp`/`updatedAtBlock`. The formula to get the current streamed
4979
5391
  * amount is:
@@ -4987,7 +5399,7 @@ export declare type Stream = {
4987
5399
  streamPeriods: Array<StreamPeriod>;
4988
5400
  };
4989
5401
  /**
4990
- * Stream: A HOL entity that represents the lifetime of a stream between a `sender` and a `receiver`.
5402
+ * Stream: A higher order entity that represents the lifetime of a stream between a `sender` and a `receiver`.
4991
5403
  * A account can start a stream, update the flow rate, but when they close it, it is
4992
5404
  * considered "dead". The next stream you create with the same `sender` and `receiver`
4993
5405
  * will create a new stream entity. Therefore, multiple stream entities can be created
@@ -5001,7 +5413,7 @@ export declare type StreamFlowUpdatedEventsArgs = {
5001
5413
  where?: Maybe<FlowUpdatedEvent_Filter>;
5002
5414
  };
5003
5415
  /**
5004
- * Stream: A HOL entity that represents the lifetime of a stream between a `sender` and a `receiver`.
5416
+ * Stream: A higher order entity that represents the lifetime of a stream between a `sender` and a `receiver`.
5005
5417
  * A account can start a stream, update the flow rate, but when they close it, it is
5006
5418
  * considered "dead". The next stream you create with the same `sender` and `receiver`
5007
5419
  * will create a new stream entity. Therefore, multiple stream entities can be created
@@ -5014,7 +5426,7 @@ export declare type StreamStreamPeriodsArgs = {
5014
5426
  orderDirection?: Maybe<OrderDirection>;
5015
5427
  where?: Maybe<StreamPeriod_Filter>;
5016
5428
  };
5017
- /** StreamPeriod: A HOL entity that represents a period of time in a Stream with a constant flowRate. */
5429
+ /** StreamPeriod: A higher order entity that represents a period of time in a Stream with a constant flowRate. */
5018
5430
  export declare type StreamPeriod = {
5019
5431
  __typename?: 'StreamPeriod';
5020
5432
  /** ID composed of: streamId - periodRevisionIndex */
@@ -5024,6 +5436,7 @@ export declare type StreamPeriod = {
5024
5436
  receiver: Account;
5025
5437
  token: Token;
5026
5438
  flowRate: Scalars['BigInt'];
5439
+ deposit: Scalars['BigInt'];
5027
5440
  startedAtTimestamp: Scalars['BigInt'];
5028
5441
  startedAtBlockNumber: Scalars['BigInt'];
5029
5442
  startedAtEvent: FlowUpdatedEvent;
@@ -5130,6 +5543,14 @@ export declare type StreamPeriod_Filter = {
5130
5543
  flowRate_lte?: Maybe<Scalars['BigInt']>;
5131
5544
  flowRate_in?: Maybe<Array<Scalars['BigInt']>>;
5132
5545
  flowRate_not_in?: Maybe<Array<Scalars['BigInt']>>;
5546
+ deposit?: Maybe<Scalars['BigInt']>;
5547
+ deposit_not?: Maybe<Scalars['BigInt']>;
5548
+ deposit_gt?: Maybe<Scalars['BigInt']>;
5549
+ deposit_lt?: Maybe<Scalars['BigInt']>;
5550
+ deposit_gte?: Maybe<Scalars['BigInt']>;
5551
+ deposit_lte?: Maybe<Scalars['BigInt']>;
5552
+ deposit_in?: Maybe<Array<Scalars['BigInt']>>;
5553
+ deposit_not_in?: Maybe<Array<Scalars['BigInt']>>;
5133
5554
  startedAtTimestamp?: Maybe<Scalars['BigInt']>;
5134
5555
  startedAtTimestamp_not?: Maybe<Scalars['BigInt']>;
5135
5556
  startedAtTimestamp_gt?: Maybe<Scalars['BigInt']>;
@@ -5220,6 +5641,7 @@ export declare enum StreamPeriod_OrderBy {
5220
5641
  Receiver = "receiver",
5221
5642
  Token = "token",
5222
5643
  FlowRate = "flowRate",
5644
+ Deposit = "deposit",
5223
5645
  StartedAtTimestamp = "startedAtTimestamp",
5224
5646
  StartedAtBlockNumber = "startedAtBlockNumber",
5225
5647
  StartedAtEvent = "startedAtEvent",
@@ -5316,6 +5738,14 @@ export declare type Stream_Filter = {
5316
5738
  currentFlowRate_lte?: Maybe<Scalars['BigInt']>;
5317
5739
  currentFlowRate_in?: Maybe<Array<Scalars['BigInt']>>;
5318
5740
  currentFlowRate_not_in?: Maybe<Array<Scalars['BigInt']>>;
5741
+ deposit?: Maybe<Scalars['BigInt']>;
5742
+ deposit_not?: Maybe<Scalars['BigInt']>;
5743
+ deposit_gt?: Maybe<Scalars['BigInt']>;
5744
+ deposit_lt?: Maybe<Scalars['BigInt']>;
5745
+ deposit_gte?: Maybe<Scalars['BigInt']>;
5746
+ deposit_lte?: Maybe<Scalars['BigInt']>;
5747
+ deposit_in?: Maybe<Array<Scalars['BigInt']>>;
5748
+ deposit_not_in?: Maybe<Array<Scalars['BigInt']>>;
5319
5749
  streamedUntilUpdatedAt?: Maybe<Scalars['BigInt']>;
5320
5750
  streamedUntilUpdatedAt_not?: Maybe<Scalars['BigInt']>;
5321
5751
  streamedUntilUpdatedAt_gt?: Maybe<Scalars['BigInt']>;
@@ -5394,6 +5824,7 @@ export declare enum Stream_OrderBy {
5394
5824
  UpdatedAtTimestamp = "updatedAtTimestamp",
5395
5825
  UpdatedAtBlockNumber = "updatedAtBlockNumber",
5396
5826
  CurrentFlowRate = "currentFlowRate",
5827
+ Deposit = "deposit",
5397
5828
  StreamedUntilUpdatedAt = "streamedUntilUpdatedAt",
5398
5829
  Token = "token",
5399
5830
  Sender = "sender",
@@ -5405,6 +5836,8 @@ export declare type Subscription = {
5405
5836
  __typename?: 'Subscription';
5406
5837
  flowUpdatedEvent?: Maybe<FlowUpdatedEvent>;
5407
5838
  flowUpdatedEvents: Array<FlowUpdatedEvent>;
5839
+ flowOperatorUpdatedEvent?: Maybe<FlowOperatorUpdatedEvent>;
5840
+ flowOperatorUpdatedEvents: Array<FlowOperatorUpdatedEvent>;
5408
5841
  indexCreatedEvent?: Maybe<IndexCreatedEvent>;
5409
5842
  indexCreatedEvents: Array<IndexCreatedEvent>;
5410
5843
  indexDistributionClaimedEvent?: Maybe<IndexDistributionClaimedEvent>;
@@ -5485,6 +5918,8 @@ export declare type Subscription = {
5485
5918
  indexSubscriptions: Array<IndexSubscription>;
5486
5919
  stream?: Maybe<Stream>;
5487
5920
  streams: Array<Stream>;
5921
+ flowOperator?: Maybe<FlowOperator>;
5922
+ flowOperators: Array<FlowOperator>;
5488
5923
  streamPeriod?: Maybe<StreamPeriod>;
5489
5924
  streamPeriods: Array<StreamPeriod>;
5490
5925
  streamRevision?: Maybe<StreamRevision>;
@@ -5516,6 +5951,20 @@ export declare type SubscriptionFlowUpdatedEventsArgs = {
5516
5951
  block?: Maybe<Block_Height>;
5517
5952
  subgraphError?: _SubgraphErrorPolicy_;
5518
5953
  };
5954
+ export declare type SubscriptionFlowOperatorUpdatedEventArgs = {
5955
+ id: Scalars['ID'];
5956
+ block?: Maybe<Block_Height>;
5957
+ subgraphError?: _SubgraphErrorPolicy_;
5958
+ };
5959
+ export declare type SubscriptionFlowOperatorUpdatedEventsArgs = {
5960
+ skip?: Maybe<Scalars['Int']>;
5961
+ first?: Maybe<Scalars['Int']>;
5962
+ orderBy?: Maybe<FlowOperatorUpdatedEvent_OrderBy>;
5963
+ orderDirection?: Maybe<OrderDirection>;
5964
+ where?: Maybe<FlowOperatorUpdatedEvent_Filter>;
5965
+ block?: Maybe<Block_Height>;
5966
+ subgraphError?: _SubgraphErrorPolicy_;
5967
+ };
5519
5968
  export declare type SubscriptionIndexCreatedEventArgs = {
5520
5969
  id: Scalars['ID'];
5521
5970
  block?: Maybe<Block_Height>;
@@ -6076,6 +6525,20 @@ export declare type SubscriptionStreamsArgs = {
6076
6525
  block?: Maybe<Block_Height>;
6077
6526
  subgraphError?: _SubgraphErrorPolicy_;
6078
6527
  };
6528
+ export declare type SubscriptionFlowOperatorArgs = {
6529
+ id: Scalars['ID'];
6530
+ block?: Maybe<Block_Height>;
6531
+ subgraphError?: _SubgraphErrorPolicy_;
6532
+ };
6533
+ export declare type SubscriptionFlowOperatorsArgs = {
6534
+ skip?: Maybe<Scalars['Int']>;
6535
+ first?: Maybe<Scalars['Int']>;
6536
+ orderBy?: Maybe<FlowOperator_OrderBy>;
6537
+ orderDirection?: Maybe<OrderDirection>;
6538
+ where?: Maybe<FlowOperator_Filter>;
6539
+ block?: Maybe<Block_Height>;
6540
+ subgraphError?: _SubgraphErrorPolicy_;
6541
+ };
6079
6542
  export declare type SubscriptionStreamPeriodArgs = {
6080
6543
  id: Scalars['ID'];
6081
6544
  block?: Maybe<Block_Height>;
@@ -7120,7 +7583,7 @@ export declare enum SuperTokenLogicUpdatedEvent_OrderBy {
7120
7583
  Code = "code"
7121
7584
  }
7122
7585
  /**
7123
- * Token: A HOL entity created for super tokens that are "valid" (tokens that have
7586
+ * Token: A higher order entity created for super tokens that are "valid" (tokens that have
7124
7587
  * Superfluid's host contract address set as the host).
7125
7588
  */
7126
7589
  export declare type Token = {
@@ -7264,7 +7727,7 @@ export declare enum TokenDowngradedEvent_OrderBy {
7264
7727
  /** TokenStatistic: An aggregate entity which aggregates data of a single `token`. */
7265
7728
  export declare type TokenStatistic = {
7266
7729
  __typename?: 'TokenStatistic';
7267
- /** ID: tokenID */
7730
+ /** id: token address */
7268
7731
  id: Scalars['ID'];
7269
7732
  updatedAtTimestamp: Scalars['BigInt'];
7270
7733
  updatedAtBlockNumber: Scalars['BigInt'];
@@ -7286,6 +7749,8 @@ export declare type TokenStatistic = {
7286
7749
  totalSubscriptionsWithUnits: Scalars['Int'];
7287
7750
  /** Counts all approved subscriptions whether or not they have units. */
7288
7751
  totalApprovedSubscriptions: Scalars['Int'];
7752
+ /** The total deposit held by the CFA agreement for this particular `token`. */
7753
+ totalDeposit: Scalars['BigInt'];
7289
7754
  /** The total outflow rate of the `token` (how much value is being moved). */
7290
7755
  totalOutflowRate: Scalars['BigInt'];
7291
7756
  /** The all-time total amount streamed until the `updatedAtTimestamp`/`updatedAtBlock`. */
@@ -7374,6 +7839,14 @@ export declare type TokenStatistic_Filter = {
7374
7839
  totalApprovedSubscriptions_lte?: Maybe<Scalars['Int']>;
7375
7840
  totalApprovedSubscriptions_in?: Maybe<Array<Scalars['Int']>>;
7376
7841
  totalApprovedSubscriptions_not_in?: Maybe<Array<Scalars['Int']>>;
7842
+ totalDeposit?: Maybe<Scalars['BigInt']>;
7843
+ totalDeposit_not?: Maybe<Scalars['BigInt']>;
7844
+ totalDeposit_gt?: Maybe<Scalars['BigInt']>;
7845
+ totalDeposit_lt?: Maybe<Scalars['BigInt']>;
7846
+ totalDeposit_gte?: Maybe<Scalars['BigInt']>;
7847
+ totalDeposit_lte?: Maybe<Scalars['BigInt']>;
7848
+ totalDeposit_in?: Maybe<Array<Scalars['BigInt']>>;
7849
+ totalDeposit_not_in?: Maybe<Array<Scalars['BigInt']>>;
7377
7850
  totalOutflowRate?: Maybe<Scalars['BigInt']>;
7378
7851
  totalOutflowRate_not?: Maybe<Scalars['BigInt']>;
7379
7852
  totalOutflowRate_gt?: Maybe<Scalars['BigInt']>;
@@ -7447,6 +7920,7 @@ export declare enum TokenStatistic_OrderBy {
7447
7920
  TotalNumberOfActiveIndexes = "totalNumberOfActiveIndexes",
7448
7921
  TotalSubscriptionsWithUnits = "totalSubscriptionsWithUnits",
7449
7922
  TotalApprovedSubscriptions = "totalApprovedSubscriptions",
7923
+ TotalDeposit = "totalDeposit",
7450
7924
  TotalOutflowRate = "totalOutflowRate",
7451
7925
  TotalAmountStreamedUntilUpdatedAt = "totalAmountStreamedUntilUpdatedAt",
7452
7926
  TotalAmountTransferredUntilUpdatedAt = "totalAmountTransferredUntilUpdatedAt",