skillpp 0.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.
Files changed (208) hide show
  1. package/COMPATIBILITY.md +58 -0
  2. package/LICENSE +21 -0
  3. package/README.md +307 -0
  4. package/README.zh-CN.md +307 -0
  5. package/SKILL.md +490 -0
  6. package/adapters/binance-ai.md +22 -0
  7. package/adapters/claude.md +21 -0
  8. package/adapters/gemini.md +26 -0
  9. package/adapters/gpt.md +28 -0
  10. package/adapters/kimi.md +26 -0
  11. package/adapters/mimo.md +22 -0
  12. package/adapters/openclaw.md +29 -0
  13. package/assets/skillpp-banner.png +0 -0
  14. package/package.json +59 -0
  15. package/pipelines.md +310 -0
  16. package/prompts/newbie-mode.md +48 -0
  17. package/prompts/router-prompt.md +32 -0
  18. package/prompts/universal-system-prompt.md +41 -0
  19. package/registry.md +209 -0
  20. package/rules.md +323 -0
  21. package/schemas/audit.schema.json +67 -0
  22. package/schemas/checkpoint.schema.json +86 -0
  23. package/schemas/handoff.schema.json +82 -0
  24. package/schemas/token.schema.json +36 -0
  25. package/scripts/compatibility-check.mjs +130 -0
  26. package/scripts/selftest.mjs +384 -0
  27. package/scripts/skillpp.mjs +448 -0
  28. package/scripts/validate-skillpp.mjs +140 -0
  29. package/skillpp.manifest.json +714 -0
  30. package/skills/audit-plus/SKILL.md +612 -0
  31. package/skills/binance/binance/CHANGELOG.md +112 -0
  32. package/skills/binance/binance/LICENSE.md +9 -0
  33. package/skills/binance/binance/SKILL.md +69 -0
  34. package/skills/binance/binance/references/algo.md +21 -0
  35. package/skills/binance/binance/references/alpha.md +9 -0
  36. package/skills/binance/binance/references/auth.md +32 -0
  37. package/skills/binance/binance/references/c2c.md +5 -0
  38. package/skills/binance/binance/references/convert.md +19 -0
  39. package/skills/binance/binance/references/copy-trading.md +6 -0
  40. package/skills/binance/binance/references/crypto-loan.md +27 -0
  41. package/skills/binance/binance/references/derivatives-options-streams.md +25 -0
  42. package/skills/binance/binance/references/derivatives-options.md +85 -0
  43. package/skills/binance/binance/references/derivatives-portfolio-margin-pro-streams.md +5 -0
  44. package/skills/binance/binance/references/derivatives-portfolio-margin-pro.md +34 -0
  45. package/skills/binance/binance/references/derivatives-portfolio-margin-streams.md +5 -0
  46. package/skills/binance/binance/references/derivatives-portfolio-margin.md +146 -0
  47. package/skills/binance/binance/references/dual-investment.md +15 -0
  48. package/skills/binance/binance/references/fiat.md +9 -0
  49. package/skills/binance/binance/references/futures-coin-streams.md +29 -0
  50. package/skills/binance/binance/references/futures-coin.md +109 -0
  51. package/skills/binance/binance/references/futures-usds-streams.md +35 -0
  52. package/skills/binance/binance/references/futures-usds.md +144 -0
  53. package/skills/binance/binance/references/gift-card.md +10 -0
  54. package/skills/binance/binance/references/margin-trading-streams.md +6 -0
  55. package/skills/binance/binance/references/margin-trading.md +101 -0
  56. package/skills/binance/binance/references/mining.md +17 -0
  57. package/skills/binance/binance/references/pay.md +5 -0
  58. package/skills/binance/binance/references/rebate.md +5 -0
  59. package/skills/binance/binance/references/simple-earn.md +56 -0
  60. package/skills/binance/binance/references/spot-streams.md +25 -0
  61. package/skills/binance/binance/references/spot.md +114 -0
  62. package/skills/binance/binance/references/staking.md +59 -0
  63. package/skills/binance/binance/references/sub-account.md +67 -0
  64. package/skills/binance/binance/references/vip-loan.md +27 -0
  65. package/skills/binance/binance/references/wallet.md +75 -0
  66. package/skills/binance/fiat/CHANGELOG.md +11 -0
  67. package/skills/binance/fiat/LICENSE.md +9 -0
  68. package/skills/binance/fiat/SKILL.md +169 -0
  69. package/skills/binance/fiat/references/authentication.md +126 -0
  70. package/skills/binance/fiat/references/sapi-endpoints.md +217 -0
  71. package/skills/binance/onchain-pay/.local.md.example +10 -0
  72. package/skills/binance/onchain-pay/CHANGELOG.md +20 -0
  73. package/skills/binance/onchain-pay/LICENSE.md +9 -0
  74. package/skills/binance/onchain-pay/SKILL.md +466 -0
  75. package/skills/binance/onchain-pay/references/authentication.md +92 -0
  76. package/skills/binance/onchain-pay/scripts/sign_and_call.sh +52 -0
  77. package/skills/binance/p2p/CHANGELOG.md +33 -0
  78. package/skills/binance/p2p/LICENSE.md +9 -0
  79. package/skills/binance/p2p/SKILL.md +1082 -0
  80. package/skills/binance/p2p/references/agent-sapi-api.md +795 -0
  81. package/skills/binance/p2p/references/authentication.md +100 -0
  82. package/skills/binance/payment/SKILL.md +824 -0
  83. package/skills/binance/payment/common.py +560 -0
  84. package/skills/binance/payment/payment_skill.py +86 -0
  85. package/skills/binance/payment/receive.py +109 -0
  86. package/skills/binance/payment/references/setup-guide.md +77 -0
  87. package/skills/binance/payment/requirements.txt +4 -0
  88. package/skills/binance/payment/send.py +952 -0
  89. package/skills/binance/payment/send_extension/__init__.py +43 -0
  90. package/skills/binance/payment/send_extension/base.py +48 -0
  91. package/skills/binance/payment/send_extension/c2c.py +193 -0
  92. package/skills/binance/payment/send_extension/pix.py +316 -0
  93. package/skills/binance/square-post/README.md +62 -0
  94. package/skills/binance/square-post/SKILL.md +171 -0
  95. package/skills/binance/square-post/scripts/lib.mjs +175 -0
  96. package/skills/binance/square-post/scripts/post-image.mjs +80 -0
  97. package/skills/binance/square-post/scripts/post-text.mjs +41 -0
  98. package/skills/binance/square-post/scripts/post-video.mjs +110 -0
  99. package/skills/binance/square-post/scripts/save-key.mjs +34 -0
  100. package/skills/binance-web3/binance-agentic-wallet/SKILL.md +150 -0
  101. package/skills/binance-web3/binance-agentic-wallet/references/authentication.md +136 -0
  102. package/skills/binance-web3/binance-agentic-wallet/references/limit-order.md +204 -0
  103. package/skills/binance-web3/binance-agentic-wallet/references/market-order.md +179 -0
  104. package/skills/binance-web3/binance-agentic-wallet/references/prediction.md +489 -0
  105. package/skills/binance-web3/binance-agentic-wallet/references/preflight.md +66 -0
  106. package/skills/binance-web3/binance-agentic-wallet/references/security.md +47 -0
  107. package/skills/binance-web3/binance-agentic-wallet/references/send.md +53 -0
  108. package/skills/binance-web3/binance-agentic-wallet/references/wallet-setting.md +86 -0
  109. package/skills/binance-web3/binance-agentic-wallet/references/wallet-view.md +312 -0
  110. package/skills/binance-web3/binance-agentic-wallet/references/x402-payment.md +259 -0
  111. package/skills/binance-web3/binance-tokenized-securities-info/SKILL.md +613 -0
  112. package/skills/binance-web3/crypto-market-rank/SKILL.md +91 -0
  113. package/skills/binance-web3/crypto-market-rank/references/cli.md +219 -0
  114. package/skills/binance-web3/crypto-market-rank/scripts/cli.mjs +149 -0
  115. package/skills/binance-web3/meme-rush/SKILL.md +72 -0
  116. package/skills/binance-web3/meme-rush/references/cli.md +158 -0
  117. package/skills/binance-web3/meme-rush/scripts/cli.mjs +101 -0
  118. package/skills/binance-web3/query-address-info/SKILL.md +61 -0
  119. package/skills/binance-web3/query-address-info/references/cli.md +56 -0
  120. package/skills/binance-web3/query-address-info/scripts/cli.mjs +132 -0
  121. package/skills/binance-web3/query-token-audit/SKILL.md +162 -0
  122. package/skills/binance-web3/query-token-info/SKILL.md +83 -0
  123. package/skills/binance-web3/query-token-info/references/cli.md +135 -0
  124. package/skills/binance-web3/query-token-info/scripts/cli.mjs +112 -0
  125. package/skills/binance-web3/trading-signal/SKILL.md +66 -0
  126. package/skills/binance-web3/trading-signal/references/cli.md +90 -0
  127. package/skills/binance-web3/trading-signal/scripts/cli.mjs +92 -0
  128. package/skills/four-meme/four-guard/API-Contract-TaxToken.md +277 -0
  129. package/skills/four-meme/four-guard/API-CreateToken.02-02-2026.md +285 -0
  130. package/skills/four-meme/four-guard/API-Documents.03-03-2026.md +789 -0
  131. package/skills/four-meme/four-guard/AgentIdentifier.abi +585 -0
  132. package/skills/four-meme/four-guard/README.md +21 -0
  133. package/skills/four-meme/four-guard/SKILL.md +31 -0
  134. package/skills/four-meme/four-guard/TaxToken.abi +969 -0
  135. package/skills/four-meme/four-guard/TokenIdentifierSample.js_ +81 -0
  136. package/skills/four-meme/four-guard/TokenIdentifierSample.sol +69 -0
  137. package/skills/four-meme/four-guard/TokenManager.lite.abi +836 -0
  138. package/skills/four-meme/four-guard/TokenManager2.lite.abi +2325 -0
  139. package/skills/four-meme/four-guard/TokenManagerHelper3.abi +999 -0
  140. package/skills/four-meme/four-guard/go.mod +36 -0
  141. package/skills/four-meme/four-guard/go.sum +127 -0
  142. package/skills/four-meme/four-guard/main.go +183 -0
  143. package/skills/four-meme/four-meme-ai/SKILL.md +31 -0
  144. package/skills/four-meme/four-meme-ai/references/agent-creator-and-wallets.md +87 -0
  145. package/skills/four-meme/four-meme-ai/references/api-create-token.md +55 -0
  146. package/skills/four-meme/four-meme-ai/references/contract-addresses.md +47 -0
  147. package/skills/four-meme/four-meme-ai/references/create-token-scripts.md +131 -0
  148. package/skills/four-meme/four-meme-ai/references/errors.md +29 -0
  149. package/skills/four-meme/four-meme-ai/references/event-listening.md +75 -0
  150. package/skills/four-meme/four-meme-ai/references/execute-trade.md +31 -0
  151. package/skills/four-meme/four-meme-ai/references/tax-token-query.md +38 -0
  152. package/skills/four-meme/four-meme-ai/references/token-query-api.md +44 -0
  153. package/skills/four-meme/four-meme-ai/references/token-tax-info.md +77 -0
  154. package/skills/four-meme/four-meme-ai/scripts/8004-balance.ts +52 -0
  155. package/skills/four-meme/four-meme-ai/scripts/8004-register.ts +108 -0
  156. package/skills/four-meme/four-meme-ai/scripts/create-token-api.ts +321 -0
  157. package/skills/four-meme/four-meme-ai/scripts/create-token-chain.ts +102 -0
  158. package/skills/four-meme/four-meme-ai/scripts/create-token-instant.ts +106 -0
  159. package/skills/four-meme/four-meme-ai/scripts/execute-buy.ts +198 -0
  160. package/skills/four-meme/four-meme-ai/scripts/execute-sell.ts +150 -0
  161. package/skills/four-meme/four-meme-ai/scripts/get-public-config.ts +25 -0
  162. package/skills/four-meme/four-meme-ai/scripts/get-recent-events.ts +76 -0
  163. package/skills/four-meme/four-meme-ai/scripts/get-tax-token-info.ts +69 -0
  164. package/skills/four-meme/four-meme-ai/scripts/get-token-info.ts +94 -0
  165. package/skills/four-meme/four-meme-ai/scripts/quote-buy.ts +85 -0
  166. package/skills/four-meme/four-meme-ai/scripts/quote-sell.ts +66 -0
  167. package/skills/four-meme/four-meme-ai/scripts/send-token.ts +98 -0
  168. package/skills/four-meme/four-meme-ai/scripts/token-get.ts +31 -0
  169. package/skills/four-meme/four-meme-ai/scripts/token-list.ts +134 -0
  170. package/skills/four-meme/four-meme-ai/scripts/token-rankings.ts +162 -0
  171. package/skills/four-meme/four-meme-ai/scripts/verify-events.ts +47 -0
  172. package/skills/four-meme/four-meme-integration/SKILL.md +374 -0
  173. package/skills/four-meme/four-meme-integration/references/agent-creator-and-wallets.md +87 -0
  174. package/skills/four-meme/four-meme-integration/references/api-create-token.md +55 -0
  175. package/skills/four-meme/four-meme-integration/references/contract-addresses.md +47 -0
  176. package/skills/four-meme/four-meme-integration/references/create-token-scripts.md +131 -0
  177. package/skills/four-meme/four-meme-integration/references/errors.md +29 -0
  178. package/skills/four-meme/four-meme-integration/references/event-listening.md +75 -0
  179. package/skills/four-meme/four-meme-integration/references/execute-trade.md +31 -0
  180. package/skills/four-meme/four-meme-integration/references/tax-token-query.md +38 -0
  181. package/skills/four-meme/four-meme-integration/references/token-query-api.md +44 -0
  182. package/skills/four-meme/four-meme-integration/references/token-tax-info.md +77 -0
  183. package/skills/four-meme/four-meme-integration/scripts/8004-balance.ts +52 -0
  184. package/skills/four-meme/four-meme-integration/scripts/8004-register.ts +108 -0
  185. package/skills/four-meme/four-meme-integration/scripts/create-token-api.ts +321 -0
  186. package/skills/four-meme/four-meme-integration/scripts/create-token-chain.ts +102 -0
  187. package/skills/four-meme/four-meme-integration/scripts/create-token-instant.ts +106 -0
  188. package/skills/four-meme/four-meme-integration/scripts/execute-buy.ts +198 -0
  189. package/skills/four-meme/four-meme-integration/scripts/execute-sell.ts +150 -0
  190. package/skills/four-meme/four-meme-integration/scripts/get-public-config.ts +25 -0
  191. package/skills/four-meme/four-meme-integration/scripts/get-recent-events.ts +76 -0
  192. package/skills/four-meme/four-meme-integration/scripts/get-tax-token-info.ts +69 -0
  193. package/skills/four-meme/four-meme-integration/scripts/get-token-info.ts +94 -0
  194. package/skills/four-meme/four-meme-integration/scripts/quote-buy.ts +85 -0
  195. package/skills/four-meme/four-meme-integration/scripts/quote-sell.ts +66 -0
  196. package/skills/four-meme/four-meme-integration/scripts/send-token.ts +98 -0
  197. package/skills/four-meme/four-meme-integration/scripts/token-get.ts +31 -0
  198. package/skills/four-meme/four-meme-integration/scripts/token-list.ts +134 -0
  199. package/skills/four-meme/four-meme-integration/scripts/token-rankings.ts +162 -0
  200. package/skills/four-meme/four-meme-integration/scripts/verify-events.ts +47 -0
  201. package/skills/skillpp/contract-profiler/SKILL.md +118 -0
  202. package/skills/skillpp/newbie-tutor/SKILL.md +85 -0
  203. package/skills/skillpp/opportunity-board/SKILL.md +87 -0
  204. package/skills/skillpp/risk-fusion/SKILL.md +146 -0
  205. package/skills/skillpp/scam-pattern-lab/SKILL.md +115 -0
  206. package/skills/skillpp/wallet-doctor/SKILL.md +119 -0
  207. package/skills/skillpp/watchtower/SKILL.md +72 -0
  208. package/tests/compatibility/v0.1.0.json +117 -0
