@gooddollar/goodcollective-contracts 1.1.0 → 1.3.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 (72) hide show
  1. package/README.md +14 -1
  2. package/contracts/DirectPayments/DirectPaymentsFactory.sol +23 -15
  3. package/contracts/DirectPayments/DirectPaymentsLibrary.sol +54 -0
  4. package/contracts/DirectPayments/DirectPaymentsPool.sol +25 -41
  5. package/contracts/GoodCollective/GoodCollectiveSuperApp.sol +89 -61
  6. package/contracts/GoodCollective/IGoodCollectiveSuperApp.sol +12 -0
  7. package/contracts/Interfaces.sol +25 -0
  8. package/contracts/UBI/UBIPool.sol +103 -90
  9. package/contracts/UBI/UBIPoolFactory.sol +24 -10
  10. package/contracts/test/HelperLibraryTest.sol +16 -0
  11. package/contracts/utils/HelperLibrary.sol +109 -8
  12. package/package.json +4 -3
  13. package/releases/deployment.json +22797 -431
  14. package/typechain-types/@uniswap/index.ts +0 -2
  15. package/typechain-types/contracts/DirectPayments/DirectPaymentsFactory.ts +56 -9
  16. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts +187 -9
  17. package/typechain-types/contracts/GoodCollective/GoodCollectiveSuperApp.ts +150 -6
  18. package/typechain-types/contracts/{UBI/MultiClaimModule.sol/IClaimable.ts → GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp.ts} +24 -23
  19. package/typechain-types/contracts/GoodCollective/{GoodCollectiveSuperApp.sol → IGoodCollectiveSuperApp.sol}/index.ts +1 -1
  20. package/typechain-types/contracts/GoodCollective/index.ts +3 -2
  21. package/typechain-types/contracts/{UBI/UBIPool.sol → Interfaces.sol}/IIdentityV2.ts +1 -1
  22. package/typechain-types/contracts/{UBI/UBIPool.sol → Interfaces.sol}/IMembersValidator.ts +1 -1
  23. package/typechain-types/contracts/{UBI/UBIPool.sol → Interfaces.sol}/index.ts +0 -1
  24. package/typechain-types/contracts/UBI/{UBIPool.sol/UBIPool.ts → UBIPool.ts} +325 -78
  25. package/typechain-types/contracts/UBI/UBIPoolFactory.ts +95 -33
  26. package/typechain-types/contracts/UBI/index.ts +1 -4
  27. package/typechain-types/contracts/index.ts +4 -0
  28. package/typechain-types/contracts/test/HelperLibraryTest.ts +147 -0
  29. package/typechain-types/{@uniswap/v3-periphery/contracts/interfaces → contracts/test}/index.ts +1 -1
  30. package/typechain-types/contracts/utils/HelperLibrary.ts +46 -4
  31. package/typechain-types/factories/@uniswap/index.ts +0 -1
  32. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsFactory__factory.ts +25 -2
  33. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool__factory.ts +128 -1
  34. package/typechain-types/factories/contracts/GoodCollective/GoodCollectiveSuperApp__factory.ts +105 -1
  35. package/typechain-types/factories/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp__factory.ts +48 -0
  36. package/typechain-types/factories/contracts/GoodCollective/{GoodCollectiveSuperApp.sol → IGoodCollectiveSuperApp.sol}/IRegistry__factory.ts +1 -1
  37. package/typechain-types/factories/contracts/GoodCollective/{GoodCollectiveSuperApp.sol → IGoodCollectiveSuperApp.sol}/index.ts +1 -1
  38. package/typechain-types/factories/contracts/GoodCollective/index.ts +2 -1
  39. package/typechain-types/factories/contracts/{UBI/UBIPool.sol → Interfaces.sol}/IIdentityV2__factory.ts +1 -1
  40. package/typechain-types/factories/contracts/{UBI/UBIPool.sol → Interfaces.sol}/IMembersValidator__factory.ts +1 -1
  41. package/typechain-types/factories/contracts/{UBI/UBIPool.sol → Interfaces.sol}/index.ts +0 -1
  42. package/typechain-types/factories/contracts/UBI/UBIPoolFactory__factory.ts +76 -4
  43. package/typechain-types/factories/contracts/UBI/UBIPool__factory.ts +2052 -0
  44. package/typechain-types/factories/contracts/UBI/index.ts +1 -2
  45. package/typechain-types/factories/contracts/index.ts +2 -0
  46. package/typechain-types/factories/contracts/test/HelperLibraryTest__factory.ts +154 -0
  47. package/typechain-types/{@uniswap/v3-periphery → factories/contracts/test}/index.ts +1 -2
  48. package/typechain-types/factories/contracts/utils/HelperLibrary__factory.ts +31 -1
  49. package/typechain-types/hardhat.d.ts +18 -36
  50. package/typechain-types/index.ts +10 -14
  51. package/contracts/UBI/MultiClaimModule.sol +0 -78
  52. package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula.ts +0 -115
  53. package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +0 -4
  54. package/typechain-types/@uniswap/v3-periphery/contracts/index.ts +0 -5
  55. package/typechain-types/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.ts +0 -369
  56. package/typechain-types/contracts/GoodCollective/GoodCollectiveSuperApp.sol/GoodCollectiveSuperApp.ts +0 -1000
  57. package/typechain-types/contracts/UBI/MultiClaimModule.sol/IModule.ts +0 -196
  58. package/typechain-types/contracts/UBI/MultiClaimModule.sol/MultiClaimModule.ts +0 -242
  59. package/typechain-types/contracts/UBI/MultiClaimModule.sol/index.ts +0 -6
  60. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula__factory.ts +0 -60
  61. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +0 -4
  62. package/typechain-types/factories/@uniswap/v3-periphery/contracts/index.ts +0 -4
  63. package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter__factory.ts +0 -263
  64. package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/index.ts +0 -4
  65. package/typechain-types/factories/@uniswap/v3-periphery/index.ts +0 -4
  66. package/typechain-types/factories/contracts/GoodCollective/GoodCollectiveSuperApp.sol/GoodCollectiveSuperApp__factory.ts +0 -728
  67. package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/IClaimable__factory.ts +0 -33
  68. package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/IModule__factory.ts +0 -84
  69. package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/MultiClaimModule__factory.ts +0 -150
  70. package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/index.ts +0 -6
  71. package/typechain-types/factories/contracts/UBI/UBIPool.sol/UBIPool__factory.ts +0 -1835
  72. /package/typechain-types/contracts/GoodCollective/{GoodCollectiveSuperApp.sol → IGoodCollectiveSuperApp.sol}/IRegistry.ts +0 -0
