@gooddollar/goodcollective-contracts 1.3.0 → 1.4.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.
- package/artifacts/contracts/DirectPayments/DirectPaymentsFactory.sol/DirectPaymentsFactory.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsFactory.sol/DirectPaymentsFactory.json +995 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPaymentsLibrary.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPaymentsLibrary.json +113 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.json +2210 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/IIdentityV2.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/IIdentityV2.json +30 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator.json +45 -0
- package/artifacts/contracts/DirectPayments/ProvableNFT.sol/ProvableNFT.dbg.json +4 -0
- package/artifacts/contracts/DirectPayments/ProvableNFT.sol/ProvableNFT.json +1187 -0
- package/artifacts/contracts/GoodCollective/GoodCollectiveSuperApp.sol/GoodCollectiveSuperApp.dbg.json +4 -0
- package/artifacts/contracts/GoodCollective/GoodCollectiveSuperApp.sol/GoodCollectiveSuperApp.json +831 -0
- package/artifacts/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp.dbg.json +4 -0
- package/artifacts/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp.json +42 -0
- package/artifacts/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IRegistry.dbg.json +4 -0
- package/artifacts/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IRegistry.json +61 -0
- package/artifacts/contracts/GoodCollective/SuperAppBaseFlow.sol/IRegisterSuperapp.dbg.json +4 -0
- package/artifacts/contracts/GoodCollective/SuperAppBaseFlow.sol/IRegisterSuperapp.json +47 -0
- package/artifacts/contracts/GoodCollective/SuperAppBaseFlow.sol/SuperAppBaseFlow.dbg.json +4 -0
- package/artifacts/contracts/GoodCollective/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +320 -0
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.dbg.json +4 -0
- package/artifacts/contracts/Interfaces.sol/IIdentityV2.json +30 -0
- package/artifacts/contracts/Interfaces.sol/IMembersValidator.dbg.json +4 -0
- package/artifacts/contracts/Interfaces.sol/IMembersValidator.json +45 -0
- package/artifacts/contracts/UBI/UBIPool.sol/UBIPool.dbg.json +4 -0
- package/artifacts/contracts/UBI/UBIPool.sol/UBIPool.json +2078 -0
- package/artifacts/contracts/UBI/UBIPoolFactory.sol/UBIPoolFactory.dbg.json +4 -0
- package/artifacts/contracts/UBI/UBIPoolFactory.sol/UBIPoolFactory.json +1011 -0
- package/artifacts/contracts/test/HelperLibraryTest.sol/HelperLibraryTest.dbg.json +4 -0
- package/artifacts/contracts/test/HelperLibraryTest.sol/HelperLibraryTest.json +90 -0
- package/artifacts/contracts/utils/HelperLibrary.sol/HelperLibrary.dbg.json +4 -0
- package/artifacts/contracts/utils/HelperLibrary.sol/HelperLibrary.json +117 -0
- package/artifacts/contracts/utils/SwapRouterMock.sol/SwapRouterMock.dbg.json +4 -0
- package/artifacts/contracts/utils/SwapRouterMock.sol/SwapRouterMock.json +119 -0
- package/contracts/DirectPayments/DirectPaymentsFactory.sol +32 -6
- package/contracts/DirectPayments/DirectPaymentsLibrary.sol +168 -14
- package/contracts/DirectPayments/DirectPaymentsPool.sol +31 -116
- package/contracts/GoodCollective/GoodCollectiveSuperApp.sol +7 -6
- package/contracts/GoodCollective/IGoodCollectiveSuperApp.sol +4 -0
- package/contracts/GoodCollective/SuperAppBaseFlow.sol +6 -0
- package/contracts/UBI/UBIPool.sol +62 -18
- package/contracts/UBI/UBIPoolFactory.sol +32 -4
- package/contracts/utils/HelperLibrary.sol +10 -0
- package/contracts/utils/Recover.sol +16 -0
- package/package.json +4 -4
- package/releases/deployment.json +7417 -30724
- package/typechain-types/contracts/DirectPayments/DirectPaymentsFactory.ts +54 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPayemntsLibrary.ts +77 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPaymentsLibrary.ts +77 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsLibrary.sol/index.ts +5 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsLibrary.ts +146 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts +90 -11
- package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator.ts +6 -8
- package/typechain-types/contracts/DirectPayments/index.ts +1 -0
- package/typechain-types/contracts/GoodCollective/GoodCollectiveSuperApp.ts +40 -0
- package/typechain-types/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp.ts +22 -1
- package/typechain-types/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IRegistry.ts +38 -1
- package/typechain-types/contracts/GoodCollective/SuperAppBaseFlow.sol/IRegisterSuperapp.ts +152 -0
- package/typechain-types/contracts/GoodCollective/SuperAppBaseFlow.sol/SuperAppBaseFlow.ts +523 -0
- package/typechain-types/contracts/GoodCollective/SuperAppBaseFlow.sol/index.ts +5 -0
- package/typechain-types/contracts/GoodCollective/index.ts +2 -1
- package/typechain-types/contracts/UBI/MultiClaimModule.sol/IClaimable.ts +92 -0
- package/typechain-types/contracts/UBI/MultiClaimModule.sol/IModule.ts +196 -0
- package/typechain-types/contracts/UBI/MultiClaimModule.sol/MultiClaimModule.ts +242 -0
- package/typechain-types/contracts/UBI/MultiClaimModule.sol/index.ts +6 -0
- package/typechain-types/contracts/UBI/UBIPool.ts +77 -0
- package/typechain-types/contracts/UBI/UBIPoolFactory.ts +54 -0
- package/typechain-types/contracts/utils/Recover.ts +263 -0
- package/typechain-types/contracts/utils/index.ts +1 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsFactory__factory.ts +38 -1
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPayemntsLibrary__factory.ts +96 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsLibrary.sol/DirectPaymentsLibrary__factory.ts +96 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsLibrary.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsLibrary__factory.ts +169 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool__factory.ts +53 -2
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/IMembersValidator__factory.ts +1 -1
- package/typechain-types/factories/contracts/DirectPayments/index.ts +1 -0
- package/typechain-types/factories/contracts/GoodCollective/GoodCollectiveSuperApp__factory.ts +18 -0
- package/typechain-types/factories/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IGoodCollectiveSuperApp__factory.ts +13 -0
- package/typechain-types/factories/contracts/GoodCollective/IGoodCollectiveSuperApp.sol/IRegistry__factory.ts +24 -0
- package/typechain-types/factories/contracts/GoodCollective/SuperAppBaseFlow.sol/IRegisterSuperapp__factory.ts +62 -0
- package/typechain-types/factories/contracts/GoodCollective/SuperAppBaseFlow.sol/SuperAppBaseFlow__factory.ts +335 -0
- package/typechain-types/factories/contracts/GoodCollective/SuperAppBaseFlow.sol/index.ts +5 -0
- package/typechain-types/factories/contracts/GoodCollective/index.ts +1 -1
- package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/IClaimable__factory.ts +33 -0
- package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/IModule__factory.ts +84 -0
- package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/MultiClaimModule__factory.ts +150 -0
- package/typechain-types/factories/contracts/UBI/MultiClaimModule.sol/index.ts +6 -0
- package/typechain-types/factories/contracts/UBI/UBIPoolFactory__factory.ts +38 -1
- package/typechain-types/factories/contracts/UBI/UBIPool__factory.ts +42 -1
- package/typechain-types/factories/contracts/test/HelperLibraryTest__factory.ts +1 -1
- package/typechain-types/factories/contracts/utils/HelperLibrary__factory.ts +11 -1
- package/typechain-types/factories/contracts/utils/Recover__factory.ts +172 -0
- package/typechain-types/factories/contracts/utils/index.ts +1 -0
- package/typechain-types/hardhat.d.ts +27 -0
- package/typechain-types/index.ts +8 -2
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
ContractTransaction,
|
|
10
|
+
Overrides,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
Signer,
|
|
13
|
+
utils,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedEventFilter,
|
|
19
|
+
TypedEvent,
|
|
20
|
+
TypedListener,
|
|
21
|
+
OnEvent,
|
|
22
|
+
PromiseOrValue,
|
|
23
|
+
} from "../../../common";
|
|
24
|
+
|
|
25
|
+
export interface IClaimableInterface extends utils.Interface {
|
|
26
|
+
functions: {
|
|
27
|
+
"claim()": FunctionFragment;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
getFunction(nameOrSignatureOrTopic: "claim"): FunctionFragment;
|
|
31
|
+
|
|
32
|
+
encodeFunctionData(functionFragment: "claim", values?: undefined): string;
|
|
33
|
+
|
|
34
|
+
decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result;
|
|
35
|
+
|
|
36
|
+
events: {};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface IClaimable extends BaseContract {
|
|
40
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
41
|
+
attach(addressOrName: string): this;
|
|
42
|
+
deployed(): Promise<this>;
|
|
43
|
+
|
|
44
|
+
interface: IClaimableInterface;
|
|
45
|
+
|
|
46
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
47
|
+
event: TypedEventFilter<TEvent>,
|
|
48
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
49
|
+
toBlock?: string | number | undefined
|
|
50
|
+
): Promise<Array<TEvent>>;
|
|
51
|
+
|
|
52
|
+
listeners<TEvent extends TypedEvent>(
|
|
53
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
54
|
+
): Array<TypedListener<TEvent>>;
|
|
55
|
+
listeners(eventName?: string): Array<Listener>;
|
|
56
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
57
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
58
|
+
): this;
|
|
59
|
+
removeAllListeners(eventName?: string): this;
|
|
60
|
+
off: OnEvent<this>;
|
|
61
|
+
on: OnEvent<this>;
|
|
62
|
+
once: OnEvent<this>;
|
|
63
|
+
removeListener: OnEvent<this>;
|
|
64
|
+
|
|
65
|
+
functions: {
|
|
66
|
+
claim(
|
|
67
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
68
|
+
): Promise<ContractTransaction>;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
claim(
|
|
72
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
73
|
+
): Promise<ContractTransaction>;
|
|
74
|
+
|
|
75
|
+
callStatic: {
|
|
76
|
+
claim(overrides?: CallOverrides): Promise<void>;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
filters: {};
|
|
80
|
+
|
|
81
|
+
estimateGas: {
|
|
82
|
+
claim(
|
|
83
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
84
|
+
): Promise<BigNumber>;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
populateTransaction: {
|
|
88
|
+
claim(
|
|
89
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
90
|
+
): Promise<PopulatedTransaction>;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
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
|
+
}
|