@@ -0,0 +1,2325 @@
1
+ [
2
+ {
3
+ "anonymous": false,
4
+ "inputs": [
5
+ {
6
+ "indexed": false,
7
+ "internalType": "address",
8
+ "name": "previousAdmin",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "indexed": false,
13
+ "internalType": "address",
14
+ "name": "newAdmin",
15
+ "type": "address"
16
+ }
17
+ ],
18
+ "name": "AdminChanged",
19
+ "type": "event"
20
+ },
21
+ {
22
+ "anonymous": false,
23
+ "inputs": [
24
+ {
25
+ "indexed": true,
26
+ "internalType": "address",
27
+ "name": "beacon",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "name": "BeaconUpgraded",
32
+ "type": "event"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": false,
39
+ "internalType": "uint256",
40
+ "name": "lockId",
41
+ "type": "uint256"
42
+ }
43
+ ],
44
+ "name": "FeesCollected",
45
+ "type": "event"
46
+ },
47
+ {
48
+ "anonymous": false,
49
+ "inputs": [
50
+ {
51
+ "indexed": false,
52
+ "internalType": "uint8",
53
+ "name": "version",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "name": "Initialized",
58
+ "type": "event"
59
+ },
60
+ {
61
+ "anonymous": false,
62
+ "inputs": [
63
+ {
64
+ "indexed": false,
65
+ "internalType": "address",
66
+ "name": "token",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "uint256",
72
+ "name": "nftId",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "indexed": false,
77
+ "internalType": "uint256",
78
+ "name": "lockId",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "LPLock",
83
+ "type": "event"
84
+ },
85
+ {
86
+ "anonymous": false,
87
+ "inputs": [
88
+ {
89
+ "indexed": false,
90
+ "internalType": "address",
91
+ "name": "base",
92
+ "type": "address"
93
+ },
94
+ {
95
+ "indexed": false,
96
+ "internalType": "uint256",
97
+ "name": "offers",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "indexed": false,
102
+ "internalType": "address",
103
+ "name": "quote",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "uint256",
109
+ "name": "funds",
110
+ "type": "uint256"
111
+ }
112
+ ],
113
+ "name": "LiquidityAdded",
114
+ "type": "event"
115
+ },
116
+ {
117
+ "anonymous": false,
118
+ "inputs": [
119
+ {
120
+ "indexed": true,
121
+ "internalType": "address",
122
+ "name": "previousOwner",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "indexed": true,
127
+ "internalType": "address",
128
+ "name": "newOwner",
129
+ "type": "address"
130
+ }
131
+ ],
132
+ "name": "OwnershipTransferred",
133
+ "type": "event"
134
+ },
135
+ {
136
+ "anonymous": false,
137
+ "inputs": [
138
+ {
139
+ "indexed": true,
140
+ "internalType": "bytes32",
141
+ "name": "role",
142
+ "type": "bytes32"
143
+ },
144
+ {
145
+ "indexed": true,
146
+ "internalType": "bytes32",
147
+ "name": "previousAdminRole",
148
+ "type": "bytes32"
149
+ },
150
+ {
151
+ "indexed": true,
152
+ "internalType": "bytes32",
153
+ "name": "newAdminRole",
154
+ "type": "bytes32"
155
+ }
156
+ ],
157
+ "name": "RoleAdminChanged",
158
+ "type": "event"
159
+ },
160
+ {
161
+ "anonymous": false,
162
+ "inputs": [
163
+ {
164
+ "indexed": true,
165
+ "internalType": "bytes32",
166
+ "name": "role",
167
+ "type": "bytes32"
168
+ },
169
+ {
170
+ "indexed": true,
171
+ "internalType": "address",
172
+ "name": "account",
173
+ "type": "address"
174
+ },
175
+ {
176
+ "indexed": true,
177
+ "internalType": "address",
178
+ "name": "sender",
179
+ "type": "address"
180
+ }
181
+ ],
182
+ "name": "RoleGranted",
183
+ "type": "event"
184
+ },
185
+ {
186
+ "anonymous": false,
187
+ "inputs": [
188
+ {
189
+ "indexed": true,
190
+ "internalType": "bytes32",
191
+ "name": "role",
192
+ "type": "bytes32"
193
+ },
194
+ {
195
+ "indexed": true,
196
+ "internalType": "address",
197
+ "name": "account",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": true,
202
+ "internalType": "address",
203
+ "name": "sender",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "RoleRevoked",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "internalType": "address",
216
+ "name": "quote",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "indexed": false,
221
+ "internalType": "uint256",
222
+ "name": "index",
223
+ "type": "uint256"
224
+ }
225
+ ],
226
+ "name": "TemplateAdded",
227
+ "type": "event"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": false,
234
+ "internalType": "address",
235
+ "name": "creator",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "indexed": false,
240
+ "internalType": "address",
241
+ "name": "token",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "indexed": false,
246
+ "internalType": "uint256",
247
+ "name": "requestId",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "string",
253
+ "name": "name",
254
+ "type": "string"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "string",
259
+ "name": "symbol",
260
+ "type": "string"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "uint256",
265
+ "name": "totalSupply",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "uint256",
271
+ "name": "launchTime",
272
+ "type": "uint256"
273
+ },
274
+ {
275
+ "indexed": false,
276
+ "internalType": "uint256",
277
+ "name": "launchFee",
278
+ "type": "uint256"
279
+ }
280
+ ],
281
+ "name": "TokenCreate",
282
+ "type": "event"
283
+ },
284
+ {
285
+ "anonymous": false,
286
+ "inputs": [
287
+ {
288
+ "indexed": false,
289
+ "internalType": "address",
290
+ "name": "token",
291
+ "type": "address"
292
+ },
293
+ {
294
+ "indexed": false,
295
+ "internalType": "address",
296
+ "name": "account",
297
+ "type": "address"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "uint256",
302
+ "name": "price",
303
+ "type": "uint256"
304
+ },
305
+ {
306
+ "indexed": false,
307
+ "internalType": "uint256",
308
+ "name": "amount",
309
+ "type": "uint256"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "uint256",
314
+ "name": "cost",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "uint256",
320
+ "name": "fee",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "uint256",
326
+ "name": "offers",
327
+ "type": "uint256"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "uint256",
332
+ "name": "funds",
333
+ "type": "uint256"
334
+ }
335
+ ],
336
+ "name": "TokenPurchase",
337
+ "type": "event"
338
+ },
339
+ {
340
+ "anonymous": false,
341
+ "inputs": [
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint256",
345
+ "name": "origin",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "TokenPurchase2",
350
+ "type": "event"
351
+ },
352
+ {
353
+ "anonymous": false,
354
+ "inputs": [
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "token",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "indexed": false,
363
+ "internalType": "address",
364
+ "name": "account",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "indexed": false,
369
+ "internalType": "uint256",
370
+ "name": "price",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "indexed": false,
375
+ "internalType": "uint256",
376
+ "name": "amount",
377
+ "type": "uint256"
378
+ },
379
+ {
380
+ "indexed": false,
381
+ "internalType": "uint256",
382
+ "name": "cost",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "indexed": false,
387
+ "internalType": "uint256",
388
+ "name": "fee",
389
+ "type": "uint256"
390
+ },
391
+ {
392
+ "indexed": false,
393
+ "internalType": "uint256",
394
+ "name": "offers",
395
+ "type": "uint256"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "uint256",
400
+ "name": "funds",
401
+ "type": "uint256"
402
+ }
403
+ ],
404
+ "name": "TokenSale",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "uint256",
413
+ "name": "origin",
414
+ "type": "uint256"
415
+ }
416
+ ],
417
+ "name": "TokenSale2",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": false,
425
+ "internalType": "address",
426
+ "name": "token",
427
+ "type": "address"
428
+ }
429
+ ],
430
+ "name": "TradeStop",
431
+ "type": "event"
432
+ },
433
+ {
434
+ "anonymous": false,
435
+ "inputs": [
436
+ {
437
+ "indexed": true,
438
+ "internalType": "address",
439
+ "name": "implementation",
440
+ "type": "address"
441
+ }
442
+ ],
443
+ "name": "Upgraded",
444
+ "type": "event"
445
+ },
446
+ {
447
+ "inputs": [],
448
+ "name": "DEFAULT_ADMIN_ROLE",
449
+ "outputs": [
450
+ {
451
+ "internalType": "bytes32",
452
+ "name": "",
453
+ "type": "bytes32"
454
+ }
455
+ ],
456
+ "stateMutability": "view",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [],
461
+ "name": "ROLE_DEPLOYER",
462
+ "outputs": [
463
+ {
464
+ "internalType": "bytes32",
465
+ "name": "",
466
+ "type": "bytes32"
467
+ }
468
+ ],
469
+ "stateMutability": "view",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "ROLE_OPERATOR",
475
+ "outputs": [
476
+ {
477
+ "internalType": "bytes32",
478
+ "name": "",
479
+ "type": "bytes32"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "STATUS_ADDING_LIQUIDITY",
488
+ "outputs": [
489
+ {
490
+ "internalType": "uint256",
491
+ "name": "",
492
+ "type": "uint256"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "STATUS_COMPLETED",
501
+ "outputs": [
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "STATUS_HALT",
514
+ "outputs": [
515
+ {
516
+ "internalType": "uint256",
517
+ "name": "",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "STATUS_TRADING",
527
+ "outputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "TRADING_FEES",
540
+ "outputs": [
541
+ {
542
+ "internalType": "address",
543
+ "name": "",
544
+ "type": "address"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "address",
554
+ "name": "",
555
+ "type": "address"
556
+ }
557
+ ],
558
+ "name": "_feeCollectors",
559
+ "outputs": [
560
+ {
561
+ "internalType": "bool",
562
+ "name": "",
563
+ "type": "bool"
564
+ }
565
+ ],
566
+ "stateMutability": "view",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "_feeRecipient",
572
+ "outputs": [
573
+ {
574
+ "internalType": "address",
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [],
584
+ "name": "_launchFee",
585
+ "outputs": [
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "stateMutability": "view",
593
+ "type": "function"
594
+ },
595
+ {
596
+ "inputs": [],
597
+ "name": "_referralRewardKeeper",
598
+ "outputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "",
602
+ "type": "address"
603
+ }
604
+ ],
605
+ "stateMutability": "view",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [],
610
+ "name": "_referralRewardRate",
611
+ "outputs": [
612
+ {
613
+ "internalType": "uint256",
614
+ "name": "",
615
+ "type": "uint256"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [],
623
+ "name": "_templateCount",
624
+ "outputs": [
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "",
628
+ "type": "uint256"
629
+ }
630
+ ],
631
+ "stateMutability": "view",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [
636
+ {
637
+ "internalType": "uint256",
638
+ "name": "",
639
+ "type": "uint256"
640
+ }
641
+ ],
642
+ "name": "_templates",
643
+ "outputs": [
644
+ {
645
+ "internalType": "address",
646
+ "name": "quote",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "internalType": "uint256",
651
+ "name": "initialLiquidity",
652
+ "type": "uint256"
653
+ },
654
+ {
655
+ "internalType": "uint256",
656
+ "name": "maxRaising",
657
+ "type": "uint256"
658
+ },
659
+ {
660
+ "internalType": "uint256",
661
+ "name": "totalSupply",
662
+ "type": "uint256"
663
+ },
664
+ {
665
+ "internalType": "uint256",
666
+ "name": "maxOffers",
667
+ "type": "uint256"
668
+ },
669
+ {
670
+ "internalType": "uint256",
671
+ "name": "minTradingFee",
672
+ "type": "uint256"
673
+ }
674
+ ],
675
+ "stateMutability": "view",
676
+ "type": "function"
677
+ },
678
+ {
679
+ "inputs": [],
680
+ "name": "_tokenCount",
681
+ "outputs": [
682
+ {
683
+ "internalType": "uint256",
684
+ "name": "",
685
+ "type": "uint256"
686
+ }
687
+ ],
688
+ "stateMutability": "view",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [],
693
+ "name": "_tokenCreator",
694
+ "outputs": [
695
+ {
696
+ "internalType": "address",
697
+ "name": "",
698
+ "type": "address"
699
+ }
700
+ ],
701
+ "stateMutability": "view",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "inputs": [
706
+ {
707
+ "internalType": "address",
708
+ "name": "",
709
+ "type": "address"
710
+ }
711
+ ],
712
+ "name": "_tokenInfoEx1s",
713
+ "outputs": [
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "launchFee",
717
+ "type": "uint256"
718
+ },
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "pcFee",
722
+ "type": "uint256"
723
+ },
724
+ {
725
+ "internalType": "uint256",
726
+ "name": "feeSetting",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "blockNumber",
732
+ "type": "uint256"
733
+ },
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "extraFee",
737
+ "type": "uint256"
738
+ }
739
+ ],
740
+ "stateMutability": "view",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "address",
747
+ "name": "",
748
+ "type": "address"
749
+ }
750
+ ],
751
+ "name": "_tokenInfoExs",
752
+ "outputs": [
753
+ {
754
+ "internalType": "address",
755
+ "name": "creator",
756
+ "type": "address"
757
+ },
758
+ {
759
+ "internalType": "address",
760
+ "name": "founder",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "reserves",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "stateMutability": "view",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "address",
776
+ "name": "",
777
+ "type": "address"
778
+ }
779
+ ],
780
+ "name": "_tokenInfos",
781
+ "outputs": [
782
+ {
783
+ "internalType": "address",
784
+ "name": "base",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "address",
789
+ "name": "quote",
790
+ "type": "address"
791
+ },
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "template",
795
+ "type": "uint256"
796
+ },
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "totalSupply",
800
+ "type": "uint256"
801
+ },
802
+ {
803
+ "internalType": "uint256",
804
+ "name": "maxOffers",
805
+ "type": "uint256"
806
+ },
807
+ {
808
+ "internalType": "uint256",
809
+ "name": "maxRaising",
810
+ "type": "uint256"
811
+ },
812
+ {
813
+ "internalType": "uint256",
814
+ "name": "launchTime",
815
+ "type": "uint256"
816
+ },
817
+ {
818
+ "internalType": "uint256",
819
+ "name": "offers",
820
+ "type": "uint256"
821
+ },
822
+ {
823
+ "internalType": "uint256",
824
+ "name": "funds",
825
+ "type": "uint256"
826
+ },
827
+ {
828
+ "internalType": "uint256",
829
+ "name": "lastPrice",
830
+ "type": "uint256"
831
+ },
832
+ {
833
+ "internalType": "uint256",
834
+ "name": "K",
835
+ "type": "uint256"
836
+ },
837
+ {
838
+ "internalType": "uint256",
839
+ "name": "T",
840
+ "type": "uint256"
841
+ },
842
+ {
843
+ "internalType": "uint256",
844
+ "name": "status",
845
+ "type": "uint256"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [
853
+ {
854
+ "internalType": "uint256",
855
+ "name": "",
856
+ "type": "uint256"
857
+ }
858
+ ],
859
+ "name": "_tokens",
860
+ "outputs": [
861
+ {
862
+ "internalType": "address",
863
+ "name": "",
864
+ "type": "address"
865
+ }
866
+ ],
867
+ "stateMutability": "view",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "inputs": [],
872
+ "name": "_tradingFeeRate",
873
+ "outputs": [
874
+ {
875
+ "internalType": "uint256",
876
+ "name": "",
877
+ "type": "uint256"
878
+ }
879
+ ],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [],
885
+ "name": "_tradingHalt",
886
+ "outputs": [
887
+ {
888
+ "internalType": "bool",
889
+ "name": "",
890
+ "type": "bool"
891
+ }
892
+ ],
893
+ "stateMutability": "view",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [
898
+ {
899
+ "internalType": "address",
900
+ "name": "tokenAddress",
901
+ "type": "address"
902
+ }
903
+ ],
904
+ "name": "addLiquidity",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [
911
+ {
912
+ "internalType": "bytes",
913
+ "name": "args",
914
+ "type": "bytes"
915
+ },
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "time",
919
+ "type": "uint256"
920
+ },
921
+ {
922
+ "internalType": "bytes",
923
+ "name": "signature",
924
+ "type": "bytes"
925
+ }
926
+ ],
927
+ "name": "buyToken",
928
+ "outputs": [],
929
+ "stateMutability": "payable",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "origin",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "address",
941
+ "name": "token",
942
+ "type": "address"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "amount",
947
+ "type": "uint256"
948
+ },
949
+ {
950
+ "internalType": "uint256",
951
+ "name": "maxFunds",
952
+ "type": "uint256"
953
+ }
954
+ ],
955
+ "name": "buyToken",
956
+ "outputs": [],
957
+ "stateMutability": "payable",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "inputs": [
962
+ {
963
+ "internalType": "address",
964
+ "name": "token",
965
+ "type": "address"
966
+ },
967
+ {
968
+ "internalType": "address",
969
+ "name": "to",
970
+ "type": "address"
971
+ },
972
+ {
973
+ "internalType": "uint256",
974
+ "name": "amount",
975
+ "type": "uint256"
976
+ },
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "maxFunds",
980
+ "type": "uint256"
981
+ }
982
+ ],
983
+ "name": "buyToken",
984
+ "outputs": [],
985
+ "stateMutability": "payable",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "uint256",
992
+ "name": "origin",
993
+ "type": "uint256"
994
+ },
995
+ {
996
+ "internalType": "address",
997
+ "name": "token",
998
+ "type": "address"
999
+ },
1000
+ {
1001
+ "internalType": "address",
1002
+ "name": "to",
1003
+ "type": "address"
1004
+ },
1005
+ {
1006
+ "internalType": "uint256",
1007
+ "name": "amount",
1008
+ "type": "uint256"
1009
+ },
1010
+ {
1011
+ "internalType": "uint256",
1012
+ "name": "maxFunds",
1013
+ "type": "uint256"
1014
+ }
1015
+ ],
1016
+ "name": "buyToken",
1017
+ "outputs": [],
1018
+ "stateMutability": "payable",
1019
+ "type": "function"
1020
+ },
1021
+ {
1022
+ "inputs": [
1023
+ {
1024
+ "internalType": "address",
1025
+ "name": "token",
1026
+ "type": "address"
1027
+ },
1028
+ {
1029
+ "internalType": "uint256",
1030
+ "name": "amount",
1031
+ "type": "uint256"
1032
+ },
1033
+ {
1034
+ "internalType": "uint256",
1035
+ "name": "maxFunds",
1036
+ "type": "uint256"
1037
+ }
1038
+ ],
1039
+ "name": "buyToken",
1040
+ "outputs": [],
1041
+ "stateMutability": "payable",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [
1046
+ {
1047
+ "internalType": "uint256",
1048
+ "name": "origin",
1049
+ "type": "uint256"
1050
+ },
1051
+ {
1052
+ "internalType": "address",
1053
+ "name": "token",
1054
+ "type": "address"
1055
+ },
1056
+ {
1057
+ "internalType": "address",
1058
+ "name": "to",
1059
+ "type": "address"
1060
+ },
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "funds",
1064
+ "type": "uint256"
1065
+ },
1066
+ {
1067
+ "internalType": "uint256",
1068
+ "name": "minAmount",
1069
+ "type": "uint256"
1070
+ }
1071
+ ],
1072
+ "name": "buyTokenAMAP",
1073
+ "outputs": [],
1074
+ "stateMutability": "payable",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [
1079
+ {
1080
+ "internalType": "address",
1081
+ "name": "token",
1082
+ "type": "address"
1083
+ },
1084
+ {
1085
+ "internalType": "address",
1086
+ "name": "to",
1087
+ "type": "address"
1088
+ },
1089
+ {
1090
+ "internalType": "uint256",
1091
+ "name": "funds",
1092
+ "type": "uint256"
1093
+ },
1094
+ {
1095
+ "internalType": "uint256",
1096
+ "name": "minAmount",
1097
+ "type": "uint256"
1098
+ }
1099
+ ],
1100
+ "name": "buyTokenAMAP",
1101
+ "outputs": [],
1102
+ "stateMutability": "payable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "internalType": "address",
1109
+ "name": "token",
1110
+ "type": "address"
1111
+ },
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "funds",
1115
+ "type": "uint256"
1116
+ },
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "minAmount",
1120
+ "type": "uint256"
1121
+ }
1122
+ ],
1123
+ "name": "buyTokenAMAP",
1124
+ "outputs": [],
1125
+ "stateMutability": "payable",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "uint256",
1132
+ "name": "origin",
1133
+ "type": "uint256"
1134
+ },
1135
+ {
1136
+ "internalType": "address",
1137
+ "name": "token",
1138
+ "type": "address"
1139
+ },
1140
+ {
1141
+ "internalType": "uint256",
1142
+ "name": "funds",
1143
+ "type": "uint256"
1144
+ },
1145
+ {
1146
+ "internalType": "uint256",
1147
+ "name": "minAmount",
1148
+ "type": "uint256"
1149
+ }
1150
+ ],
1151
+ "name": "buyTokenAMAP",
1152
+ "outputs": [],
1153
+ "stateMutability": "payable",
1154
+ "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [
1158
+ {
1159
+ "components": [
1160
+ {
1161
+ "internalType": "address",
1162
+ "name": "base",
1163
+ "type": "address"
1164
+ },
1165
+ {
1166
+ "internalType": "address",
1167
+ "name": "quote",
1168
+ "type": "address"
1169
+ },
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "template",
1173
+ "type": "uint256"
1174
+ },
1175
+ {
1176
+ "internalType": "uint256",
1177
+ "name": "totalSupply",
1178
+ "type": "uint256"
1179
+ },
1180
+ {
1181
+ "internalType": "uint256",
1182
+ "name": "maxOffers",
1183
+ "type": "uint256"
1184
+ },
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "maxRaising",
1188
+ "type": "uint256"
1189
+ },
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "launchTime",
1193
+ "type": "uint256"
1194
+ },
1195
+ {
1196
+ "internalType": "uint256",
1197
+ "name": "offers",
1198
+ "type": "uint256"
1199
+ },
1200
+ {
1201
+ "internalType": "uint256",
1202
+ "name": "funds",
1203
+ "type": "uint256"
1204
+ },
1205
+ {
1206
+ "internalType": "uint256",
1207
+ "name": "lastPrice",
1208
+ "type": "uint256"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256",
1212
+ "name": "K",
1213
+ "type": "uint256"
1214
+ },
1215
+ {
1216
+ "internalType": "uint256",
1217
+ "name": "T",
1218
+ "type": "uint256"
1219
+ },
1220
+ {
1221
+ "internalType": "uint256",
1222
+ "name": "status",
1223
+ "type": "uint256"
1224
+ }
1225
+ ],
1226
+ "internalType": "struct TokenManager3.TokenInfo",
1227
+ "name": "ti",
1228
+ "type": "tuple"
1229
+ },
1230
+ {
1231
+ "internalType": "uint256",
1232
+ "name": "funds",
1233
+ "type": "uint256"
1234
+ }
1235
+ ],
1236
+ "name": "calcBuyAmount",
1237
+ "outputs": [
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "",
1241
+ "type": "uint256"
1242
+ }
1243
+ ],
1244
+ "stateMutability": "pure",
1245
+ "type": "function"
1246
+ },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "components": [
1251
+ {
1252
+ "internalType": "address",
1253
+ "name": "base",
1254
+ "type": "address"
1255
+ },
1256
+ {
1257
+ "internalType": "address",
1258
+ "name": "quote",
1259
+ "type": "address"
1260
+ },
1261
+ {
1262
+ "internalType": "uint256",
1263
+ "name": "template",
1264
+ "type": "uint256"
1265
+ },
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "totalSupply",
1269
+ "type": "uint256"
1270
+ },
1271
+ {
1272
+ "internalType": "uint256",
1273
+ "name": "maxOffers",
1274
+ "type": "uint256"
1275
+ },
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "maxRaising",
1279
+ "type": "uint256"
1280
+ },
1281
+ {
1282
+ "internalType": "uint256",
1283
+ "name": "launchTime",
1284
+ "type": "uint256"
1285
+ },
1286
+ {
1287
+ "internalType": "uint256",
1288
+ "name": "offers",
1289
+ "type": "uint256"
1290
+ },
1291
+ {
1292
+ "internalType": "uint256",
1293
+ "name": "funds",
1294
+ "type": "uint256"
1295
+ },
1296
+ {
1297
+ "internalType": "uint256",
1298
+ "name": "lastPrice",
1299
+ "type": "uint256"
1300
+ },
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "K",
1304
+ "type": "uint256"
1305
+ },
1306
+ {
1307
+ "internalType": "uint256",
1308
+ "name": "T",
1309
+ "type": "uint256"
1310
+ },
1311
+ {
1312
+ "internalType": "uint256",
1313
+ "name": "status",
1314
+ "type": "uint256"
1315
+ }
1316
+ ],
1317
+ "internalType": "struct TokenManager3.TokenInfo",
1318
+ "name": "ti",
1319
+ "type": "tuple"
1320
+ },
1321
+ {
1322
+ "internalType": "uint256",
1323
+ "name": "amount",
1324
+ "type": "uint256"
1325
+ }
1326
+ ],
1327
+ "name": "calcBuyCost",
1328
+ "outputs": [
1329
+ {
1330
+ "internalType": "uint256",
1331
+ "name": "",
1332
+ "type": "uint256"
1333
+ }
1334
+ ],
1335
+ "stateMutability": "pure",
1336
+ "type": "function"
1337
+ },
1338
+ {
1339
+ "inputs": [
1340
+ {
1341
+ "internalType": "uint256",
1342
+ "name": "maxRaising",
1343
+ "type": "uint256"
1344
+ },
1345
+ {
1346
+ "internalType": "uint256",
1347
+ "name": "totalSupply",
1348
+ "type": "uint256"
1349
+ },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "offers",
1353
+ "type": "uint256"
1354
+ },
1355
+ {
1356
+ "internalType": "uint256",
1357
+ "name": "reserves",
1358
+ "type": "uint256"
1359
+ }
1360
+ ],
1361
+ "name": "calcInitialPrice",
1362
+ "outputs": [
1363
+ {
1364
+ "internalType": "uint256",
1365
+ "name": "",
1366
+ "type": "uint256"
1367
+ }
1368
+ ],
1369
+ "stateMutability": "pure",
1370
+ "type": "function"
1371
+ },
1372
+ {
1373
+ "inputs": [
1374
+ {
1375
+ "components": [
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "base",
1379
+ "type": "address"
1380
+ },
1381
+ {
1382
+ "internalType": "address",
1383
+ "name": "quote",
1384
+ "type": "address"
1385
+ },
1386
+ {
1387
+ "internalType": "uint256",
1388
+ "name": "template",
1389
+ "type": "uint256"
1390
+ },
1391
+ {
1392
+ "internalType": "uint256",
1393
+ "name": "totalSupply",
1394
+ "type": "uint256"
1395
+ },
1396
+ {
1397
+ "internalType": "uint256",
1398
+ "name": "maxOffers",
1399
+ "type": "uint256"
1400
+ },
1401
+ {
1402
+ "internalType": "uint256",
1403
+ "name": "maxRaising",
1404
+ "type": "uint256"
1405
+ },
1406
+ {
1407
+ "internalType": "uint256",
1408
+ "name": "launchTime",
1409
+ "type": "uint256"
1410
+ },
1411
+ {
1412
+ "internalType": "uint256",
1413
+ "name": "offers",
1414
+ "type": "uint256"
1415
+ },
1416
+ {
1417
+ "internalType": "uint256",
1418
+ "name": "funds",
1419
+ "type": "uint256"
1420
+ },
1421
+ {
1422
+ "internalType": "uint256",
1423
+ "name": "lastPrice",
1424
+ "type": "uint256"
1425
+ },
1426
+ {
1427
+ "internalType": "uint256",
1428
+ "name": "K",
1429
+ "type": "uint256"
1430
+ },
1431
+ {
1432
+ "internalType": "uint256",
1433
+ "name": "T",
1434
+ "type": "uint256"
1435
+ },
1436
+ {
1437
+ "internalType": "uint256",
1438
+ "name": "status",
1439
+ "type": "uint256"
1440
+ }
1441
+ ],
1442
+ "internalType": "struct TokenManager3.TokenInfo",
1443
+ "name": "ti",
1444
+ "type": "tuple"
1445
+ }
1446
+ ],
1447
+ "name": "calcLastPrice",
1448
+ "outputs": [
1449
+ {
1450
+ "internalType": "uint256",
1451
+ "name": "",
1452
+ "type": "uint256"
1453
+ }
1454
+ ],
1455
+ "stateMutability": "pure",
1456
+ "type": "function"
1457
+ },
1458
+ {
1459
+ "inputs": [
1460
+ {
1461
+ "components": [
1462
+ {
1463
+ "internalType": "address",
1464
+ "name": "base",
1465
+ "type": "address"
1466
+ },
1467
+ {
1468
+ "internalType": "address",
1469
+ "name": "quote",
1470
+ "type": "address"
1471
+ },
1472
+ {
1473
+ "internalType": "uint256",
1474
+ "name": "template",
1475
+ "type": "uint256"
1476
+ },
1477
+ {
1478
+ "internalType": "uint256",
1479
+ "name": "totalSupply",
1480
+ "type": "uint256"
1481
+ },
1482
+ {
1483
+ "internalType": "uint256",
1484
+ "name": "maxOffers",
1485
+ "type": "uint256"
1486
+ },
1487
+ {
1488
+ "internalType": "uint256",
1489
+ "name": "maxRaising",
1490
+ "type": "uint256"
1491
+ },
1492
+ {
1493
+ "internalType": "uint256",
1494
+ "name": "launchTime",
1495
+ "type": "uint256"
1496
+ },
1497
+ {
1498
+ "internalType": "uint256",
1499
+ "name": "offers",
1500
+ "type": "uint256"
1501
+ },
1502
+ {
1503
+ "internalType": "uint256",
1504
+ "name": "funds",
1505
+ "type": "uint256"
1506
+ },
1507
+ {
1508
+ "internalType": "uint256",
1509
+ "name": "lastPrice",
1510
+ "type": "uint256"
1511
+ },
1512
+ {
1513
+ "internalType": "uint256",
1514
+ "name": "K",
1515
+ "type": "uint256"
1516
+ },
1517
+ {
1518
+ "internalType": "uint256",
1519
+ "name": "T",
1520
+ "type": "uint256"
1521
+ },
1522
+ {
1523
+ "internalType": "uint256",
1524
+ "name": "status",
1525
+ "type": "uint256"
1526
+ }
1527
+ ],
1528
+ "internalType": "struct TokenManager3.TokenInfo",
1529
+ "name": "ti",
1530
+ "type": "tuple"
1531
+ },
1532
+ {
1533
+ "internalType": "uint256",
1534
+ "name": "amount",
1535
+ "type": "uint256"
1536
+ }
1537
+ ],
1538
+ "name": "calcSellCost",
1539
+ "outputs": [
1540
+ {
1541
+ "internalType": "uint256",
1542
+ "name": "",
1543
+ "type": "uint256"
1544
+ }
1545
+ ],
1546
+ "stateMutability": "pure",
1547
+ "type": "function"
1548
+ },
1549
+ {
1550
+ "inputs": [
1551
+ {
1552
+ "components": [
1553
+ {
1554
+ "internalType": "address",
1555
+ "name": "base",
1556
+ "type": "address"
1557
+ },
1558
+ {
1559
+ "internalType": "address",
1560
+ "name": "quote",
1561
+ "type": "address"
1562
+ },
1563
+ {
1564
+ "internalType": "uint256",
1565
+ "name": "template",
1566
+ "type": "uint256"
1567
+ },
1568
+ {
1569
+ "internalType": "uint256",
1570
+ "name": "totalSupply",
1571
+ "type": "uint256"
1572
+ },
1573
+ {
1574
+ "internalType": "uint256",
1575
+ "name": "maxOffers",
1576
+ "type": "uint256"
1577
+ },
1578
+ {
1579
+ "internalType": "uint256",
1580
+ "name": "maxRaising",
1581
+ "type": "uint256"
1582
+ },
1583
+ {
1584
+ "internalType": "uint256",
1585
+ "name": "launchTime",
1586
+ "type": "uint256"
1587
+ },
1588
+ {
1589
+ "internalType": "uint256",
1590
+ "name": "offers",
1591
+ "type": "uint256"
1592
+ },
1593
+ {
1594
+ "internalType": "uint256",
1595
+ "name": "funds",
1596
+ "type": "uint256"
1597
+ },
1598
+ {
1599
+ "internalType": "uint256",
1600
+ "name": "lastPrice",
1601
+ "type": "uint256"
1602
+ },
1603
+ {
1604
+ "internalType": "uint256",
1605
+ "name": "K",
1606
+ "type": "uint256"
1607
+ },
1608
+ {
1609
+ "internalType": "uint256",
1610
+ "name": "T",
1611
+ "type": "uint256"
1612
+ },
1613
+ {
1614
+ "internalType": "uint256",
1615
+ "name": "status",
1616
+ "type": "uint256"
1617
+ }
1618
+ ],
1619
+ "internalType": "struct TokenManager3.TokenInfo",
1620
+ "name": "ti",
1621
+ "type": "tuple"
1622
+ },
1623
+ {
1624
+ "internalType": "uint256",
1625
+ "name": "funds",
1626
+ "type": "uint256"
1627
+ }
1628
+ ],
1629
+ "name": "calcTradingFee",
1630
+ "outputs": [
1631
+ {
1632
+ "internalType": "uint256",
1633
+ "name": "",
1634
+ "type": "uint256"
1635
+ }
1636
+ ],
1637
+ "stateMutability": "view",
1638
+ "type": "function"
1639
+ },
1640
+ {
1641
+ "inputs": [
1642
+ {
1643
+ "internalType": "uint256",
1644
+ "name": "lockId",
1645
+ "type": "uint256"
1646
+ },
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "recipient",
1650
+ "type": "address"
1651
+ },
1652
+ {
1653
+ "internalType": "uint128",
1654
+ "name": "amount0Max",
1655
+ "type": "uint128"
1656
+ },
1657
+ {
1658
+ "internalType": "uint128",
1659
+ "name": "amount1Max",
1660
+ "type": "uint128"
1661
+ }
1662
+ ],
1663
+ "name": "collectFees",
1664
+ "outputs": [
1665
+ {
1666
+ "internalType": "uint256",
1667
+ "name": "amount0",
1668
+ "type": "uint256"
1669
+ },
1670
+ {
1671
+ "internalType": "uint256",
1672
+ "name": "amount1",
1673
+ "type": "uint256"
1674
+ },
1675
+ {
1676
+ "internalType": "uint256",
1677
+ "name": "fee0",
1678
+ "type": "uint256"
1679
+ },
1680
+ {
1681
+ "internalType": "uint256",
1682
+ "name": "fee1",
1683
+ "type": "uint256"
1684
+ }
1685
+ ],
1686
+ "stateMutability": "nonpayable",
1687
+ "type": "function"
1688
+ },
1689
+ {
1690
+ "inputs": [
1691
+ {
1692
+ "internalType": "bytes",
1693
+ "name": "args",
1694
+ "type": "bytes"
1695
+ },
1696
+ {
1697
+ "internalType": "bytes",
1698
+ "name": "signature",
1699
+ "type": "bytes"
1700
+ }
1701
+ ],
1702
+ "name": "createToken",
1703
+ "outputs": [],
1704
+ "stateMutability": "payable",
1705
+ "type": "function"
1706
+ },
1707
+ {
1708
+ "inputs": [
1709
+ {
1710
+ "internalType": "bytes32",
1711
+ "name": "role",
1712
+ "type": "bytes32"
1713
+ }
1714
+ ],
1715
+ "name": "getRoleAdmin",
1716
+ "outputs": [
1717
+ {
1718
+ "internalType": "bytes32",
1719
+ "name": "",
1720
+ "type": "bytes32"
1721
+ }
1722
+ ],
1723
+ "stateMutability": "view",
1724
+ "type": "function"
1725
+ },
1726
+ {
1727
+ "inputs": [
1728
+ {
1729
+ "internalType": "address",
1730
+ "name": "account",
1731
+ "type": "address"
1732
+ }
1733
+ ],
1734
+ "name": "grantDeployer",
1735
+ "outputs": [],
1736
+ "stateMutability": "nonpayable",
1737
+ "type": "function"
1738
+ },
1739
+ {
1740
+ "inputs": [
1741
+ {
1742
+ "internalType": "address",
1743
+ "name": "account",
1744
+ "type": "address"
1745
+ }
1746
+ ],
1747
+ "name": "grantOperator",
1748
+ "outputs": [],
1749
+ "stateMutability": "nonpayable",
1750
+ "type": "function"
1751
+ },
1752
+ {
1753
+ "inputs": [
1754
+ {
1755
+ "internalType": "bytes32",
1756
+ "name": "role",
1757
+ "type": "bytes32"
1758
+ },
1759
+ {
1760
+ "internalType": "address",
1761
+ "name": "account",
1762
+ "type": "address"
1763
+ }
1764
+ ],
1765
+ "name": "grantRole",
1766
+ "outputs": [],
1767
+ "stateMutability": "nonpayable",
1768
+ "type": "function"
1769
+ },
1770
+ {
1771
+ "inputs": [
1772
+ {
1773
+ "internalType": "bytes32",
1774
+ "name": "role",
1775
+ "type": "bytes32"
1776
+ },
1777
+ {
1778
+ "internalType": "address",
1779
+ "name": "account",
1780
+ "type": "address"
1781
+ }
1782
+ ],
1783
+ "name": "hasRole",
1784
+ "outputs": [
1785
+ {
1786
+ "internalType": "bool",
1787
+ "name": "",
1788
+ "type": "bool"
1789
+ }
1790
+ ],
1791
+ "stateMutability": "view",
1792
+ "type": "function"
1793
+ },
1794
+ {
1795
+ "inputs": [],
1796
+ "name": "initialize",
1797
+ "outputs": [],
1798
+ "stateMutability": "nonpayable",
1799
+ "type": "function"
1800
+ },
1801
+ {
1802
+ "inputs": [
1803
+ {
1804
+ "internalType": "address",
1805
+ "name": "signer",
1806
+ "type": "address"
1807
+ },
1808
+ {
1809
+ "internalType": "address",
1810
+ "name": "feeRecipient",
1811
+ "type": "address"
1812
+ },
1813
+ {
1814
+ "internalType": "address",
1815
+ "name": "tokenCreator",
1816
+ "type": "address"
1817
+ },
1818
+ {
1819
+ "internalType": "address",
1820
+ "name": "referralRewardKeeper",
1821
+ "type": "address"
1822
+ },
1823
+ {
1824
+ "internalType": "uint256",
1825
+ "name": "launchFee",
1826
+ "type": "uint256"
1827
+ }
1828
+ ],
1829
+ "name": "initialize",
1830
+ "outputs": [],
1831
+ "stateMutability": "nonpayable",
1832
+ "type": "function"
1833
+ },
1834
+ {
1835
+ "inputs": [
1836
+ {
1837
+ "internalType": "bytes32",
1838
+ "name": "role",
1839
+ "type": "bytes32"
1840
+ }
1841
+ ],
1842
+ "name": "nameOfRole",
1843
+ "outputs": [
1844
+ {
1845
+ "internalType": "string",
1846
+ "name": "",
1847
+ "type": "string"
1848
+ }
1849
+ ],
1850
+ "stateMutability": "pure",
1851
+ "type": "function"
1852
+ },
1853
+ {
1854
+ "inputs": [],
1855
+ "name": "owner",
1856
+ "outputs": [
1857
+ {
1858
+ "internalType": "address",
1859
+ "name": "",
1860
+ "type": "address"
1861
+ }
1862
+ ],
1863
+ "stateMutability": "view",
1864
+ "type": "function"
1865
+ },
1866
+ {
1867
+ "inputs": [],
1868
+ "name": "proxiableUUID",
1869
+ "outputs": [
1870
+ {
1871
+ "internalType": "bytes32",
1872
+ "name": "",
1873
+ "type": "bytes32"
1874
+ }
1875
+ ],
1876
+ "stateMutability": "view",
1877
+ "type": "function"
1878
+ },
1879
+ {
1880
+ "inputs": [],
1881
+ "name": "renounceOwnership",
1882
+ "outputs": [],
1883
+ "stateMutability": "nonpayable",
1884
+ "type": "function"
1885
+ },
1886
+ {
1887
+ "inputs": [
1888
+ {
1889
+ "internalType": "bytes32",
1890
+ "name": "role",
1891
+ "type": "bytes32"
1892
+ },
1893
+ {
1894
+ "internalType": "address",
1895
+ "name": "account",
1896
+ "type": "address"
1897
+ }
1898
+ ],
1899
+ "name": "renounceRole",
1900
+ "outputs": [],
1901
+ "stateMutability": "nonpayable",
1902
+ "type": "function"
1903
+ },
1904
+ {
1905
+ "inputs": [
1906
+ {
1907
+ "internalType": "address",
1908
+ "name": "account",
1909
+ "type": "address"
1910
+ }
1911
+ ],
1912
+ "name": "revokeDeployer",
1913
+ "outputs": [],
1914
+ "stateMutability": "nonpayable",
1915
+ "type": "function"
1916
+ },
1917
+ {
1918
+ "inputs": [
1919
+ {
1920
+ "internalType": "address",
1921
+ "name": "account",
1922
+ "type": "address"
1923
+ }
1924
+ ],
1925
+ "name": "revokeOperator",
1926
+ "outputs": [],
1927
+ "stateMutability": "nonpayable",
1928
+ "type": "function"
1929
+ },
1930
+ {
1931
+ "inputs": [
1932
+ {
1933
+ "internalType": "bytes32",
1934
+ "name": "role",
1935
+ "type": "bytes32"
1936
+ },
1937
+ {
1938
+ "internalType": "address",
1939
+ "name": "account",
1940
+ "type": "address"
1941
+ }
1942
+ ],
1943
+ "name": "revokeRole",
1944
+ "outputs": [],
1945
+ "stateMutability": "nonpayable",
1946
+ "type": "function"
1947
+ },
1948
+ {
1949
+ "inputs": [
1950
+ {
1951
+ "internalType": "uint256",
1952
+ "name": "origin",
1953
+ "type": "uint256"
1954
+ },
1955
+ {
1956
+ "internalType": "address",
1957
+ "name": "token",
1958
+ "type": "address"
1959
+ },
1960
+ {
1961
+ "internalType": "uint256",
1962
+ "name": "amount",
1963
+ "type": "uint256"
1964
+ },
1965
+ {
1966
+ "internalType": "uint256",
1967
+ "name": "minFunds",
1968
+ "type": "uint256"
1969
+ },
1970
+ {
1971
+ "internalType": "uint256",
1972
+ "name": "feeRate",
1973
+ "type": "uint256"
1974
+ },
1975
+ {
1976
+ "internalType": "address",
1977
+ "name": "feeRecipient",
1978
+ "type": "address"
1979
+ }
1980
+ ],
1981
+ "name": "sellToken",
1982
+ "outputs": [],
1983
+ "stateMutability": "nonpayable",
1984
+ "type": "function"
1985
+ },
1986
+ {
1987
+ "inputs": [
1988
+ {
1989
+ "internalType": "uint256",
1990
+ "name": "origin",
1991
+ "type": "uint256"
1992
+ },
1993
+ {
1994
+ "internalType": "address",
1995
+ "name": "token",
1996
+ "type": "address"
1997
+ },
1998
+ {
1999
+ "internalType": "uint256",
2000
+ "name": "amount",
2001
+ "type": "uint256"
2002
+ },
2003
+ {
2004
+ "internalType": "uint256",
2005
+ "name": "minFunds",
2006
+ "type": "uint256"
2007
+ }
2008
+ ],
2009
+ "name": "sellToken",
2010
+ "outputs": [],
2011
+ "stateMutability": "nonpayable",
2012
+ "type": "function"
2013
+ },
2014
+ {
2015
+ "inputs": [
2016
+ {
2017
+ "internalType": "uint256",
2018
+ "name": "origin",
2019
+ "type": "uint256"
2020
+ },
2021
+ {
2022
+ "internalType": "address",
2023
+ "name": "token",
2024
+ "type": "address"
2025
+ },
2026
+ {
2027
+ "internalType": "uint256",
2028
+ "name": "amount",
2029
+ "type": "uint256"
2030
+ }
2031
+ ],
2032
+ "name": "sellToken",
2033
+ "outputs": [],
2034
+ "stateMutability": "nonpayable",
2035
+ "type": "function"
2036
+ },
2037
+ {
2038
+ "inputs": [
2039
+ {
2040
+ "internalType": "address",
2041
+ "name": "token",
2042
+ "type": "address"
2043
+ },
2044
+ {
2045
+ "internalType": "uint256",
2046
+ "name": "amount",
2047
+ "type": "uint256"
2048
+ },
2049
+ {
2050
+ "internalType": "uint256",
2051
+ "name": "minFunds",
2052
+ "type": "uint256"
2053
+ }
2054
+ ],
2055
+ "name": "sellToken",
2056
+ "outputs": [],
2057
+ "stateMutability": "nonpayable",
2058
+ "type": "function"
2059
+ },
2060
+ {
2061
+ "inputs": [
2062
+ {
2063
+ "internalType": "uint256",
2064
+ "name": "origin",
2065
+ "type": "uint256"
2066
+ },
2067
+ {
2068
+ "internalType": "address",
2069
+ "name": "token",
2070
+ "type": "address"
2071
+ },
2072
+ {
2073
+ "internalType": "address",
2074
+ "name": "from",
2075
+ "type": "address"
2076
+ },
2077
+ {
2078
+ "internalType": "address",
2079
+ "name": "to",
2080
+ "type": "address"
2081
+ },
2082
+ {
2083
+ "internalType": "uint256",
2084
+ "name": "amount",
2085
+ "type": "uint256"
2086
+ },
2087
+ {
2088
+ "internalType": "uint256",
2089
+ "name": "minFunds",
2090
+ "type": "uint256"
2091
+ }
2092
+ ],
2093
+ "name": "sellToken",
2094
+ "outputs": [],
2095
+ "stateMutability": "nonpayable",
2096
+ "type": "function"
2097
+ },
2098
+ {
2099
+ "inputs": [
2100
+ {
2101
+ "internalType": "uint256",
2102
+ "name": "origin",
2103
+ "type": "uint256"
2104
+ },
2105
+ {
2106
+ "internalType": "address",
2107
+ "name": "token",
2108
+ "type": "address"
2109
+ },
2110
+ {
2111
+ "internalType": "address",
2112
+ "name": "from",
2113
+ "type": "address"
2114
+ },
2115
+ {
2116
+ "internalType": "uint256",
2117
+ "name": "amount",
2118
+ "type": "uint256"
2119
+ },
2120
+ {
2121
+ "internalType": "uint256",
2122
+ "name": "minFunds",
2123
+ "type": "uint256"
2124
+ },
2125
+ {
2126
+ "internalType": "uint256",
2127
+ "name": "feeRate",
2128
+ "type": "uint256"
2129
+ },
2130
+ {
2131
+ "internalType": "address",
2132
+ "name": "feeRecipient",
2133
+ "type": "address"
2134
+ }
2135
+ ],
2136
+ "name": "sellToken",
2137
+ "outputs": [],
2138
+ "stateMutability": "nonpayable",
2139
+ "type": "function"
2140
+ },
2141
+ {
2142
+ "inputs": [
2143
+ {
2144
+ "internalType": "address",
2145
+ "name": "token",
2146
+ "type": "address"
2147
+ },
2148
+ {
2149
+ "internalType": "uint256",
2150
+ "name": "amount",
2151
+ "type": "uint256"
2152
+ }
2153
+ ],
2154
+ "name": "sellToken",
2155
+ "outputs": [],
2156
+ "stateMutability": "nonpayable",
2157
+ "type": "function"
2158
+ },
2159
+ {
2160
+ "inputs": [
2161
+ {
2162
+ "internalType": "bytes32",
2163
+ "name": "role",
2164
+ "type": "bytes32"
2165
+ },
2166
+ {
2167
+ "internalType": "bytes32",
2168
+ "name": "adminRole",
2169
+ "type": "bytes32"
2170
+ }
2171
+ ],
2172
+ "name": "setRoleAdmin",
2173
+ "outputs": [],
2174
+ "stateMutability": "nonpayable",
2175
+ "type": "function"
2176
+ },
2177
+ {
2178
+ "inputs": [
2179
+ {
2180
+ "internalType": "address",
2181
+ "name": "newSigner",
2182
+ "type": "address"
2183
+ }
2184
+ ],
2185
+ "name": "setSigner",
2186
+ "outputs": [],
2187
+ "stateMutability": "nonpayable",
2188
+ "type": "function"
2189
+ },
2190
+ {
2191
+ "inputs": [],
2192
+ "name": "signer",
2193
+ "outputs": [
2194
+ {
2195
+ "internalType": "address",
2196
+ "name": "",
2197
+ "type": "address"
2198
+ }
2199
+ ],
2200
+ "stateMutability": "view",
2201
+ "type": "function"
2202
+ },
2203
+ {
2204
+ "inputs": [
2205
+ {
2206
+ "internalType": "bytes4",
2207
+ "name": "interfaceId",
2208
+ "type": "bytes4"
2209
+ }
2210
+ ],
2211
+ "name": "supportsInterface",
2212
+ "outputs": [
2213
+ {
2214
+ "internalType": "bool",
2215
+ "name": "",
2216
+ "type": "bool"
2217
+ }
2218
+ ],
2219
+ "stateMutability": "view",
2220
+ "type": "function"
2221
+ },
2222
+ {
2223
+ "inputs": [
2224
+ {
2225
+ "internalType": "address",
2226
+ "name": "token",
2227
+ "type": "address"
2228
+ },
2229
+ {
2230
+ "internalType": "bool",
2231
+ "name": "value",
2232
+ "type": "bool"
2233
+ }
2234
+ ],
2235
+ "name": "suspendTrading",
2236
+ "outputs": [],
2237
+ "stateMutability": "nonpayable",
2238
+ "type": "function"
2239
+ },
2240
+ {
2241
+ "inputs": [
2242
+ {
2243
+ "internalType": "address",
2244
+ "name": "newOwner",
2245
+ "type": "address"
2246
+ }
2247
+ ],
2248
+ "name": "transferOwnership",
2249
+ "outputs": [],
2250
+ "stateMutability": "nonpayable",
2251
+ "type": "function"
2252
+ },
2253
+ {
2254
+ "inputs": [
2255
+ {
2256
+ "internalType": "address",
2257
+ "name": "newImplementation",
2258
+ "type": "address"
2259
+ }
2260
+ ],
2261
+ "name": "upgradeTo",
2262
+ "outputs": [],
2263
+ "stateMutability": "nonpayable",
2264
+ "type": "function"
2265
+ },
2266
+ {
2267
+ "inputs": [
2268
+ {
2269
+ "internalType": "address",
2270
+ "name": "newImplementation",
2271
+ "type": "address"
2272
+ },
2273
+ {
2274
+ "internalType": "bytes",
2275
+ "name": "data",
2276
+ "type": "bytes"
2277
+ }
2278
+ ],
2279
+ "name": "upgradeToAndCall",
2280
+ "outputs": [],
2281
+ "stateMutability": "payable",
2282
+ "type": "function"
2283
+ },
2284
+ {
2285
+ "inputs": [
2286
+ {
2287
+ "internalType": "address",
2288
+ "name": "token",
2289
+ "type": "address"
2290
+ },
2291
+ {
2292
+ "internalType": "address",
2293
+ "name": "to",
2294
+ "type": "address"
2295
+ },
2296
+ {
2297
+ "internalType": "uint256",
2298
+ "name": "amount",
2299
+ "type": "uint256"
2300
+ }
2301
+ ],
2302
+ "name": "withdrawERC20",
2303
+ "outputs": [],
2304
+ "stateMutability": "nonpayable",
2305
+ "type": "function"
2306
+ },
2307
+ {
2308
+ "inputs": [
2309
+ {
2310
+ "internalType": "address",
2311
+ "name": "to",
2312
+ "type": "address"
2313
+ },
2314
+ {
2315
+ "internalType": "uint256",
2316
+ "name": "amount",
2317
+ "type": "uint256"
2318
+ }
2319
+ ],
2320
+ "name": "withdrawEth",
2321
+ "outputs": [],
2322
+ "stateMutability": "nonpayable",
2323
+ "type": "function"
2324
+ }
2325
+ ]