@superfluid-finance/sdk-core 0.5.6-dev.fc916ff.0 → 0.5.7-dev.2a937a8.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 (117) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/dist/index.umd.js +21942 -38180
  3. package/dist/main/BatchCall.d.ts.map +1 -1
  4. package/dist/main/BatchCall.js +8 -26
  5. package/dist/main/BatchCall.js.map +1 -1
  6. package/dist/main/Framework.d.ts +1 -2
  7. package/dist/main/Framework.d.ts.map +1 -1
  8. package/dist/main/Framework.js.map +1 -1
  9. package/dist/main/Operation.d.ts.map +1 -1
  10. package/dist/main/Operation.js +7 -36
  11. package/dist/main/Operation.js.map +1 -1
  12. package/dist/main/SFError.d.ts +1 -1
  13. package/dist/main/SFError.d.ts.map +1 -1
  14. package/dist/main/SFError.js +11 -18
  15. package/dist/main/SFError.js.map +1 -1
  16. package/dist/main/abi/IConstantFlowAgreementV1.json +70 -0
  17. package/dist/main/abi/IInstantDistributionAgreementV1.json +10 -0
  18. package/dist/main/abi/ISETH.json +25 -0
  19. package/dist/main/abi/SuperToken.json +91 -0
  20. package/dist/main/abi/Superfluid.json +150 -13
  21. package/dist/main/abi/SuperfluidGovernanceII.json +161 -17
  22. package/dist/main/constants.d.ts.map +1 -1
  23. package/dist/main/constants.js +5 -2
  24. package/dist/main/constants.js.map +1 -1
  25. package/dist/main/miniSerializeError.d.ts +14 -0
  26. package/dist/main/miniSerializeError.d.ts.map +1 -0
  27. package/dist/main/miniSerializeError.js +29 -0
  28. package/dist/main/miniSerializeError.js.map +1 -0
  29. package/dist/main/subgraph/SubgraphClient.d.ts.map +1 -1
  30. package/dist/main/subgraph/SubgraphClient.js +1 -17
  31. package/dist/main/subgraph/SubgraphClient.js.map +1 -1
  32. package/dist/main/typechain/Superfluid.d.ts +1 -9
  33. package/dist/main/typechain/Superfluid.d.ts.map +1 -1
  34. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
  35. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  36. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  37. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  38. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  39. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  40. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  41. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  42. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  43. package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  44. package/dist/main/typechain/factories/ISETH__factory.d.ts +7 -0
  45. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +1 -1
  46. package/dist/main/typechain/factories/ISETH__factory.js +25 -0
  47. package/dist/main/typechain/factories/ISETH__factory.js.map +1 -1
  48. package/dist/main/typechain/factories/SuperToken__factory.d.ts +12 -1
  49. package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  50. package/dist/main/typechain/factories/SuperToken__factory.js +91 -0
  51. package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
  52. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  53. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  54. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  55. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  56. package/dist/main/typechain/factories/Superfluid__factory.d.ts +12 -1
  57. package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  58. package/dist/main/typechain/factories/Superfluid__factory.js +150 -13
  59. package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
  60. package/dist/module/BatchCall.d.ts.map +1 -1
  61. package/dist/module/BatchCall.js +8 -26
  62. package/dist/module/BatchCall.js.map +1 -1
  63. package/dist/module/Framework.d.ts +1 -2
  64. package/dist/module/Framework.d.ts.map +1 -1
  65. package/dist/module/Framework.js.map +1 -1
  66. package/dist/module/Operation.d.ts.map +1 -1
  67. package/dist/module/Operation.js +7 -36
  68. package/dist/module/Operation.js.map +1 -1
  69. package/dist/module/SFError.d.ts +1 -1
  70. package/dist/module/SFError.d.ts.map +1 -1
  71. package/dist/module/SFError.js +11 -18
  72. package/dist/module/SFError.js.map +1 -1
  73. package/dist/module/abi/IConstantFlowAgreementV1.json +70 -0
  74. package/dist/module/abi/IInstantDistributionAgreementV1.json +10 -0
  75. package/dist/module/abi/ISETH.json +25 -0
  76. package/dist/module/abi/SuperToken.json +91 -0
  77. package/dist/module/abi/Superfluid.json +150 -13
  78. package/dist/module/abi/SuperfluidGovernanceII.json +161 -17
  79. package/dist/module/constants.d.ts.map +1 -1
  80. package/dist/module/constants.js +5 -2
  81. package/dist/module/constants.js.map +1 -1
  82. package/dist/module/miniSerializeError.d.ts +14 -0
  83. package/dist/module/miniSerializeError.d.ts.map +1 -0
  84. package/dist/module/miniSerializeError.js +25 -0
  85. package/dist/module/miniSerializeError.js.map +1 -0
  86. package/dist/module/subgraph/SubgraphClient.d.ts.map +1 -1
  87. package/dist/module/subgraph/SubgraphClient.js +1 -17
  88. package/dist/module/subgraph/SubgraphClient.js.map +1 -1
  89. package/dist/module/typechain/Superfluid.d.ts +1 -9
  90. package/dist/module/typechain/Superfluid.d.ts.map +1 -1
  91. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
  92. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
  93. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
  94. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  95. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
  96. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  97. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
  98. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
  99. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
  100. package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
  101. package/dist/module/typechain/factories/ISETH__factory.d.ts +7 -0
  102. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +1 -1
  103. package/dist/module/typechain/factories/ISETH__factory.js +25 -0
  104. package/dist/module/typechain/factories/ISETH__factory.js.map +1 -1
  105. package/dist/module/typechain/factories/SuperToken__factory.d.ts +12 -1
  106. package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -1
  107. package/dist/module/typechain/factories/SuperToken__factory.js +91 -0
  108. package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
  109. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
  110. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
  111. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
  112. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
  113. package/dist/module/typechain/factories/Superfluid__factory.d.ts +12 -1
  114. package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
  115. package/dist/module/typechain/factories/Superfluid__factory.js +150 -13
  116. package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
  117. package/package.json +9 -10
