@across-protocol/sdk 4.3.123 → 4.3.124

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 (153) hide show
  1. package/dist/cjs/src/utils/abi/typechain/BaseSimulatorTest.d.ts +504 -0
  2. package/dist/cjs/src/utils/abi/typechain/BaseSimulatorTest.js +3 -0
  3. package/dist/cjs/src/utils/abi/typechain/BaseSimulatorTest.js.map +1 -0
  4. package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.d.ts +848 -0
  5. package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.js +3 -0
  6. package/dist/cjs/src/utils/abi/typechain/HubPoolTestBase.js.map +1 -0
  7. package/dist/cjs/src/utils/abi/typechain/MerkleLibTest.d.ts +288 -0
  8. package/dist/cjs/src/utils/abi/typechain/MerkleLibTest.js +3 -0
  9. package/dist/cjs/src/utils/abi/typechain/MerkleLibTest.js.map +1 -0
  10. package/dist/cjs/src/utils/abi/typechain/PolygonERC20Test.d.ts +431 -0
  11. package/dist/cjs/src/utils/abi/typechain/PolygonERC20Test.js +3 -0
  12. package/dist/cjs/src/utils/abi/typechain/PolygonERC20Test.js.map +1 -0
  13. package/dist/cjs/src/utils/abi/typechain/SpokePoolEIP7702Test.d.ts +542 -0
  14. package/dist/cjs/src/utils/abi/typechain/SpokePoolEIP7702Test.js +3 -0
  15. package/dist/cjs/src/utils/abi/typechain/SpokePoolEIP7702Test.js.map +1 -0
  16. package/dist/cjs/src/utils/abi/typechain/Test.d.ts +432 -0
  17. package/dist/cjs/src/utils/abi/typechain/Test.js +3 -0
  18. package/dist/cjs/src/utils/abi/typechain/Test.js.map +1 -0
  19. package/dist/cjs/src/utils/abi/typechain/Testable.d.ts +66 -0
  20. package/dist/cjs/src/utils/abi/typechain/Testable.js +3 -0
  21. package/dist/cjs/src/utils/abi/typechain/Testable.js.map +1 -0
  22. package/dist/cjs/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.d.ts +525 -0
  23. package/dist/cjs/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.js +686 -0
  24. package/dist/cjs/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.js.map +1 -0
  25. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +1031 -0
  26. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +1352 -0
  27. package/dist/cjs/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -0
  28. package/dist/cjs/src/utils/abi/typechain/factories/MerkleLibTest__factory.d.ts +334 -0
  29. package/dist/cjs/src/utils/abi/typechain/factories/MerkleLibTest__factory.js +444 -0
  30. package/dist/cjs/src/utils/abi/typechain/factories/MerkleLibTest__factory.js.map +1 -0
  31. package/dist/cjs/src/utils/abi/typechain/factories/PolygonERC20Test__factory.d.ts +448 -0
  32. package/dist/cjs/src/utils/abi/typechain/factories/PolygonERC20Test__factory.js +593 -0
  33. package/dist/cjs/src/utils/abi/typechain/factories/PolygonERC20Test__factory.js.map +1 -0
  34. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.d.ts +519 -0
  35. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.js +673 -0
  36. package/dist/cjs/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.js.map +1 -0
  37. package/dist/cjs/src/utils/abi/typechain/factories/Test__factory.d.ts +449 -0
  38. package/dist/cjs/src/utils/abi/typechain/factories/Test__factory.js +588 -0
  39. package/dist/cjs/src/utils/abi/typechain/factories/Test__factory.js.map +1 -0
  40. package/dist/cjs/src/utils/abi/typechain/factories/Testable__factory.d.ts +38 -0
  41. package/dist/cjs/src/utils/abi/typechain/factories/Testable__factory.js +59 -0
  42. package/dist/cjs/src/utils/abi/typechain/factories/Testable__factory.js.map +1 -0
  43. package/dist/cjs/src/utils/abi/typechain/factories/index.d.ts +7 -0
  44. package/dist/cjs/src/utils/abi/typechain/factories/index.js +20 -6
  45. package/dist/cjs/src/utils/abi/typechain/factories/index.js.map +1 -1
  46. package/dist/cjs/src/utils/abi/typechain/index.d.ts +14 -0
  47. package/dist/cjs/src/utils/abi/typechain/index.js +20 -6
  48. package/dist/cjs/src/utils/abi/typechain/index.js.map +1 -1
  49. package/dist/esm/src/utils/abi/typechain/BaseSimulatorTest.d.ts +504 -0
  50. package/dist/esm/src/utils/abi/typechain/BaseSimulatorTest.js +2 -0
  51. package/dist/esm/src/utils/abi/typechain/BaseSimulatorTest.js.map +1 -0
  52. package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.d.ts +848 -0
  53. package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.js +2 -0
  54. package/dist/esm/src/utils/abi/typechain/HubPoolTestBase.js.map +1 -0
  55. package/dist/esm/src/utils/abi/typechain/MerkleLibTest.d.ts +288 -0
  56. package/dist/esm/src/utils/abi/typechain/MerkleLibTest.js +2 -0
  57. package/dist/esm/src/utils/abi/typechain/MerkleLibTest.js.map +1 -0
  58. package/dist/esm/src/utils/abi/typechain/PolygonERC20Test.d.ts +431 -0
  59. package/dist/esm/src/utils/abi/typechain/PolygonERC20Test.js +2 -0
  60. package/dist/esm/src/utils/abi/typechain/PolygonERC20Test.js.map +1 -0
  61. package/dist/esm/src/utils/abi/typechain/SpokePoolEIP7702Test.d.ts +542 -0
  62. package/dist/esm/src/utils/abi/typechain/SpokePoolEIP7702Test.js +2 -0
  63. package/dist/esm/src/utils/abi/typechain/SpokePoolEIP7702Test.js.map +1 -0
  64. package/dist/esm/src/utils/abi/typechain/Test.d.ts +432 -0
  65. package/dist/esm/src/utils/abi/typechain/Test.js +2 -0
  66. package/dist/esm/src/utils/abi/typechain/Test.js.map +1 -0
  67. package/dist/esm/src/utils/abi/typechain/Testable.d.ts +66 -0
  68. package/dist/esm/src/utils/abi/typechain/Testable.js +2 -0
  69. package/dist/esm/src/utils/abi/typechain/Testable.js.map +1 -0
  70. package/dist/esm/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.d.ts +525 -0
  71. package/dist/esm/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.js +686 -0
  72. package/dist/esm/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.js.map +1 -0
  73. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +1031 -0
  74. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js +1352 -0
  75. package/dist/esm/src/utils/abi/typechain/factories/HubPoolTestBase__factory.js.map +1 -0
  76. package/dist/esm/src/utils/abi/typechain/factories/MerkleLibTest__factory.d.ts +334 -0
  77. package/dist/esm/src/utils/abi/typechain/factories/MerkleLibTest__factory.js +444 -0
  78. package/dist/esm/src/utils/abi/typechain/factories/MerkleLibTest__factory.js.map +1 -0
  79. package/dist/esm/src/utils/abi/typechain/factories/PolygonERC20Test__factory.d.ts +448 -0
  80. package/dist/esm/src/utils/abi/typechain/factories/PolygonERC20Test__factory.js +593 -0
  81. package/dist/esm/src/utils/abi/typechain/factories/PolygonERC20Test__factory.js.map +1 -0
  82. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.d.ts +519 -0
  83. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.js +673 -0
  84. package/dist/esm/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.js.map +1 -0
  85. package/dist/esm/src/utils/abi/typechain/factories/Test__factory.d.ts +449 -0
  86. package/dist/esm/src/utils/abi/typechain/factories/Test__factory.js +588 -0
  87. package/dist/esm/src/utils/abi/typechain/factories/Test__factory.js.map +1 -0
  88. package/dist/esm/src/utils/abi/typechain/factories/Testable__factory.d.ts +38 -0
  89. package/dist/esm/src/utils/abi/typechain/factories/Testable__factory.js +59 -0
  90. package/dist/esm/src/utils/abi/typechain/factories/Testable__factory.js.map +1 -0
  91. package/dist/esm/src/utils/abi/typechain/factories/index.d.ts +7 -0
  92. package/dist/esm/src/utils/abi/typechain/factories/index.js +7 -0
  93. package/dist/esm/src/utils/abi/typechain/factories/index.js.map +1 -1
  94. package/dist/esm/src/utils/abi/typechain/index.d.ts +14 -0
  95. package/dist/esm/src/utils/abi/typechain/index.js +7 -0
  96. package/dist/esm/src/utils/abi/typechain/index.js.map +1 -1
  97. package/dist/types/src/utils/abi/typechain/BaseSimulatorTest.d.ts +505 -0
  98. package/dist/types/src/utils/abi/typechain/BaseSimulatorTest.d.ts.map +1 -0
  99. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts +849 -0
  100. package/dist/types/src/utils/abi/typechain/HubPoolTestBase.d.ts.map +1 -0
  101. package/dist/types/src/utils/abi/typechain/MerkleLibTest.d.ts +289 -0
  102. package/dist/types/src/utils/abi/typechain/MerkleLibTest.d.ts.map +1 -0
  103. package/dist/types/src/utils/abi/typechain/PolygonERC20Test.d.ts +432 -0
  104. package/dist/types/src/utils/abi/typechain/PolygonERC20Test.d.ts.map +1 -0
  105. package/dist/types/src/utils/abi/typechain/SpokePoolEIP7702Test.d.ts +543 -0
  106. package/dist/types/src/utils/abi/typechain/SpokePoolEIP7702Test.d.ts.map +1 -0
  107. package/dist/types/src/utils/abi/typechain/Test.d.ts +433 -0
  108. package/dist/types/src/utils/abi/typechain/Test.d.ts.map +1 -0
  109. package/dist/types/src/utils/abi/typechain/Testable.d.ts +67 -0
  110. package/dist/types/src/utils/abi/typechain/Testable.d.ts.map +1 -0
  111. package/dist/types/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.d.ts +526 -0
  112. package/dist/types/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.d.ts.map +1 -0
  113. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts +1032 -0
  114. package/dist/types/src/utils/abi/typechain/factories/HubPoolTestBase__factory.d.ts.map +1 -0
  115. package/dist/types/src/utils/abi/typechain/factories/MerkleLibTest__factory.d.ts +335 -0
  116. package/dist/types/src/utils/abi/typechain/factories/MerkleLibTest__factory.d.ts.map +1 -0
  117. package/dist/types/src/utils/abi/typechain/factories/PolygonERC20Test__factory.d.ts +449 -0
  118. package/dist/types/src/utils/abi/typechain/factories/PolygonERC20Test__factory.d.ts.map +1 -0
  119. package/dist/types/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.d.ts +520 -0
  120. package/dist/types/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.d.ts.map +1 -0
  121. package/dist/types/src/utils/abi/typechain/factories/Test__factory.d.ts +450 -0
  122. package/dist/types/src/utils/abi/typechain/factories/Test__factory.d.ts.map +1 -0
  123. package/dist/types/src/utils/abi/typechain/factories/Testable__factory.d.ts +39 -0
  124. package/dist/types/src/utils/abi/typechain/factories/Testable__factory.d.ts.map +1 -0
  125. package/dist/types/src/utils/abi/typechain/factories/index.d.ts +7 -0
  126. package/dist/types/src/utils/abi/typechain/factories/index.d.ts.map +1 -1
  127. package/dist/types/src/utils/abi/typechain/index.d.ts +14 -0
  128. package/dist/types/src/utils/abi/typechain/index.d.ts.map +1 -1
  129. package/package.json +1 -1
  130. package/scripts/stage-typechain-artifacts.js +0 -1
  131. package/src/utils/abi/contracts/BaseSimulatorTest.json +668 -0
  132. package/src/utils/abi/contracts/HubPoolTestBase.json +1334 -0
  133. package/src/utils/abi/contracts/MerkleLibTest.json +426 -0
  134. package/src/utils/abi/contracts/PolygonERC20Test.json +575 -0
  135. package/src/utils/abi/contracts/SpokePoolEIP7702Test.json +655 -0
  136. package/src/utils/abi/contracts/Test.json +570 -0
  137. package/src/utils/abi/contracts/Testable.json +41 -0
  138. package/src/utils/abi/typechain/BaseSimulatorTest.ts +879 -0
  139. package/src/utils/abi/typechain/HubPoolTestBase.ts +1857 -0
  140. package/src/utils/abi/typechain/MerkleLibTest.ts +597 -0
  141. package/src/utils/abi/typechain/PolygonERC20Test.ts +944 -0
  142. package/src/utils/abi/typechain/SpokePoolEIP7702Test.ts +942 -0
  143. package/src/utils/abi/typechain/Test.ts +753 -0
  144. package/src/utils/abi/typechain/Testable.ts +145 -0
  145. package/src/utils/abi/typechain/factories/BaseSimulatorTest__factory.ts +692 -0
  146. package/src/utils/abi/typechain/factories/HubPoolTestBase__factory.ts +1358 -0
  147. package/src/utils/abi/typechain/factories/MerkleLibTest__factory.ts +447 -0
  148. package/src/utils/abi/typechain/factories/PolygonERC20Test__factory.ts +599 -0
  149. package/src/utils/abi/typechain/factories/SpokePoolEIP7702Test__factory.ts +683 -0
  150. package/src/utils/abi/typechain/factories/Test__factory.ts +588 -0
  151. package/src/utils/abi/typechain/factories/Testable__factory.ts +62 -0
  152. package/src/utils/abi/typechain/factories/index.ts +7 -0
  153. package/src/utils/abi/typechain/index.ts +14 -0
