@paraswap/dex-lib 3.8.18 → 3.8.20-lite-psm.2

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 (178) hide show
  1. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  2. package/build/abi/inception/inception-ineth.json +609 -0
  3. package/build/abi/inception/inception-ratio-feed.json +93 -0
  4. package/build/abi/inception/inception-vault.json +991 -0
  5. package/build/abi/infusion/InfusionFactory.json +147 -0
  6. package/build/abi/infusion/InfusionPair.json +658 -0
  7. package/build/abi/infusion/InfusionRouter.json +442 -0
  8. package/build/abi/lite-psm/dai.json +333 -0
  9. package/build/abi/lite-psm/psm.json +468 -0
  10. package/build/abi/lite-psm/usdc.json +814 -0
  11. package/build/abi/oswap/oswap.abi.json +452 -0
  12. package/build/dex/aave-v1/aave-v1.js +0 -1
  13. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  14. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  15. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  16. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  17. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  18. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  19. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  20. package/build/dex/idle-dao/scripts.d.ts +9 -0
  21. package/build/dex/idle-dao/scripts.js +552 -0
  22. package/build/dex/idle-dao/scripts.js.map +1 -0
  23. package/build/dex/inception/config.d.ts +5 -0
  24. package/build/dex/inception/config.js +112 -0
  25. package/build/dex/inception/config.js.map +1 -0
  26. package/build/dex/inception/inception-event-pool.d.ts +23 -0
  27. package/build/dex/inception/inception-event-pool.js +34 -0
  28. package/build/dex/inception/inception-event-pool.js.map +1 -0
  29. package/build/dex/inception/inception-native.d.ts +43 -0
  30. package/build/dex/inception/inception-native.js +131 -0
  31. package/build/dex/inception/inception-native.js.map +1 -0
  32. package/build/dex/inception/inception-pool.d.ts +18 -0
  33. package/build/dex/inception/inception-pool.js +32 -0
  34. package/build/dex/inception/inception-pool.js.map +1 -0
  35. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  36. package/build/dex/inception/inception-price-feed.js +51 -0
  37. package/build/dex/inception/inception-price-feed.js.map +1 -0
  38. package/build/dex/inception/inception.d.ts +44 -0
  39. package/build/dex/inception/inception.js +162 -0
  40. package/build/dex/inception/inception.js.map +1 -0
  41. package/build/dex/inception/tokens.d.ts +9 -0
  42. package/build/dex/inception/tokens.js +28 -0
  43. package/build/dex/inception/tokens.js.map +1 -0
  44. package/build/dex/inception/types.d.ts +22 -0
  45. package/build/dex/inception/types.js +3 -0
  46. package/build/dex/inception/types.js.map +1 -0
  47. package/build/dex/inception/utils.d.ts +7 -0
  48. package/build/dex/inception/utils.js +58 -0
  49. package/build/dex/inception/utils.js.map +1 -0
  50. package/build/dex/index.js +4 -0
  51. package/build/dex/index.js.map +1 -1
  52. package/build/dex/infusion/config.d.ts +4 -0
  53. package/build/dex/infusion/config.js +25 -0
  54. package/build/dex/infusion/config.js.map +1 -0
  55. package/build/dex/infusion/infusion-stable-pool.d.ts +4 -0
  56. package/build/dex/infusion/infusion-stable-pool.js +74 -0
  57. package/build/dex/infusion/infusion-stable-pool.js.map +1 -0
  58. package/build/dex/infusion/infusion.d.ts +54 -0
  59. package/build/dex/infusion/infusion.js +510 -0
  60. package/build/dex/infusion/infusion.js.map +1 -0
  61. package/build/dex/infusion/types.d.ts +47 -0
  62. package/build/dex/infusion/types.js +3 -0
  63. package/build/dex/infusion/types.js.map +1 -0
  64. package/build/dex/infusion/utils/isStablePair.d.ts +2 -0
  65. package/build/dex/infusion/utils/isStablePair.js +18 -0
  66. package/build/dex/infusion/utils/isStablePair.js.map +1 -0
  67. package/build/dex/lite-psm/config.d.ts +3 -0
  68. package/build/dex/lite-psm/config.js +29 -0
  69. package/build/dex/lite-psm/config.js.map +1 -0
  70. package/build/dex/lite-psm/lite-psm-event-pool.d.ts +29 -0
  71. package/build/dex/lite-psm/lite-psm-event-pool.js +164 -0
  72. package/build/dex/lite-psm/lite-psm-event-pool.js.map +1 -0
  73. package/build/dex/lite-psm/lite-psm.d.ts +53 -0
  74. package/build/dex/lite-psm/lite-psm.js +366 -0
  75. package/build/dex/lite-psm/lite-psm.js.map +1 -0
  76. package/build/dex/lite-psm/types.d.ts +40 -0
  77. package/build/dex/lite-psm/types.js +3 -0
  78. package/build/dex/lite-psm/types.js.map +1 -0
  79. package/build/dex/maker-psm/maker-psm.js +3 -2
  80. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  81. package/build/dex/oswap/config.d.ts +5 -0
  82. package/build/dex/oswap/config.js +31 -0
  83. package/build/dex/oswap/config.js.map +1 -0
  84. package/build/dex/oswap/oswap-pool.d.ts +51 -0
  85. package/build/dex/oswap/oswap-pool.js +150 -0
  86. package/build/dex/oswap/oswap-pool.js.map +1 -0
  87. package/build/dex/oswap/oswap.d.ts +46 -0
  88. package/build/dex/oswap/oswap.js +273 -0
  89. package/build/dex/oswap/oswap.js.map +1 -0
  90. package/build/dex/oswap/types.d.ts +20 -0
  91. package/build/dex/oswap/types.js +3 -0
  92. package/build/dex/oswap/types.js.map +1 -0
  93. package/build/dex/platypus/platypus.js +3 -17
  94. package/build/dex/platypus/platypus.js.map +1 -1
  95. package/build/dex/swaap-v1/swaap-v1.js +0 -4
  96. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  97. package/build/dex/trader-joe-v2.1/config.d.ts +3 -0
  98. package/build/dex/trader-joe-v2.1/config.js +5 -1
  99. package/build/dex/trader-joe-v2.1/config.js.map +1 -1
  100. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.d.ts +2 -14
  101. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js +3 -85
  102. package/build/dex/trader-joe-v2.1/trader-joe-v2.1.js.map +1 -1
  103. package/build/dex-helper/dummy-dex-helper.js +1 -1
  104. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/abi/lite-psm/dai.json +333 -0
  107. package/src/abi/lite-psm/psm.json +468 -0
  108. package/src/abi/lite-psm/usdc.json +814 -0
  109. package/src/dex/index.ts +4 -0
  110. package/src/dex/lite-psm/config.ts +29 -0
  111. package/src/dex/lite-psm/lite-psm-e2e.test.ts +79 -0
  112. package/src/dex/lite-psm/lite-psm-event-pool.ts +216 -0
  113. package/src/dex/lite-psm/lite-psm-events.test.ts +61 -0
  114. package/src/dex/lite-psm/lite-psm-integration.test.ts +96 -0
  115. package/src/dex/lite-psm/lite-psm.ts +576 -0
  116. package/src/dex/lite-psm/types.ts +46 -0
  117. package/src/dex/maker-psm/maker-psm.ts +3 -2
  118. package/src/dex/trader-joe-v2.1/base.ts +178 -0
  119. package/src/dex/trader-joe-v2.1/config.ts +5 -0
  120. package/src/dex/trader-joe-v2.1/trader-joe-v2.1.ts +8 -165
  121. package/src/dex/trader-joe-v2.1/trader-joe-v2.2.ts +23 -0
  122. package/src/dex-helper/dummy-dex-helper.ts +1 -1
  123. package/.vscode/launch.json +0 -53
  124. package/.vscode/settings.json +0 -2
  125. package/.vscode/tasks.json +0 -15
  126. package/build/abi/maverick-v2/MaverickV2Router.json +0 -778
  127. package/build/abi/uniswap-v3/AlienBaseV3Router.abi.json +0 -52
  128. package/build/abi/wombat/pool.json +0 -1289
  129. package/build/dex/aave-v2/tokens-avalanche.json +0 -44
  130. package/build/dex/aave-v2/tokens-mainnet.json +0 -188
  131. package/build/dex/aave-v2/tokens-polygon.json +0 -44
  132. package/build/dex/bProtocol.d.ts +0 -18
  133. package/build/dex/bProtocol.js +0 -39
  134. package/build/dex/bProtocol.js.map +0 -1
  135. package/build/dex/bancor.d.ts +0 -26
  136. package/build/dex/bancor.js +0 -58
  137. package/build/dex/bancor.js.map +0 -1
  138. package/build/dex/compound.d.ts +0 -18
  139. package/build/dex/compound.js +0 -46
  140. package/build/dex/compound.js.map +0 -1
  141. package/build/dex/curve-v2.d.ts +0 -58
  142. package/build/dex/curve-v2.js +0 -180
  143. package/build/dex/curve-v2.js.map +0 -1
  144. package/build/dex/dodo-v1.d.ts +0 -33
  145. package/build/dex/dodo-v1.js +0 -63
  146. package/build/dex/dodo-v1.js.map +0 -1
  147. package/build/dex/lido.d.ts +0 -19
  148. package/build/dex/lido.js +0 -42
  149. package/build/dex/lido.js.map +0 -1
  150. package/build/dex/maker-psm/scripts/gem.abi.json +0 -136
  151. package/build/dex/maker-psm/scripts/validate-state.d.ts +0 -0
  152. package/build/dex/maker-psm/scripts/validate-state.js +0 -185
  153. package/build/dex/maker-psm/scripts/validate-state.js.map +0 -1
  154. package/build/dex/maker-psm/scripts/vat.abi.json +0 -243
  155. package/build/dex/onebit.d.ts +0 -25
  156. package/build/dex/onebit.js +0 -42
  157. package/build/dex/onebit.js.map +0 -1
  158. package/build/dex/smoothy.d.ts +0 -26
  159. package/build/dex/smoothy.js +0 -48
  160. package/build/dex/smoothy.js.map +0 -1
  161. package/build/dex/solidly-v3/scripts/check-event-pool-event.d.ts +0 -1
  162. package/build/dex/solidly-v3/scripts/check-event-pool-event.js +0 -53
  163. package/build/dex/solidly-v3/scripts/check-event-pool-event.js.map +0 -1
  164. package/build/dex/stable-pool.d.ts +0 -28
  165. package/build/dex/stable-pool.js +0 -55
  166. package/build/dex/stable-pool.js.map +0 -1
  167. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.d.ts +0 -7
  168. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js +0 -20
  169. package/build/dex/trader-joe-v2.1/trader-joe-v2.1-new.js.map +0 -1
  170. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  171. package/build/dex/trader-joe-v2.1.js +0 -79
  172. package/build/dex/trader-joe-v2.1.js.map +0 -1
  173. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.d.ts +0 -17
  174. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js +0 -64
  175. package/build/dex/uniswap-v3/forks/alien-base-v3/alien-base-v3.js.map +0 -1
  176. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.d.ts +0 -17
  177. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js +0 -79
  178. package/build/dex/uniswap-v3/forks/alien-v3/alien-v3.js.map +0 -1
