@superfluid-finance/sdk-core 0.5.2 → 0.5.3-dev.ab0fdb4.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.
Files changed (78) hide show
  1. package/dist/index.umd.js +17 -17
  2. package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
  3. package/dist/main/ConstantFlowAgreementV1.js +1 -1
  4. package/dist/main/Governance.js +2 -2
  5. package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
  6. package/dist/main/InstantDistributionAgreementV1.js +3 -3
  7. package/dist/main/Operation.d.ts +3 -3
  8. package/dist/main/Operation.js +3 -3
  9. package/dist/main/SFError.js +1 -1
  10. package/dist/main/SFError.js.map +1 -1
  11. package/dist/main/defaultSubgraphReleaseTag.json +1 -1
  12. package/dist/main/interfaces.d.ts +1 -0
  13. package/dist/main/interfaces.d.ts.map +1 -1
  14. package/dist/main/subgraph/entities/token/tokens.generated.d.ts +1 -0
  15. package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  16. package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
  17. package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
  18. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  19. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  20. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  21. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  22. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  23. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  24. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  25. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  26. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +1 -0
  27. package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  28. package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
  29. package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
  30. package/dist/main/subgraph/queries/getStreams.generated.d.ts +1 -0
  31. package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  32. package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
  33. package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
  34. package/dist/main/subgraph/queries/getTokens.generated.d.ts +1 -0
  35. package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  36. package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
  37. package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
  38. package/dist/main/subgraph/schema.generated.d.ts +5 -1
  39. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  40. package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
  41. package/dist/module/ConstantFlowAgreementV1.js +1 -1
  42. package/dist/module/Governance.js +2 -2
  43. package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
  44. package/dist/module/InstantDistributionAgreementV1.js +3 -3
  45. package/dist/module/Operation.d.ts +3 -3
  46. package/dist/module/Operation.js +3 -3
  47. package/dist/module/SFError.js +1 -1
  48. package/dist/module/SFError.js.map +1 -1
  49. package/dist/module/defaultSubgraphReleaseTag.json +1 -1
  50. package/dist/module/interfaces.d.ts +1 -0
  51. package/dist/module/interfaces.d.ts.map +1 -1
  52. package/dist/module/subgraph/entities/token/tokens.generated.d.ts +1 -0
  53. package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
  54. package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
  55. package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
  56. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +1 -0
  57. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
  58. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
  59. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
  60. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +1 -0
  61. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
  62. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
  63. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
  64. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +1 -0
  65. package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
  66. package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
  67. package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
  68. package/dist/module/subgraph/queries/getStreams.generated.d.ts +1 -0
  69. package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
  70. package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
  71. package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
  72. package/dist/module/subgraph/queries/getTokens.generated.d.ts +1 -0
  73. package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
  74. package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
  75. package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
  76. package/dist/module/subgraph/schema.generated.d.ts +5 -1
  77. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  78. package/package.json +2 -2