@@ -1,4 +1,86 @@
1
1
  { "abi": [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "_code",
7
+ "type": "uint256"
8
+ }
9
+ ],
10
+ "name": "MUST_BE_CONTRACT",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "SF_GOV_ARRAYS_NOT_SAME_LENGTH",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [],
20
+ "name": "SF_GOV_II_ONLY_OWNER",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "inputs": [],
25
+ "name": "SF_GOV_INVALID_LIQUIDATION_OR_PATRICIAN_PERIOD",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "anonymous": false,
30
+ "inputs": [
31
+ {
32
+ "indexed": true,
33
+ "internalType": "contract ISuperfluid",
34
+ "name": "host",
35
+ "type": "address"
36
+ },
37
+ {
38
+ "indexed": true,
39
+ "internalType": "address",
40
+ "name": "factory",
41
+ "type": "address"
42
+ },
43
+ {
44
+ "indexed": false,
45
+ "internalType": "bool",
46
+ "name": "authorized",
47
+ "type": "bool"
48
+ }
49
+ ],
50
+ "name": "AppFactoryAuthorizationChanged",
51
+ "type": "event"
52
+ },
53
+ {
54
+ "anonymous": false,
55
+ "inputs": [
56
+ {
57
+ "indexed": true,
58
+ "internalType": "contract ISuperfluid",
59
+ "name": "host",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "deployer",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": false,
70
+ "internalType": "string",
71
+ "name": "appRegistrationKey",
72
+ "type": "string"
73
+ },
74
+ {
75
+ "indexed": false,
76
+ "internalType": "uint256",
77
+ "name": "expirationTs",
78
+ "type": "uint256"
79
+ }
80
+ ],
81
+ "name": "AppRegistrationKeyChanged",
82
+ "type": "event"
83
+ },
2
84
  {
3
85
  "anonymous": false,
4
86
  "inputs": [
@@ -328,17 +410,17 @@
328
410
  "type": "address"
329
411
  },
330
412
  {
331
- "internalType": "contract ISuperfluidToken",
332
- "name": "superToken",
413
+ "internalType": "address",
414
+ "name": "deployer",
333
415
  "type": "address"
334
416
  },
335
417
  {
336
- "internalType": "bytes32",
337
- "name": "key",
338
- "type": "bytes32"
418
+ "internalType": "string",
419
+ "name": "registrationKey",
420
+ "type": "string"
339
421
  }
340
422
  ],
