@huma-finance/shared 0.0.8 → 0.0.11

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 (133) hide show
  1. package/dist/abis/BaseCreditPoolReceivable.json +764 -764
  2. package/dist/abis/RealWorldReceivable.json +823 -0
  3. package/dist/abis/index.d.ts +1 -1
  4. package/dist/abis/index.js +1 -1
  5. package/dist/abis/index.js.map +1 -1
  6. package/dist/abis/types/ERC20TransferableReceivable.d.ts +96 -96
  7. package/dist/abis/types/Erc2612.d.ts +41 -41
  8. package/dist/abis/types/IConstantFlowAgreementV1.d.ts +77 -77
  9. package/dist/abis/types/ISuperfluid.d.ts +140 -140
  10. package/dist/abis/types/Multisend.d.ts +8 -8
  11. package/dist/abis/types/RealWorldReceivable.d.ts +564 -0
  12. package/dist/abis/types/RealWorldReceivable.js +2 -0
  13. package/dist/abis/types/RealWorldReceivable.js.map +1 -0
  14. package/dist/abis/types/StreamFactoringPool.d.ts +189 -189
  15. package/dist/abis/types/TradableStream.d.ts +129 -129
  16. package/dist/abis/types/TransferNFT.d.ts +7 -7
  17. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +3 -3
  18. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js +316 -316
  19. package/dist/abis/types/factories/ERC20TransferableReceivable__factory.js.map +1 -1
  20. package/dist/abis/types/factories/Erc2612__factory.d.ts +3 -3
  21. package/dist/abis/types/factories/Erc2612__factory.js +108 -108
  22. package/dist/abis/types/factories/Erc2612__factory.js.map +1 -1
  23. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +3 -3
  24. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js +449 -449
  25. package/dist/abis/types/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  26. package/dist/abis/types/factories/ISuperfluid__factory.d.ts +3 -3
  27. package/dist/abis/types/factories/ISuperfluid__factory.js +540 -540
  28. package/dist/abis/types/factories/ISuperfluid__factory.js.map +1 -1
  29. package/dist/abis/types/factories/Multisend__factory.d.ts +3 -3
  30. package/dist/abis/types/factories/Multisend__factory.js +13 -13
  31. package/dist/abis/types/factories/Multisend__factory.js.map +1 -1
  32. package/dist/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -0
  33. package/dist/abis/types/factories/RealWorldReceivable__factory.js +837 -0
  34. package/dist/abis/types/factories/RealWorldReceivable__factory.js.map +1 -0
  35. package/dist/abis/types/factories/StreamFactoringPool__factory.d.ts +3 -3
  36. package/dist/abis/types/factories/StreamFactoringPool__factory.js +719 -719
  37. package/dist/abis/types/factories/StreamFactoringPool__factory.js.map +1 -1
  38. package/dist/abis/types/factories/TradableStream__factory.d.ts +3 -3
  39. package/dist/abis/types/factories/TradableStream__factory.js +416 -416
  40. package/dist/abis/types/factories/TradableStream__factory.js.map +1 -1
  41. package/dist/abis/types/factories/TransferNFT__factory.d.ts +3 -3
  42. package/dist/abis/types/factories/TransferNFT__factory.js +12 -12
  43. package/dist/abis/types/factories/TransferNFT__factory.js.map +1 -1
  44. package/dist/abis/types/factories/index.d.ts +20 -20
  45. package/dist/abis/types/factories/index.js +20 -20
  46. package/dist/abis/types/factories/index.js.map +1 -1
  47. package/dist/abis/types/index.d.ts +41 -41
  48. package/dist/abis/types/index.js +21 -21
  49. package/dist/abis/types/index.js.map +1 -1
  50. package/dist/cjs/abis/RealWorldReceivable.json +823 -0
  51. package/dist/cjs/abis/index.d.ts +1 -1
  52. package/dist/cjs/abis/index.js +3 -3
  53. package/dist/cjs/abis/index.js.map +1 -1
  54. package/dist/cjs/abis/types/ERC20TransferableReceivable.d.ts +96 -96
  55. package/dist/cjs/abis/types/Erc2612.d.ts +41 -41
  56. package/dist/cjs/abis/types/IConstantFlowAgreementV1.d.ts +77 -77
  57. package/dist/cjs/abis/types/ISuperfluid.d.ts +140 -140
  58. package/dist/cjs/abis/types/Multisend.d.ts +8 -8
  59. package/dist/cjs/abis/types/RealWorldReceivable.d.ts +564 -0
  60. package/dist/cjs/abis/types/RealWorldReceivable.js +3 -0
  61. package/dist/cjs/abis/types/RealWorldReceivable.js.map +1 -0
  62. package/dist/cjs/abis/types/StreamFactoringPool.d.ts +189 -189
  63. package/dist/cjs/abis/types/TradableStream.d.ts +129 -129
  64. package/dist/cjs/abis/types/TransferNFT.d.ts +7 -7
  65. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.d.ts +3 -3
  66. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js +315 -315
  67. package/dist/cjs/abis/types/factories/ERC20TransferableReceivable__factory.js.map +1 -1
  68. package/dist/cjs/abis/types/factories/Erc2612__factory.d.ts +3 -3
  69. package/dist/cjs/abis/types/factories/Erc2612__factory.js +107 -107
  70. package/dist/cjs/abis/types/factories/Erc2612__factory.js.map +1 -1
  71. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.d.ts +3 -3
  72. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js +448 -448
  73. package/dist/cjs/abis/types/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
  74. package/dist/cjs/abis/types/factories/ISuperfluid__factory.d.ts +3 -3
  75. package/dist/cjs/abis/types/factories/ISuperfluid__factory.js +539 -539
  76. package/dist/cjs/abis/types/factories/ISuperfluid__factory.js.map +1 -1
  77. package/dist/cjs/abis/types/factories/Multisend__factory.d.ts +3 -3
  78. package/dist/cjs/abis/types/factories/Multisend__factory.js +12 -12
  79. package/dist/cjs/abis/types/factories/Multisend__factory.js.map +1 -1
  80. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.d.ts +645 -0
  81. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js +841 -0
  82. package/dist/cjs/abis/types/factories/RealWorldReceivable__factory.js.map +1 -0
  83. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.d.ts +3 -3
  84. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js +718 -718
  85. package/dist/cjs/abis/types/factories/StreamFactoringPool__factory.js.map +1 -1
  86. package/dist/cjs/abis/types/factories/TradableStream__factory.d.ts +3 -3
  87. package/dist/cjs/abis/types/factories/TradableStream__factory.js +415 -415
  88. package/dist/cjs/abis/types/factories/TradableStream__factory.js.map +1 -1
  89. package/dist/cjs/abis/types/factories/TransferNFT__factory.d.ts +3 -3
  90. package/dist/cjs/abis/types/factories/TransferNFT__factory.js +11 -11
  91. package/dist/cjs/abis/types/factories/TransferNFT__factory.js.map +1 -1
  92. package/dist/cjs/abis/types/factories/index.d.ts +20 -20
  93. package/dist/cjs/abis/types/factories/index.js +3 -3
  94. package/dist/cjs/abis/types/factories/index.js.map +1 -1
  95. package/dist/cjs/abis/types/index.d.ts +41 -41
  96. package/dist/cjs/abis/types/index.js +3 -3
  97. package/dist/cjs/abis/types/index.js.map +1 -1
  98. package/dist/cjs/hooks/useGetSizes.d.ts +0 -1
  99. package/dist/cjs/hooks/useGetSizes.js +0 -2
  100. package/dist/cjs/hooks/useGetSizes.js.map +1 -1
  101. package/dist/cjs/hooks/useMQ.d.ts +0 -1
  102. package/dist/cjs/hooks/useMQ.js +0 -2
  103. package/dist/cjs/hooks/useMQ.js.map +1 -1
  104. package/dist/cjs/hooks/usePoolContract.d.ts +1 -0
  105. package/dist/cjs/hooks/usePoolContract.js +18 -1
  106. package/dist/cjs/hooks/usePoolContract.js.map +1 -1
  107. package/dist/cjs/services/EAService.d.ts +107 -26
  108. package/dist/cjs/services/EAService.js +6 -6
  109. package/dist/cjs/services/EAService.js.map +1 -1
  110. package/dist/cjs/utils/jsonRpcEndpoints.js +0 -2
  111. package/dist/cjs/utils/jsonRpcEndpoints.js.map +1 -1
  112. package/dist/cjs/utils/pool.d.ts +13 -3
  113. package/dist/cjs/utils/pool.js +75 -7
  114. package/dist/cjs/utils/pool.js.map +1 -1
  115. package/dist/hooks/useGetSizes.d.ts +0 -1
  116. package/dist/hooks/useGetSizes.js +0 -2
  117. package/dist/hooks/useGetSizes.js.map +1 -1
  118. package/dist/hooks/useMQ.d.ts +0 -1
  119. package/dist/hooks/useMQ.js +0 -2
  120. package/dist/hooks/useMQ.js.map +1 -1
  121. package/dist/hooks/usePoolContract.d.ts +1 -0
  122. package/dist/hooks/usePoolContract.js +16 -0
  123. package/dist/hooks/usePoolContract.js.map +1 -1
  124. package/dist/services/EAService.d.ts +107 -26
  125. package/dist/services/EAService.js +6 -6
  126. package/dist/services/EAService.js.map +1 -1
  127. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  128. package/dist/utils/jsonRpcEndpoints.js +0 -2
  129. package/dist/utils/jsonRpcEndpoints.js.map +1 -1
  130. package/dist/utils/pool.d.ts +13 -3
  131. package/dist/utils/pool.js +72 -6
  132. package/dist/utils/pool.js.map +1 -1
  133. package/package.json +2 -2