package/dist/index.umd.js CHANGED
@@ -74254,7 +74254,7 @@ class ConstantFlowAgreementV1 {
74254
74254
  * @param timestamp last updated timestamp of flow
74255
74255
  * @param flowRate the current flow rate
74256
74256
  * @param deposit the deposit amount
74257
- * @param owedDeposit any owed depsit
74257
+ * @param owedDeposit any owed deposit
74258
74258
  * @returns {IWeb3FlowInfo} sanitized web3 flow info
74259
74259
  */
74260
74260
  this._sanitizeFlowInfo = (params) => {
@@ -74852,7 +74852,7 @@ class Governance {
74852
74852
  */
74853
74853
  this.getGovernanceParameters = async ({ providerOrSigner, token = ethers_1.ethers.constants.AddressZero, }) => {
74854
74854
  const pppPromise = this.getPPPConfig({ providerOrSigner, token });
74855
- const rewardPromose = this.getRewardAddress({
74855
+ const rewardPromise = this.getRewardAddress({
74856
74856
  providerOrSigner,
74857
74857
  token,
74858
74858
  });
@@ -74862,7 +74862,7 @@ class Governance {
74862
74862
  });
74863
74863
  const data = await Promise.all([
74864
74864
  pppPromise,
74865
- rewardPromose,
74865
+ rewardPromise,
74866
74866
  minimumDepositPromise,
74867
74867
  ]);
74868
74868
  return {
@@ -75097,7 +75097,7 @@ class InstantDistributionAgreementV1 {
75097
75097
  return this.host.callAgreement(this.options.config.idaV1Address, callData, params.userData, params.overrides);
75098
75098
  };
75099
75099
  /**
75100
- * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
75100
+ * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributes.
75101
75101
  * @param indexId The id of the index.
75102
75102
  * @param superToken The superToken of the index.
75103
75103
  * @param subscriber The subscriber address whose subscription you want to revoke.
@@ -75121,7 +75121,7 @@ class InstantDistributionAgreementV1 {
75121
75121
  * @param indexId The id of the index.
75122
75122
  * @param superToken The superToken of the index.
75123
75123
  * @param subscriber The subscriber address whose subscription you want to delete.
75124
- * @param publisher The publisher address of the index you are targetting.
75124
+ * @param publisher The publisher address of the index you are targeting.
75125
75125
  * @param userData Extra user data provided.
75126
75126
  * @param overrides ethers overrides object for more control over the transaction sent.
75127
75127
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -75144,7 +75144,7 @@ class InstantDistributionAgreementV1 {
75144
75144
  * @param indexId The id of the index.
75145
75145
  * @param superToken The superToken of the index.
75146
75146
  * @param subscriber The subscriber address whose subscription you want to delete.
75147
- * @param publisher The publisher address of the index you are targetting.
75147
+ * @param publisher The publisher address of the index you are targeting.
75148
75148
  * @param userData Extra user data provided.
75149
75149
  * @param overrides ethers overrides object for more control over the transaction sent.
75150
75150
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -75183,7 +75183,7 @@ class Operation {
75183
75183
  /**
75184
75184
  * Executes the operation via the provided signer.
75185
75185
  * @description Populates all fields of the transaction, signs it and sends it to the network.
75186
- * @param signer The signer of the transacation
75186
+ * @param signer The signer of the transaction
75187
75187
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
75188
75188
  */
75189
75189
  this.exec = async (signer) => {
@@ -75220,7 +75220,7 @@ class Operation {
75220
75220
  };
75221
75221
  /**
75222
75222
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
75223
- * @param signer The signer of the transacation
75223
+ * @param signer The signer of the transaction
75224
75224
  * @returns {Promise<string>} Fully serialized, signed transaction
75225
75225
  */
75226
75226
  this.getSignedTransaction = async (signer) => {
@@ -75240,7 +75240,7 @@ class Operation {
75240
75240
  /**
75241
75241
  * Gets the transaction hash of the transaction.
75242
75242
  * @description Calculates this by getting the keccak256 hash of the signedTxn.
75243
- * @param signer The signer of the transacation
75243
+ * @param signer The signer of the transaction
75244
75244
  * @returns {Promise<string>} The transaction hash of the transaction
75245
75245
  */
75246
75246
  this.getTransactionHash = async (signer) => {
@@ -75572,7 +75572,7 @@ Caused by: ${stringifyCause(cause)}`
75572
75572
  : ""}`;
75573
75573
  super(fullMessage, cause
75574
75574
  ? {
75575
- cause: cause, // Currently "unknown" is not compatible with "cause" (because it expectes "Error" and that's why we cast) but this was recently changed and merged to also allow "unknown": https://github.com/microsoft/TypeScript/pull/49639
75575
+ cause: cause, // Currently "unknown" is not compatible with "cause" (because it expects "Error" and that's why we cast) but this was recently changed and merged to also allow "unknown": https://github.com/microsoft/TypeScript/pull/49639
75576
75576
  }
75577
75577
  : {});
75578
75578
  // Fallback back environments where `Error.cause` is now yet natively supported
@@ -84307,7 +84307,7 @@ exports.networkNameToChainIdMap = new Map([
84307
84307
 
84308
84308
  },{"./defaultSubgraphReleaseTag.json":334}],334:[function(require,module,exports){
84309
84309
  module.exports={
84310
- "value": "v1"
84310
+ "value": "dev"
84311
84311
  }
84312
84312
  },{}],335:[function(require,module,exports){
84313
84313
  "use strict";
@@ -85581,7 +85581,7 @@ exports.TokenQueryHandler = TokenQueryHandler;
85581
85581
  "use strict";
85582
85582
  Object.defineProperty(exports, "__esModule", { value: true });
85583
85583
  exports.TokensDocument = void 0;
85584
- 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": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "block" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Block_height" } } }], "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" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "block" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "block" } } }], "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" } }] } }] } }] };
85584
+ 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": [] } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "block" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Block_height" } } }], "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" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "block" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "block" } } }], "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": "isNativeAssetSuperToken" } }, { "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" } }] } }] } }] };
85585
85585
 