341
- "name": "clearConfig",
423
+ "name": "clearAppRegistrationKey",
342
424
  "outputs": [],
343
425
  "stateMutability": "nonpayable",
344
426
  "type": "function"
@@ -354,9 +436,14 @@
354
436
  "internalType": "contract ISuperfluidToken",
355
437
  "name": "superToken",
356
438
  "type": "address"
439
+ },
440
+ {
441
+ "internalType": "bytes32",
442
+ "name": "key",
443
+ "type": "bytes32"
357
444
  }
358
445
  ],
359
- "name": "clearPPPConfig",
446
+ "name": "clearConfig",
360
447
  "outputs": [],
361
448
  "stateMutability": "nonpayable",
362
449
  "type": "function"
@@ -374,7 +461,7 @@
374
461
  "type": "address"
375
462
  }
376
463
  ],
377
- "name": "clearRewardAddress",
464
+ "name": "clearPPPConfig",
378
465
  "outputs": [],
379
466
  "stateMutability": "nonpayable",
380
467
  "type": "function"
@@ -387,12 +474,12 @@
387
474
  "type": "address"
388
475
  },
389
476
  {
390
- "internalType": "contract ISuperToken",
477
+ "internalType": "contract ISuperfluidToken",
391
478
  "name": "superToken",
392
479
  "type": "address"
393
480
  }
394
481
  ],
395
- "name": "clearSuperTokenMinimumDeposit",
482
+ "name": "clearRewardAddress",
396
483
  "outputs": [],
397
484
  "stateMutability": "nonpayable",
398
485
  "type": "function"
@@ -405,17 +492,12 @@
405
492
  "type": "address"
406
493
  },
407
494
  {
408
- "internalType": "contract ISuperfluidToken",
495
+ "internalType": "contract ISuperToken",
409
496
  "name": "superToken",
410
497
  "type": "address"
411
- },
412
- {
413
- "internalType": "address",
414
- "name": "forwarder",
415
- "type": "address"
416
498
  }
417
499
  ],
418
- "name": "clearTrustedForwarder",
500
+ "name": "clearSuperTokenMinimumDeposit",
419
501
  "outputs": [],
420
502
  "stateMutability": "nonpayable",
421
503
  "type": "function"
@@ -723,6 +805,34 @@
723
805
  "stateMutability": "nonpayable",
724
806
  "type": "function"
725
807
  },
