@superfluid-finance/sdk-core 0.1.1-dev.16594f6.0 → 0.1.1-dev.2c190cd.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 (62) hide show
  1. package/README.md +423 -72
  2. package/dist/main/BatchCall.d.ts +1 -1
  3. package/dist/main/ConstantFlowAgreementV1.d.ts +2 -2
  4. package/dist/main/Framework.d.ts +5 -5
  5. package/dist/main/InstantDistributionAgreementV1.d.ts +2 -2
  6. package/dist/main/Query.d.ts +3 -3
  7. package/dist/main/SuperToken.d.ts +2 -2
  8. package/dist/main/Token.d.ts +1 -1
  9. package/dist/main/constants.d.ts +8 -1
  10. package/dist/main/index.d.ts +5 -5
  11. package/dist/main/index.js +6081 -6006
  12. package/dist/main/interfaces.d.ts +3 -6
  13. package/dist/main/ordering.d.ts +1 -1
  14. package/dist/main/pagination.d.ts +2 -2
  15. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +4 -4
  16. package/dist/main/subgraph/schema.generated.d.ts +33 -42
  17. package/dist/main/typechain/IResolver.d.ts +17 -3
  18. package/dist/main/typechain/TestToken.d.ts +8 -0
  19. package/dist/main/typechain/factories/IResolver__factory.d.ts +15 -2
  20. package/dist/main/utils.d.ts +17 -0
  21. package/dist/main/validation.d.ts +1 -1
  22. package/dist/module/BatchCall.d.ts +1 -1
  23. package/dist/module/ConstantFlowAgreementV1.d.ts +2 -2
  24. package/dist/module/Framework.d.ts +5 -5
  25. package/dist/module/InstantDistributionAgreementV1.d.ts +2 -2
  26. package/dist/module/Query.d.ts +3 -3
  27. package/dist/module/SuperToken.d.ts +2 -2
  28. package/dist/module/Token.d.ts +1 -1
  29. package/dist/module/constants.d.ts +8 -1
  30. package/dist/module/index.d.ts +5 -5
  31. package/dist/module/index.js +6080 -6007
  32. package/dist/module/interfaces.d.ts +3 -6
  33. package/dist/module/ordering.d.ts +1 -1
  34. package/dist/module/pagination.d.ts +2 -2
  35. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +4 -4
  36. package/dist/module/subgraph/schema.generated.d.ts +33 -42
  37. package/dist/module/typechain/IResolver.d.ts +17 -3
  38. package/dist/module/typechain/TestToken.d.ts +8 -0
  39. package/dist/module/typechain/factories/IResolver__factory.d.ts +15 -2
  40. package/dist/module/utils.d.ts +17 -0
  41. package/dist/module/validation.d.ts +1 -1
  42. package/dist/umd/BatchCall.d.ts +1 -1
  43. package/dist/umd/ConstantFlowAgreementV1.d.ts +2 -2
  44. package/dist/umd/Framework.d.ts +5 -5
  45. package/dist/umd/InstantDistributionAgreementV1.d.ts +2 -2
  46. package/dist/umd/Query.d.ts +3 -3
  47. package/dist/umd/SuperToken.d.ts +2 -2
  48. package/dist/umd/Token.d.ts +1 -1
  49. package/dist/umd/constants.d.ts +8 -1
  50. package/dist/umd/index.d.ts +5 -5
  51. package/dist/umd/index.js +4320 -4245
  52. package/dist/umd/interfaces.d.ts +3 -6
  53. package/dist/umd/ordering.d.ts +1 -1
  54. package/dist/umd/pagination.d.ts +2 -2
  55. package/dist/umd/subgraph/queries/getAllEvents.generated.d.ts +4 -4
  56. package/dist/umd/subgraph/schema.generated.d.ts +33 -42
  57. package/dist/umd/typechain/IResolver.d.ts +17 -3
  58. package/dist/umd/typechain/TestToken.d.ts +8 -0
  59. package/dist/umd/typechain/factories/IResolver__factory.d.ts +15 -2
  60. package/dist/umd/utils.d.ts +17 -0
  61. package/dist/umd/validation.d.ts +1 -1
  62. package/package.json +13 -8
@@ -1,6 +1,6 @@
1
1
  import { ethers } from "ethers";
2
- import { IBaseSuperTokenParams, ITransferFromParams } from "./interfaces";
3
2
  import Operation from "./Operation";
3
+ import { IBaseSuperTokenParams, ITransferFromParams } from "./interfaces";
4
4
  export default class Token {
5
5
  readonly address: string;
6
6
  constructor(address: string);
@@ -1,9 +1,16 @@
1
1
  import { IResolverData } from "./interfaces";
2
2
  export declare const MONTHS_PER_YEAR = 12;
3
3
  export declare const DAYS_PER_MONTH = 30;
4
+ export declare const DAYS_PER_WEEK = 7;
4
5
  export declare const HOURS_PER_DAY = 24;
5
6
  export declare const MINUTES_PER_HOUR = 60;
6
- export declare const SECONDS_PER_MINUTE = 60;
7
+ export declare const MINUTE_IN_SECONDS = 60;
8
+ export declare const HOUR_IN_SECONDS: number;
9
+ export declare const DAY_IN_SECONDS: number;
10
+ export declare const WEEK_IN_SECONDS: number;
11
+ export declare const MONTH_IN_SECONDS: number;
12
+ export declare const YEAR_IN_SECONDS: number;
13
+ export declare const BASE_18 = 10000000000000000000;
7
14
  export declare const chainIds: number[];
8
15
  export declare const networkNames: string[];
9
16
  export declare const chainIdToDataMap: Map<number, IResolverData>;
@@ -1,10 +1,10 @@
1
- import Framework from "./Framework";
2
- import SuperToken from "./SuperToken";
3
- import Query from "./Query";
1
+ import BatchCall from "./BatchCall";
4
2
  import ConstantFlowAgreementV1 from "./ConstantFlowAgreementV1";
5
- import InstantDistributionAgreementV1 from "./InstantDistributionAgreementV1";
3
+ import Framework from "./Framework";
6
4
  import Host from "./Host";
7
- import BatchCall from "./BatchCall";
5
+ import InstantDistributionAgreementV1 from "./InstantDistributionAgreementV1";
6
+ import Query from "./Query";
7
+ import SuperToken from "./SuperToken";
8
8
  export * from "./interfaces";
9
9
  export * from "./utils";
10
10
  export * from "./pagination";