85586
85586
  },{}],359:[function(require,module,exports){
85587
85587
  "use strict";
@@ -85909,7 +85909,7 @@ const lowerCaseIfAddress = (value) => {
85909
85909
  "use strict";
85910
85910
  Object.defineProperty(exports, "__esModule", { value: true });
85911
85911
  exports.GetAccountTokenSnapshotsDocument = void 0;
85912
- 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" } }] } }] } }] } }] };
85912
+ 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": "isNativeAssetSuperToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] } }] };
85913
85913
 
85914
85914
  },{}],374:[function(require,module,exports){
85915
85915
  "use strict";
@@ -85921,25 +85921,25 @@ exports.GetAllEventsDocument = { "kind": "Document", "definitions": [{ "kind": "
85921
85921
  "use strict";
85922
85922
  Object.defineProperty(exports, "__esModule", { value: true });
85923
85923
  exports.GetIndexSubscriptionsDocument = void 0;
85924
- 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" } }] } }] } }] } }] } }] };
85924
+ 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": "isNativeAssetSuperToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] } }] } }] };
85925
85925
 
85926
85926
  },{}],376:[function(require,module,exports){
85927
85927
  "use strict";
85928
85928
  Object.defineProperty(exports, "__esModule", { value: true });
85929
85929
  exports.GetIndexesDocument = void 0;
85930
- 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" } }] } }] } }] } }] };
85930
+ 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": "isNativeAssetSuperToken" } }, { "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" } }] } }] } }] } }] };
85931
85931
 
85932
85932
  },{}],377:[function(require,module,exports){
85933
85933
  "use strict";
85934
85934
  Object.defineProperty(exports, "__esModule", { value: true });
85935
85935
  exports.GetStreamsDocument = void 0;
85936
- 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" } }] } }] } }] } }] };
85936
+ 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": "isNativeAssetSuperToken" } }, { "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" } }] } }] } }] } }] };
85937
85937
 
85938
85938
  },{}],378:[function(require,module,exports){
85939
85939
  "use strict";
85940
85940
  Object.defineProperty(exports, "__esModule", { value: true });
85941
85941
  exports.GetTokensDocument = void 0;
85942
- 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" } }] } }] } }] };
85942
+ 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": "isNativeAssetSuperToken" } }, { "kind": "Field", "name": { "kind": "Name", "value": "underlyingAddress" } }] } }] } }] };
85943
85943
 
85944
85944
  },{}],379:[function(require,module,exports){
85945
85945
  arguments[4][338][0].apply(exports,arguments)
@@ -151,7 +151,7 @@ export default class ConstantFlowAgreementV1 {
151
151
  * @param timestamp last updated timestamp of flow
152
152
  * @param flowRate the current flow rate
153
153
  * @param deposit the deposit amount
154
- * @param owedDeposit any owed depsit
154
+ * @param owedDeposit any owed deposit
155
155
  * @returns {IWeb3FlowInfo} sanitized web3 flow info
156
156
  */
157
157
  _sanitizeFlowInfo: (params: IWeb3FlowInfoParams) => IWeb3FlowInfo;
@@ -271,7 +271,7 @@ class ConstantFlowAgreementV1 {
271
271
  * @param timestamp last updated timestamp of flow
272
272
  * @param flowRate the current flow rate
273
273
  * @param deposit the deposit amount
274
- * @param owedDeposit any owed depsit
274
+ * @param owedDeposit any owed deposit
275
275
  * @returns {IWeb3FlowInfo} sanitized web3 flow info
276
276
  */
277
277
  this._sanitizeFlowInfo = (params) => {
@@ -54,7 +54,7 @@ class Governance {
54
54
  */
55
55
  this.getGovernanceParameters = async ({ providerOrSigner, token = ethers_1.ethers.constants.AddressZero, }) => {
56
56
  const pppPromise = this.getPPPConfig({ providerOrSigner, token });
57
- const rewardPromose = this.getRewardAddress({
57
+ const rewardPromise = this.getRewardAddress({
58
58
  providerOrSigner,
59
59
  token,
60
60
  });
@@ -64,7 +64,7 @@ class Governance {
64
64
  });
65
65
  const data = await Promise.all([
66
66
  pppPromise,
67
- rewardPromose,
67
+ rewardPromise,
68
68
  minimumDepositPromise,
69
69
  ]);
70
70
  return {
@@ -84,7 +84,7 @@ export default class InstantDistributionAgreementV1 {
84
84
  */
85
85
  approveSubscription: (params: IApproveSubscriptionParams) => Operation;
86
86
  /**
87
- * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
87
+ * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributes.
88
88
  * @param indexId The id of the index.
89
89
  * @param superToken The superToken of the index.
90
90
  * @param subscriber The subscriber address whose subscription you want to revoke.
@@ -98,7 +98,7 @@ export default class InstantDistributionAgreementV1 {
98
98
  * @param indexId The id of the index.
99
99
  * @param superToken The superToken of the index.
100
100
  * @param subscriber The subscriber address whose subscription you want to delete.
101
- * @param publisher The publisher address of the index you are targetting.
101
+ * @param publisher The publisher address of the index you are targeting.
102
102
  * @param userData Extra user data provided.
103
103
  * @param overrides ethers overrides object for more control over the transaction sent.
104
104
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -109,7 +109,7 @@ export default class InstantDistributionAgreementV1 {
109
109
  * @param indexId The id of the index.
110
110
  * @param superToken The superToken of the index.
111
111
  * @param subscriber The subscriber address whose subscription you want to delete.
112
- * @param publisher The publisher address of the index you are targetting.
112
+ * @param publisher The publisher address of the index you are targeting.
113
113
  * @param userData Extra user data provided.
114
114
  * @param overrides ethers overrides object for more control over the transaction sent.
115
115
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -173,7 +173,7 @@ class InstantDistributionAgreementV1 {
173
173
  return this.host.callAgreement(this.options.config.idaV1Address, callData, params.userData, params.overrides);
174
174
  };
175
175
  /**
176
- * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
176
+ * Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributes.
177
177
  * @param indexId The id of the index.
178
178
  * @param superToken The superToken of the index.
179
179
  * @param subscriber The subscriber address whose subscription you want to revoke.
@@ -197,7 +197,7 @@ class InstantDistributionAgreementV1 {
197
197
  * @param indexId The id of the index.
198
198
  * @param superToken The superToken of the index.
199
199
  * @param subscriber The subscriber address whose subscription you want to delete.
200
- * @param publisher The publisher address of the index you are targetting.
200
+ * @param publisher The publisher address of the index you are targeting.
201
201
  * @param userData Extra user data provided.
202
202
  * @param overrides ethers overrides object for more control over the transaction sent.
203
203
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -220,7 +220,7 @@ class InstantDistributionAgreementV1 {
220
220
  * @param indexId The id of the index.
221
221
  * @param superToken The superToken of the index.
222
222
  * @param subscriber The subscriber address whose subscription you want to delete.
223
- * @param publisher The publisher address of the index you are targetting.
223
+ * @param publisher The publisher address of the index you are targeting.
224
224
  * @param userData Extra user data provided.
225
225
  * @param overrides ethers overrides object for more control over the transaction sent.
226
226
  * @returns {Operation} An instance of Operation which can be executed or batched.
@@ -12,7 +12,7 @@ export default class Operation {
12
12
  /**
13
13
  * Executes the operation via the provided signer.
14
14
  * @description Populates all fields of the transaction, signs it and sends it to the network.
15
- * @param signer The signer of the transacation
15
+ * @param signer The signer of the transaction
16
16
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
17
17
  */
18
18
  exec: (signer: ethers.Signer) => Promise<ethers.providers.TransactionResponse>;
@@ -24,14 +24,14 @@ export default class Operation {
24
24
  getPopulatedTransactionRequest: (signer: ethers.Signer) => Promise<TransactionRequest>;
25
25
  /**
26
26
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
27
- * @param signer The signer of the transacation
27
+ * @param signer The signer of the transaction
28
28
  * @returns {Promise<string>} Fully serialized, signed transaction
29
29
  */
30
30
  getSignedTransaction: (signer: ethers.Signer) => Promise<string>;
31
31
  /**
32
32
  * Gets the transaction hash of the transaction.
33
33
  * @description Calculates this by getting the keccak256 hash of the signedTxn.
34
- * @param signer The signer of the transacation
34
+ * @param signer The signer of the transaction
35
35
  * @returns {Promise<string>} The transaction hash of the transaction
36
36
  */
37
37
  getTransactionHash: (signer: ethers.Signer) => Promise<string>;
@@ -11,7 +11,7 @@ class Operation {
11
11
  /**
12
12
  * Executes the operation via the provided signer.
13
13
  * @description Populates all fields of the transaction, signs it and sends it to the network.
14
- * @param signer The signer of the transacation
14
+ * @param signer The signer of the transaction
15
15
  * @returns {ethers.providers.TransactionResponse} A TransactionResponse object which can be awaited
16
16
  */
17
17
  this.exec = async (signer) => {
@@ -48,7 +48,7 @@ class Operation {
48
48
  };
49
49
  /**
50
50
  * Signs the populated transaction via the provided signer (what you intend on sending to the network).
51
- * @param signer The signer of the transacation
51
+ * @param signer The signer of the transaction
52
52
  * @returns {Promise<string>} Fully serialized, signed transaction
53
53
  */
54
54
  this.getSignedTransaction = async (signer) => {
@@ -68,7 +68,7 @@ class Operation {
68
68
  /**
69
69
  * Gets the transaction hash of the transaction.
70
70
  * @description Calculates this by getting the keccak256 hash of the signedTxn.
71
- * @param signer The signer of the transacation
71
+ * @param signer The signer of the transaction
72
72
  * @returns {Promise<string>} The transaction hash of the transaction
73
73
  */
74
74
  this.getTransactionHash = async (signer) => {
@@ -40,7 +40,7 @@ Caused by: ${stringifyCause(cause)}`
40
40
  : ""}`;
41
41
  super(fullMessage, cause
42
42
  ? {
43
- cause: cause, // Currently "unknown" is not compatible with "cause" (because it expectes "Error" and that's why we cast) but this was recently changed and merged to also allow "unknown": https://github.com/microsoft/TypeScript/pull/49639
43
+ cause: cause, // Currently "unknown" is not compatible with "cause" (because it expects "Error" and that's why we cast) but this was recently changed and merged to also allow "unknown": https://github.com/microsoft/TypeScript/pull/49639
44
44
  }
45
45
  : {});
46
46
  // Fallback back environments where `Error.cause` is now yet natively supported
@@ -1 +1 @@
1
- {"version":3,"file":"SFError.js","sourceRoot":"","sources":["../../src/SFError.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAsBjD,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAoB;IACnD,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;IACxD,CAAC,2BAA2B,EAAE,2BAA2B,CAAC;IAC1D,CAAC,eAAe,EAAE,eAAe,CAAC;IAClC,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACtC,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC9B,CAAC,YAAY,EAAE,8BAA8B,CAAC;IAC9C,CAAC,YAAY,EAAE,qCAAqC,CAAC;IACrD,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACtC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;IAChD,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAC9C,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,CAAC,uBAAuB,EAAE,kCAAkC,CAAC;IAC7D,CAAC,gCAAgC,EAAE,gCAAgC,CAAC;IACpE,CAAC,kBAAkB,EAAE,YAAY,CAAC;IAClC,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAC9C,CAAC,yBAAyB,EAAE,8BAA8B,CAAC;CAC9D,CAAC,CAAC;AAQH,2DAA2D;AAC3D,kCAAkC;AAClC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IAC/C,IAAI;QACA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAA,gCAAc,EAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KACzD;IAAC,OAAO,GAAG,EAAE;QACV,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KACzC;AACL,CAAC,CAAC;AAEF,MAAa,OAAQ,SAAQ,KAAK;IAI9B,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAc;QAC5C,MAAM,WAAW,GAAG,GAAG,mBAAmB,CAAC,GAAG,CAC1C,IAAI,CACP,WAAW,OAAO,GACf,KAAK;YACD,CAAC,CAAC;aACL,cAAc,CAAC,KAAK,CAAC,EAAE;YACpB,CAAC,CAAC,EACV,EAAE,CAAC;QACH,KAAK,CACD,WAAW,EACX,KAAK;YACD,CAAC,CAAC;gBACI,KAAK,EAAE,KAAc,EAAE,+NAA+N;aACzP;YACH,CAAC,CAAC,EAAE,CACX,CAAC;QACF,+EAA+E;QAC/E,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACtB,IAAI,CAAC,KAAK,GAAG,KAAc,CAAC;SAC/B;QACD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,gIAAgI;IACvL,CAAC;CACJ;AA5BD,0BA4BC"}
1
+ {"version":3,"file":"SFError.js","sourceRoot":"","sources":["../../src/SFError.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAsBjD,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAoB;IACnD,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;IACxD,CAAC,2BAA2B,EAAE,2BAA2B,CAAC;IAC1D,CAAC,eAAe,EAAE,eAAe,CAAC;IAClC,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACtC,CAAC,gBAAgB,EAAE,UAAU,CAAC;IAC9B,CAAC,YAAY,EAAE,8BAA8B,CAAC;IAC9C,CAAC,YAAY,EAAE,qCAAqC,CAAC;IACrD,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACtC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;IAChD,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAC9C,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,CAAC,uBAAuB,EAAE,kCAAkC,CAAC;IAC7D,CAAC,gCAAgC,EAAE,gCAAgC,CAAC;IACpE,CAAC,kBAAkB,EAAE,YAAY,CAAC;IAClC,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;IAC9C,CAAC,yBAAyB,EAAE,8BAA8B,CAAC;CAC9D,CAAC,CAAC;AAQH,2DAA2D;AAC3D,kCAAkC;AAClC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IAC/C,IAAI;QACA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAA,gCAAc,EAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KACzD;IAAC,OAAO,GAAG,EAAE;QACV,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KACzC;AACL,CAAC,CAAC;AAEF,MAAa,OAAQ,SAAQ,KAAK;IAI9B,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAc;QAC5C,MAAM,WAAW,GAAG,GAAG,mBAAmB,CAAC,GAAG,CAC1C,IAAI,CACP,WAAW,OAAO,GACf,KAAK;YACD,CAAC,CAAC;aACL,cAAc,CAAC,KAAK,CAAC,EAAE;YACpB,CAAC,CAAC,EACV,EAAE,CAAC;QACH,KAAK,CACD,WAAW,EACX,KAAK;YACD,CAAC,CAAC;gBACI,KAAK,EAAE,KAAc,EAAE,8NAA8N;aACxP;YACH,CAAC,CAAC,EAAE,CACX,CAAC;QACF,+EAA+E;QAC/E,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACtB,IAAI,CAAC,KAAK,GAAG,KAAc,CAAC;SAC/B;QACD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,gIAAgI;IACvL,CAAC;CACJ;AA5BD,0BA4BC"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "value": "v1"
2
+ "value": "dev"
3
3
  }
@@ -368,6 +368,7 @@ export interface ISuperToken extends IHOLEntityBase {
368
368
  readonly name: string;
369
369
  readonly symbol: string;
370
370
  readonly isListed: boolean;
371
+ readonly isNativeAssetSuperToken: boolean;
371
372
  readonly underlyingAddress: string;
372
373
  }
373
374
  export interface IAggregateEntityBase {