@coti-io/coti-contracts 1.0.9 → 1.1.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/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.sol +260 -0
- package/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.sol +264 -0
- package/contracts/mocks/utils/mpc/Bitwise128BitTestsContract.sol +91 -0
- package/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.sol +91 -0
- package/contracts/mocks/utils/mpc/Comparison128BitTestsContract.sol +158 -0
- package/contracts/mocks/utils/mpc/Comparison256BitTestsContract.sol +158 -0
- package/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.sol +185 -0
- package/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.sol +190 -0
- package/contracts/utils/mpc/MpcCore.sol +2804 -180
- package/package.json +1 -1
- package/test/token/PrivateERC20/PrivateERC20.test.ts +3 -3
- package/test/utils/mpc/Unsigned128BitIntegers.test.ts +945 -0
- package/test/utils/mpc/Unsigned256BitIntegers.test.ts +1124 -0
- package/test/utils/mpc/helpers.ts +77 -0
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract.ts +341 -0
- package/typechain-types/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract.ts +347 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise128BitTestsContract.ts +186 -0
- package/typechain-types/contracts/mocks/utils/mpc/Bitwise256BitTestsContract.ts +186 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison128BitTestsContract.ts +260 -0
- package/typechain-types/contracts/mocks/utils/mpc/Comparison256BitTestsContract.ts +260 -0
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract.ts +302 -0
- package/typechain-types/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract.ts +322 -0
- package/typechain-types/contracts/mocks/utils/mpc/index.ts +8 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic128BitTestsContract__factory.ts +349 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Arithmetic256BitTestsContract__factory.ts +364 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise128BitTestsContract__factory.ts +182 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Bitwise256BitTestsContract__factory.ts +182 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison128BitTestsContract__factory.ts +255 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Comparison256BitTestsContract__factory.ts +255 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous128BitTestsContract__factory.ts +332 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/Miscellaneous256BitTestsContract__factory.ts +380 -0
- package/typechain-types/factories/contracts/mocks/utils/mpc/index.ts +8 -0
- package/typechain-types/hardhat.d.ts +144 -0
- package/typechain-types/index.ts +16 -0
- package/contracts/package.json +0 -11
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumberish,
|
|
7
|
+
BytesLike,
|
|
8
|
+
FunctionFragment,
|
|
9
|
+
Result,
|
|
10
|
+
Interface,
|
|
11
|
+
ContractRunner,
|
|
12
|
+
ContractMethod,
|
|
13
|
+
Listener,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type {
|
|
16
|
+
TypedContractEvent,
|
|
17
|
+
TypedDeferredTopicFilter,
|
|
18
|
+
TypedEventLog,
|
|
19
|
+
TypedListener,
|
|
20
|
+
TypedContractMethod,
|
|
21
|
+
} from "../../../../common";
|
|
22
|
+
|
|
23
|
+
export interface Comparison128BitTestsContractInterface extends Interface {
|
|
24
|
+
getFunction(
|
|
25
|
+
nameOrSignature:
|
|
26
|
+
| "boolResults"
|
|
27
|
+
| "eqTest"
|
|
28
|
+
| "geTest"
|
|
29
|
+
| "gtTest"
|
|
30
|
+
| "leTest"
|
|
31
|
+
| "ltTest"
|
|
32
|
+
| "maxTest"
|
|
33
|
+
| "minTest"
|
|
34
|
+
| "neTest"
|
|
35
|
+
| "uintResults"
|
|
36
|
+
): FunctionFragment;
|
|
37
|
+
|
|
38
|
+
encodeFunctionData(
|
|
39
|
+
functionFragment: "boolResults",
|
|
40
|
+
values: [BigNumberish]
|
|
41
|
+
): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "eqTest",
|
|
44
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "geTest",
|
|
48
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
49
|
+
): string;
|
|
50
|
+
encodeFunctionData(
|
|
51
|
+
functionFragment: "gtTest",
|
|
52
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
53
|
+
): string;
|
|
54
|
+
encodeFunctionData(
|
|
55
|
+
functionFragment: "leTest",
|
|
56
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
57
|
+
): string;
|
|
58
|
+
encodeFunctionData(
|
|
59
|
+
functionFragment: "ltTest",
|
|
60
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
61
|
+
): string;
|
|
62
|
+
encodeFunctionData(
|
|
63
|
+
functionFragment: "maxTest",
|
|
64
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
65
|
+
): string;
|
|
66
|
+
encodeFunctionData(
|
|
67
|
+
functionFragment: "minTest",
|
|
68
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
69
|
+
): string;
|
|
70
|
+
encodeFunctionData(
|
|
71
|
+
functionFragment: "neTest",
|
|
72
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
73
|
+
): string;
|
|
74
|
+
encodeFunctionData(
|
|
75
|
+
functionFragment: "uintResults",
|
|
76
|
+
values: [BigNumberish]
|
|
77
|
+
): string;
|
|
78
|
+
|
|
79
|
+
decodeFunctionResult(
|
|
80
|
+
functionFragment: "boolResults",
|
|
81
|
+
data: BytesLike
|
|
82
|
+
): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "eqTest", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "geTest", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "gtTest", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "leTest", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "ltTest", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "maxTest", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "minTest", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "neTest", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(
|
|
92
|
+
functionFragment: "uintResults",
|
|
93
|
+
data: BytesLike
|
|
94
|
+
): Result;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface Comparison128BitTestsContract extends BaseContract {
|
|
98
|
+
connect(runner?: ContractRunner | null): Comparison128BitTestsContract;
|
|
99
|
+
waitForDeployment(): Promise<this>;
|
|
100
|
+
|
|
101
|
+
interface: Comparison128BitTestsContractInterface;
|
|
102
|
+
|
|
103
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
104
|
+
event: TCEvent,
|
|
105
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
106
|
+
toBlock?: string | number | undefined
|
|
107
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
108
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
109
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
110
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
111
|
+
toBlock?: string | number | undefined
|
|
112
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
113
|
+
|
|
114
|
+
on<TCEvent extends TypedContractEvent>(
|
|
115
|
+
event: TCEvent,
|
|
116
|
+
listener: TypedListener<TCEvent>
|
|
117
|
+
): Promise<this>;
|
|
118
|
+
on<TCEvent extends TypedContractEvent>(
|
|
119
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
120
|
+
listener: TypedListener<TCEvent>
|
|
121
|
+
): Promise<this>;
|
|
122
|
+
|
|
123
|
+
once<TCEvent extends TypedContractEvent>(
|
|
124
|
+
event: TCEvent,
|
|
125
|
+
listener: TypedListener<TCEvent>
|
|
126
|
+
): Promise<this>;
|
|
127
|
+
once<TCEvent extends TypedContractEvent>(
|
|
128
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
129
|
+
listener: TypedListener<TCEvent>
|
|
130
|
+
): Promise<this>;
|
|
131
|
+
|
|
132
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
133
|
+
event: TCEvent
|
|
134
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
135
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
136
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
137
|
+
event?: TCEvent
|
|
138
|
+
): Promise<this>;
|
|
139
|
+
|
|
140
|
+
boolResults: TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
141
|
+
|
|
142
|
+
eqTest: TypedContractMethod<
|
|
143
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
144
|
+
[void],
|
|
145
|
+
"nonpayable"
|
|
146
|
+
>;
|
|
147
|
+
|
|
148
|
+
geTest: TypedContractMethod<
|
|
149
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
150
|
+
[void],
|
|
151
|
+
"nonpayable"
|
|
152
|
+
>;
|
|
153
|
+
|
|
154
|
+
gtTest: TypedContractMethod<
|
|
155
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
156
|
+
[void],
|
|
157
|
+
"nonpayable"
|
|
158
|
+
>;
|
|
159
|
+
|
|
160
|
+
leTest: TypedContractMethod<
|
|
161
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
162
|
+
[void],
|
|
163
|
+
"nonpayable"
|
|
164
|
+
>;
|
|
165
|
+
|
|
166
|
+
ltTest: TypedContractMethod<
|
|
167
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
168
|
+
[void],
|
|
169
|
+
"nonpayable"
|
|
170
|
+
>;
|
|
171
|
+
|
|
172
|
+
maxTest: TypedContractMethod<
|
|
173
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
174
|
+
[void],
|
|
175
|
+
"nonpayable"
|
|
176
|
+
>;
|
|
177
|
+
|
|
178
|
+
minTest: TypedContractMethod<
|
|
179
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
180
|
+
[void],
|
|
181
|
+
"nonpayable"
|
|
182
|
+
>;
|
|
183
|
+
|
|
184
|
+
neTest: TypedContractMethod<
|
|
185
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
186
|
+
[void],
|
|
187
|
+
"nonpayable"
|
|
188
|
+
>;
|
|
189
|
+
|
|
190
|
+
uintResults: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
191
|
+
|
|
192
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
193
|
+
key: string | FunctionFragment
|
|
194
|
+
): T;
|
|
195
|
+
|
|
196
|
+
getFunction(
|
|
197
|
+
nameOrSignature: "boolResults"
|
|
198
|
+
): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
199
|
+
getFunction(
|
|
200
|
+
nameOrSignature: "eqTest"
|
|
201
|
+
): TypedContractMethod<
|
|
202
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
203
|
+
[void],
|
|
204
|
+
"nonpayable"
|
|
205
|
+
>;
|
|
206
|
+
getFunction(
|
|
207
|
+
nameOrSignature: "geTest"
|
|
208
|
+
): TypedContractMethod<
|
|
209
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
210
|
+
[void],
|
|
211
|
+
"nonpayable"
|
|
212
|
+
>;
|
|
213
|
+
getFunction(
|
|
214
|
+
nameOrSignature: "gtTest"
|
|
215
|
+
): TypedContractMethod<
|
|
216
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
217
|
+
[void],
|
|
218
|
+
"nonpayable"
|
|
219
|
+
>;
|
|
220
|
+
getFunction(
|
|
221
|
+
nameOrSignature: "leTest"
|
|
222
|
+
): TypedContractMethod<
|
|
223
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
224
|
+
[void],
|
|
225
|
+
"nonpayable"
|
|
226
|
+
>;
|
|
227
|
+
getFunction(
|
|
228
|
+
nameOrSignature: "ltTest"
|
|
229
|
+
): TypedContractMethod<
|
|
230
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
231
|
+
[void],
|
|
232
|
+
"nonpayable"
|
|
233
|
+
>;
|
|
234
|
+
getFunction(
|
|
235
|
+
nameOrSignature: "maxTest"
|
|
236
|
+
): TypedContractMethod<
|
|
237
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
238
|
+
[void],
|
|
239
|
+
"nonpayable"
|
|
240
|
+
>;
|
|
241
|
+
getFunction(
|
|
242
|
+
nameOrSignature: "minTest"
|
|
243
|
+
): TypedContractMethod<
|
|
244
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
245
|
+
[void],
|
|
246
|
+
"nonpayable"
|
|
247
|
+
>;
|
|
248
|
+
getFunction(
|
|
249
|
+
nameOrSignature: "neTest"
|
|
250
|
+
): TypedContractMethod<
|
|
251
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
252
|
+
[void],
|
|
253
|
+
"nonpayable"
|
|
254
|
+
>;
|
|
255
|
+
getFunction(
|
|
256
|
+
nameOrSignature: "uintResults"
|
|
257
|
+
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
258
|
+
|
|
259
|
+
filters: {};
|
|
260
|
+
}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumberish,
|
|
7
|
+
BytesLike,
|
|
8
|
+
FunctionFragment,
|
|
9
|
+
Result,
|
|
10
|
+
Interface,
|
|
11
|
+
ContractRunner,
|
|
12
|
+
ContractMethod,
|
|
13
|
+
Listener,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type {
|
|
16
|
+
TypedContractEvent,
|
|
17
|
+
TypedDeferredTopicFilter,
|
|
18
|
+
TypedEventLog,
|
|
19
|
+
TypedListener,
|
|
20
|
+
TypedContractMethod,
|
|
21
|
+
} from "../../../../common";
|
|
22
|
+
|
|
23
|
+
export interface Comparison256BitTestsContractInterface extends Interface {
|
|
24
|
+
getFunction(
|
|
25
|
+
nameOrSignature:
|
|
26
|
+
| "boolResults"
|
|
27
|
+
| "eqTest"
|
|
28
|
+
| "geTest"
|
|
29
|
+
| "gtTest"
|
|
30
|
+
| "leTest"
|
|
31
|
+
| "ltTest"
|
|
32
|
+
| "maxTest"
|
|
33
|
+
| "minTest"
|
|
34
|
+
| "neTest"
|
|
35
|
+
| "uintResults2"
|
|
36
|
+
): FunctionFragment;
|
|
37
|
+
|
|
38
|
+
encodeFunctionData(
|
|
39
|
+
functionFragment: "boolResults",
|
|
40
|
+
values: [BigNumberish]
|
|
41
|
+
): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "eqTest",
|
|
44
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "geTest",
|
|
48
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
49
|
+
): string;
|
|
50
|
+
encodeFunctionData(
|
|
51
|
+
functionFragment: "gtTest",
|
|
52
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
53
|
+
): string;
|
|
54
|
+
encodeFunctionData(
|
|
55
|
+
functionFragment: "leTest",
|
|
56
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
57
|
+
): string;
|
|
58
|
+
encodeFunctionData(
|
|
59
|
+
functionFragment: "ltTest",
|
|
60
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
61
|
+
): string;
|
|
62
|
+
encodeFunctionData(
|
|
63
|
+
functionFragment: "maxTest",
|
|
64
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
65
|
+
): string;
|
|
66
|
+
encodeFunctionData(
|
|
67
|
+
functionFragment: "minTest",
|
|
68
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
69
|
+
): string;
|
|
70
|
+
encodeFunctionData(
|
|
71
|
+
functionFragment: "neTest",
|
|
72
|
+
values: [BigNumberish[], BigNumberish[]]
|
|
73
|
+
): string;
|
|
74
|
+
encodeFunctionData(
|
|
75
|
+
functionFragment: "uintResults2",
|
|
76
|
+
values: [BigNumberish]
|
|
77
|
+
): string;
|
|
78
|
+
|
|
79
|
+
decodeFunctionResult(
|
|
80
|
+
functionFragment: "boolResults",
|
|
81
|
+
data: BytesLike
|
|
82
|
+
): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "eqTest", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "geTest", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "gtTest", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "leTest", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "ltTest", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "maxTest", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "minTest", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "neTest", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(
|
|
92
|
+
functionFragment: "uintResults2",
|
|
93
|
+
data: BytesLike
|
|
94
|
+
): Result;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface Comparison256BitTestsContract extends BaseContract {
|
|
98
|
+
connect(runner?: ContractRunner | null): Comparison256BitTestsContract;
|
|
99
|
+
waitForDeployment(): Promise<this>;
|
|
100
|
+
|
|
101
|
+
interface: Comparison256BitTestsContractInterface;
|
|
102
|
+
|
|
103
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
104
|
+
event: TCEvent,
|
|
105
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
106
|
+
toBlock?: string | number | undefined
|
|
107
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
108
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
109
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
110
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
111
|
+
toBlock?: string | number | undefined
|
|
112
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
113
|
+
|
|
114
|
+
on<TCEvent extends TypedContractEvent>(
|
|
115
|
+
event: TCEvent,
|
|
116
|
+
listener: TypedListener<TCEvent>
|
|
117
|
+
): Promise<this>;
|
|
118
|
+
on<TCEvent extends TypedContractEvent>(
|
|
119
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
120
|
+
listener: TypedListener<TCEvent>
|
|
121
|
+
): Promise<this>;
|
|
122
|
+
|
|
123
|
+
once<TCEvent extends TypedContractEvent>(
|
|
124
|
+
event: TCEvent,
|
|
125
|
+
listener: TypedListener<TCEvent>
|
|
126
|
+
): Promise<this>;
|
|
127
|
+
once<TCEvent extends TypedContractEvent>(
|
|
128
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
129
|
+
listener: TypedListener<TCEvent>
|
|
130
|
+
): Promise<this>;
|
|
131
|
+
|
|
132
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
133
|
+
event: TCEvent
|
|
134
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
135
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
136
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
137
|
+
event?: TCEvent
|
|
138
|
+
): Promise<this>;
|
|
139
|
+
|
|
140
|
+
boolResults: TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
141
|
+
|
|
142
|
+
eqTest: TypedContractMethod<
|
|
143
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
144
|
+
[void],
|
|
145
|
+
"nonpayable"
|
|
146
|
+
>;
|
|
147
|
+
|
|
148
|
+
geTest: TypedContractMethod<
|
|
149
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
150
|
+
[void],
|
|
151
|
+
"nonpayable"
|
|
152
|
+
>;
|
|
153
|
+
|
|
154
|
+
gtTest: TypedContractMethod<
|
|
155
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
156
|
+
[void],
|
|
157
|
+
"nonpayable"
|
|
158
|
+
>;
|
|
159
|
+
|
|
160
|
+
leTest: TypedContractMethod<
|
|
161
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
162
|
+
[void],
|
|
163
|
+
"nonpayable"
|
|
164
|
+
>;
|
|
165
|
+
|
|
166
|
+
ltTest: TypedContractMethod<
|
|
167
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
168
|
+
[void],
|
|
169
|
+
"nonpayable"
|
|
170
|
+
>;
|
|
171
|
+
|
|
172
|
+
maxTest: TypedContractMethod<
|
|
173
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
174
|
+
[void],
|
|
175
|
+
"nonpayable"
|
|
176
|
+
>;
|
|
177
|
+
|
|
178
|
+
minTest: TypedContractMethod<
|
|
179
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
180
|
+
[void],
|
|
181
|
+
"nonpayable"
|
|
182
|
+
>;
|
|
183
|
+
|
|
184
|
+
neTest: TypedContractMethod<
|
|
185
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
186
|
+
[void],
|
|
187
|
+
"nonpayable"
|
|
188
|
+
>;
|
|
189
|
+
|
|
190
|
+
uintResults2: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
191
|
+
|
|
192
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
193
|
+
key: string | FunctionFragment
|
|
194
|
+
): T;
|
|
195
|
+
|
|
196
|
+
getFunction(
|
|
197
|
+
nameOrSignature: "boolResults"
|
|
198
|
+
): TypedContractMethod<[arg0: BigNumberish], [boolean], "view">;
|
|
199
|
+
getFunction(
|
|
200
|
+
nameOrSignature: "eqTest"
|
|
201
|
+
): TypedContractMethod<
|
|
202
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
203
|
+
[void],
|
|
204
|
+
"nonpayable"
|
|
205
|
+
>;
|
|
206
|
+
getFunction(
|
|
207
|
+
nameOrSignature: "geTest"
|
|
208
|
+
): TypedContractMethod<
|
|
209
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
210
|
+
[void],
|
|
211
|
+
"nonpayable"
|
|
212
|
+
>;
|
|
213
|
+
getFunction(
|
|
214
|
+
nameOrSignature: "gtTest"
|
|
215
|
+
): TypedContractMethod<
|
|
216
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
217
|
+
[void],
|
|
218
|
+
"nonpayable"
|
|
219
|
+
>;
|
|
220
|
+
getFunction(
|
|
221
|
+
nameOrSignature: "leTest"
|
|
222
|
+
): TypedContractMethod<
|
|
223
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
224
|
+
[void],
|
|
225
|
+
"nonpayable"
|
|
226
|
+
>;
|
|
227
|
+
getFunction(
|
|
228
|
+
nameOrSignature: "ltTest"
|
|
229
|
+
): TypedContractMethod<
|
|
230
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
231
|
+
[void],
|
|
232
|
+
"nonpayable"
|
|
233
|
+
>;
|
|
234
|
+
getFunction(
|
|
235
|
+
nameOrSignature: "maxTest"
|
|
236
|
+
): TypedContractMethod<
|
|
237
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
238
|
+
[void],
|
|
239
|
+
"nonpayable"
|
|
240
|
+
>;
|
|
241
|
+
getFunction(
|
|
242
|
+
nameOrSignature: "minTest"
|
|
243
|
+
): TypedContractMethod<
|
|
244
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
245
|
+
[void],
|
|
246
|
+
"nonpayable"
|
|
247
|
+
>;
|
|
248
|
+
getFunction(
|
|
249
|
+
nameOrSignature: "neTest"
|
|
250
|
+
): TypedContractMethod<
|
|
251
|
+
[a: BigNumberish[], b: BigNumberish[]],
|
|
252
|
+
[void],
|
|
253
|
+
"nonpayable"
|
|
254
|
+
>;
|
|
255
|
+
getFunction(
|
|
256
|
+
nameOrSignature: "uintResults2"
|
|
257
|
+
): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
258
|
+
|
|
259
|
+
filters: {};
|
|
260
|
+
}
|