@@ -1,196 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- Overrides,
12
- PopulatedTransaction,
13
- Signer,
14
- utils,
15
- } from "ethers";
16
- import type { FunctionFragment, Result } from "@ethersproject/abi";
17
- import type { Listener, Provider } from "@ethersproject/providers";
18
- import type {
19
- TypedEventFilter,
20
- TypedEvent,
21
- TypedListener,
22
- OnEvent,
23
- PromiseOrValue,
24
- } from "../../../common";
25
-
26
- export interface IModuleInterface extends utils.Interface {
27
- functions: {
28
- "getModuleTypes()": FunctionFragment;
29
- "isModuleType(uint256)": FunctionFragment;
30
- "onInstall(bytes)": FunctionFragment;
31
- "onUninstall(bytes)": FunctionFragment;
32
- };
33
-
34
- getFunction(
35
- nameOrSignatureOrTopic:
36
- | "getModuleTypes"
37
- | "isModuleType"
38
- | "onInstall"
39
- | "onUninstall"
40
- ): FunctionFragment;
41
-
42
- encodeFunctionData(
43
- functionFragment: "getModuleTypes",
44
- values?: undefined
45
- ): string;
46
- encodeFunctionData(
47
- functionFragment: "isModuleType",
48
- values: [PromiseOrValue<BigNumberish>]
49
- ): string;
50
- encodeFunctionData(
51
- functionFragment: "onInstall",
52
- values: [PromiseOrValue<BytesLike>]
53
- ): string;
54
- encodeFunctionData(
55
- functionFragment: "onUninstall",
56
- values: [PromiseOrValue<BytesLike>]
57
- ): string;
58
-
59
- decodeFunctionResult(
60
- functionFragment: "getModuleTypes",
61
- data: BytesLike
62
- ): Result;
63
- decodeFunctionResult(
64
- functionFragment: "isModuleType",
65
- data: BytesLike
66
- ): Result;
67
- decodeFunctionResult(functionFragment: "onInstall", data: BytesLike): Result;
68
- decodeFunctionResult(
69
- functionFragment: "onUninstall",
70
- data: BytesLike
71
- ): Result;
72
-
73
- events: {};
74
- }
75
-
76
- export interface IModule extends BaseContract {
77
- connect(signerOrProvider: Signer | Provider | string): this;
78
- attach(addressOrName: string): this;
79
- deployed(): Promise<this>;
80
-
81
- interface: IModuleInterface;
82
-
83
- queryFilter<TEvent extends TypedEvent>(
84
- event: TypedEventFilter<TEvent>,
85
- fromBlockOrBlockhash?: string | number | undefined,
86
- toBlock?: string | number | undefined
87
- ): Promise<Array<TEvent>>;
88
-
89
- listeners<TEvent extends TypedEvent>(
90
- eventFilter?: TypedEventFilter<TEvent>
91
- ): Array<TypedListener<TEvent>>;
92
- listeners(eventName?: string): Array<Listener>;
93
- removeAllListeners<TEvent extends TypedEvent>(
94
- eventFilter: TypedEventFilter<TEvent>
95
- ): this;
96
- removeAllListeners(eventName?: string): this;
97
- off: OnEvent<this>;
98
- on: OnEvent<this>;
99
- once: OnEvent<this>;
100
- removeListener: OnEvent<this>;
101
-
102
- functions: {
103
- getModuleTypes(overrides?: CallOverrides): Promise<[BigNumber]>;
104
-
105
- isModuleType(
106
- typeID: PromiseOrValue<BigNumberish>,
107
- overrides?: CallOverrides
108
- ): Promise<[boolean]>;
109
-
110
- onInstall(
111
- data: PromiseOrValue<BytesLike>,
112
- overrides?: Overrides & { from?: PromiseOrValue<string> }
113
- ): Promise<ContractTransaction>;
114
-
115
- onUninstall(
116
- data: PromiseOrValue<BytesLike>,
117
- overrides?: Overrides & { from?: PromiseOrValue<string> }
118
- ): Promise<ContractTransaction>;
119
- };
120
-
121
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
122
-
123
- isModuleType(
124
- typeID: PromiseOrValue<BigNumberish>,
125
- overrides?: CallOverrides
126
- ): Promise<boolean>;
127
-
128
- onInstall(
129
- data: PromiseOrValue<BytesLike>,
130
- overrides?: Overrides & { from?: PromiseOrValue<string> }
131
- ): Promise<ContractTransaction>;
132
-
133
- onUninstall(
134
- data: PromiseOrValue<BytesLike>,
135
- overrides?: Overrides & { from?: PromiseOrValue<string> }
136
- ): Promise<ContractTransaction>;
137
-
138
- callStatic: {
139
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
140
-
141
- isModuleType(
142
- typeID: PromiseOrValue<BigNumberish>,
143
- overrides?: CallOverrides
144
- ): Promise<boolean>;
145
-
146
- onInstall(
147
- data: PromiseOrValue<BytesLike>,
148
- overrides?: CallOverrides
149
- ): Promise<void>;
150
-
151
- onUninstall(
152
- data: PromiseOrValue<BytesLike>,
153
- overrides?: CallOverrides
154
- ): Promise<void>;
155
- };
156
-
157
- filters: {};
158
-
159
- estimateGas: {
160
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
161
-
162
- isModuleType(
163
- typeID: PromiseOrValue<BigNumberish>,
164
- overrides?: CallOverrides
165
- ): Promise<BigNumber>;
166
-
167
- onInstall(
168
- data: PromiseOrValue<BytesLike>,
169
- overrides?: Overrides & { from?: PromiseOrValue<string> }
170
- ): Promise<BigNumber>;
171
-
172
- onUninstall(
173
- data: PromiseOrValue<BytesLike>,
174
- overrides?: Overrides & { from?: PromiseOrValue<string> }
175
- ): Promise<BigNumber>;
176
- };
177
-
178
- populateTransaction: {
179
- getModuleTypes(overrides?: CallOverrides): Promise<PopulatedTransaction>;
180
-
181
- isModuleType(
182
- typeID: PromiseOrValue<BigNumberish>,
183
- overrides?: CallOverrides
184
- ): Promise<PopulatedTransaction>;
185
-
186
- onInstall(
187
- data: PromiseOrValue<BytesLike>,
188
- overrides?: Overrides & { from?: PromiseOrValue<string> }
189
- ): Promise<PopulatedTransaction>;
190
-
191
- onUninstall(
192
- data: PromiseOrValue<BytesLike>,
193
- overrides?: Overrides & { from?: PromiseOrValue<string> }
194
- ): Promise<PopulatedTransaction>;
195
- };
196
- }
@@ -1,242 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import type {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- Overrides,
12
- PopulatedTransaction,
13
- Signer,
14
- utils,
15
- } from "ethers";
16
- import type { FunctionFragment, Result } from "@ethersproject/abi";
17
- import type { Listener, Provider } from "@ethersproject/providers";
18
- import type {
19
- TypedEventFilter,
20
- TypedEvent,
21
- TypedListener,
22
- OnEvent,
23
- PromiseOrValue,
24
- } from "../../../common";
25
-
26
- export interface MultiClaimModuleInterface extends utils.Interface {
27
- functions: {
28
- "getModuleTypes()": FunctionFragment;
29
- "isModuleType(uint256)": FunctionFragment;
30
- "multiClaim(address[],address,address)": FunctionFragment;
31
- "onInstall(bytes)": FunctionFragment;
32
- "onUninstall(bytes)": FunctionFragment;
33
- };
34
-
35
- getFunction(
36
- nameOrSignatureOrTopic:
37
- | "getModuleTypes"
38
- | "isModuleType"
39
- | "multiClaim"
40
- | "onInstall"
41
- | "onUninstall"
42
- ): FunctionFragment;
43
-
44
- encodeFunctionData(
45
- functionFragment: "getModuleTypes",
46
- values?: undefined
47
- ): string;
48
- encodeFunctionData(
49
- functionFragment: "isModuleType",
50
- values: [PromiseOrValue<BigNumberish>]
51
- ): string;
52
- encodeFunctionData(
53
- functionFragment: "multiClaim",
54
- values: [
55
- PromiseOrValue<string>[],
56
- PromiseOrValue<string>,
57
- PromiseOrValue<string>
58
- ]
59
- ): string;
60
- encodeFunctionData(
61
- functionFragment: "onInstall",
62
- values: [PromiseOrValue<BytesLike>]
63
- ): string;
64
- encodeFunctionData(
65
- functionFragment: "onUninstall",
66
- values: [PromiseOrValue<BytesLike>]
67
- ): string;
68
-
69
- decodeFunctionResult(
70
- functionFragment: "getModuleTypes",
71
- data: BytesLike
72
- ): Result;
73
- decodeFunctionResult(
74
- functionFragment: "isModuleType",
75
- data: BytesLike
76
- ): Result;
77
- decodeFunctionResult(functionFragment: "multiClaim", data: BytesLike): Result;
78
- decodeFunctionResult(functionFragment: "onInstall", data: BytesLike): Result;
79
- decodeFunctionResult(
80
- functionFragment: "onUninstall",
81
- data: BytesLike
82
- ): Result;
83
-
84
- events: {};
85
- }
86
-
87
- export interface MultiClaimModule extends BaseContract {
88
- connect(signerOrProvider: Signer | Provider | string): this;
89
- attach(addressOrName: string): this;
90
- deployed(): Promise<this>;
91
-
92
- interface: MultiClaimModuleInterface;
93
-
94
- queryFilter<TEvent extends TypedEvent>(
95
- event: TypedEventFilter<TEvent>,
96
- fromBlockOrBlockhash?: string | number | undefined,
97
- toBlock?: string | number | undefined
98
- ): Promise<Array<TEvent>>;
99
-
100
- listeners<TEvent extends TypedEvent>(
101
- eventFilter?: TypedEventFilter<TEvent>
102
- ): Array<TypedListener<TEvent>>;
103
- listeners(eventName?: string): Array<Listener>;
104
- removeAllListeners<TEvent extends TypedEvent>(
105
- eventFilter: TypedEventFilter<TEvent>
106
- ): this;
107
- removeAllListeners(eventName?: string): this;
108
- off: OnEvent<this>;
109
- on: OnEvent<this>;
110
- once: OnEvent<this>;
111
- removeListener: OnEvent<this>;
112
-
113
- functions: {
114
- getModuleTypes(overrides?: CallOverrides): Promise<[BigNumber]>;
115
-
116
- isModuleType(
117
- typeID: PromiseOrValue<BigNumberish>,
118
- overrides?: CallOverrides
119
- ): Promise<[boolean]>;
120
-
121
- multiClaim(
122
- contracts: PromiseOrValue<string>[],
123
- token: PromiseOrValue<string>,
124
- recipient: PromiseOrValue<string>,
125
- overrides?: Overrides & { from?: PromiseOrValue<string> }
126
- ): Promise<ContractTransaction>;
127
-
128
- onInstall(
129
- data: PromiseOrValue<BytesLike>,
130
- overrides?: Overrides & { from?: PromiseOrValue<string> }
131
- ): Promise<ContractTransaction>;
132
-
133
- onUninstall(
134
- data: PromiseOrValue<BytesLike>,
135
- overrides?: Overrides & { from?: PromiseOrValue<string> }
136
- ): Promise<ContractTransaction>;
137
- };
138
-
139
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
140
-
141
- isModuleType(
142
- typeID: PromiseOrValue<BigNumberish>,
143
- overrides?: CallOverrides
144
- ): Promise<boolean>;
145
-
146
- multiClaim(
147
- contracts: PromiseOrValue<string>[],
148
- token: PromiseOrValue<string>,
149
- recipient: PromiseOrValue<string>,
150
- overrides?: Overrides & { from?: PromiseOrValue<string> }
151
- ): Promise<ContractTransaction>;
152
-
153
- onInstall(
154
- data: PromiseOrValue<BytesLike>,
155
- overrides?: Overrides & { from?: PromiseOrValue<string> }
156
- ): Promise<ContractTransaction>;
157
-
158
- onUninstall(
159
- data: PromiseOrValue<BytesLike>,
160
- overrides?: Overrides & { from?: PromiseOrValue<string> }
161
- ): Promise<ContractTransaction>;
162
-
163
- callStatic: {
164
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
165
-
166
- isModuleType(
167
- typeID: PromiseOrValue<BigNumberish>,
168
- overrides?: CallOverrides
169
- ): Promise<boolean>;
170
-
171
- multiClaim(
172
- contracts: PromiseOrValue<string>[],
173
- token: PromiseOrValue<string>,
174
- recipient: PromiseOrValue<string>,
175
- overrides?: CallOverrides
176
- ): Promise<boolean[]>;
177
-
178
- onInstall(
179
- data: PromiseOrValue<BytesLike>,
180
- overrides?: CallOverrides
181
- ): Promise<void>;
182
-
183
- onUninstall(
184
- data: PromiseOrValue<BytesLike>,
185
- overrides?: CallOverrides
186
- ): Promise<void>;
187
- };
188
-
189
- filters: {};
190
-
191
- estimateGas: {
192
- getModuleTypes(overrides?: CallOverrides): Promise<BigNumber>;
193
-
194
- isModuleType(
195
- typeID: PromiseOrValue<BigNumberish>,
196
- overrides?: CallOverrides
197
- ): Promise<BigNumber>;
198
-
199
- multiClaim(
200
- contracts: PromiseOrValue<string>[],
201
- token: PromiseOrValue<string>,
202
- recipient: PromiseOrValue<string>,
203
- overrides?: Overrides & { from?: PromiseOrValue<string> }
204
- ): Promise<BigNumber>;
205
-
206
- onInstall(
207
- data: PromiseOrValue<BytesLike>,
208
- overrides?: Overrides & { from?: PromiseOrValue<string> }
209
- ): Promise<BigNumber>;
210
-
211
- onUninstall(
212
- data: PromiseOrValue<BytesLike>,
213
- overrides?: Overrides & { from?: PromiseOrValue<string> }
214
- ): Promise<BigNumber>;
215
- };
216
-
217
- populateTransaction: {
218
- getModuleTypes(overrides?: CallOverrides): Promise<PopulatedTransaction>;
219
-
220
- isModuleType(
221
- typeID: PromiseOrValue<BigNumberish>,
222
- overrides?: CallOverrides
223
- ): Promise<PopulatedTransaction>;
224
-
225
- multiClaim(
226
- contracts: PromiseOrValue<string>[],
227
- token: PromiseOrValue<string>,
228
- recipient: PromiseOrValue<string>,
229
- overrides?: Overrides & { from?: PromiseOrValue<string> }
230
- ): Promise<PopulatedTransaction>;
231
-
232
- onInstall(
233
- data: PromiseOrValue<BytesLike>,
234
- overrides?: Overrides & { from?: PromiseOrValue<string> }
235
- ): Promise<PopulatedTransaction>;
236
-
237
- onUninstall(
238
- data: PromiseOrValue<BytesLike>,
239
- overrides?: Overrides & { from?: PromiseOrValue<string> }
240
- ): Promise<PopulatedTransaction>;
241
- };
242
- }
@@ -1,6 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- export type { IClaimable } from "./IClaimable";
5
- export type { IModule } from "./IModule";
6
- export type { MultiClaimModule } from "./MultiClaimModule";
@@ -1,60 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import type { Provider } from "@ethersproject/providers";
7
- import type {
8
- IFeesFormula,
9
- IFeesFormulaInterface,
10
- } from "../../../../../../@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula";
11
-
12
- const _abi = [
13
- {
14
- inputs: [
15
- {
16
- internalType: "uint256",
17
- name: "value",
18
- type: "uint256",
19
- },
20
- {
21
- internalType: "address",
22
- name: "sender",
23
- type: "address",
24
- },
25
- {
26
- internalType: "address",
27
- name: "recipient",
28
- type: "address",
29
- },
30
- ],
31
- name: "getTxFees",
32
- outputs: [
33
- {
34
- internalType: "uint256",
35
- name: "fee",
36
- type: "uint256",
37
- },
38
- {
39
- internalType: "bool",
40
- name: "senderPays",
41
- type: "bool",
42
- },
43
- ],
44
- stateMutability: "view",
45
- type: "function",
46
- },
47
- ] as const;
48
-
49
- export class IFeesFormula__factory {
50
- static readonly abi = _abi;
51
- static createInterface(): IFeesFormulaInterface {
52
- return new utils.Interface(_abi) as IFeesFormulaInterface;
53
- }
54
- static connect(
55
- address: string,
56
- signerOrProvider: Signer | Provider
57
- ): IFeesFormula {
58
- return new Contract(address, _abi, signerOrProvider) as IFeesFormula;
59
- }
60
- }
@@ -1,4 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- export { IFeesFormula__factory } from "./IFeesFormula__factory";
@@ -1,4 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- export * as interfaces from "./interfaces";