808
+ {
809
+ "inputs": [
810
+ {
811
+ "internalType": "contract ISuperfluid",
812
+ "name": "host",
813
+ "type": "address"
814
+ },
815
+ {
816
+ "internalType": "address",
817
+ "name": "deployer",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "string",
822
+ "name": "registrationKey",
823
+ "type": "string"
824
+ },
825
+ {
826
+ "internalType": "uint256",
827
+ "name": "expirationTs",
828
+ "type": "uint256"
829
+ }
830
+ ],
831
+ "name": "setAppRegistrationKey",
832
+ "outputs": [],
833
+ "stateMutability": "nonpayable",
834
+ "type": "function"
835
+ },
726
836
  {
727
837
  "inputs": [
728
838
  {
@@ -912,6 +1022,40 @@
912
1022
  "stateMutability": "nonpayable",
913
1023
  "type": "function"
914
1024
  },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "contract ISuperfluid",
1029
+ "name": "host",
1030
+ "type": "address"
1031
+ },
1032
+ {
1033
+ "internalType": "address",
1034
+ "name": "deployer",
1035
+ "type": "address"
1036
+ },
1037
+ {
1038
+ "internalType": "string",
1039
+ "name": "registrationKey",
1040
+ "type": "string"
1041
+ }
1042
+ ],
1043
+ "name": "verifyAppRegistrationKey",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "validNow",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "expirationTs",
1053
+ "type": "uint256"
1054
+ }
1055
+ ],
1056
+ "stateMutability": "view",
1057
+ "type": "function"
1058
+ },
915
1059
  {
916
1060
  "inputs": [],
917
1061
  "name": "proxiableUUID",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,gCAAgC;AAChC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,aAAa,IAAI,CAAC;AAC/B,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,iBAAiB,KAAK,CA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QAAS,CAAC;AACrD,eAAO,MAAM,8BAA8B,QAAS,CAAC;AACrD,eAAO,MAAM,sBAAsB,QAGD,CAAC;AA2BnC,eAAO,MAAM,wBAAwB,4BAEpC,CAAC;AAEF,eAAO,MAAM,uBAAuB,qBAEnC,CAAC"}
@@ -23,7 +23,6 @@ export const AUTHORIZE_FULL_CONTROL = AUTHORIZE_FLOW_OPERATOR_CREATE |
23
23
  AUTHORIZE_FLOW_OPERATOR_DELETE;
24
24
  const subgraphReleaseTag = (globalThis.process && globalThis.process.env.SUBGRAPH_RELEASE_TAG) ||
25
25
  DefaultSubgraphReleaseTag.value;
26
- const baseUrl = `https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-${subgraphReleaseTag}`;
27
26
  const getResolverData = (chainId) => {
28
27
  const networkData = metadata.networks.find((x) => x.chainId === chainId);
29
28
  if (!networkData)
@@ -33,8 +32,12 @@ const getResolverData = (chainId) => {
33
32
  resolverAddress: "",
34
33
  nativeTokenSymbol: "",
35
34
  };
35
+ const hostedEndpoint = networkData.subgraphV1.hostedEndpoint;
36
+ const subgraphAPIEndpoint = subgraphReleaseTag
37
+ ? hostedEndpoint.replace("v1", subgraphReleaseTag)
38
+ : hostedEndpoint;
36
39
  return {
37
- subgraphAPIEndpoint: `${baseUrl}-${networkData === null || networkData === void 0 ? void 0 : networkData.shortName}`,
40
+ subgraphAPIEndpoint,
38
41
  networkName: networkData.name,
39
42
  resolverAddress: networkData.contractsV1.resolver,
40
43
  nativeTokenSymbol: networkData.nativeTokenSymbol,
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AAEpD,OAAO,yBAAyB,MAAM,kCAAkC,CAAC;AAGzE,gCAAgC;AAChC,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,CAAC;AAClC,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,CAAC;AACjC,MAAM,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AC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;IACzE,IAAI,CAAC,WAAW;QACZ,OAAO;YACH,mBAAmB,EAAE,EAAE;YACvB,WAAW,EAAE,EAAE;YACf,eAAe,EAAE,EAAE;YACnB,iBAAiB,EAAE,EAAE;SACxB,CAAC;IACN,MAAM,cAAc,GAAG,WAAW,CAAC,UAAU,CAAC,cAAc,CAAC;IAC7D,MAAM,mBAAmB,GAAG,kBAAkB;QAC1C,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,kBAAkB,CAAC;QAClD,CAAC,CAAC,cAAc,CAAC;IACrB,OAAO;QACH,mBAAmB;QACnB,WAAW,EAAE,WAAW,CAAC,IAAI;QAC7B,eAAe,EAAE,WAAW,CAAC,WAAW,CAAC,QAAQ;QACjD,iBAAiB,EAAE,WAAW,CAAC,iBAAiB;KACnD,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAC3C,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACxE,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAC1C,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CACpD,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Credit of everything here goes to Redux Toolkit (RTK).
3
+ */
4
+ export interface SerializedError {
5
+ name?: string;
6
+ message?: string;
7
+ code?: string;
8
+ }
9
+ /**
10
+ * Serializes an error into a plain object.
11
+ * Reworked from https://github.com/sindresorhus/serialize-error
12
+ */
13
+ export declare const miniSerializeError: (value: any) => SerializedError;
14
+ //# sourceMappingURL=miniSerializeError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"miniSerializeError.d.ts","sourceRoot":"","sources":["../../src/miniSerializeError.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,UAAW,GAAG,KAAG,eAa/C,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Credit of everything here goes to Redux Toolkit (RTK).
3
+ */
4
+ const commonProperties = [
5
+ "name",
6
+ "code",
7
+ "message",
8
+ ];
9
+ /**
10
+ * Serializes an error into a plain object.
11
+ * Reworked from https://github.com/sindresorhus/serialize-error
12
+ */
13
+ export const miniSerializeError = (value) => {
14
+ if (typeof value === "object" && value !== null) {
15
+ const simpleError = {};
16
+ for (const property of commonProperties) {
17
+ if (typeof value[property] === "string") {
18
+ simpleError[property] = value[property];
19
+ }
20
+ }
21
+ return simpleError;
22
+ }
23
+ return { message: String(value) };
24
+ };
25
+ //# sourceMappingURL=miniSerializeError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"miniSerializeError.js","sourceRoot":"","sources":["../../src/miniSerializeError.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,MAAM,gBAAgB,GAAiC;IACnD,MAAM;IACN,MAAM;IACN,SAAS;CACZ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAU,EAAmB,EAAE;IAC9D,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;QAC7C,MAAM,WAAW,GAAoB,EAAE,CAAC;QACxC,KAAK,MAAM,QAAQ,IAAI,gBAAgB,EAAE;YACrC,IAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,KAAK,QAAQ,EAAE;gBACrC,WAAW,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;aAC3C;SACJ;QAED,OAAO,WAAW,CAAC;KACtB;IAED,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;AACtC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SubgraphClient.d.ts","sourceRoot":"","sources":["../../../src/subgraph/SubgraphClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAS,MAAM,SAAS,CAAC;AAM9C,aAAK,eAAe,GAAG,MAAM,GAAG,YAAY,CAAC;AAE7C,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,MAAM,oBAAoB,CAAC,CAAC,GAAG,SAAS,IAAI;IACtD,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,CAAC,CAAC;CACjB,CAAC;AAEF,qBAAa,cAAc;IACX,QAAQ,CAAC,WAAW,EAAE,MAAM;gBAAnB,WAAW,EAAE,MAAM;IAElC,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,SAAS,EACpC,QAAQ,EAAE,eAAe,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EACnD,SAAS,CAAC,EAAE,CAAC,GACd,OAAO,CAAC,CAAC,CAAC;CAmBhB"}
1
+ {"version":3,"file":"SubgraphClient.d.ts","sourceRoot":"","sources":["../../../src/subgraph/SubgraphClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,aAAK,eAAe,GAAG,MAAM,GAAG,YAAY,CAAC;AAE7C,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,MAAM,oBAAoB,CAAC,CAAC,GAAG,SAAS,IAAI;IACtD,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,CAAC,CAAC;CACjB,CAAC;AAEF,qBAAa,cAAc;IACX,QAAQ,CAAC,WAAW,EAAE,MAAM;gBAAnB,WAAW,EAAE,MAAM;IAElC,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,SAAS,EACpC,QAAQ,EAAE,eAAe,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EACnD,SAAS,CAAC,EAAE,CAAC,GACd,OAAO,CAAC,CAAC,CAAC;CAOhB"}
@@ -1,26 +1,10 @@
1
- import { print } from "graphql";
2
1
  import { request } from "graphql-request";
3
- import { isString } from "lodash";
4
- import { SFError } from "../SFError";
5
2
  export class SubgraphClient {
6
3
  constructor(subgraphUrl) {
7
4
  this.subgraphUrl = subgraphUrl;
8
5
  }
9
6
  async request(document, variables) {
10
- try {
11
- return await request(this.subgraphUrl, document, cleanVariables(variables));
12
- }
13
- catch (err) {
14
- const queryString = isString(document)
15
- ? document
16
- : print(document);
17
- throw new SFError({
18
- type: "SUBGRAPH_ERROR",
19
- message: `Failed call to subgraph with:
20
- ${queryString}`,
21
- cause: err,
22
- });
23
- }
7
+ return await request(this.subgraphUrl, document, cleanVariables(variables));
24
8
  }
25
9
  }
26
10
  // Inspired by: https://stackoverflow.com/a/38340730
@@ -1 +1 @@
1
- {"version":3,"file":"SubgraphClient.js","sourceRoot":"","sources":["../../../src/subgraph/SubgraphClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB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file":"SubgraphClient.js","sourceRoot":"","sources":["../../../src/subgraph/SubgraphClient.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAa1C,MAAM,OAAO,cAAc;IACvB,YAAqB,WAAmB;QAAnB,gBAAW,GAAX,WAAW,CAAQ;IAAG,CAAC;IAE5C,KAAK,CAAC,OAAO,CACT,QAAmD,EACnD,SAAa;QAEb,OAAO,MAAM,OAAO,CAChB,IAAI,CAAC,WAAW,EAChB,QAAQ,EACR,cAAc,CAAC,SAAS,CAAC,CAC5B,CAAC;IACN,CAAC;CACJ;AAED,oDAAoD;AACpD,+DAA+D;AAC/D,SAAS,cAAc,CAAgB,SAAY;IAC/C,OAAO,MAAM,CAAC,WAAW,CACrB,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;SACpB,MAAM,CACH,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CACV,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAC5D;SACA,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;QACnB,GAAG;QACH,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAC5C,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC;YACvB,CAAC,CAAC,KAAK;KACd,CAAC,CACJ,CAAC;AACX,CAAC"}
@@ -56,7 +56,6 @@ export interface SuperfluidInterface extends utils.Interface {
56
56
  functions: {
57
57
  "APP_WHITE_LISTING_ENABLED()": FunctionFragment;
58
58
  "CALLBACK_GAS_LIMIT()": FunctionFragment;
59
- "MAX_APP_CALLBACK_LEVEL()": FunctionFragment;
60
59
  "NON_UPGRADABLE_DEPLOYMENT()": FunctionFragment;
61
60
  "castrate()": FunctionFragment;
62
61
  "getCodeAddress()": FunctionFragment;
@@ -104,10 +103,9 @@ export interface SuperfluidInterface extends utils.Interface {
104
103
  "isTrustedForwarder(address)": FunctionFragment;
105
104
  "versionRecipient()": FunctionFragment;
106
105
  };
107
- getFunction(nameOrSignatureOrTopic: "APP_WHITE_LISTING_ENABLED" | "CALLBACK_GAS_LIMIT" | "MAX_APP_CALLBACK_LEVEL" | "NON_UPGRADABLE_DEPLOYMENT" | "castrate" | "getCodeAddress" | "initialize" | "proxiableUUID" | "updateCode" | "getNow" | "getGovernance" | "replaceGovernance" | "registerAgreementClass" | "updateAgreementClass" | "isAgreementTypeListed" | "isAgreementClassListed" | "getAgreementClass" | "mapAgreementClasses" | "addToAgreementClassesBitmap" | "removeFromAgreementClassesBitmap" | "getSuperTokenFactory" | "getSuperTokenFactoryLogic" | "updateSuperTokenFactory" | "updateSuperTokenLogic" | "registerApp" | "registerAppWithKey" | "registerAppByFactory" | "isApp" | "getAppCallbackLevel" | "getAppManifest" | "isAppJailed" | "allowCompositeApp" | "isCompositeAppAllowed" | "callAppBeforeCallback" | "callAppAfterCallback" | "appCallbackPush" | "appCallbackPop" | "ctxUseCredit" | "jailApp" | "callAgreement" | "callAppAction" | "callAgreementWithContext" | "callAppActionWithContext" | "decodeCtx" | "isCtxValid" | "batchCall" | "forwardBatchCall" | "isTrustedForwarder" | "versionRecipient"): FunctionFragment;
106
+ getFunction(nameOrSignatureOrTopic: "APP_WHITE_LISTING_ENABLED" | "CALLBACK_GAS_LIMIT" | "NON_UPGRADABLE_DEPLOYMENT" | "castrate" | "getCodeAddress" | "initialize" | "proxiableUUID" | "updateCode" | "getNow" | "getGovernance" | "replaceGovernance" | "registerAgreementClass" | "updateAgreementClass" | "isAgreementTypeListed" | "isAgreementClassListed" | "getAgreementClass" | "mapAgreementClasses" | "addToAgreementClassesBitmap" | "removeFromAgreementClassesBitmap" | "getSuperTokenFactory" | "getSuperTokenFactoryLogic" | "updateSuperTokenFactory" | "updateSuperTokenLogic" | "registerApp" | "registerAppWithKey" | "registerAppByFactory" | "isApp" | "getAppCallbackLevel" | "getAppManifest" | "isAppJailed" | "allowCompositeApp" | "isCompositeAppAllowed" | "callAppBeforeCallback" | "callAppAfterCallback" | "appCallbackPush" | "appCallbackPop" | "ctxUseCredit" | "jailApp" | "callAgreement" | "callAppAction" | "callAgreementWithContext" | "callAppActionWithContext" | "decodeCtx" | "isCtxValid" | "batchCall" | "forwardBatchCall" | "isTrustedForwarder" | "versionRecipient"): FunctionFragment;
108
107
  encodeFunctionData(functionFragment: "APP_WHITE_LISTING_ENABLED", values?: undefined): string;
109
108
  encodeFunctionData(functionFragment: "CALLBACK_GAS_LIMIT", values?: undefined): string;
110
- encodeFunctionData(functionFragment: "MAX_APP_CALLBACK_LEVEL", values?: undefined): string;
111
109
  encodeFunctionData(functionFragment: "NON_UPGRADABLE_DEPLOYMENT", values?: undefined): string;
112
110
  encodeFunctionData(functionFragment: "castrate", values?: undefined): string;
113
111
  encodeFunctionData(functionFragment: "getCodeAddress", values?: undefined): string;
@@ -189,7 +187,6 @@ export interface SuperfluidInterface extends utils.Interface {
189
187
  encodeFunctionData(functionFragment: "versionRecipient", values?: undefined): string;
190
188
  decodeFunctionResult(functionFragment: "APP_WHITE_LISTING_ENABLED", data: BytesLike): Result;
191
189
  decodeFunctionResult(functionFragment: "CALLBACK_GAS_LIMIT", data: BytesLike): Result;
192
- decodeFunctionResult(functionFragment: "MAX_APP_CALLBACK_LEVEL", data: BytesLike): Result;
193
190
  decodeFunctionResult(functionFragment: "NON_UPGRADABLE_DEPLOYMENT", data: BytesLike): Result;
194
191
  decodeFunctionResult(functionFragment: "castrate", data: BytesLike): Result;
195
192
  decodeFunctionResult(functionFragment: "getCodeAddress", data: BytesLike): Result;
@@ -342,7 +339,6 @@ export interface Superfluid extends BaseContract {
342
339
  functions: {
343
340
  APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<[boolean]>;
344
341
  CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<[BigNumber]>;
345
- MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<[BigNumber]>;
346
342
  NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<[boolean]>;
347
343
  castrate(overrides?: Overrides & {
348
344
  from?: PromiseOrValue<string>;
@@ -470,7 +466,6 @@ export interface Superfluid extends BaseContract {
470
466
  };
471
467
  APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<boolean>;
472
468
  CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
473
- MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
474
469
  NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<boolean>;
475
470
  castrate(overrides?: Overrides & {
476
471
  from?: PromiseOrValue<string>;
@@ -576,7 +571,6 @@ export interface Superfluid extends BaseContract {
576
571
  callStatic: {
577
572
  APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<boolean>;
578
573
  CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
579
- MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
580
574
  NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<boolean>;
581
575
  castrate(overrides?: CallOverrides): Promise<void>;
582
576
  getCodeAddress(overrides?: CallOverrides): Promise<string>;
@@ -658,7 +652,6 @@ export interface Superfluid extends BaseContract {
658
652
  estimateGas: {
659
653
  APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<BigNumber>;
660
654
  CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
661
- MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
662
655
  NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<BigNumber>;
663
656
  castrate(overrides?: Overrides & {
664
657
  from?: PromiseOrValue<string>;
@@ -757,7 +750,6 @@ export interface Superfluid extends BaseContract {
757
750
  populateTransaction: {
758
751
  APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<PopulatedTransaction>;
759
752
  CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
760
- MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
761
753
  NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
762
754
  castrate(overrides?: Overrides & {
763
755
  from?: PromiseOrValue<string>;