@superfluid-finance/sdk-core 0.5.4-dev.3c955c7.0 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/index.umd.js +37 -32
- package/dist/main/ConstantFlowAgreementV1.d.ts +1 -1
- package/dist/main/ConstantFlowAgreementV1.js +1 -1
- package/dist/main/Governance.js +2 -2
- package/dist/main/InstantDistributionAgreementV1.d.ts +3 -3
- package/dist/main/InstantDistributionAgreementV1.js +3 -3
- package/dist/main/Operation.d.ts +3 -3
- package/dist/main/Operation.js +3 -3
- package/dist/main/SFError.js +3 -3
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/abi/Superfluid.json +18 -13
- package/dist/main/defaultSubgraphReleaseTag.json +1 -1
- package/dist/main/interfaces.d.ts +0 -1
- package/dist/main/interfaces.d.ts.map +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts +0 -1
- package/dist/main/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.js +1 -1
- package/dist/main/subgraph/entities/token/tokens.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +0 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
- package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +0 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
- package/dist/main/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.d.ts +0 -1
- package/dist/main/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.js +1 -1
- package/dist/main/subgraph/queries/getIndexes.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.d.ts +0 -1
- package/dist/main/subgraph/queries/getStreams.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.js +1 -1
- package/dist/main/subgraph/queries/getStreams.generated.js.map +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.d.ts +0 -1
- package/dist/main/subgraph/queries/getTokens.generated.d.ts.map +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.js +1 -1
- package/dist/main/subgraph/queries/getTokens.generated.js.map +1 -1
- package/dist/main/typechain/Superfluid.d.ts +49 -45
- package/dist/main/typechain/Superfluid.d.ts.map +1 -1
- package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/Superfluid__factory.js +18 -13
- package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
- package/dist/module/ConstantFlowAgreementV1.d.ts +1 -1
- package/dist/module/ConstantFlowAgreementV1.js +1 -1
- package/dist/module/Governance.js +2 -2
- package/dist/module/InstantDistributionAgreementV1.d.ts +3 -3
- package/dist/module/InstantDistributionAgreementV1.js +3 -3
- package/dist/module/Operation.d.ts +3 -3
- package/dist/module/Operation.js +3 -3
- package/dist/module/SFError.js +3 -3
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/abi/Superfluid.json +18 -13
- package/dist/module/defaultSubgraphReleaseTag.json +1 -1
- package/dist/module/interfaces.d.ts +0 -1
- package/dist/module/interfaces.d.ts.map +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts +0 -1
- package/dist/module/subgraph/entities/token/tokens.generated.d.ts.map +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.js +1 -1
- package/dist/module/subgraph/entities/token/tokens.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +0 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js +1 -1
- package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +0 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js +1 -1
- package/dist/module/subgraph/queries/getIndexSubscriptions.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.d.ts +0 -1
- package/dist/module/subgraph/queries/getIndexes.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.js +1 -1
- package/dist/module/subgraph/queries/getIndexes.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.d.ts +0 -1
- package/dist/module/subgraph/queries/getStreams.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.js +1 -1
- package/dist/module/subgraph/queries/getStreams.generated.js.map +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.d.ts +0 -1
- package/dist/module/subgraph/queries/getTokens.generated.d.ts.map +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.js +1 -1
- package/dist/module/subgraph/queries/getTokens.generated.js.map +1 -1
- package/dist/module/typechain/Superfluid.d.ts +49 -45
- package/dist/module/typechain/Superfluid.d.ts.map +1 -1
- package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/Superfluid__factory.js +18 -13
- package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
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
|
|
74257
|
+
* @param owedDeposit any owed depsit
|
|
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
|
|
74855
|
+
const rewardPromose = 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
|
-
|
|
74865
|
+
rewardPromose,
|
|
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
|
|
75100
|
+
* Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
|
|
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
|
|
75124
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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
|
|
75147
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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
|
|
75186
|
+
* @param signer The signer of the transacation
|
|
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
|
|
75223
|
+
* @param signer The signer of the transacation
|
|
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
|
|
75243
|
+
* @param signer The signer of the transacation
|
|
75244
75244
|
* @returns {Promise<string>} The transaction hash of the transaction
|
|
75245
75245
|
*/
|
|
75246
75246
|
this.getTransactionHash = async (signer) => {
|
|
@@ -75564,8 +75564,8 @@ const stringifyCause = (cause) => {
|
|
|
75564
75564
|
try {
|
|
75565
75565
|
return JSON.stringify(cause, null, 2);
|
|
75566
75566
|
}
|
|
75567
|
-
catch
|
|
75568
|
-
console.error("Caused by: ",
|
|
75567
|
+
catch {
|
|
75568
|
+
console.error("Caused by: ", cause);
|
|
75569
75569
|
return "[Couldn't serialize error. Error logged to console.]";
|
|
75570
75570
|
}
|
|
75571
75571
|
}
|
|
@@ -75578,7 +75578,7 @@ Caused by: ${stringifyCause(cause)}`
|
|
|
75578
75578
|
: ""}`;
|
|
75579
75579
|
super(fullMessage, cause
|
|
75580
75580
|
? {
|
|
75581
|
-
cause: cause, // Currently "unknown" is not compatible with "cause" (because it
|
|
75581
|
+
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
|
|
75582
75582
|
}
|
|
75583
75583
|
: {});
|
|
75584
75584
|
// Fallback back environments where `Error.cause` is now yet natively supported
|
|
@@ -81661,7 +81661,7 @@ module.exports={ "abi": [
|
|
|
81661
81661
|
},
|
|
81662
81662
|
{
|
|
81663
81663
|
"inputs": [],
|
|
81664
|
-
"name": "
|
|
81664
|
+
"name": "MAX_APP_LEVEL",
|
|
81665
81665
|
"outputs": [
|
|
81666
81666
|
{
|
|
81667
81667
|
"internalType": "uint256",
|
|
@@ -82061,7 +82061,7 @@ module.exports={ "abi": [
|
|
|
82061
82061
|
"type": "address"
|
|
82062
82062
|
}
|
|
82063
82063
|
],
|
|
82064
|
-
"name": "
|
|
82064
|
+
"name": "getAppLevel",
|
|
82065
82065
|
"outputs": [
|
|
82066
82066
|
{
|
|
82067
82067
|
"internalType": "uint8",
|
|
@@ -82239,17 +82239,17 @@ module.exports={ "abi": [
|
|
|
82239
82239
|
},
|
|
82240
82240
|
{
|
|
82241
82241
|
"internalType": "uint256",
|
|
82242
|
-
"name": "
|
|
82242
|
+
"name": "appAllowanceGranted",
|
|
82243
82243
|
"type": "uint256"
|
|
82244
82244
|
},
|
|
82245
82245
|
{
|
|
82246
82246
|
"internalType": "int256",
|
|
82247
|
-
"name": "
|
|
82247
|
+
"name": "appAllowanceUsed",
|
|
82248
82248
|
"type": "int256"
|
|
82249
82249
|
},
|
|
82250
82250
|
{
|
|
82251
82251
|
"internalType": "contract ISuperfluidToken",
|
|
82252
|
-
"name": "
|
|
82252
|
+
"name": "appAllowanceToken",
|
|
82253
82253
|
"type": "address"
|
|
82254
82254
|
}
|
|
82255
82255
|
],
|
|
@@ -82273,7 +82273,7 @@ module.exports={ "abi": [
|
|
|
82273
82273
|
},
|
|
82274
82274
|
{
|
|
82275
82275
|
"internalType": "int256",
|
|
82276
|
-
"name": "
|
|
82276
|
+
"name": "appAllowanceUsedDelta",
|
|
82277
82277
|
"type": "int256"
|
|
82278
82278
|
}
|
|
82279
82279
|
],
|
|
@@ -82295,13 +82295,18 @@ module.exports={ "abi": [
|
|
|
82295
82295
|
"name": "ctx",
|
|
82296
82296
|
"type": "bytes"
|
|
82297
82297
|
},
|
|
82298
|
+
{
|
|
82299
|
+
"internalType": "uint256",
|
|
82300
|
+
"name": "appAllowanceWantedMore",
|
|
82301
|
+
"type": "uint256"
|
|
82302
|
+
},
|
|
82298
82303
|
{
|
|
82299
82304
|
"internalType": "int256",
|
|
82300
|
-
"name": "
|
|
82305
|
+
"name": "appAllowanceUsedDelta",
|
|
82301
82306
|
"type": "int256"
|
|
82302
82307
|
}
|
|
82303
82308
|
],
|
|
82304
|
-
"name": "
|
|
82309
|
+
"name": "ctxUseAllowance",
|
|
82305
82310
|
"outputs": [
|
|
82306
82311
|
{
|
|
82307
82312
|
"internalType": "bytes",
|
|
@@ -82476,7 +82481,7 @@ module.exports={ "abi": [
|
|
|
82476
82481
|
"components": [
|
|
82477
82482
|
{
|
|
82478
82483
|
"internalType": "uint8",
|
|
82479
|
-
"name": "
|
|
82484
|
+
"name": "appLevel",
|
|
82480
82485
|
"type": "uint8"
|
|
82481
82486
|
},
|
|
82482
82487
|
{
|
|
@@ -82506,17 +82511,17 @@ module.exports={ "abi": [
|
|
|
82506
82511
|
},
|
|
82507
82512
|
{
|
|
82508
82513
|
"internalType": "uint256",
|
|
82509
|
-
"name": "
|
|
82514
|
+
"name": "appAllowanceGranted",
|
|
82510
82515
|
"type": "uint256"
|
|
82511
82516
|
},
|
|
82512
82517
|
{
|
|
82513
82518
|
"internalType": "uint256",
|
|
82514
|
-
"name": "
|
|
82519
|
+
"name": "appAllowanceWanted",
|
|
82515
82520
|
"type": "uint256"
|
|
82516
82521
|
},
|
|
82517
82522
|
{
|
|
82518
82523
|
"internalType": "int256",
|
|
82519
|
-
"name": "
|
|
82524
|
+
"name": "appAllowanceUsed",
|
|
82520
82525
|
"type": "int256"
|
|
82521
82526
|
},
|
|
82522
82527
|
{
|
|
@@ -82526,7 +82531,7 @@ module.exports={ "abi": [
|
|
|
82526
82531
|
},
|
|
82527
82532
|
{
|
|
82528
82533
|
"internalType": "contract ISuperfluidToken",
|
|
82529
|
-
"name": "
|
|
82534
|
+
"name": "appAllowanceToken",
|
|
82530
82535
|
"type": "address"
|
|
82531
82536
|
}
|
|
82532
82537
|
],
|
|
@@ -84308,7 +84313,7 @@ exports.networkNameToChainIdMap = new Map([
|
|
|
84308
84313
|
|
|
84309
84314
|
},{"./defaultSubgraphReleaseTag.json":334}],334:[function(require,module,exports){
|
|
84310
84315
|
module.exports={
|
|
84311
|
-
"value": "
|
|
84316
|
+
"value": "v1"
|
|
84312
84317
|
}
|
|
84313
84318
|
},{}],335:[function(require,module,exports){
|
|
84314
84319
|
"use strict";
|
|
@@ -85583,7 +85588,7 @@ exports.TokenQueryHandler = TokenQueryHandler;
|
|
|
85583
85588
|
"use strict";
|
|
85584
85589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85585
85590
|
exports.TokensDocument = void 0;
|
|
85586
|
-
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": "
|
|
85591
|
+
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" } }] } }] } }] };
|
|
85587
85592
|
|
|
85588
85593
|
},{}],359:[function(require,module,exports){
|
|
85589
85594
|
"use strict";
|
|
@@ -85911,7 +85916,7 @@ const lowerCaseIfAddress = (value) => {
|
|
|
85911
85916
|
"use strict";
|
|
85912
85917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85913
85918
|
exports.GetAccountTokenSnapshotsDocument = void 0;
|
|
85914
|
-
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": "
|
|
85919
|
+
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" } }] } }] } }] } }] };
|
|
85915
85920
|
|
|
85916
85921
|
},{}],374:[function(require,module,exports){
|
|
85917
85922
|
"use strict";
|
|
@@ -85923,25 +85928,25 @@ exports.GetAllEventsDocument = { "kind": "Document", "definitions": [{ "kind": "
|
|
|
85923
85928
|
"use strict";
|
|
85924
85929
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85925
85930
|
exports.GetIndexSubscriptionsDocument = void 0;
|
|
85926
|
-
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": "
|
|
85931
|
+
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" } }] } }] } }] } }] } }] };
|
|
85927
85932
|
|
|
85928
85933
|
},{}],376:[function(require,module,exports){
|
|
85929
85934
|
"use strict";
|
|
85930
85935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85931
85936
|
exports.GetIndexesDocument = void 0;
|
|
85932
|
-
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": "
|
|
85937
|
+
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" } }] } }] } }] } }] };
|
|
85933
85938
|
|
|
85934
85939
|
},{}],377:[function(require,module,exports){
|
|
85935
85940
|
"use strict";
|
|
85936
85941
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85937
85942
|
exports.GetStreamsDocument = void 0;
|
|
85938
|
-
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": "
|
|
85943
|
+
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" } }] } }] } }] } }] };
|
|
85939
85944
|
|
|
85940
85945
|
},{}],378:[function(require,module,exports){
|
|
85941
85946
|
"use strict";
|
|
85942
85947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
85943
85948
|
exports.GetTokensDocument = void 0;
|
|
85944
|
-
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": "
|
|
85949
|
+
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" } }] } }] } }] };
|
|
85945
85950
|
|
|
85946
85951
|
},{}],379:[function(require,module,exports){
|
|
85947
85952
|
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
|
|
154
|
+
* @param owedDeposit any owed depsit
|
|
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
|
|
274
|
+
* @param owedDeposit any owed depsit
|
|
275
275
|
* @returns {IWeb3FlowInfo} sanitized web3 flow info
|
|
276
276
|
*/
|
|
277
277
|
this._sanitizeFlowInfo = (params) => {
|
package/dist/main/Governance.js
CHANGED
|
@@ -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
|
|
57
|
+
const rewardPromose = 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
|
-
|
|
67
|
+
rewardPromose,
|
|
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
|
|
87
|
+
* Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
|
|
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
|
|
101
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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
|
|
112
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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
|
|
176
|
+
* Revokes a Subscription, so the Subscriber will need to claim tokens when the Publisher distributres.
|
|
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
|
|
200
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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
|
|
223
|
+
* @param publisher The publisher address of the index you are targetting.
|
|
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.
|
package/dist/main/Operation.d.ts
CHANGED
|
@@ -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
|
|
15
|
+
* @param signer The signer of the transacation
|
|
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
|
|
27
|
+
* @param signer The signer of the transacation
|
|
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
|
|
34
|
+
* @param signer The signer of the transacation
|
|
35
35
|
* @returns {Promise<string>} The transaction hash of the transaction
|
|
36
36
|
*/
|
|
37
37
|
getTransactionHash: (signer: ethers.Signer) => Promise<string>;
|