@@ -0,0 +1,814 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": true,
7
+ "internalType": "address",
8
+ "name": "owner",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": true,
13
+ "internalType": "address",
14
+ "name": "spender",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "indexed": false,
19
+ "internalType": "uint256",
20
+ "name": "value",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "Approval",
25
+ "type": "event"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "authorizer",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "bytes32",
39
+ "name": "nonce",
40
+ "type": "bytes32"
41
+ }
42
+ ],
43
+ "name": "AuthorizationCanceled",
44
+ "type": "event"
45
+ },
46
+ {
47
+ "anonymous": false,
48
+ "inputs": [
49
+ {
50
+ "indexed": true,
51
+ "internalType": "address",
52
+ "name": "authorizer",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "indexed": true,
57
+ "internalType": "bytes32",
58
+ "name": "nonce",
59
+ "type": "bytes32"
60
+ }
61
+ ],
62
+ "name": "AuthorizationUsed",
63
+ "type": "event"
64
+ },
65
+ {
66
+ "anonymous": false,
67
+ "inputs": [
68
+ {
69
+ "indexed": true,
70
+ "internalType": "address",
71
+ "name": "_account",
72
+ "type": "address"
73
+ }
74
+ ],
75
+ "name": "Blacklisted",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": true,
83
+ "internalType": "address",
84
+ "name": "newBlacklister",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "BlacklisterChanged",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "burner",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": false,
102
+ "internalType": "uint256",
103
+ "name": "amount",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "name": "Burn",
108
+ "type": "event"
109
+ },
110
+ {
111
+ "anonymous": false,
112
+ "inputs": [
113
+ {
114
+ "indexed": true,
115
+ "internalType": "address",
116
+ "name": "newMasterMinter",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "MasterMinterChanged",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "anonymous": false,
125
+ "inputs": [
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "minter",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "indexed": true,
134
+ "internalType": "address",
135
+ "name": "to",
136
+ "type": "address"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "uint256",
141
+ "name": "amount",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "Mint",
146
+ "type": "event"
147
+ },
148
+ {
149
+ "anonymous": false,
150
+ "inputs": [
151
+ {
152
+ "indexed": true,
153
+ "internalType": "address",
154
+ "name": "minter",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint256",
160
+ "name": "minterAllowedAmount",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "MinterConfigured",
165
+ "type": "event"
166
+ },
167
+ {
168
+ "anonymous": false,
169
+ "inputs": [
170
+ {
171
+ "indexed": true,
172
+ "internalType": "address",
173
+ "name": "oldMinter",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "MinterRemoved",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "anonymous": false,
182
+ "inputs": [
183
+ {
184
+ "indexed": false,
185
+ "internalType": "address",
186
+ "name": "previousOwner",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "indexed": false,
191
+ "internalType": "address",
192
+ "name": "newOwner",
193
+ "type": "address"
194
+ }
195
+ ],
196
+ "name": "OwnershipTransferred",
197
+ "type": "event"
198
+ },
199
+ { "anonymous": false, "inputs": [], "name": "Pause", "type": "event" },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": true,
205
+ "internalType": "address",
206
+ "name": "newAddress",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "name": "PauserChanged",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": true,
218
+ "internalType": "address",
219
+ "name": "newRescuer",
220
+ "type": "address"
221
+ }
222
+ ],
223
+ "name": "RescuerChanged",
224
+ "type": "event"
225
+ },
226
+ {
227
+ "anonymous": false,
228
+ "inputs": [
229
+ {
230
+ "indexed": true,
231
+ "internalType": "address",
232
+ "name": "from",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "indexed": true,
237
+ "internalType": "address",
238
+ "name": "to",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "indexed": false,
243
+ "internalType": "uint256",
244
+ "name": "value",
245
+ "type": "uint256"
246
+ }
247
+ ],
248
+ "name": "Transfer",
249
+ "type": "event"
250
+ },
251
+ {
252
+ "anonymous": false,
253
+ "inputs": [
254
+ {
255
+ "indexed": true,
256
+ "internalType": "address",
257
+ "name": "_account",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "name": "UnBlacklisted",
262
+ "type": "event"
263
+ },
264
+ { "anonymous": false, "inputs": [], "name": "Unpause", "type": "event" },
265
+ {
266
+ "inputs": [],
267
+ "name": "CANCEL_AUTHORIZATION_TYPEHASH",
268
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "DOMAIN_SEPARATOR",
275
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "PERMIT_TYPEHASH",
282
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
283
+ "stateMutability": "view",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "inputs": [],
288
+ "name": "RECEIVE_WITH_AUTHORIZATION_TYPEHASH",
289
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
290
+ "stateMutability": "view",
291
+ "type": "function"
292
+ },
293
+ {
294
+ "inputs": [],
295
+ "name": "TRANSFER_WITH_AUTHORIZATION_TYPEHASH",
296
+ "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [
302
+ { "internalType": "address", "name": "owner", "type": "address" },
303
+ { "internalType": "address", "name": "spender", "type": "address" }
304
+ ],
305
+ "name": "allowance",
306
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
307
+ "stateMutability": "view",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [
312
+ { "internalType": "address", "name": "spender", "type": "address" },
313
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
314
+ ],
315
+ "name": "approve",
316
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
317
+ "stateMutability": "nonpayable",
318
+ "type": "function"
319
+ },
320
+ {
321
+ "inputs": [
322
+ { "internalType": "address", "name": "authorizer", "type": "address" },
323
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" }
324
+ ],
325
+ "name": "authorizationState",
326
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [
332
+ { "internalType": "address", "name": "account", "type": "address" }
333
+ ],
334
+ "name": "balanceOf",
335
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
336
+ "stateMutability": "view",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "inputs": [
341
+ { "internalType": "address", "name": "_account", "type": "address" }
342
+ ],
343
+ "name": "blacklist",
344
+ "outputs": [],
345
+ "stateMutability": "nonpayable",
346
+ "type": "function"
347
+ },
348
+ {
349
+ "inputs": [],
350
+ "name": "blacklister",
351
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
352
+ "stateMutability": "view",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [
357
+ { "internalType": "uint256", "name": "_amount", "type": "uint256" }
358
+ ],
359
+ "name": "burn",
360
+ "outputs": [],
361
+ "stateMutability": "nonpayable",
362
+ "type": "function"
363
+ },
364
+ {
365
+ "inputs": [
366
+ { "internalType": "address", "name": "authorizer", "type": "address" },
367
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
368
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
369
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
370
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
371
+ ],
372
+ "name": "cancelAuthorization",
373
+ "outputs": [],
374
+ "stateMutability": "nonpayable",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ { "internalType": "address", "name": "authorizer", "type": "address" },
380
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
381
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
382
+ ],
383
+ "name": "cancelAuthorization",
384
+ "outputs": [],
385
+ "stateMutability": "nonpayable",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [
390
+ { "internalType": "address", "name": "minter", "type": "address" },
391
+ {
392
+ "internalType": "uint256",
393
+ "name": "minterAllowedAmount",
394
+ "type": "uint256"
395
+ }
396
+ ],
397
+ "name": "configureMinter",
398
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "currency",
405
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [],
411
+ "name": "decimals",
412
+ "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [
418
+ { "internalType": "address", "name": "spender", "type": "address" },
419
+ { "internalType": "uint256", "name": "decrement", "type": "uint256" }
420
+ ],
421
+ "name": "decreaseAllowance",
422
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
423
+ "stateMutability": "nonpayable",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [
428
+ { "internalType": "address", "name": "spender", "type": "address" },
429
+ { "internalType": "uint256", "name": "increment", "type": "uint256" }
430
+ ],
431
+ "name": "increaseAllowance",
432
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
433
+ "stateMutability": "nonpayable",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ { "internalType": "string", "name": "tokenName", "type": "string" },
439
+ { "internalType": "string", "name": "tokenSymbol", "type": "string" },
440
+ { "internalType": "string", "name": "tokenCurrency", "type": "string" },
441
+ { "internalType": "uint8", "name": "tokenDecimals", "type": "uint8" },
442
+ {
443
+ "internalType": "address",
444
+ "name": "newMasterMinter",
445
+ "type": "address"
446
+ },
447
+ { "internalType": "address", "name": "newPauser", "type": "address" },
448
+ {
449
+ "internalType": "address",
450
+ "name": "newBlacklister",
451
+ "type": "address"
452
+ },
453
+ { "internalType": "address", "name": "newOwner", "type": "address" }
454
+ ],
455
+ "name": "initialize",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
462
+ { "internalType": "string", "name": "newName", "type": "string" }
463
+ ],
464
+ "name": "initializeV2",
465
+ "outputs": [],
466
+ "stateMutability": "nonpayable",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [
471
+ { "internalType": "address", "name": "lostAndFound", "type": "address" }
472
+ ],
473
+ "name": "initializeV2_1",
474
+ "outputs": [],
475
+ "stateMutability": "nonpayable",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "address[]",
482
+ "name": "accountsToBlacklist",
483
+ "type": "address[]"
484
+ },
485
+ { "internalType": "string", "name": "newSymbol", "type": "string" }
486
+ ],
487
+ "name": "initializeV2_2",
488
+ "outputs": [],
489
+ "stateMutability": "nonpayable",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [
494
+ { "internalType": "address", "name": "_account", "type": "address" }
495
+ ],
496
+ "name": "isBlacklisted",
497
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
503
+ { "internalType": "address", "name": "account", "type": "address" }
504
+ ],
505
+ "name": "isMinter",
506
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
510
+ {
511
+ "inputs": [],
512
+ "name": "masterMinter",
513
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ { "internalType": "address", "name": "_to", "type": "address" },
520
+ { "internalType": "uint256", "name": "_amount", "type": "uint256" }
521
+ ],
522
+ "name": "mint",
523
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
524
+ "stateMutability": "nonpayable",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [
529
+ { "internalType": "address", "name": "minter", "type": "address" }
530
+ ],
531
+ "name": "minterAllowance",
532
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "name",
539
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [
545
+ { "internalType": "address", "name": "owner", "type": "address" }
546
+ ],
547
+ "name": "nonces",
548
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
549
+ "stateMutability": "view",
550
+ "type": "function"
551
+ },
552
+ {
553
+ "inputs": [],
554
+ "name": "owner",
555
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [],
561
+ "name": "pause",
562
+ "outputs": [],
563
+ "stateMutability": "nonpayable",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "paused",
569
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [],
575
+ "name": "pauser",
576
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
577
+ "stateMutability": "view",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ { "internalType": "address", "name": "owner", "type": "address" },
583
+ { "internalType": "address", "name": "spender", "type": "address" },
584
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
585
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
586
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
587
+ ],
588
+ "name": "permit",
589
+ "outputs": [],
590
+ "stateMutability": "nonpayable",
591
+ "type": "function"
592
+ },
593
+ {
594
+ "inputs": [
595
+ { "internalType": "address", "name": "owner", "type": "address" },
596
+ { "internalType": "address", "name": "spender", "type": "address" },
597
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
598
+ { "internalType": "uint256", "name": "deadline", "type": "uint256" },
599
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
600
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
601
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
602
+ ],
603
+ "name": "permit",
604
+ "outputs": [],
605
+ "stateMutability": "nonpayable",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [
610
+ { "internalType": "address", "name": "from", "type": "address" },
611
+ { "internalType": "address", "name": "to", "type": "address" },
612
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
613
+ { "internalType": "uint256", "name": "validAfter", "type": "uint256" },
614
+ { "internalType": "uint256", "name": "validBefore", "type": "uint256" },
615
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
616
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
617
+ ],
618
+ "name": "receiveWithAuthorization",
619
+ "outputs": [],
620
+ "stateMutability": "nonpayable",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [
625
+ { "internalType": "address", "name": "from", "type": "address" },
626
+ { "internalType": "address", "name": "to", "type": "address" },
627
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
628
+ { "internalType": "uint256", "name": "validAfter", "type": "uint256" },
629
+ { "internalType": "uint256", "name": "validBefore", "type": "uint256" },
630
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
631
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
632
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
633
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
634
+ ],
635
+ "name": "receiveWithAuthorization",
636
+ "outputs": [],
637
+ "stateMutability": "nonpayable",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [
642
+ { "internalType": "address", "name": "minter", "type": "address" }
643
+ ],
644
+ "name": "removeMinter",
645
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
646
+ "stateMutability": "nonpayable",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [
651
+ {
652
+ "internalType": "contract IERC20",
653
+ "name": "tokenContract",
654
+ "type": "address"
655
+ },
656
+ { "internalType": "address", "name": "to", "type": "address" },
657
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
658
+ ],
659
+ "name": "rescueERC20",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [],
666
+ "name": "rescuer",
667
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "symbol",
674
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [],
680
+ "name": "totalSupply",
681
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
682
+ "stateMutability": "view",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
687
+ { "internalType": "address", "name": "to", "type": "address" },
688
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
689
+ ],
690
+ "name": "transfer",
691
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
692
+ "stateMutability": "nonpayable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ { "internalType": "address", "name": "from", "type": "address" },
698
+ { "internalType": "address", "name": "to", "type": "address" },
699
+ { "internalType": "uint256", "name": "value", "type": "uint256" }
700
+ ],
701
+ "name": "transferFrom",
702
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ { "internalType": "address", "name": "newOwner", "type": "address" }
709
+ ],
710
+ "name": "transferOwnership",
711
+ "outputs": [],
712
+ "stateMutability": "nonpayable",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [
717
+ { "internalType": "address", "name": "from", "type": "address" },
718
+ { "internalType": "address", "name": "to", "type": "address" },
719
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
720
+ { "internalType": "uint256", "name": "validAfter", "type": "uint256" },
721
+ { "internalType": "uint256", "name": "validBefore", "type": "uint256" },
722
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
723
+ { "internalType": "bytes", "name": "signature", "type": "bytes" }
724
+ ],
725
+ "name": "transferWithAuthorization",
726
+ "outputs": [],
727
+ "stateMutability": "nonpayable",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ { "internalType": "address", "name": "from", "type": "address" },
733
+ { "internalType": "address", "name": "to", "type": "address" },
734
+ { "internalType": "uint256", "name": "value", "type": "uint256" },
735
+ { "internalType": "uint256", "name": "validAfter", "type": "uint256" },
736
+ { "internalType": "uint256", "name": "validBefore", "type": "uint256" },
737
+ { "internalType": "bytes32", "name": "nonce", "type": "bytes32" },
738
+ { "internalType": "uint8", "name": "v", "type": "uint8" },
739
+ { "internalType": "bytes32", "name": "r", "type": "bytes32" },
740
+ { "internalType": "bytes32", "name": "s", "type": "bytes32" }
741
+ ],
742
+ "name": "transferWithAuthorization",
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ { "internalType": "address", "name": "_account", "type": "address" }
750
+ ],
751
+ "name": "unBlacklist",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [],
758
+ "name": "unpause",
759
+ "outputs": [],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [
765
+ {
766
+ "internalType": "address",
767
+ "name": "_newBlacklister",
768
+ "type": "address"
769
+ }
770
+ ],
771
+ "name": "updateBlacklister",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "address",
780
+ "name": "_newMasterMinter",
781
+ "type": "address"
782
+ }
783
+ ],
784
+ "name": "updateMasterMinter",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ { "internalType": "address", "name": "_newPauser", "type": "address" }
792
+ ],
793
+ "name": "updatePauser",
794
+ "outputs": [],
795
+ "stateMutability": "nonpayable",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [
800
+ { "internalType": "address", "name": "newRescuer", "type": "address" }
801
+ ],
802
+ "name": "updateRescuer",
803
+ "outputs": [],
804
+ "stateMutability": "nonpayable",
805
+ "type": "function"
806
+ },
807
+ {
808
+ "inputs": [],
809
+ "name": "version",
810
+ "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
811
+ "stateMutability": "pure",
812
+ "type": "function"
813
+ }
814
+ ]