@@ -1,144 +1,144 @@
1
- import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
2
- import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
3
- import type { Listener, Provider } from '@ethersproject/providers';
4
- import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
5
5
  export interface IConstantFlowAgreementV1Interface extends utils.Interface {
6
6
  functions: {
7
- 'agreementType()': FunctionFragment;
8
- 'authorizeFlowOperatorWithFullControl(address,address,bytes)': FunctionFragment;
9
- 'createFlow(address,address,int96,bytes)': FunctionFragment;
10
- 'createFlowByOperator(address,address,address,int96,bytes)': FunctionFragment;
11
- 'deleteFlow(address,address,address,bytes)': FunctionFragment;
12
- 'deleteFlowByOperator(address,address,address,bytes)': FunctionFragment;
13
- 'getAccountFlowInfo(address,address)': FunctionFragment;
14
- 'getDepositRequiredForFlowRate(address,int96)': FunctionFragment;
15
- 'getFlow(address,address,address)': FunctionFragment;
16
- 'getFlowByID(address,bytes32)': FunctionFragment;
17
- 'getFlowOperatorData(address,address,address)': FunctionFragment;
18
- 'getFlowOperatorDataByID(address,bytes32)': FunctionFragment;
19
- 'getMaximumFlowRateFromDeposit(address,uint256)': FunctionFragment;
20
- 'getNetFlow(address,address)': FunctionFragment;
21
- 'isPatricianPeriod(address,address,uint256)': FunctionFragment;
22
- 'isPatricianPeriodNow(address,address)': FunctionFragment;
23
- 'realtimeBalanceOf(address,address,uint256)': FunctionFragment;
24
- 'revokeFlowOperatorWithFullControl(address,address,bytes)': FunctionFragment;
25
- 'updateFlow(address,address,int96,bytes)': FunctionFragment;
26
- 'updateFlowByOperator(address,address,address,int96,bytes)': FunctionFragment;
27
- 'updateFlowOperatorPermissions(address,address,uint8,int96,bytes)': FunctionFragment;
7
+ "agreementType()": FunctionFragment;
8
+ "authorizeFlowOperatorWithFullControl(address,address,bytes)": FunctionFragment;
9
+ "createFlow(address,address,int96,bytes)": FunctionFragment;
10
+ "createFlowByOperator(address,address,address,int96,bytes)": FunctionFragment;
11
+ "deleteFlow(address,address,address,bytes)": FunctionFragment;
12
+ "deleteFlowByOperator(address,address,address,bytes)": FunctionFragment;
13
+ "getAccountFlowInfo(address,address)": FunctionFragment;
14
+ "getDepositRequiredForFlowRate(address,int96)": FunctionFragment;
15
+ "getFlow(address,address,address)": FunctionFragment;
16
+ "getFlowByID(address,bytes32)": FunctionFragment;
17
+ "getFlowOperatorData(address,address,address)": FunctionFragment;
18
+ "getFlowOperatorDataByID(address,bytes32)": FunctionFragment;
19
+ "getMaximumFlowRateFromDeposit(address,uint256)": FunctionFragment;
20
+ "getNetFlow(address,address)": FunctionFragment;
21
+ "isPatricianPeriod(address,address,uint256)": FunctionFragment;
22
+ "isPatricianPeriodNow(address,address)": FunctionFragment;
23
+ "realtimeBalanceOf(address,address,uint256)": FunctionFragment;
24
+ "revokeFlowOperatorWithFullControl(address,address,bytes)": FunctionFragment;
25
+ "updateFlow(address,address,int96,bytes)": FunctionFragment;
26
+ "updateFlowByOperator(address,address,address,int96,bytes)": FunctionFragment;
27
+ "updateFlowOperatorPermissions(address,address,uint8,int96,bytes)": FunctionFragment;
28
28
  };
29
- getFunction(nameOrSignatureOrTopic: 'agreementType' | 'authorizeFlowOperatorWithFullControl' | 'createFlow' | 'createFlowByOperator' | 'deleteFlow' | 'deleteFlowByOperator' | 'getAccountFlowInfo' | 'getDepositRequiredForFlowRate' | 'getFlow' | 'getFlowByID' | 'getFlowOperatorData' | 'getFlowOperatorDataByID' | 'getMaximumFlowRateFromDeposit' | 'getNetFlow' | 'isPatricianPeriod' | 'isPatricianPeriodNow' | 'realtimeBalanceOf' | 'revokeFlowOperatorWithFullControl' | 'updateFlow' | 'updateFlowByOperator' | 'updateFlowOperatorPermissions'): FunctionFragment;
30
- encodeFunctionData(functionFragment: 'agreementType', values?: undefined): string;
31
- encodeFunctionData(functionFragment: 'authorizeFlowOperatorWithFullControl', values: [
29
+ getFunction(nameOrSignatureOrTopic: "agreementType" | "authorizeFlowOperatorWithFullControl" | "createFlow" | "createFlowByOperator" | "deleteFlow" | "deleteFlowByOperator" | "getAccountFlowInfo" | "getDepositRequiredForFlowRate" | "getFlow" | "getFlowByID" | "getFlowOperatorData" | "getFlowOperatorDataByID" | "getMaximumFlowRateFromDeposit" | "getNetFlow" | "isPatricianPeriod" | "isPatricianPeriodNow" | "realtimeBalanceOf" | "revokeFlowOperatorWithFullControl" | "updateFlow" | "updateFlowByOperator" | "updateFlowOperatorPermissions"): FunctionFragment;
30
+ encodeFunctionData(functionFragment: "agreementType", values?: undefined): string;
31
+ encodeFunctionData(functionFragment: "authorizeFlowOperatorWithFullControl", values: [
32
32
  PromiseOrValue<string>,
33
33
  PromiseOrValue<string>,
34
34
  PromiseOrValue<BytesLike>
35
35
  ]): string;
36
- encodeFunctionData(functionFragment: 'createFlow', values: [
36
+ encodeFunctionData(functionFragment: "createFlow", values: [
37
37
  PromiseOrValue<string>,
38
38
  PromiseOrValue<string>,
39
39
  PromiseOrValue<BigNumberish>,
40
40
  PromiseOrValue<BytesLike>
41
41
  ]): string;
42
- encodeFunctionData(functionFragment: 'createFlowByOperator', values: [
42
+ encodeFunctionData(functionFragment: "createFlowByOperator", values: [
43
43
  PromiseOrValue<string>,
44
44
  PromiseOrValue<string>,
45
45
  PromiseOrValue<string>,
46
46
  PromiseOrValue<BigNumberish>,
47
47
  PromiseOrValue<BytesLike>
48
48
  ]): string;
49
- encodeFunctionData(functionFragment: 'deleteFlow', values: [
49
+ encodeFunctionData(functionFragment: "deleteFlow", values: [
50
50
  PromiseOrValue<string>,
51
51
  PromiseOrValue<string>,
52
52
  PromiseOrValue<string>,
53
53
  PromiseOrValue<BytesLike>
54
54
  ]): string;
55
- encodeFunctionData(functionFragment: 'deleteFlowByOperator', values: [
55
+ encodeFunctionData(functionFragment: "deleteFlowByOperator", values: [
56
56
  PromiseOrValue<string>,
57
57
  PromiseOrValue<string>,
58
58
  PromiseOrValue<string>,
59
59
  PromiseOrValue<BytesLike>
60
60
  ]): string;
61
- encodeFunctionData(functionFragment: 'getAccountFlowInfo', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
62
- encodeFunctionData(functionFragment: 'getDepositRequiredForFlowRate', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
63
- encodeFunctionData(functionFragment: 'getFlow', values: [
61
+ encodeFunctionData(functionFragment: "getAccountFlowInfo", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
62
+ encodeFunctionData(functionFragment: "getDepositRequiredForFlowRate", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
63
+ encodeFunctionData(functionFragment: "getFlow", values: [
64
64
  PromiseOrValue<string>,
65
65
  PromiseOrValue<string>,
66
66
  PromiseOrValue<string>
67
67
  ]): string;
68
- encodeFunctionData(functionFragment: 'getFlowByID', values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
69
- encodeFunctionData(functionFragment: 'getFlowOperatorData', values: [
68
+ encodeFunctionData(functionFragment: "getFlowByID", values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
69
+ encodeFunctionData(functionFragment: "getFlowOperatorData", values: [
70
70
  PromiseOrValue<string>,
71
71
  PromiseOrValue<string>,
72
72
  PromiseOrValue<string>
73
73
  ]): string;
74
- encodeFunctionData(functionFragment: 'getFlowOperatorDataByID', values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
75
- encodeFunctionData(functionFragment: 'getMaximumFlowRateFromDeposit', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
76
- encodeFunctionData(functionFragment: 'getNetFlow', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
77
- encodeFunctionData(functionFragment: 'isPatricianPeriod', values: [
74
+ encodeFunctionData(functionFragment: "getFlowOperatorDataByID", values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
75
+ encodeFunctionData(functionFragment: "getMaximumFlowRateFromDeposit", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
76
+ encodeFunctionData(functionFragment: "getNetFlow", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
77
+ encodeFunctionData(functionFragment: "isPatricianPeriod", values: [
78
78
  PromiseOrValue<string>,
79
79
  PromiseOrValue<string>,
80
80
  PromiseOrValue<BigNumberish>
81
81
  ]): string;
82
- encodeFunctionData(functionFragment: 'isPatricianPeriodNow', values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
83
- encodeFunctionData(functionFragment: 'realtimeBalanceOf', values: [
82
+ encodeFunctionData(functionFragment: "isPatricianPeriodNow", values: [PromiseOrValue<string>, PromiseOrValue<string>]): string;
83
+ encodeFunctionData(functionFragment: "realtimeBalanceOf", values: [
84
84
  PromiseOrValue<string>,
85
85
  PromiseOrValue<string>,
86
86
  PromiseOrValue<BigNumberish>
87
87
  ]): string;
88
- encodeFunctionData(functionFragment: 'revokeFlowOperatorWithFullControl', values: [
88
+ encodeFunctionData(functionFragment: "revokeFlowOperatorWithFullControl", values: [
89
89
  PromiseOrValue<string>,
90
90
  PromiseOrValue<string>,
91
91
  PromiseOrValue<BytesLike>
92
92
  ]): string;
93
- encodeFunctionData(functionFragment: 'updateFlow', values: [
93
+ encodeFunctionData(functionFragment: "updateFlow", values: [
94
94
  PromiseOrValue<string>,
95
95
  PromiseOrValue<string>,
96
96
  PromiseOrValue<BigNumberish>,
97
97
  PromiseOrValue<BytesLike>
98
98
  ]): string;
99
- encodeFunctionData(functionFragment: 'updateFlowByOperator', values: [
99
+ encodeFunctionData(functionFragment: "updateFlowByOperator", values: [
100
100
  PromiseOrValue<string>,
101
101
  PromiseOrValue<string>,
102
102
  PromiseOrValue<string>,
103
103
  PromiseOrValue<BigNumberish>,
104
104
  PromiseOrValue<BytesLike>
105
105
  ]): string;
106
- encodeFunctionData(functionFragment: 'updateFlowOperatorPermissions', values: [
106
+ encodeFunctionData(functionFragment: "updateFlowOperatorPermissions", values: [
107
107
  PromiseOrValue<string>,
108
108
  PromiseOrValue<string>,
109
109
  PromiseOrValue<BigNumberish>,
110
110
  PromiseOrValue<BigNumberish>,
111
111
  PromiseOrValue<BytesLike>
112
112
  ]): string;
113
- decodeFunctionResult(functionFragment: 'agreementType', data: BytesLike): Result;
114
- decodeFunctionResult(functionFragment: 'authorizeFlowOperatorWithFullControl', data: BytesLike): Result;
115
- decodeFunctionResult(functionFragment: 'createFlow', data: BytesLike): Result;
116
- decodeFunctionResult(functionFragment: 'createFlowByOperator', data: BytesLike): Result;
117
- decodeFunctionResult(functionFragment: 'deleteFlow', data: BytesLike): Result;
118
- decodeFunctionResult(functionFragment: 'deleteFlowByOperator', data: BytesLike): Result;
119
- decodeFunctionResult(functionFragment: 'getAccountFlowInfo', data: BytesLike): Result;
120
- decodeFunctionResult(functionFragment: 'getDepositRequiredForFlowRate', data: BytesLike): Result;
121
- decodeFunctionResult(functionFragment: 'getFlow', data: BytesLike): Result;
122
- decodeFunctionResult(functionFragment: 'getFlowByID', data: BytesLike): Result;
123
- decodeFunctionResult(functionFragment: 'getFlowOperatorData', data: BytesLike): Result;
124
- decodeFunctionResult(functionFragment: 'getFlowOperatorDataByID', data: BytesLike): Result;
125
- decodeFunctionResult(functionFragment: 'getMaximumFlowRateFromDeposit', data: BytesLike): Result;
126
- decodeFunctionResult(functionFragment: 'getNetFlow', data: BytesLike): Result;
127
- decodeFunctionResult(functionFragment: 'isPatricianPeriod', data: BytesLike): Result;
128
- decodeFunctionResult(functionFragment: 'isPatricianPeriodNow', data: BytesLike): Result;
129
- decodeFunctionResult(functionFragment: 'realtimeBalanceOf', data: BytesLike): Result;
130
- decodeFunctionResult(functionFragment: 'revokeFlowOperatorWithFullControl', data: BytesLike): Result;
131
- decodeFunctionResult(functionFragment: 'updateFlow', data: BytesLike): Result;
132
- decodeFunctionResult(functionFragment: 'updateFlowByOperator', data: BytesLike): Result;
133
- decodeFunctionResult(functionFragment: 'updateFlowOperatorPermissions', data: BytesLike): Result;
113
+ decodeFunctionResult(functionFragment: "agreementType", data: BytesLike): Result;
114
+ decodeFunctionResult(functionFragment: "authorizeFlowOperatorWithFullControl", data: BytesLike): Result;
115
+ decodeFunctionResult(functionFragment: "createFlow", data: BytesLike): Result;
116
+ decodeFunctionResult(functionFragment: "createFlowByOperator", data: BytesLike): Result;
117
+ decodeFunctionResult(functionFragment: "deleteFlow", data: BytesLike): Result;
118
+ decodeFunctionResult(functionFragment: "deleteFlowByOperator", data: BytesLike): Result;
119
+ decodeFunctionResult(functionFragment: "getAccountFlowInfo", data: BytesLike): Result;
120
+ decodeFunctionResult(functionFragment: "getDepositRequiredForFlowRate", data: BytesLike): Result;
121
+ decodeFunctionResult(functionFragment: "getFlow", data: BytesLike): Result;
122
+ decodeFunctionResult(functionFragment: "getFlowByID", data: BytesLike): Result;
123
+ decodeFunctionResult(functionFragment: "getFlowOperatorData", data: BytesLike): Result;
124
+ decodeFunctionResult(functionFragment: "getFlowOperatorDataByID", data: BytesLike): Result;
125
+ decodeFunctionResult(functionFragment: "getMaximumFlowRateFromDeposit", data: BytesLike): Result;
126
+ decodeFunctionResult(functionFragment: "getNetFlow", data: BytesLike): Result;
127
+ decodeFunctionResult(functionFragment: "isPatricianPeriod", data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: "isPatricianPeriodNow", data: BytesLike): Result;
129
+ decodeFunctionResult(functionFragment: "realtimeBalanceOf", data: BytesLike): Result;
130
+ decodeFunctionResult(functionFragment: "revokeFlowOperatorWithFullControl", data: BytesLike): Result;
131
+ decodeFunctionResult(functionFragment: "updateFlow", data: BytesLike): Result;
132
+ decodeFunctionResult(functionFragment: "updateFlowByOperator", data: BytesLike): Result;
133
+ decodeFunctionResult(functionFragment: "updateFlowOperatorPermissions", data: BytesLike): Result;
134
134
  events: {
135
- 'FlowOperatorUpdated(address,address,address,uint8,int96)': EventFragment;
136
- 'FlowUpdated(address,address,address,int96,int256,int256,bytes)': EventFragment;
137
- 'FlowUpdatedExtension(address,uint256)': EventFragment;
135
+ "FlowOperatorUpdated(address,address,address,uint8,int96)": EventFragment;
136
+ "FlowUpdated(address,address,address,int96,int256,int256,bytes)": EventFragment;
137
+ "FlowUpdatedExtension(address,uint256)": EventFragment;
138
138
  };
139
- getEvent(nameOrSignatureOrTopic: 'FlowOperatorUpdated'): EventFragment;
140
- getEvent(nameOrSignatureOrTopic: 'FlowUpdated'): EventFragment;
141
- getEvent(nameOrSignatureOrTopic: 'FlowUpdatedExtension'): EventFragment;
139
+ getEvent(nameOrSignatureOrTopic: "FlowOperatorUpdated"): EventFragment;
140
+ getEvent(nameOrSignatureOrTopic: "FlowUpdated"): EventFragment;
141
+ getEvent(nameOrSignatureOrTopic: "FlowUpdatedExtension"): EventFragment;
142
142
  }
143
143
  export interface FlowOperatorUpdatedEventObject {
144
144
  token: string;
@@ -481,11 +481,11 @@ export interface IConstantFlowAgreementV1 extends BaseContract {
481
481
  updateFlowOperatorPermissions(token: PromiseOrValue<string>, flowOperator: PromiseOrValue<string>, permissions: PromiseOrValue<BigNumberish>, flowRateAllowance: PromiseOrValue<BigNumberish>, ctx: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
482
482
  };
483
483
  filters: {
484
- 'FlowOperatorUpdated(address,address,address,uint8,int96)'(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, flowOperator?: PromiseOrValue<string> | null, permissions?: null, flowRateAllowance?: null): FlowOperatorUpdatedEventFilter;
484
+ "FlowOperatorUpdated(address,address,address,uint8,int96)"(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, flowOperator?: PromiseOrValue<string> | null, permissions?: null, flowRateAllowance?: null): FlowOperatorUpdatedEventFilter;
485
485
  FlowOperatorUpdated(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, flowOperator?: PromiseOrValue<string> | null, permissions?: null, flowRateAllowance?: null): FlowOperatorUpdatedEventFilter;
486
- 'FlowUpdated(address,address,address,int96,int256,int256,bytes)'(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, flowRate?: null, totalSenderFlowRate?: null, totalReceiverFlowRate?: null, userData?: null): FlowUpdatedEventFilter;
486
+ "FlowUpdated(address,address,address,int96,int256,int256,bytes)"(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, flowRate?: null, totalSenderFlowRate?: null, totalReceiverFlowRate?: null, userData?: null): FlowUpdatedEventFilter;
487
487
  FlowUpdated(token?: PromiseOrValue<string> | null, sender?: PromiseOrValue<string> | null, receiver?: PromiseOrValue<string> | null, flowRate?: null, totalSenderFlowRate?: null, totalReceiverFlowRate?: null, userData?: null): FlowUpdatedEventFilter;
488
- 'FlowUpdatedExtension(address,uint256)'(flowOperator?: PromiseOrValue<string> | null, deposit?: null): FlowUpdatedExtensionEventFilter;
488
+ "FlowUpdatedExtension(address,uint256)"(flowOperator?: PromiseOrValue<string> | null, deposit?: null): FlowUpdatedExtensionEventFilter;
489
489
  FlowUpdatedExtension(flowOperator?: PromiseOrValue<string> | null, deposit?: null): FlowUpdatedExtensionEventFilter;
490
490
  };
491
491
  estimateGas: {