@superfluid-finance/sdk-core 0.3.3-dev.24f280c.0 → 0.3.3-dev.5923a95.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 (204) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -0
  3. package/dist/index.umd.js +29317 -25731
  4. package/dist/main/BatchCall.d.ts +6 -6
  5. package/dist/main/BatchCall.js +8 -8
  6. package/dist/main/BatchCall.js.map +1 -1
  7. package/dist/main/ConstantFlowAgreementV1.d.ts +109 -17
  8. package/dist/main/ConstantFlowAgreementV1.d.ts.map +1 -1
  9. package/dist/main/ConstantFlowAgreementV1.js +245 -50
  10. package/dist/main/ConstantFlowAgreementV1.js.map +1 -1
  11. package/dist/main/ERC20Token.d.ts +15 -12
  12. package/dist/main/ERC20Token.d.ts.map +1 -1
  13. package/dist/main/ERC20Token.js +26 -30
  14. package/dist/main/ERC20Token.js.map +1 -1
  15. package/dist/main/Framework.d.ts +16 -7
  16. package/dist/main/Framework.d.ts.map +1 -1
  17. package/dist/main/Framework.js +34 -15
  18. package/dist/main/Framework.js.map +1 -1
  19. package/dist/main/Governance.d.ts +40 -0
  20. package/dist/main/Governance.d.ts.map +1 -0
  21. package/dist/main/Governance.js +82 -0
  22. package/dist/main/Governance.js.map +1 -0
  23. package/dist/main/Host.d.ts +3 -3
  24. package/dist/main/Host.d.ts.map +1 -1
  25. package/dist/main/Host.js +4 -4
  26. package/dist/main/Host.js.map +1 -1
  27. package/dist/main/InstantDistributionAgreementV1.d.ts +25 -22
  28. package/dist/main/InstantDistributionAgreementV1.d.ts.map +1 -1
  29. package/dist/main/InstantDistributionAgreementV1.js +69 -71
  30. package/dist/main/InstantDistributionAgreementV1.js.map +1 -1
  31. package/dist/main/Operation.d.ts +5 -5
  32. package/dist/main/Operation.js +5 -5
  33. package/dist/main/Query.d.ts +1 -1
  34. package/dist/main/Query.js +1 -1
  35. package/dist/main/SFError.d.ts +1 -1
  36. package/dist/main/SFError.d.ts.map +1 -1
  37. package/dist/main/SFError.js +2 -0
  38. package/dist/main/SFError.js.map +1 -1
  39. package/dist/main/SuperToken.d.ts +228 -67
  40. package/dist/main/SuperToken.d.ts.map +1 -1
  41. package/dist/main/SuperToken.js +316 -130
  42. package/dist/main/SuperToken.js.map +1 -1
  43. package/dist/main/abi/IConstantFlowAgreementV1.json +350 -2
  44. package/dist/main/abi/ISETH.json +1604 -0
  45. package/dist/main/abi/SuperfluidGovernanceII.json +939 -0
  46. package/dist/main/constants.d.ts +4 -0
  47. package/dist/main/constants.d.ts.map +1 -1
  48. package/dist/main/constants.js +19 -1
  49. package/dist/main/constants.js.map +1 -1
  50. package/dist/main/events.d.ts +14 -2
  51. package/dist/main/events.d.ts.map +1 -1
  52. package/dist/main/frameworkHelpers.d.ts +2 -2
  53. package/dist/main/frameworkHelpers.js +2 -2
  54. package/dist/main/index.d.ts +14 -6
  55. package/dist/main/index.d.ts.map +1 -1
  56. package/dist/main/index.js +9 -1
  57. package/dist/main/index.js.map +1 -1
  58. package/dist/main/interfaces.d.ts +82 -8
  59. package/dist/main/interfaces.d.ts.map +1 -1
  60. package/dist/main/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  61. package/dist/main/mapGetAllEventsQueryEvents.js +22 -1
  62. package/dist/main/mapGetAllEventsQueryEvents.js.map +1 -1
  63. package/dist/main/pagination.d.ts +4 -4
  64. package/dist/main/pagination.js +2 -2
  65. package/dist/main/subgraph/events/events.generated.d.ts +46 -3
  66. package/dist/main/subgraph/events/events.generated.d.ts.map +1 -1
  67. package/dist/main/subgraph/events/events.generated.js +4 -3
  68. package/dist/main/subgraph/events/events.generated.js.map +1 -1
  69. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts +12 -0
  70. package/dist/main/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  71. package/dist/main/subgraph/queries/getAllEvents.generated.js +1 -1
  72. package/dist/main/subgraph/queries/getAllEvents.generated.js.map +1 -1
  73. package/dist/main/subgraph/schema.generated.d.ts +817 -5
  74. package/dist/main/subgraph/schema.generated.d.ts.map +1 -1
  75. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts +187 -5
  76. package/dist/main/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  77. package/dist/main/typechain/ISETH.d.ts +1068 -0
  78. package/dist/main/typechain/ISETH.d.ts.map +1 -0
  79. package/dist/main/typechain/ISETH.js +3 -0
  80. package/dist/main/typechain/ISETH.js.map +1 -0
  81. package/dist/main/typechain/SuperfluidGovernanceII.d.ts +633 -0
  82. package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -0
  83. package/dist/main/typechain/SuperfluidGovernanceII.js +3 -0
  84. package/dist/main/typechain/SuperfluidGovernanceII.js.map +1 -0
  85. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  86. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +350 -2
  87. package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  88. package/dist/main/typechain/factories/ISETH__factory.d.ts +36 -0
  89. package/dist/main/typechain/factories/ISETH__factory.d.ts.map +1 -0
  90. package/dist/main/typechain/factories/ISETH__factory.js +1622 -0
  91. package/dist/main/typechain/factories/ISETH__factory.js.map +1 -0
  92. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +36 -0
  93. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -0
  94. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +957 -0
  95. package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -0
  96. package/dist/main/typechain/index.d.ts +4 -0
  97. package/dist/main/typechain/index.d.ts.map +1 -1
  98. package/dist/main/typechain/index.js +5 -1
  99. package/dist/main/typechain/index.js.map +1 -1
  100. package/dist/main/utils.d.ts +15 -13
  101. package/dist/main/utils.d.ts.map +1 -1
  102. package/dist/main/utils.js +29 -15
  103. package/dist/main/utils.js.map +1 -1
  104. package/dist/module/BatchCall.d.ts +6 -6
  105. package/dist/module/BatchCall.js +8 -8
  106. package/dist/module/BatchCall.js.map +1 -1
  107. package/dist/module/ConstantFlowAgreementV1.d.ts +109 -17
  108. package/dist/module/ConstantFlowAgreementV1.d.ts.map +1 -1
  109. package/dist/module/ConstantFlowAgreementV1.js +246 -51
  110. package/dist/module/ConstantFlowAgreementV1.js.map +1 -1
  111. package/dist/module/ERC20Token.d.ts +15 -12
  112. package/dist/module/ERC20Token.d.ts.map +1 -1
  113. package/dist/module/ERC20Token.js +26 -30
  114. package/dist/module/ERC20Token.js.map +1 -1
  115. package/dist/module/Framework.d.ts +16 -7
  116. package/dist/module/Framework.d.ts.map +1 -1
  117. package/dist/module/Framework.js +34 -15
  118. package/dist/module/Framework.js.map +1 -1
  119. package/dist/module/Governance.d.ts +40 -0
  120. package/dist/module/Governance.d.ts.map +1 -0
  121. package/dist/module/Governance.js +76 -0
  122. package/dist/module/Governance.js.map +1 -0
  123. package/dist/module/Host.d.ts +3 -3
  124. package/dist/module/Host.d.ts.map +1 -1
  125. package/dist/module/Host.js +4 -4
  126. package/dist/module/Host.js.map +1 -1
  127. package/dist/module/InstantDistributionAgreementV1.d.ts +25 -22
  128. package/dist/module/InstantDistributionAgreementV1.d.ts.map +1 -1
  129. package/dist/module/InstantDistributionAgreementV1.js +69 -71
  130. package/dist/module/InstantDistributionAgreementV1.js.map +1 -1
  131. package/dist/module/Operation.d.ts +5 -5
  132. package/dist/module/Operation.js +5 -5
  133. package/dist/module/Query.d.ts +1 -1
  134. package/dist/module/Query.js +1 -1
  135. package/dist/module/SFError.d.ts +1 -1
  136. package/dist/module/SFError.d.ts.map +1 -1
  137. package/dist/module/SFError.js +2 -0
  138. package/dist/module/SFError.js.map +1 -1
  139. package/dist/module/SuperToken.d.ts +228 -67
  140. package/dist/module/SuperToken.d.ts.map +1 -1
  141. package/dist/module/SuperToken.js +313 -131
  142. package/dist/module/SuperToken.js.map +1 -1
  143. package/dist/module/abi/IConstantFlowAgreementV1.json +350 -2
  144. package/dist/module/abi/ISETH.json +1604 -0
  145. package/dist/module/abi/SuperfluidGovernanceII.json +939 -0
  146. package/dist/module/constants.d.ts +4 -0
  147. package/dist/module/constants.d.ts.map +1 -1
  148. package/dist/module/constants.js +18 -0
  149. package/dist/module/constants.js.map +1 -1
  150. package/dist/module/events.d.ts +14 -2
  151. package/dist/module/events.d.ts.map +1 -1
  152. package/dist/module/frameworkHelpers.d.ts +2 -2
  153. package/dist/module/frameworkHelpers.js +2 -2
  154. package/dist/module/index.d.ts +14 -6
  155. package/dist/module/index.d.ts.map +1 -1
  156. package/dist/module/index.js +14 -6
  157. package/dist/module/index.js.map +1 -1
  158. package/dist/module/interfaces.d.ts +82 -8
  159. package/dist/module/interfaces.d.ts.map +1 -1
  160. package/dist/module/mapGetAllEventsQueryEvents.d.ts.map +1 -1
  161. package/dist/module/mapGetAllEventsQueryEvents.js +22 -1
  162. package/dist/module/mapGetAllEventsQueryEvents.js.map +1 -1
  163. package/dist/module/pagination.d.ts +4 -4
  164. package/dist/module/pagination.js +2 -2
  165. package/dist/module/subgraph/events/events.generated.d.ts +46 -3
  166. package/dist/module/subgraph/events/events.generated.d.ts.map +1 -1
  167. package/dist/module/subgraph/events/events.generated.js +3 -2
  168. package/dist/module/subgraph/events/events.generated.js.map +1 -1
  169. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts +12 -0
  170. package/dist/module/subgraph/queries/getAllEvents.generated.d.ts.map +1 -1
  171. package/dist/module/subgraph/queries/getAllEvents.generated.js +1 -1
  172. package/dist/module/subgraph/queries/getAllEvents.generated.js.map +1 -1
  173. package/dist/module/subgraph/schema.generated.d.ts +817 -5
  174. package/dist/module/subgraph/schema.generated.d.ts.map +1 -1
  175. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts +187 -5
  176. package/dist/module/typechain/IConstantFlowAgreementV1.d.ts.map +1 -1
  177. package/dist/module/typechain/ISETH.d.ts +1068 -0
  178. package/dist/module/typechain/ISETH.d.ts.map +1 -0
  179. package/dist/module/typechain/ISETH.js +2 -0
  180. package/dist/module/typechain/ISETH.js.map +1 -0
  181. package/dist/module/typechain/SuperfluidGovernanceII.d.ts +633 -0
  182. package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -0
  183. package/dist/module/typechain/SuperfluidGovernanceII.js +2 -0
  184. package/dist/module/typechain/SuperfluidGovernanceII.js.map +1 -0
  185. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
  186. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +350 -2
  187. package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  188. package/dist/module/typechain/factories/ISETH__factory.d.ts +36 -0
  189. package/dist/module/typechain/factories/ISETH__factory.d.ts.map +1 -0
  190. package/dist/module/typechain/factories/ISETH__factory.js +1618 -0
  191. package/dist/module/typechain/factories/ISETH__factory.js.map +1 -0
  192. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +36 -0
  193. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -0
  194. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +953 -0
  195. package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -0
  196. package/dist/module/typechain/index.d.ts +4 -0
  197. package/dist/module/typechain/index.d.ts.map +1 -1
  198. package/dist/module/typechain/index.js +2 -0
  199. package/dist/module/typechain/index.js.map +1 -1
  200. package/dist/module/utils.d.ts +15 -13
  201. package/dist/module/utils.d.ts.map +1 -1
  202. package/dist/module/utils.js +27 -15
  203. package/dist/module/utils.js.map +1 -1
  204. package/package.json +10 -40
