@superfluid-finance/sdk-core 1.0.1-dev.ac1b585.0 → 1.0.1-dev.b79399f.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 (29) hide show
  1. package/README.md +6 -6
  2. package/dist/main/index.js +7 -3412
  3. package/dist/main/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +6 -6
  4. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +79 -79
  5. package/dist/main/subgraph/queries/getIndexSubscriptions.generated.d.ts +6 -6
  6. package/dist/main/subgraph/queries/getIndexes.generated.d.ts +6 -6
  7. package/dist/main/subgraph/queries/getStreams.generated.d.ts +6 -6
  8. package/dist/main/subgraph/queries/getTokens.generated.d.ts +6 -6
  9. package/dist/main/subgraph/schema.generated.d.ts +5237 -5657
  10. package/dist/module/index.js +7 -3412
  11. package/dist/module/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +6 -6
  12. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +79 -79
  13. package/dist/module/subgraph/queries/getIndexSubscriptions.generated.d.ts +6 -6
  14. package/dist/module/subgraph/queries/getIndexes.generated.d.ts +6 -6
  15. package/dist/module/subgraph/queries/getStreams.generated.d.ts +6 -6
  16. package/dist/module/subgraph/queries/getTokens.generated.d.ts +6 -6
  17. package/dist/module/subgraph/schema.generated.d.ts +5237 -5657
  18. package/dist/umd/index.js +7 -3412
  19. package/dist/umd/subgraph/queries/getAccountTokenSnapshots.generated.d.ts +6 -6
  20. package/dist/umd/subgraph/queries/getAllEvents.generated.d.ts +79 -79
  21. package/dist/umd/subgraph/queries/getIndexSubscriptions.generated.d.ts +6 -6
  22. package/dist/umd/subgraph/queries/getIndexes.generated.d.ts +6 -6
  23. package/dist/umd/subgraph/queries/getStreams.generated.d.ts +6 -6
  24. package/dist/umd/subgraph/queries/getTokens.generated.d.ts +6 -6
  25. package/dist/umd/subgraph/schema.generated.d.ts +5237 -5657
  26. package/package.json +17 -16
  27. package/dist/main/scripts/setup.d.ts +0 -22
  28. package/dist/module/scripts/setup.d.ts +0 -22
  29. package/dist/umd/scripts/setup.d.ts +0 -22
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  <a href="https://www.npmjs.com/package/@superfluid-finance/sdk-core" target="_blank">
6
6
  <img alt="Version" src="https://img.shields.io/npm/v/@superfluid-finance/sdk-core.svg">
7
7
  </a>
8
- <a href="https://codecov.io/gh/superfluid-finance/protocol-monorepo">
9
- <img src="https://codecov.io/gh/superfluid-finance/protocol-monorepo/branch/dev/graph/badge.svg?token=LJW5NDGEJ9?flag=sdk-core"/>
8
+ <a href="https://codecov.io/gh/superfluid-finance/protocol-monorepo/tree/dev/packages/sdk-core">
9
+ <img src="https://codecov.io/gh/superfluid-finance/protocol-monorepo/branch/dev/graph/badge.svg?token=LJW5NDGEJ9&flag=sdk-core"/>
10
10
  </a>
11
11
  <a href="#" target="_blank">
12
12
  <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
@@ -327,7 +327,7 @@ await sf.idaV1.claim({ indexId: string, subscriber: string, publisher: string, u
327
327
 
328
328
  ### SuperToken
329
329
 
330
- The `SuperToken` class can also be accessed via the `Framework` class and allows you read from/write to the blockchain. It also provides write functions for both the CFAV1 and IDAV1 contracts in the context of the token. That is, the token field for these different methods will be the token address specified during the creation of this class.
330
+ The `SuperToken` class can also be accessed via the `Framework` class and allows you read from/write to the blockchain. It also provides write functions for both the CFAV1 and IDAV1 contracts in the context of the token. That is, the token field for these different methods will be the token address specified during the creation of this class.
331
331
 
332
332
  #### Framework based initialization
333
333
 
@@ -386,7 +386,7 @@ await usdcx.balanceOf({ account: string, providerOrSigner: ethers.providers.Prov
386
386
  await usdcx.allowance({ owner: string, spender: string, providerOrSigner: ethers.providers.Provider | ethers.Signer }); // Inherited ERC20 function
387
387
  await usdcx.totalSupply({ providerOrSigner: ethers.providers.Provider | ethers.Signer }); // Inherited ERC20 function
388
388
 
389
- // `SuperToken` only function
389
+ // `SuperToken` only function
390
390
  await usdcx.realtimeBalanceOf({ account: string, timestamp: string, providerOrSigner: ethers.providers.Provider | ethers.Signer });
391
391
 
392
392
  // Write Functions
@@ -399,7 +399,7 @@ await usdcx.transfer({ recipient: string, amount: string });
399
399
  await usdcx.transferFrom({ sender: string, recipient: string, amount: string });
400
400
  await usdcx.upgrade({ amount: string });
401
401
 
402
- // SuperToken CFAV1/IDAV1 Functions are the same as the
402
+ // SuperToken CFAV1/IDAV1 Functions are the same as the
403
403
  // ConstantFlowAgreementV1/InstantDistributionAgreementV1 class functions
404
404
  // except instead of the sf.cfaV1/idaV1.function() signature, it is token.function()
405
405
  // and you don't need to pass in a token as a parameter as it uses the token address
@@ -484,4 +484,4 @@ const superAppTransactionPromise = superApp.populateTransaction.helloWorld("hell
484
484
 
485
485
  // create the super app operation you can execute this operation directly or pass it in to a batch call
486
486
  const superAppOperation = new Operation(superAppOperation, "CALL_APP_ACTION");
487
- ```
487
+ ```