@@ -0,0 +1,599 @@
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
+ PolygonERC20Test,
9
+ PolygonERC20TestInterface,
10
+ } from "../PolygonERC20Test";
11
+
12
+ const _abi = [
13
+ {
14
+ type: "constructor",
15
+ inputs: [],
16
+ stateMutability: "nonpayable",
17
+ },
18
+ {
19
+ type: "function",
20
+ name: "addBurner",
21
+ inputs: [
22
+ {
23
+ name: "account",
24
+ type: "address",
25
+ internalType: "address",
26
+ },
27
+ ],
28
+ outputs: [],
29
+ stateMutability: "nonpayable",
30
+ },
31
+ {
32
+ type: "function",
33
+ name: "addMember",
34
+ inputs: [
35
+ {
36
+ name: "roleId",
37
+ type: "uint256",
38
+ internalType: "uint256",
39
+ },
40
+ {
41
+ name: "newMember",
42
+ type: "address",
43
+ internalType: "address",
44
+ },
45
+ ],
46
+ outputs: [],
47
+ stateMutability: "nonpayable",
48
+ },
49
+ {
50
+ type: "function",
51
+ name: "addMinter",
52
+ inputs: [
53
+ {
54
+ name: "account",
55
+ type: "address",
56
+ internalType: "address",
57
+ },
58
+ ],
59
+ outputs: [],
60
+ stateMutability: "nonpayable",
61
+ },
62
+ {
63
+ type: "function",
64
+ name: "allowance",
65
+ inputs: [
66
+ {
67
+ name: "owner",
68
+ type: "address",
69
+ internalType: "address",
70
+ },
71
+ {
72
+ name: "spender",
73
+ type: "address",
74
+ internalType: "address",
75
+ },
76
+ ],
77
+ outputs: [
78
+ {
79
+ name: "",
80
+ type: "uint256",
81
+ internalType: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ },
86
+ {
87
+ type: "function",
88
+ name: "approve",
89
+ inputs: [
90
+ {
91
+ name: "spender",
92
+ type: "address",
93
+ internalType: "address",
94
+ },
95
+ {
96
+ name: "amount",
97
+ type: "uint256",
98
+ internalType: "uint256",
99
+ },
100
+ ],
101
+ outputs: [
102
+ {
103
+ name: "",
104
+ type: "bool",
105
+ internalType: "bool",
106
+ },
107
+ ],
108
+ stateMutability: "nonpayable",
109
+ },
110
+ {
111
+ type: "function",
112
+ name: "balanceOf",
113
+ inputs: [
114
+ {
115
+ name: "account",
116
+ type: "address",
117
+ internalType: "address",
118
+ },
119
+ ],
120
+ outputs: [
121
+ {
122
+ name: "",
123
+ type: "uint256",
124
+ internalType: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ },
129
+ {
130
+ type: "function",
131
+ name: "burn",
132
+ inputs: [
133
+ {
134
+ name: "value",
135
+ type: "uint256",
136
+ internalType: "uint256",
137
+ },
138
+ ],
139
+ outputs: [],
140
+ stateMutability: "nonpayable",
141
+ },
142
+ {
143
+ type: "function",
144
+ name: "burnFrom",
145
+ inputs: [
146
+ {
147
+ name: "recipient",
148
+ type: "address",
149
+ internalType: "address",
150
+ },
151
+ {
152
+ name: "value",
153
+ type: "uint256",
154
+ internalType: "uint256",
155
+ },
156
+ ],
157
+ outputs: [
158
+ {
159
+ name: "",
160
+ type: "bool",
161
+ internalType: "bool",
162
+ },
163
+ ],
164
+ stateMutability: "nonpayable",
165
+ },
166
+ {
167
+ type: "function",
168
+ name: "decimals",
169
+ inputs: [],
170
+ outputs: [
171
+ {
172
+ name: "",
173
+ type: "uint8",
174
+ internalType: "uint8",
175
+ },
176
+ ],
177
+ stateMutability: "view",
178
+ },
179
+ {
180
+ type: "function",
181
+ name: "decreaseAllowance",
182
+ inputs: [
183
+ {
184
+ name: "spender",
185
+ type: "address",
186
+ internalType: "address",
187
+ },
188
+ {
189
+ name: "subtractedValue",
190
+ type: "uint256",
191
+ internalType: "uint256",
192
+ },
193
+ ],
194
+ outputs: [
195
+ {
196
+ name: "",
197
+ type: "bool",
198
+ internalType: "bool",
199
+ },
200
+ ],
201
+ stateMutability: "nonpayable",
202
+ },
203
+ {
204
+ type: "function",
205
+ name: "getMember",
206
+ inputs: [
207
+ {
208
+ name: "roleId",
209
+ type: "uint256",
210
+ internalType: "uint256",
211
+ },
212
+ ],
213
+ outputs: [
214
+ {
215
+ name: "",
216
+ type: "address",
217
+ internalType: "address",
218
+ },
219
+ ],
220
+ stateMutability: "view",
221
+ },
222
+ {
223
+ type: "function",
224
+ name: "holdsRole",
225
+ inputs: [
226
+ {
227
+ name: "roleId",
228
+ type: "uint256",
229
+ internalType: "uint256",
230
+ },
231
+ {
232
+ name: "memberToCheck",
233
+ type: "address",
234
+ internalType: "address",
235
+ },
236
+ ],
237
+ outputs: [
238
+ {
239
+ name: "",
240
+ type: "bool",
241
+ internalType: "bool",
242
+ },
243
+ ],
244
+ stateMutability: "view",
245
+ },
246
+ {
247
+ type: "function",
248
+ name: "increaseAllowance",
249
+ inputs: [
250
+ {
251
+ name: "spender",
252
+ type: "address",
253
+ internalType: "address",
254
+ },
255
+ {
256
+ name: "addedValue",
257
+ type: "uint256",
258
+ internalType: "uint256",
259
+ },
260
+ ],
261
+ outputs: [
262
+ {
263
+ name: "",
264
+ type: "bool",
265
+ internalType: "bool",
266
+ },
267
+ ],
268
+ stateMutability: "nonpayable",
269
+ },
270
+ {
271
+ type: "function",
272
+ name: "mint",
273
+ inputs: [
274
+ {
275
+ name: "recipient",
276
+ type: "address",
277
+ internalType: "address",
278
+ },
279
+ {
280
+ name: "value",
281
+ type: "uint256",
282
+ internalType: "uint256",
283
+ },
284
+ ],
285
+ outputs: [
286
+ {
287
+ name: "",
288
+ type: "bool",
289
+ internalType: "bool",
290
+ },
291
+ ],
292
+ stateMutability: "nonpayable",
293
+ },
294
+ {
295
+ type: "function",
296
+ name: "name",
297
+ inputs: [],
298
+ outputs: [
299
+ {
300
+ name: "",
301
+ type: "string",
302
+ internalType: "string",
303
+ },
304
+ ],
305
+ stateMutability: "view",
306
+ },
307
+ {
308
+ type: "function",
309
+ name: "removeMember",
310
+ inputs: [
311
+ {
312
+ name: "roleId",
313
+ type: "uint256",
314
+ internalType: "uint256",
315
+ },
316
+ {
317
+ name: "memberToRemove",
318
+ type: "address",
319
+ internalType: "address",
320
+ },
321
+ ],
322
+ outputs: [],
323
+ stateMutability: "nonpayable",
324
+ },
325
+ {
326
+ type: "function",
327
+ name: "renounceMembership",
328
+ inputs: [
329
+ {
330
+ name: "roleId",
331
+ type: "uint256",
332
+ internalType: "uint256",
333
+ },
334
+ ],
335
+ outputs: [],
336
+ stateMutability: "nonpayable",
337
+ },
338
+ {
339
+ type: "function",
340
+ name: "resetMember",
341
+ inputs: [
342
+ {
343
+ name: "roleId",
344
+ type: "uint256",
345
+ internalType: "uint256",
346
+ },
347
+ {
348
+ name: "newMember",
349
+ type: "address",
350
+ internalType: "address",
351
+ },
352
+ ],
353
+ outputs: [],
354
+ stateMutability: "nonpayable",
355
+ },
356
+ {
357
+ type: "function",
358
+ name: "resetOwner",
359
+ inputs: [
360
+ {
361
+ name: "account",
362
+ type: "address",
363
+ internalType: "address",
364
+ },
365
+ ],
366
+ outputs: [],
367
+ stateMutability: "nonpayable",
368
+ },
369
+ {
370
+ type: "function",
371
+ name: "symbol",
372
+ inputs: [],
373
+ outputs: [
374
+ {
375
+ name: "",
376
+ type: "string",
377
+ internalType: "string",
378
+ },
379
+ ],
380
+ stateMutability: "view",
381
+ },
382
+ {
383
+ type: "function",
384
+ name: "totalSupply",
385
+ inputs: [],
386
+ outputs: [
387
+ {
388
+ name: "",
389
+ type: "uint256",
390
+ internalType: "uint256",
391
+ },
392
+ ],
393
+ stateMutability: "view",
394
+ },
395
+ {
396
+ type: "function",
397
+ name: "transfer",
398
+ inputs: [
399
+ {
400
+ name: "to",
401
+ type: "address",
402
+ internalType: "address",
403
+ },
404
+ {
405
+ name: "amount",
406
+ type: "uint256",
407
+ internalType: "uint256",
408
+ },
409
+ ],
410
+ outputs: [
411
+ {
412
+ name: "",
413
+ type: "bool",
414
+ internalType: "bool",
415
+ },
416
+ ],
417
+ stateMutability: "nonpayable",
418
+ },
419
+ {
420
+ type: "function",
421
+ name: "transferFrom",
422
+ inputs: [
423
+ {
424
+ name: "from",
425
+ type: "address",
426
+ internalType: "address",
427
+ },
428
+ {
429
+ name: "to",
430
+ type: "address",
431
+ internalType: "address",
432
+ },
433
+ {
434
+ name: "amount",
435
+ type: "uint256",
436
+ internalType: "uint256",
437
+ },
438
+ ],
439
+ outputs: [
440
+ {
441
+ name: "",
442
+ type: "bool",
443
+ internalType: "bool",
444
+ },
445
+ ],
446
+ stateMutability: "nonpayable",
447
+ },
448
+ {
449
+ type: "function",
450
+ name: "withdraw",
451
+ inputs: [
452
+ {
453
+ name: "amount",
454
+ type: "uint256",
455
+ internalType: "uint256",
456
+ },
457
+ ],
458
+ outputs: [],
459
+ stateMutability: "nonpayable",
460
+ },
461
+ {
462
+ type: "event",
463
+ name: "AddedSharedMember",
464
+ inputs: [
465
+ {
466
+ name: "roleId",
467
+ type: "uint256",
468
+ indexed: true,
469
+ internalType: "uint256",
470
+ },
471
+ {
472
+ name: "newMember",
473
+ type: "address",
474
+ indexed: true,
475
+ internalType: "address",
476
+ },
477
+ {
478
+ name: "manager",
479
+ type: "address",
480
+ indexed: true,
481
+ internalType: "address",
482
+ },
483
+ ],
484
+ anonymous: false,
485
+ },
486
+ {
487
+ type: "event",
488
+ name: "Approval",
489
+ inputs: [
490
+ {
491
+ name: "owner",
492
+ type: "address",
493
+ indexed: true,
494
+ internalType: "address",
495
+ },
496
+ {
497
+ name: "spender",
498
+ type: "address",
499
+ indexed: true,
500
+ internalType: "address",
501
+ },
502
+ {
503
+ name: "value",
504
+ type: "uint256",
505
+ indexed: false,
506
+ internalType: "uint256",
507
+ },
508
+ ],
509
+ anonymous: false,
510
+ },
511
+ {
512
+ type: "event",
513
+ name: "RemovedSharedMember",
514
+ inputs: [
515
+ {
516
+ name: "roleId",
517
+ type: "uint256",
518
+ indexed: true,
519
+ internalType: "uint256",
520
+ },
521
+ {
522
+ name: "oldMember",
523
+ type: "address",
524
+ indexed: true,
525
+ internalType: "address",
526
+ },
527
+ {
528
+ name: "manager",
529
+ type: "address",
530
+ indexed: true,
531
+ internalType: "address",
532
+ },
533
+ ],
534
+ anonymous: false,
535
+ },
536
+ {
537
+ type: "event",
538
+ name: "ResetExclusiveMember",
539
+ inputs: [
540
+ {
541
+ name: "roleId",
542
+ type: "uint256",
543
+ indexed: true,
544
+ internalType: "uint256",
545
+ },
546
+ {
547
+ name: "newMember",
548
+ type: "address",
549
+ indexed: true,
550
+ internalType: "address",
551
+ },
552
+ {
553
+ name: "manager",
554
+ type: "address",
555
+ indexed: true,
556
+ internalType: "address",
557
+ },
558
+ ],
559
+ anonymous: false,
560
+ },
561
+ {
562
+ type: "event",
563
+ name: "Transfer",
564
+ inputs: [
565
+ {
566
+ name: "from",
567
+ type: "address",
568
+ indexed: true,
569
+ internalType: "address",
570
+ },
571
+ {
572
+ name: "to",
573
+ type: "address",
574
+ indexed: true,
575
+ internalType: "address",
576
+ },
577
+ {
578
+ name: "value",
579
+ type: "uint256",
580
+ indexed: false,
581
+ internalType: "uint256",
582
+ },
583
+ ],
584
+ anonymous: false,
585
+ },
586
+ ] as const;
587
+
588
+ export class PolygonERC20Test__factory {
589
+ static readonly abi = _abi;
590
+ static createInterface(): PolygonERC20TestInterface {
591
+ return new utils.Interface(_abi) as PolygonERC20TestInterface;
592
+ }
593
+ static connect(
594
+ address: string,
595
+ signerOrProvider: Signer | Provider
596
+ ): PolygonERC20Test {
597
+ return new Contract(address, _abi, signerOrProvider) as PolygonERC20Test;
598
+ }
599
+ }