clawkr-cli 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,436 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>{{TOKEN_NAME}} ({{TOKEN_SYMBOL}}) - AI Agent Token</title>
7
+ <meta name="description" content="{{TOKEN_DESCRIPTION}}">
8
+
9
+ <!-- Open Graph / Facebook -->
10
+ <meta property="og:type" content="website">
11
+ <meta property="og:title" content="{{TOKEN_NAME}} ({{TOKEN_SYMBOL}})">
12
+ <meta property="og:description" content="{{TOKEN_DESCRIPTION}}">
13
+ <meta property="og:image" content="{{TOKEN_LOGO_URL}}">
14
+
15
+ <!-- Twitter -->
16
+ <meta property="twitter:card" content="summary_large_image">
17
+ <meta property="twitter:title" content="{{TOKEN_NAME}} ({{TOKEN_SYMBOL}})">
18
+ <meta property="twitter:description" content="{{TOKEN_DESCRIPTION}}">
19
+ <meta property="twitter:image" content="{{TOKEN_LOGO_URL}}">
20
+
21
+ <style>
22
+ * {
23
+ margin: 0;
24
+ padding: 0;
25
+ box-sizing: border-box;
26
+ }
27
+
28
+ :root {
29
+ --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
30
+ --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
31
+ --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
32
+ --color-bg: #0a0a0f;
33
+ --color-surface: #1a1a24;
34
+ --color-border: rgba(255, 255, 255, 0.1);
35
+ --color-text: #ffffff;
36
+ --color-text-secondary: rgba(255, 255, 255, 0.7);
37
+ --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
38
+ }
39
+
40
+ body {
41
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
42
+ background: var(--color-bg);
43
+ color: var(--color-text);
44
+ line-height: 1.6;
45
+ min-height: 100vh;
46
+ display: flex;
47
+ flex-direction: column;
48
+ overflow-x: hidden;
49
+ }
50
+
51
+ /* Animated background gradient */
52
+ body::before {
53
+ content: '';
54
+ position: fixed;
55
+ top: -50%;
56
+ left: -50%;
57
+ width: 200%;
58
+ height: 200%;
59
+ background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
60
+ animation: rotate 20s linear infinite;
61
+ z-index: -1;
62
+ }
63
+
64
+ @keyframes rotate {
65
+ from { transform: rotate(0deg); }
66
+ to { transform: rotate(360deg); }
67
+ }
68
+
69
+ header {
70
+ text-align: center;
71
+ padding: 4rem 2rem 2rem;
72
+ position: relative;
73
+ }
74
+
75
+ .logo-container {
76
+ position: relative;
77
+ width: 160px;
78
+ height: 160px;
79
+ margin: 0 auto 2rem;
80
+ }
81
+
82
+ .logo-glow {
83
+ position: absolute;
84
+ inset: -10px;
85
+ background: var(--gradient-primary);
86
+ border-radius: 50%;
87
+ filter: blur(20px);
88
+ opacity: 0.5;
89
+ animation: pulse 3s ease-in-out infinite;
90
+ }
91
+
92
+ @keyframes pulse {
93
+ 0%, 100% { opacity: 0.5; transform: scale(1); }
94
+ 50% { opacity: 0.8; transform: scale(1.05); }
95
+ }
96
+
97
+ .logo {
98
+ position: relative;
99
+ width: 100%;
100
+ height: 100%;
101
+ border-radius: 50%;
102
+ border: 4px solid var(--color-border);
103
+ overflow: hidden;
104
+ background: var(--color-surface);
105
+ }
106
+
107
+ .logo img {
108
+ width: 100%;
109
+ height: 100%;
110
+ object-fit: cover;
111
+ }
112
+
113
+ h1 {
114
+ font-size: 3rem;
115
+ font-weight: 700;
116
+ margin-bottom: 0.5rem;
117
+ background: var(--gradient-primary);
118
+ -webkit-background-clip: text;
119
+ -webkit-text-fill-color: transparent;
120
+ background-clip: text;
121
+ }
122
+
123
+ .symbol {
124
+ font-size: 1.5rem;
125
+ color: var(--color-text-secondary);
126
+ font-weight: 600;
127
+ letter-spacing: 2px;
128
+ }
129
+
130
+ main {
131
+ max-width: 1000px;
132
+ margin: 0 auto;
133
+ padding: 2rem;
134
+ flex: 1;
135
+ }
136
+
137
+ section {
138
+ margin-bottom: 3rem;
139
+ }
140
+
141
+ .section-title {
142
+ font-size: 1.5rem;
143
+ font-weight: 600;
144
+ margin-bottom: 1.5rem;
145
+ text-align: center;
146
+ }
147
+
148
+ .description {
149
+ background: var(--color-surface);
150
+ border: 1px solid var(--color-border);
151
+ border-radius: 16px;
152
+ padding: 2rem;
153
+ font-size: 1.125rem;
154
+ line-height: 1.8;
155
+ text-align: center;
156
+ color: var(--color-text-secondary);
157
+ }
158
+
159
+ .card-grid {
160
+ display: grid;
161
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
162
+ gap: 1.5rem;
163
+ }
164
+
165
+ .card {
166
+ background: var(--color-surface);
167
+ border: 1px solid var(--color-border);
168
+ border-radius: 16px;
169
+ padding: 2rem;
170
+ transition: all 0.3s ease;
171
+ position: relative;
172
+ overflow: hidden;
173
+ }
174
+
175
+ .card::before {
176
+ content: '';
177
+ position: absolute;
178
+ inset: 0;
179
+ background: var(--gradient-primary);
180
+ opacity: 0;
181
+ transition: opacity 0.3s ease;
182
+ }
183
+
184
+ .card:hover {
185
+ border-color: rgba(102, 126, 234, 0.5);
186
+ transform: translateY(-4px);
187
+ box-shadow: var(--shadow-glow);
188
+ }
189
+
190
+ .card:hover::before {
191
+ opacity: 0.05;
192
+ }
193
+
194
+ .card-content {
195
+ position: relative;
196
+ z-index: 1;
197
+ }
198
+
199
+ .card h3 {
200
+ font-size: 1.125rem;
201
+ font-weight: 600;
202
+ margin-bottom: 1rem;
203
+ color: var(--color-text);
204
+ }
205
+
206
+ .card-value {
207
+ font-family: 'Courier New', monospace;
208
+ font-size: 0.875rem;
209
+ color: var(--color-text-secondary);
210
+ word-break: break-all;
211
+ background: rgba(0, 0, 0, 0.3);
212
+ padding: 0.75rem 1rem;
213
+ border-radius: 8px;
214
+ border: 1px solid var(--color-border);
215
+ }
216
+
217
+ .links-grid {
218
+ display: grid;
219
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
220
+ gap: 1rem;
221
+ }
222
+
223
+ .link-button {
224
+ display: flex;
225
+ align-items: center;
226
+ justify-content: center;
227
+ gap: 0.75rem;
228
+ padding: 1.25rem 2rem;
229
+ background: var(--color-surface);
230
+ border: 2px solid var(--color-border);
231
+ border-radius: 12px;
232
+ text-decoration: none;
233
+ color: var(--color-text);
234
+ font-weight: 600;
235
+ font-size: 1rem;
236
+ transition: all 0.3s ease;
237
+ position: relative;
238
+ overflow: hidden;
239
+ }
240
+
241
+ .link-button::before {
242
+ content: '';
243
+ position: absolute;
244
+ inset: 0;
245
+ background: var(--gradient-primary);
246
+ opacity: 0;
247
+ transition: opacity 0.3s ease;
248
+ }
249
+
250
+ .link-button span {
251
+ position: relative;
252
+ z-index: 1;
253
+ }
254
+
255
+ .link-button:hover {
256
+ border-color: rgba(102, 126, 234, 0.8);
257
+ transform: translateY(-2px);
258
+ box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
259
+ }
260
+
261
+ .link-button:hover::before {
262
+ opacity: 0.1;
263
+ }
264
+
265
+ .link-icon {
266
+ width: 20px;
267
+ height: 20px;
268
+ position: relative;
269
+ z-index: 1;
270
+ }
271
+
272
+ footer {
273
+ text-align: center;
274
+ padding: 3rem 2rem;
275
+ border-top: 1px solid var(--color-border);
276
+ margin-top: auto;
277
+ }
278
+
279
+ .footer-content {
280
+ max-width: 800px;
281
+ margin: 0 auto;
282
+ }
283
+
284
+ .footer-logo {
285
+ font-size: 1.25rem;
286
+ font-weight: 700;
287
+ background: var(--gradient-primary);
288
+ -webkit-background-clip: text;
289
+ -webkit-text-fill-color: transparent;
290
+ background-clip: text;
291
+ margin-bottom: 0.75rem;
292
+ }
293
+
294
+ .footer-text {
295
+ color: var(--color-text-secondary);
296
+ font-size: 0.875rem;
297
+ line-height: 1.6;
298
+ }
299
+
300
+ .footer-text a {
301
+ color: #667eea;
302
+ text-decoration: none;
303
+ transition: color 0.3s ease;
304
+ }
305
+
306
+ .footer-text a:hover {
307
+ color: #764ba2;
308
+ }
309
+
310
+ @media (max-width: 768px) {
311
+ h1 {
312
+ font-size: 2rem;
313
+ }
314
+
315
+ .symbol {
316
+ font-size: 1.25rem;
317
+ }
318
+
319
+ header {
320
+ padding: 3rem 1.5rem 1.5rem;
321
+ }
322
+
323
+ main {
324
+ padding: 1.5rem;
325
+ }
326
+
327
+ .card-grid,
328
+ .links-grid {
329
+ grid-template-columns: 1fr;
330
+ }
331
+
332
+ .logo-container {
333
+ width: 120px;
334
+ height: 120px;
335
+ }
336
+ }
337
+ </style>
338
+ </head>
339
+ <body>
340
+ <header>
341
+ <div class="logo-container">
342
+ <div class="logo-glow"></div>
343
+ <div class="logo">
344
+ <img src="{{TOKEN_LOGO_URL}}" alt="{{TOKEN_NAME}} Logo">
345
+ </div>
346
+ </div>
347
+ <h1>{{TOKEN_NAME}}</h1>
348
+ <p class="symbol">${{TOKEN_SYMBOL}}</p>
349
+ </header>
350
+
351
+ <main>
352
+ <section class="description">
353
+ <p>{{TOKEN_DESCRIPTION}}</p>
354
+ </section>
355
+
356
+ <section class="description">
357
+ <p>{{TOKEN_CONTENT}}</p>
358
+ </section>
359
+
360
+ <section>
361
+ <h2 class="section-title">Token Information</h2>
362
+ <div class="card-grid">
363
+ <div class="card">
364
+ <div class="card-content">
365
+ <h3>Contract Address</h3>
366
+ <div class="card-value">{{TOKEN_CONTRACT}}</div>
367
+ </div>
368
+ </div>
369
+ <div class="card">
370
+ <div class="card-content">
371
+ <h3>Network</h3>
372
+ <div class="card-value">Base</div>
373
+ </div>
374
+ </div>
375
+ <div class="card">
376
+ <div class="card-content">
377
+ <h3>Protocol</h3>
378
+ <div class="card-value">Clawkr + Uniswap V4</div>
379
+ </div>
380
+ </div>
381
+ </div>
382
+ </section>
383
+
384
+ <section>
385
+ <h2 class="section-title">Quick Links</h2>
386
+ <div class="links-grid">
387
+ <a href="{{BASESCAN_URL}}" target="_blank" rel="noopener noreferrer" class="link-button">
388
+ <svg class="link-icon" viewBox="0 0 20 20" fill="currentColor">
389
+ <path fill-rule="evenodd" d="M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z" clip-rule="evenodd"/>
390
+ </svg>
391
+ <span>View on BaseScan</span>
392
+ </a>
393
+
394
+ <a href="{{UNISWAP_URL}}" target="_blank" rel="noopener noreferrer" class="link-button">
395
+ <svg class="link-icon" viewBox="0 0 20 20" fill="currentColor">
396
+ <path d="M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"/>
397
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-13C11 4.447 10.552 4 10 4S9 4.447 9 5v.09A4.92 4.92 0 007.465 6c-.963.59-1.465 1.445-1.465 2.363 0 .916.502 1.773 1.465 2.363A4.92 4.92 0 009 11.51v.09c0 .552.448 1 1 1s1-.448 1-1v-.09a4.92 4.92 0 001.535-.857c.963-.59 1.465-1.445 1.465-2.363 0-.916-.502-1.773-1.465-2.363A4.92 4.92 0 0011 5.09V5z" clip-rule="evenodd"/>
398
+ </svg>
399
+ <span>Trade on Uniswap</span>
400
+ </a>
401
+
402
+ <a href="{{DEXTOOLS_URL}}" target="_blank" rel="noopener noreferrer" class="link-button">
403
+ <svg class="link-icon" viewBox="0 0 20 20" fill="currentColor">
404
+ <path d="M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"/>
405
+ </svg>
406
+ <span>Chart on Dextools</span>
407
+ </a>
408
+
409
+ <a href="{{X_LINK}}" target="_blank" rel="noopener noreferrer" class="link-button">
410
+ <svg class="link-icon" viewBox="0 0 24 24" fill="currentColor">
411
+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
412
+ </svg>
413
+ <span>Follow on X</span>
414
+ </a>
415
+
416
+ <a href="https://clawkr.com" target="_blank" rel="noopener noreferrer" class="link-button">
417
+ <svg class="link-icon" viewBox="0 0 20 20" fill="currentColor">
418
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z" clip-rule="evenodd"/>
419
+ </svg>
420
+ <span>Learn About Clawkr</span>
421
+ </a>
422
+ </div>
423
+ </section>
424
+ </main>
425
+
426
+ <footer>
427
+ <div class="footer-content">
428
+ <div class="footer-logo">Clawkr</div>
429
+ <p class="footer-text">
430
+ Launched on <a href="https://clawkr.com" target="_blank" rel="noopener noreferrer">Clawkr</a> - The first token launch protocol exclusively for verified AI agents.<br>
431
+ Built on <a href="https://base.org" target="_blank" rel="noopener noreferrer">Base</a> with <a href="https://docs.uniswap.org/contracts/v4/overview" target="_blank" rel="noopener noreferrer">Uniswap V4</a>
432
+ </p>
433
+ </div>
434
+ </footer>
435
+ </body>
436
+ </html>
@@ -0,0 +1,242 @@
1
+ "use strict";
2
+ // Contract ABIs for Clawkr V4 CLI interaction
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ERC20_ABI = exports.FAIR_LAUNCH_ABI = exports.AGENT_REGISTRY_ABI = exports.CLAWKR_HOOK_ABI = void 0;
5
+ exports.CLAWKR_HOOK_ABI = [
6
+ {
7
+ name: 'launch',
8
+ type: 'function',
9
+ stateMutability: 'nonpayable',
10
+ inputs: [
11
+ {
12
+ name: 'params',
13
+ type: 'tuple',
14
+ components: [
15
+ { name: 'name', type: 'string' },
16
+ { name: 'symbol', type: 'string' },
17
+ { name: 'tokenUri', type: 'string' },
18
+ { name: 'marketCapEth', type: 'uint256' },
19
+ { name: 'fairLaunchDuration', type: 'uint256' },
20
+ { name: 'fairLaunchSupply', type: 'uint256' },
21
+ ],
22
+ },
23
+ ],
24
+ outputs: [
25
+ { name: 'token', type: 'address' },
26
+ { name: 'poolId', type: 'bytes32' },
27
+ ],
28
+ },
29
+ {
30
+ name: 'paused',
31
+ type: 'function',
32
+ stateMutability: 'view',
33
+ inputs: [],
34
+ outputs: [{ name: '', type: 'bool' }],
35
+ },
36
+ {
37
+ name: 'agentRegistry',
38
+ type: 'function',
39
+ stateMutability: 'view',
40
+ inputs: [],
41
+ outputs: [{ name: '', type: 'address' }],
42
+ },
43
+ {
44
+ name: 'fairLaunch',
45
+ type: 'function',
46
+ stateMutability: 'view',
47
+ inputs: [],
48
+ outputs: [{ name: '', type: 'address' }],
49
+ },
50
+ {
51
+ name: 'marketCapPrice',
52
+ type: 'function',
53
+ stateMutability: 'view',
54
+ inputs: [],
55
+ outputs: [{ name: '', type: 'address' }],
56
+ },
57
+ {
58
+ name: 'totalLaunches',
59
+ type: 'function',
60
+ stateMutability: 'view',
61
+ inputs: [],
62
+ outputs: [{ name: '', type: 'uint256' }],
63
+ },
64
+ {
65
+ name: 'poolInfo',
66
+ type: 'function',
67
+ stateMutability: 'view',
68
+ inputs: [{ name: 'poolId', type: 'bytes32' }],
69
+ outputs: [
70
+ { name: 'agent', type: 'address' },
71
+ { name: 'token', type: 'address' },
72
+ { name: 'nativeIsToken0', type: 'bool' },
73
+ { name: 'launchTimestamp', type: 'uint256' },
74
+ ],
75
+ },
76
+ {
77
+ name: 'isInFairLaunch',
78
+ type: 'function',
79
+ stateMutability: 'view',
80
+ inputs: [{ name: 'poolId', type: 'bytes32' }],
81
+ outputs: [{ name: '', type: 'bool' }],
82
+ },
83
+ {
84
+ name: 'claimAgentFees',
85
+ type: 'function',
86
+ stateMutability: 'nonpayable',
87
+ inputs: [{ name: 'token', type: 'address' }],
88
+ outputs: [],
89
+ },
90
+ {
91
+ name: 'agentFees',
92
+ type: 'function',
93
+ stateMutability: 'view',
94
+ inputs: [
95
+ { name: 'agent', type: 'address' },
96
+ { name: 'token', type: 'address' },
97
+ ],
98
+ outputs: [{ name: '', type: 'uint256' }],
99
+ },
100
+ {
101
+ name: 'TokenLaunched',
102
+ type: 'event',
103
+ inputs: [
104
+ { name: 'agent', type: 'address', indexed: true },
105
+ { name: 'token', type: 'address', indexed: true },
106
+ { name: 'poolId', type: 'bytes32', indexed: true },
107
+ { name: 'marketCapEth', type: 'uint256', indexed: false },
108
+ { name: 'fairLaunchDuration', type: 'uint256', indexed: false },
109
+ ],
110
+ },
111
+ ];
112
+ exports.AGENT_REGISTRY_ABI = [
113
+ {
114
+ name: 'registerAgent',
115
+ type: 'function',
116
+ stateMutability: 'nonpayable',
117
+ inputs: [
118
+ { name: 'metadataURI', type: 'string' },
119
+ { name: 'metadataHash', type: 'bytes32' },
120
+ ],
121
+ outputs: [],
122
+ },
123
+ {
124
+ name: 'isAgent',
125
+ type: 'function',
126
+ stateMutability: 'view',
127
+ inputs: [{ name: 'agent', type: 'address' }],
128
+ outputs: [{ name: '', type: 'bool' }],
129
+ },
130
+ {
131
+ name: 'statusOf',
132
+ type: 'function',
133
+ stateMutability: 'view',
134
+ inputs: [{ name: 'agent', type: 'address' }],
135
+ outputs: [{ name: '', type: 'uint8' }],
136
+ },
137
+ {
138
+ name: 'metadataURIOf',
139
+ type: 'function',
140
+ stateMutability: 'view',
141
+ inputs: [{ name: 'agent', type: 'address' }],
142
+ outputs: [{ name: '', type: 'string' }],
143
+ },
144
+ {
145
+ name: 'metadataHashOf',
146
+ type: 'function',
147
+ stateMutability: 'view',
148
+ inputs: [{ name: 'agent', type: 'address' }],
149
+ outputs: [{ name: '', type: 'bytes32' }],
150
+ },
151
+ {
152
+ name: 'totalAgents',
153
+ type: 'function',
154
+ stateMutability: 'view',
155
+ inputs: [],
156
+ outputs: [{ name: '', type: 'uint256' }],
157
+ },
158
+ {
159
+ name: 'AgentRegistered',
160
+ type: 'event',
161
+ inputs: [
162
+ { name: 'agent', type: 'address', indexed: true },
163
+ { name: 'metadataURI', type: 'string', indexed: false },
164
+ { name: 'metadataHash', type: 'bytes32', indexed: false },
165
+ ],
166
+ },
167
+ ];
168
+ exports.FAIR_LAUNCH_ABI = [
169
+ {
170
+ name: 'inFairLaunchWindow',
171
+ type: 'function',
172
+ stateMutability: 'view',
173
+ inputs: [{ name: 'poolId', type: 'bytes32' }],
174
+ outputs: [{ name: '', type: 'bool' }],
175
+ },
176
+ {
177
+ name: 'fairLaunchInfo',
178
+ type: 'function',
179
+ stateMutability: 'view',
180
+ inputs: [{ name: 'poolId', type: 'bytes32' }],
181
+ outputs: [
182
+ { name: 'startsAt', type: 'uint256' },
183
+ { name: 'endsAt', type: 'uint256' },
184
+ { name: 'initialTick', type: 'int24' },
185
+ { name: 'revenue', type: 'uint256' },
186
+ { name: 'supply', type: 'uint256' },
187
+ { name: 'closed', type: 'bool' },
188
+ ],
189
+ },
190
+ ];
191
+ exports.ERC20_ABI = [
192
+ {
193
+ name: 'name',
194
+ type: 'function',
195
+ stateMutability: 'view',
196
+ inputs: [],
197
+ outputs: [{ name: '', type: 'string' }],
198
+ },
199
+ {
200
+ name: 'symbol',
201
+ type: 'function',
202
+ stateMutability: 'view',
203
+ inputs: [],
204
+ outputs: [{ name: '', type: 'string' }],
205
+ },
206
+ {
207
+ name: 'decimals',
208
+ type: 'function',
209
+ stateMutability: 'view',
210
+ inputs: [],
211
+ outputs: [{ name: '', type: 'uint8' }],
212
+ },
213
+ {
214
+ name: 'totalSupply',
215
+ type: 'function',
216
+ stateMutability: 'view',
217
+ inputs: [],
218
+ outputs: [{ name: '', type: 'uint256' }],
219
+ },
220
+ {
221
+ name: 'balanceOf',
222
+ type: 'function',
223
+ stateMutability: 'view',
224
+ inputs: [{ name: 'account', type: 'address' }],
225
+ outputs: [{ name: '', type: 'uint256' }],
226
+ },
227
+ {
228
+ name: 'agent',
229
+ type: 'function',
230
+ stateMutability: 'view',
231
+ inputs: [],
232
+ outputs: [{ name: '', type: 'address' }],
233
+ },
234
+ {
235
+ name: 'tokenURI',
236
+ type: 'function',
237
+ stateMutability: 'view',
238
+ inputs: [],
239
+ outputs: [{ name: '', type: 'string' }],
240
+ },
241
+ ];
242
+ //# sourceMappingURL=abis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abis.js","sourceRoot":"","sources":["../../src/utils/abis.ts"],"names":[],"mappings":";AAAA,8CAA8C;;;AAEjC,QAAA,eAAe,GAAG;IAC7B;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;oBA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