@@ -11,7 +11,7 @@ interface OperationStruct {
11
11
  readonly data: string;
12
12
  }
13
13
  /**
14
- * @dev BatchCall Helper Class
14
+ * BatchCall Helper Class
15
15
  * @description A helper class to create `BatchCall` objects which can be executed.
16
16
  */
17
17
  export default class BatchCall {
@@ -19,31 +19,31 @@ export default class BatchCall {
19
19
  host: Host;
20
20
  constructor(options: IBatchCallOptions);
21
21
  /**
22
- * @dev Gets the call agreement function arguments.
22
+ * Gets the call agreement function arguments.
23
23
  * @param callData callData of the function
24
24
  * @returns {ethers.utils.Result} call agreement function arguments
25
25
  */
26
26
  getCallAgreementFunctionArgs: (callData: string) => ethers.utils.Result;
27
27
  /**
28
- * @dev Given an `Operation` object, gets the `OperationStruct` object.
28
+ * Given an `Operation` object, gets the `OperationStruct` object.
29
29
  * @param operation an `Operation` object
30
30
  * @param index the index of the `Operation` in the batchCall
31
31
  * @returns {Promise<OperationStruct>} OperationStruct object for batchCall
32
32
  */
33
33
  getOperationStruct: (operation: Operation, index: number) => Promise<OperationStruct>;
34
34
  /**
35
- * @dev Gets an array of `OperationStruct` objects to be passed to batchCall.
35
+ * Gets an array of `OperationStruct` objects to be passed to batchCall.
36
36
  * @returns {Promise<OperationStruct>[]} array of operation struct promises
37
37
  */
38
38
  get getOperationStructArrayPromises(): Promise<OperationStruct>[];
39
39
  /**
40
- * @dev Executes a batch call given the operations on this class.
40
+ * Executes a batch call given the operations on this class.
41
41
  * @param signer the signer of the transaction
42
42
  * @returns {Promise<ethers.ContractTransaction>} ContractTransaction object
43
43
  */
44
44
  exec: (signer: ethers.Signer) => Promise<ethers.ContractTransaction>;
45
45
  /**
46
- * @dev Executes a forward batch call given the operations on this class.
46
+ * Executes a forward batch call given the operations on this class.
47
47
  * @param signer the signer of the transaction
48
48
  * @returns {Promise<ethers.ContractTransaction>} ContractTransaction object
49
49
  */
@@ -17,19 +17,19 @@ const operationTypeStringToTypeMap = new Map([
17
17
  ["CALL_APP_ACTION", 202],
18
18
  ]);
19
19
  /**
20
- * @dev BatchCall Helper Class
20
+ * BatchCall Helper Class
21
21
  * @description A helper class to create `BatchCall` objects which can be executed.
22
22
  */
23
23
  class BatchCall {
24
24
  constructor(options) {
25
25
  /**
26
- * @dev Gets the call agreement function arguments.
26
+ * Gets the call agreement function arguments.
27
27
  * @param callData callData of the function
28
28
  * @returns {ethers.utils.Result} call agreement function arguments
29
29
  */
30
30
  this.getCallAgreementFunctionArgs = (callData) => (0, utils_1.getTransactionDescription)(Superfluid_json_1.default.abi, callData).args;
31
31
  /**
32
- * @dev Given an `Operation` object, gets the `OperationStruct` object.
32
+ * Given an `Operation` object, gets the `OperationStruct` object.
33
33
  * @param operation an `Operation` object
34
34
  * @param index the index of the `Operation` in the batchCall
35
35
  * @returns {Promise<OperationStruct>} OperationStruct object for batchCall
@@ -71,14 +71,14 @@ class BatchCall {
71
71
  };
72
72
  };
73
73
  /**
74
- * @dev Executes a batch call given the operations on this class.
74
+ * Executes a batch call given the operations on this class.
75
75
  * @param signer the signer of the transaction
76
76
  * @returns {Promise<ethers.ContractTransaction>} ContractTransaction object
77
77
  */
78
78
  this.exec = async (signer) => {
79
79
  try {
80
80
  const operationStructArray = await Promise.all(this.getOperationStructArrayPromises);
81
- return await this.host.hostContract
81
+ return await this.host.contract
82
82
  .connect(signer)
83
83
  .batchCall(operationStructArray);
84
84
  }
@@ -94,14 +94,14 @@ class BatchCall {
94
94
  // TODO: user signs the transaction they'd like to execute and gives
95
95
  // this data to the trusted forwarder to sign
96
96
  /**
97
- * @dev Executes a forward batch call given the operations on this class.
97
+ * Executes a forward batch call given the operations on this class.
98
98
  * @param signer the signer of the transaction
99
99
  * @returns {Promise<ethers.ContractTransaction>} ContractTransaction object
100
100
  */
101
101
  this.execForward = async (signer) => {
102
102
  try {
103
103
  const operationStructArray = await Promise.all(this.getOperationStructArrayPromises);
104
- return await this.host.hostContract
104
+ return await this.host.contract
105
105
  .connect(signer)
106
106
  .forwardBatchCall(operationStructArray);
107
107
  }
@@ -117,7 +117,7 @@ class BatchCall {
117
117
  this.host = new Host_1.default(options.hostAddress);
118
118
  }
119
119
  /**
120
- * @dev Gets an array of `OperationStruct` objects to be passed to batchCall.
120
+ * Gets an array of `OperationStruct` objects to be passed to batchCall.
121
121
  * @returns {Promise<OperationStruct>[]} array of operation struct promises
122
122
  */
123
123
  get getOperationStructArrayPromises() {
@@ -1 +1 @@
1
- {"version":3,"file":"BatchCall.js","sourceRoot":"","sources":["../../src/BatchCall.ts"],"names":[],"mappings":";;;;;AAAA,mCAAgC;AAEhC,kDAA0B;AAE1B,uCAAoC;AACpC,4EAAkD;AAClD,mCAA+E;AAa/E,MAAM,4BAA4B,GAAG,IAAI,GAAG,CAAwB;IAChE,CAAC,eAAe,EAAE,CAAC,CAAC;IACpB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAC1B,CAAC,oBAAoB,EAAE,GAAG,CAAC;IAC3B,CAAC,sBAAsB,EAAE,GAAG,CAAC;IAC7B,CAAC,2BAA2B,EAAE,GAAG,CAAC;IAClC,CAAC,iBAAiB,EAAE,GAAG,CAAC;CAC3B,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAqB,SAAS;IAI1B,YAAY,OAA0B;QAKtC;;;;WAIG;QACH,iCAA4B,GAAG,CAAC,QAAgB,EAAuB,EAAE,CACrE,IAAA,iCAAyB,EAAC,yBAAa,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC;QAEhE;;;;;WAKG;QACH,uBAAkB,GAAG,KAAK,EACtB,SAAoB,EACpB,KAAa,EACW,EAAE;YAC1B,MAAM,aAAa,GAAG,4BAA4B,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;YACvE,MAAM,oBAAoB,GAAG,MAAM,SAAS,CAAC,0BAA0B,CAAC;YACxE,IAAI,CAAC,aAAa,EAAE;gBAChB,MAAM,IAAI,iBAAO,CAAC;oBACd,IAAI,EAAE,uBAAuB;oBAC7B,aAAa,EACT,yBAAyB,GAAG,KAAK,GAAG,kBAAkB;iBAC7D,CAAC,CAAC;aACN;YAED,0BAA0B;YAC1B,IAAI,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE;gBACxD,MAAM,IAAI,iBAAO,CAAC;oBACd,IAAI,EAAE,gCAAgC;oBACt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AAE,GAAG;iBACnB,CAAC,CAAC;aACN;QACL,CAAC,CAAC;QAhIE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,cAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;IAmED;;;OAGG;IACH,IAAI,+BAA+B;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACxC,IAAI,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAChC,CAAC;IACN,CAAC;CAoDJ;AAtID,4BAsIC"}
@@ -1,42 +1,62 @@
1
1
  import Host from "./Host";
2
2
  import Operation from "./Operation";
3
- import { IAgreementV1Options, ICreateFlowParams, IDeleteFlowParams, IGetAccountFlowInfoParams, IGetFlowParams, IUpdateFlowParams, IWeb3FlowInfo, IWeb3FlowInfoParams } from "./interfaces";
3
+ import { IAgreementV1Options, ICreateFlowParams, IDeleteFlowParams, IFullControlParams, IGetAccountFlowInfoParams, IGetFlowOperatorDataByIDParams, IGetFlowOperatorDataParams, IGetFlowParams, IUpdateFlowByOperatorParams, IUpdateFlowOperatorPermissionsParams, IUpdateFlowParams, IWeb3FlowInfo, IWeb3FlowInfoParams, IWeb3FlowOperatorData, IWeb3FlowOperatorDataParams } from "./interfaces";
4
+ import { IConstantFlowAgreementV1 } from "./typechain";
4
5
  /**
5
- * @dev Constant Flow Agreement V1 Helper Class
6
+ * Constant Flow Agreement V1 Helper Class
6
7
  * @description A helper class to interact with the CFAV1 contract.
7
8
  */
8
9
  export default class ConstantFlowAgreementV1 {
9
10
  readonly options: IAgreementV1Options;
10
11
  readonly host: Host;
12
+ readonly contract: IConstantFlowAgreementV1;
11
13
  constructor(options: IAgreementV1Options);
12
- private get cfaContract();
14
+ /** ### CFA Read Functions ### */
13
15
  /**
14
- * @dev Get the details of a flow.
16
+ * Get the details of a flow.
15
17
  * @param superToken the superToken of the agreement
16
18
  * @param sender the sender of the flow
17
19
  * @param receiver the receiver of the flow
18
20
  * @param providerOrSigner a provider or signer object
19
21
  * @returns {Promise<IWeb3FlowInfo>} Web3 Flow info object
20
22
  */
21
- getFlow: ({ superToken, sender, receiver, providerOrSigner, }: IGetFlowParams) => Promise<IWeb3FlowInfo>;
23
+ getFlow: (params: IGetFlowParams) => Promise<IWeb3FlowInfo>;
22
24
  /**
23
- * @dev Get the flow info of an account (net flow).
25
+ * Get the flow info of an account (net flow).
24
26
  * @param superToken the superToken of the agreement
25
27
  * @param account the account we're querying
26
28
  * @param providerOrSigner a provider or signer object
27
29
  * @returns {Promise<IWeb3FlowInfo>} Web3 Flow info object
28
30
  */
29
- getAccountFlowInfo: ({ superToken, account, providerOrSigner, }: IGetAccountFlowInfoParams) => Promise<IWeb3FlowInfo>;
31
+ getAccountFlowInfo: (params: IGetAccountFlowInfoParams) => Promise<IWeb3FlowInfo>;
30
32
  /**
31
- * @dev Get the net flow of an account.
33
+ * Get the net flow of an account.
32
34
  * @param superToken the superToken of the agreement
33
35
  * @param account the account we're querying
34
36
  * @param providerOrSigner a provider or signer object
35
37
  * @returns {Promise<string>} Web3 Flow info object
36
38
  */
37
- getNetFlow: ({ superToken, account, providerOrSigner, }: IGetAccountFlowInfoParams) => Promise<string>;
39
+ getNetFlow: (params: IGetAccountFlowInfoParams) => Promise<string>;
38
40
  /**
39
- * @dev Create a flow.
41
+ * Get flow operator data.
42
+ * @param superToken the superToken of the agreement
43
+ * @param sender the sender
44
+ * @param flowOperator the flowOperator
45
+ * @param providerOrSigner a provider or signer object
46
+ * @returns {Promise<IWeb3FlowOperatorData>} Web3 Flow info object
47
+ */
48
+ getFlowOperatorData: (params: IGetFlowOperatorDataParams) => Promise<IWeb3FlowOperatorData>;
49
+ /**
50
+ * Get flow operator data using the flowOperatorId.
51
+ * @param superToken the superToken of the agreement
52
+ * @param flowOperatorId The keccak256 hash of encoded string "flowOperator", sender and flowOperator
53
+ * @param providerOrSigner a provider or signer object
54
+ * @returns {Promise<IWeb3FlowOperatorData>} Web3 Flow info object
55
+ */
56
+ getFlowOperatorDataByID: (params: IGetFlowOperatorDataByIDParams) => Promise<IWeb3FlowOperatorData>;
57
+ /** ### CFA Write Functions ### */
58
+ /**
59
+ * Create a flow.
40
60
  * @param flowRate The specified flow rate.
41
61
  * @param receiver The receiver of the flow.
42
62
  * @param superToken The token to be flowed.
@@ -44,9 +64,9 @@ export default class ConstantFlowAgreementV1 {
44
64
  * @param overrides ethers overrides object for more control over the transaction sent.
45
65
  * @returns {Operation} An instance of Operation which can be executed or batched.
46
66
  */
47
- createFlow: ({ flowRate, receiver, superToken, userData, overrides, }: ICreateFlowParams) => Operation;
67
+ createFlow: (params: ICreateFlowParams) => Operation;
48
68
  /**
49
- * @dev Update a flow.
69
+ * Update a flow.
50
70
  * @param flowRate The specified flow rate.
51
71
  * @param receiver The receiver of the flow.
52
72
  * @param superToken The token to be flowed.
@@ -54,9 +74,9 @@ export default class ConstantFlowAgreementV1 {
54
74
  * @param overrides ethers overrides object for more control over the transaction sent.
55
75
  * @returns {Operation} An instance of Operation which can be executed or batched.
56
76
  */
57
- updateFlow: ({ flowRate, receiver, superToken, userData, overrides, }: IUpdateFlowParams) => Operation;
77
+ updateFlow: (params: IUpdateFlowParams) => Operation;
58
78
  /**
59
- * @dev Delete a flow.
79
+ * Delete a flow.
60
80
  * @param superToken The token to be flowed.
61
81
  * @param sender The sender of the flow.
62
82
  * @param receiver The receiver of the flow.
@@ -64,15 +84,87 @@ export default class ConstantFlowAgreementV1 {
64
84
  * @param overrides ethers overrides object for more control over the transaction sent.
65
85
  * @returns {Operation} An instance of Operation which can be executed or batched.
66
86
  */
67
- deleteFlow: ({ superToken, sender, receiver, userData, overrides, }: IDeleteFlowParams) => Operation;
87
+ deleteFlow: (params: IDeleteFlowParams) => Operation;
88
+ /** ### CFA ACL Write Functions (byOperator) ### */
89
+ /**
90
+ * Update permissions for a flow operator as a sender.
91
+ * @param superToken The token to be flowed.
92
+ * @param sender The sender of the flow.
93
+ * @param flowOperator The permission grantee address
94
+ * @param permission The permissions to set.
95
+ * @param flowRateAllowance The flowRateAllowance granted to the flow operator.
96
+ * @param userData Extra user data provided.
97
+ * @param overrides ethers overrides object for more control over the transaction sent.
98
+ * @returns {Operation} An instance of Operation which can be executed or batched.
99
+ */
100
+ updateFlowOperatorPermissions(params: IUpdateFlowOperatorPermissionsParams): Operation;
101
+ /**
102
+ * Give flow operator full control - max flow rate and create/update/delete permissions.
103
+ * @param superToken The token to be flowed.
104
+ * @param sender The sender of the flow.
105
+ * @param flowOperator The permission grantee address
106
+ * @param userData Extra user data provided.
107
+ * @param overrides ethers overrides object for more control over the transaction sent.
108
+ */
109
+ authorizeFlowOperatorWithFullControl(params: IFullControlParams): Operation;
68
110
  /**
69
- * @dev Sanitizes flow info, converting BigNumber to string.
111
+ * Revoke flow operator control - set flow rate to 0 with no permissions.
112
+ * @param superToken The token to be flowed.
113
+ * @param sender The sender of the flow.
114
+ * @param flowOperator The permission grantee address
115
+ * @param userData Extra user data provided.
116
+ * @param overrides ethers overrides object for more control over the transaction sent.
117
+ */
118
+ revokeFlowOperatorWithFullControl(params: IFullControlParams): Operation;
119
+ /**
120
+ * Create a flow as an operator
121
+ * @param flowRate The specified flow rate.
122
+ * @param sender The sender of the flow.
123
+ * @param receiver The receiver of the flow.
124
+ * @param superToken The token to be flowed.
125
+ * @param userData Extra user data provided.
126
+ * @param overrides ethers overrides object for more control over the transaction sent.
127
+ * @returns {Operation} An instance of Operation which can be executed or batched.
128
+ */
129
+ createFlowByOperator: (params: ICreateFlowParams) => Operation;
130
+ /**
131
+ * Update a flow as an operator.
132
+ * @param flowRate The specified flow rate.
133
+ * @param sender The sender of the flow.
134
+ * @param receiver The receiver of the flow.
135
+ * @param superToken The token to be flowed.
136
+ * @param userData Extra user data provided.
137
+ * @param overrides ethers overrides object for more control over the transaction sent.
138
+ * @returns {Operation} An instance of Operation which can be executed or batched.
139
+ */
140
+ updateFlowByOperator: (params: IUpdateFlowByOperatorParams) => Operation;
141
+ /**
142
+ * Delete a flow as an operator.
143
+ * @param sender The sender of the flow.
144
+ * @param receiver The receiver of the flow.
145
+ * @param superToken The token to be flowed.
146
+ * @param userData Extra user data provided.
147
+ * @param overrides ethers overrides object for more control over the transaction sent.
148
+ * @returns {Operation} An instance of Operation which can be executed or batched.
149
+ */
150
+ deleteFlowByOperator: (params: IDeleteFlowParams) => Operation;
151
+ /** ### Private Functions ### */
152
+ /**
153
+ * Sanitizes flow info, converting BigNumber to string.
70
154
  * @param timestamp last updated timestamp of flow
71
155
  * @param flowRate the current flow rate
72
156
  * @param deposit the deposit amount
73
157
  * @param owedDeposit any owed depsit
74
158
  * @returns {IWeb3FlowInfo} sanitized web3 flow info
75
159
  */
76
- _sanitizeflowInfo: ({ timestamp, flowRate, deposit, owedDeposit, }: IWeb3FlowInfoParams) => IWeb3FlowInfo;
160
+ _sanitizeFlowInfo: (params: IWeb3FlowInfoParams) => IWeb3FlowInfo;
161
+ /**
162
+ * Sanitizes flow operator data, converting BigNumber to string.
163
+ * @param flowOperatorId The keccak256 hash of encoded string "flowOperator", sender and flowOperator
164
+ * @param permissions the permissions
165
+ * @param flowRateAllowance the flow rate allowance granted to the flow operator
166
+ * @returns {IWeb3FlowOperatorData} sanitized web3 flow info
167
+ */
168
+ _sanitizeFlowOperatorData: (params: IWeb3FlowOperatorDataParams) => IWeb3FlowOperatorData;
77
169
  }
78
170
  //# sourceMappingURL=ConstantFlowAgreementV1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConstantFlowAgreementV1.d.ts","sourceRoot":"","sources":["../../src/ConstantFlowAgreementV1.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,SAAS,MAAM,aAAa,CAAC;AAGpC,OAAO,EACH,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACd,iBAAiB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