sememe 0.0.0-stage → 0.4.22

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 (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2777 -2
  3. package/bin/sememe.mjs +556 -0
  4. package/index.mjs +48 -0
  5. package/interface/ata-ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL.json +62 -0
  6. package/interface/native-11111111111111111111111111111111.json +226 -0
  7. package/interface/native-ComputeBudget111111111111111111111111111111.json +72 -0
  8. package/interface/raydium-675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.json +352 -0
  9. package/interface/token-TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA.json +334 -0
  10. package/interface/token-TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb.json +535 -0
  11. package/interface/token-metadata.json +132 -0
  12. package/package.json +71 -4
  13. package/src/account-list.mjs +308 -0
  14. package/src/account-union.mjs +523 -0
  15. package/src/account.mjs +199 -0
  16. package/src/acquire.mjs +145 -0
  17. package/src/adopt.mjs +206 -0
  18. package/src/ata-interface.mjs +276 -0
  19. package/src/ata.mjs +223 -0
  20. package/src/base58.mjs +96 -0
  21. package/src/canonical.mjs +24 -0
  22. package/src/cli-surface.mjs +300 -0
  23. package/src/codec.mjs +1118 -0
  24. package/src/conformance.mjs +431 -0
  25. package/src/corpus/harvest-compute-budget-2026-10-31.json +19122 -0
  26. package/src/corpus/harvest-system-2026-10-31.json +26090 -0
  27. package/src/decode.mjs +286 -0
  28. package/src/dialect.mjs +180 -0
  29. package/src/discriminators.mjs +192 -0
  30. package/src/drift.mjs +172 -0
  31. package/src/gap.mjs +205 -0
  32. package/src/lighthouse.mjs +168 -0
  33. package/src/lock.mjs +440 -0
  34. package/src/native-audit.mjs +56 -0
  35. package/src/native-corpus.mjs +57 -0
  36. package/src/native-interface.mjs +252 -0
  37. package/src/native.mjs +324 -0
  38. package/src/peer.mjs +95 -0
  39. package/src/program-id.mjs +74 -0
  40. package/src/pull.mjs +117 -0
  41. package/src/rawle.mjs +454 -0
  42. package/src/raydium-interface.mjs +747 -0
  43. package/src/raydium.mjs +391 -0
  44. package/src/receipt-digest.mjs +84 -0
  45. package/src/receipt-name.mjs +128 -0
  46. package/src/receipt-order.mjs +56 -0
  47. package/src/shank.mjs +73 -0
  48. package/src/short-forms.mjs +209 -0
  49. package/src/store-read.mjs +253 -0
  50. package/src/store-write.mjs +46 -0
  51. package/src/token-interface.mjs +394 -0
  52. package/src/token-metadata-interface.mjs +371 -0
  53. package/src/token-metadata.mjs +317 -0
  54. package/src/token.mjs +443 -0
  55. package/src/union.mjs +428 -0
  56. package/vendor/anza-solana-sdk/8db406e2edfafa25939ec782b77b5b6f30de164d/LICENSE.txt +201 -0
  57. package/vendor/anza-solana-sdk/8db406e2edfafa25939ec782b77b5b6f30de164d/compute-budget-interface/src/lib.rs +93 -0
  58. package/vendor/anza-solana-sdk/8db406e2edfafa25939ec782b77b5b6f30de164d/system-interface/src/instruction.rs +1899 -0
  59. package/vendor/lighthouse/4c579479c98635e419b1b167f08be02a71604a71/LICENSE +21 -0
  60. package/vendor/lighthouse/4c579479c98635e419b1b167f08be02a71604a71/lighthouse.json +2769 -0
  61. package/vendor/raydium-amm/91739d8d9f5cf347e0ce14ebe4d2bb7069fb31b6/LICENSE +201 -0
  62. package/vendor/raydium-amm/91739d8d9f5cf347e0ce14ebe4d2bb7069fb31b6/program/src/instruction.rs +1189 -0
  63. package/vendor/raydium-amm/91739d8d9f5cf347e0ce14ebe4d2bb7069fb31b6/program/src/state.rs +1348 -0
  64. package/vendor/spl-associated-token-account/fbf5379e7398ac8b231c73ee8a9ff677b43dd0ec/LICENSE +201 -0
  65. package/vendor/spl-associated-token-account/fbf5379e7398ac8b231c73ee8a9ff677b43dd0ec/interface/src/instruction.rs +169 -0
  66. package/vendor/spl-associated-token-account/fbf5379e7398ac8b231c73ee8a9ff677b43dd0ec/interface/src/lib.rs +12 -0
  67. package/vendor/spl-associated-token-account/fbf5379e7398ac8b231c73ee8a9ff677b43dd0ec/program/src/processor.rs +308 -0
  68. package/vendor/spl-token/737788ff5bcc3f1f44cfb222f25483187650be76/LICENSE.txt +176 -0
  69. package/vendor/spl-token/737788ff5bcc3f1f44cfb222f25483187650be76/interface/src/instruction.rs +1963 -0
  70. package/vendor/spl-token-2022/5251dcc07ecbcb721d6c4f0231090defadf00311/LICENSE.txt +176 -0
  71. package/vendor/spl-token-2022/5251dcc07ecbcb721d6c4f0231090defadf00311/interface/src/instruction.rs +2868 -0
  72. package/vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a/LICENSE +201 -0
  73. package/vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a/interface/src/error.rs +58 -0
  74. package/vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a/interface/src/instruction.rs +596 -0
  75. package/vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a/interface/src/lib.rs +21 -0
  76. package/vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a/interface/src/state.rs +229 -0
@@ -0,0 +1,535 @@
1
+ {
2
+ "program": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
3
+ "label": "Token-2022",
4
+ "scheme": "native-token",
5
+ "source": {
6
+ "repo": "solana-program/token-2022",
7
+ "pin": "5251dcc07ecbcb721d6c4f0231090defadf00311",
8
+ "file": "interface/src/instruction.rs",
9
+ "enum": "TokenInstruction (explicit tags, not declaration order)",
10
+ "fileSha256": "sha256:672b3890cb58e5700a67f202491069ed44dffcbfa0e7d0b83a0cfbbb05b3a287",
11
+ "vendoredAt": "vendor/spl-token-2022/5251dcc07ecbcb721d6c4f0231090defadf00311",
12
+ "derivation": "src/token-interface.mjs: tag = the integer upstream pack() writes and unpack() matches; args = the pack arm's byte-write sequence; option encoding = upstream pack_pubkey_option/pack_u64_option (1 tag byte + payload)"
13
+ },
14
+ "runtime": "solana-program/token-2022 program at this pin: the pod_instruction unpack matches the same explicit tag set; an unknown tag is InvalidInstruction; tags 26/27/28/30/33/34/36/37/39/40/41/42/43/44/46 dispatch into extension processors on input[1..]; 255 (Batch) is refused by the processor",
15
+ "selector": {
16
+ "width": 1,
17
+ "encoding": "u8 enum tag (explicit, sparse)"
18
+ },
19
+ "argEncoding": "u8/u16/u64 LE; pubkey 32 raw bytes; COption = 1 tag byte (0 none / 1 some) + payload; utf8_rest = whole remainder; u16_vec = run of 2-byte extension-type ids; bytes = raw remainder",
20
+ "authorityType": [
21
+ {
22
+ "byte": 0,
23
+ "name": "MintTokens"
24
+ },
25
+ {
26
+ "byte": 1,
27
+ "name": "FreezeAccount"
28
+ },
29
+ {
30
+ "byte": 2,
31
+ "name": "AccountOwner"
32
+ },
33
+ {
34
+ "byte": 3,
35
+ "name": "CloseAccount"
36
+ },
37
+ {
38
+ "byte": 4,
39
+ "name": "TransferFeeConfig"
40
+ },
41
+ {
42
+ "byte": 5,
43
+ "name": "WithheldWithdraw"
44
+ },
45
+ {
46
+ "byte": 6,
47
+ "name": "CloseMint"
48
+ },
49
+ {
50
+ "byte": 7,
51
+ "name": "InterestRate"
52
+ },
53
+ {
54
+ "byte": 8,
55
+ "name": "PermanentDelegate"
56
+ },
57
+ {
58
+ "byte": 9,
59
+ "name": "ConfidentialTransferMint"
60
+ },
61
+ {
62
+ "byte": 10,
63
+ "name": "TransferHookProgramId"
64
+ },
65
+ {
66
+ "byte": 11,
67
+ "name": "ConfidentialTransferFeeConfig"
68
+ },
69
+ {
70
+ "byte": 12,
71
+ "name": "MetadataPointer"
72
+ },
73
+ {
74
+ "byte": 13,
75
+ "name": "GroupPointer"
76
+ },
77
+ {
78
+ "byte": 14,
79
+ "name": "GroupMemberPointer"
80
+ },
81
+ {
82
+ "byte": 15,
83
+ "name": "ScaledUiAmount"
84
+ },
85
+ {
86
+ "byte": 16,
87
+ "name": "Pause"
88
+ },
89
+ {
90
+ "byte": 17,
91
+ "name": "PermissionedBurn"
92
+ }
93
+ ],
94
+ "instructions": [
95
+ {
96
+ "tag": 0,
97
+ "name": "InitializeMint",
98
+ "wire": "accepted",
99
+ "args": [
100
+ {
101
+ "name": "decimals",
102
+ "type": "u8"
103
+ },
104
+ {
105
+ "name": "mint_authority",
106
+ "type": "pubkey"
107
+ },
108
+ {
109
+ "name": "freeze_authority",
110
+ "type": "coption_pubkey"
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "tag": 1,
116
+ "name": "InitializeAccount",
117
+ "wire": "accepted",
118
+ "args": []
119
+ },
120
+ {
121
+ "tag": 2,
122
+ "name": "InitializeMultisig",
123
+ "wire": "accepted",
124
+ "args": [
125
+ {
126
+ "name": "m",
127
+ "type": "u8"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "tag": 3,
133
+ "name": "Transfer",
134
+ "wire": "accepted",
135
+ "args": [
136
+ {
137
+ "name": "amount",
138
+ "type": "u64"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "tag": 4,
144
+ "name": "Approve",
145
+ "wire": "accepted",
146
+ "args": [
147
+ {
148
+ "name": "amount",
149
+ "type": "u64"
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "tag": 5,
155
+ "name": "Revoke",
156
+ "wire": "accepted",
157
+ "args": []
158
+ },
159
+ {
160
+ "tag": 6,
161
+ "name": "SetAuthority",
162
+ "wire": "accepted",
163
+ "args": [
164
+ {
165
+ "name": "authority_type",
166
+ "type": "authority_type"
167
+ },
168
+ {
169
+ "name": "new_authority",
170
+ "type": "coption_pubkey"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "tag": 7,
176
+ "name": "MintTo",
177
+ "wire": "accepted",
178
+ "args": [
179
+ {
180
+ "name": "amount",
181
+ "type": "u64"
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "tag": 8,
187
+ "name": "Burn",
188
+ "wire": "accepted",
189
+ "args": [
190
+ {
191
+ "name": "amount",
192
+ "type": "u64"
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "tag": 9,
198
+ "name": "CloseAccount",
199
+ "wire": "accepted",
200
+ "args": []
201
+ },
202
+ {
203
+ "tag": 10,
204
+ "name": "FreezeAccount",
205
+ "wire": "accepted",
206
+ "args": []
207
+ },
208
+ {
209
+ "tag": 11,
210
+ "name": "ThawAccount",
211
+ "wire": "accepted",
212
+ "args": []
213
+ },
214
+ {
215
+ "tag": 12,
216
+ "name": "TransferChecked",
217
+ "wire": "accepted",
218
+ "args": [
219
+ {
220
+ "name": "amount",
221
+ "type": "u64"
222
+ },
223
+ {
224
+ "name": "decimals",
225
+ "type": "u8"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "tag": 13,
231
+ "name": "ApproveChecked",
232
+ "wire": "accepted",
233
+ "args": [
234
+ {
235
+ "name": "amount",
236
+ "type": "u64"
237
+ },
238
+ {
239
+ "name": "decimals",
240
+ "type": "u8"
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "tag": 14,
246
+ "name": "MintToChecked",
247
+ "wire": "accepted",
248
+ "args": [
249
+ {
250
+ "name": "amount",
251
+ "type": "u64"
252
+ },
253
+ {
254
+ "name": "decimals",
255
+ "type": "u8"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "tag": 15,
261
+ "name": "BurnChecked",
262
+ "wire": "accepted",
263
+ "args": [
264
+ {
265
+ "name": "amount",
266
+ "type": "u64"
267
+ },
268
+ {
269
+ "name": "decimals",
270
+ "type": "u8"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "tag": 16,
276
+ "name": "InitializeAccount2",
277
+ "wire": "accepted",
278
+ "args": [
279
+ {
280
+ "name": "owner",
281
+ "type": "pubkey"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ "tag": 17,
287
+ "name": "SyncNative",
288
+ "wire": "accepted",
289
+ "args": []
290
+ },
291
+ {
292
+ "tag": 18,
293
+ "name": "InitializeAccount3",
294
+ "wire": "accepted",
295
+ "args": [
296
+ {
297
+ "name": "owner",
298
+ "type": "pubkey"
299
+ }
300
+ ]
301
+ },
302
+ {
303
+ "tag": 19,
304
+ "name": "InitializeMultisig2",
305
+ "wire": "accepted",
306
+ "args": [
307
+ {
308
+ "name": "m",
309
+ "type": "u8"
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "tag": 20,
315
+ "name": "InitializeMint2",
316
+ "wire": "accepted",
317
+ "args": [
318
+ {
319
+ "name": "decimals",
320
+ "type": "u8"
321
+ },
322
+ {
323
+ "name": "mint_authority",
324
+ "type": "pubkey"
325
+ },
326
+ {
327
+ "name": "freeze_authority",
328
+ "type": "coption_pubkey"
329
+ }
330
+ ]
331
+ },
332
+ {
333
+ "tag": 21,
334
+ "name": "GetAccountDataSize",
335
+ "wire": "accepted",
336
+ "args": [
337
+ {
338
+ "name": "extension_types",
339
+ "type": "u16_vec"
340
+ }
341
+ ]
342
+ },
343
+ {
344
+ "tag": 22,
345
+ "name": "InitializeImmutableOwner",
346
+ "wire": "accepted",
347
+ "args": []
348
+ },
349
+ {
350
+ "tag": 23,
351
+ "name": "AmountToUiAmount",
352
+ "wire": "accepted",
353
+ "args": [
354
+ {
355
+ "name": "amount",
356
+ "type": "u64"
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "tag": 24,
362
+ "name": "UiAmountToAmount",
363
+ "wire": "accepted",
364
+ "args": [
365
+ {
366
+ "name": "ui_amount",
367
+ "type": "utf8_rest"
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "tag": 25,
373
+ "name": "InitializeMintCloseAuthority",
374
+ "wire": "accepted",
375
+ "args": [
376
+ {
377
+ "name": "close_authority",
378
+ "type": "coption_pubkey"
379
+ }
380
+ ]
381
+ },
382
+ {
383
+ "tag": 26,
384
+ "name": "TransferFeeExtension",
385
+ "wire": "accepted",
386
+ "args": []
387
+ },
388
+ {
389
+ "tag": 27,
390
+ "name": "ConfidentialTransferExtension",
391
+ "wire": "accepted",
392
+ "args": []
393
+ },
394
+ {
395
+ "tag": 28,
396
+ "name": "DefaultAccountStateExtension",
397
+ "wire": "accepted",
398
+ "args": []
399
+ },
400
+ {
401
+ "tag": 29,
402
+ "name": "Reallocate",
403
+ "wire": "accepted",
404
+ "args": [
405
+ {
406
+ "name": "extension_types",
407
+ "type": "u16_vec"
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "tag": 30,
413
+ "name": "MemoTransferExtension",
414
+ "wire": "accepted",
415
+ "args": []
416
+ },
417
+ {
418
+ "tag": 31,
419
+ "name": "CreateNativeMint",
420
+ "wire": "accepted",
421
+ "args": []
422
+ },
423
+ {
424
+ "tag": 32,
425
+ "name": "InitializeNonTransferableMint",
426
+ "wire": "accepted",
427
+ "args": []
428
+ },
429
+ {
430
+ "tag": 33,
431
+ "name": "InterestBearingMintExtension",
432
+ "wire": "accepted",
433
+ "args": []
434
+ },
435
+ {
436
+ "tag": 34,
437
+ "name": "CpiGuardExtension",
438
+ "wire": "accepted",
439
+ "args": []
440
+ },
441
+ {
442
+ "tag": 35,
443
+ "name": "InitializePermanentDelegate",
444
+ "wire": "accepted",
445
+ "args": [
446
+ {
447
+ "name": "delegate",
448
+ "type": "pubkey"
449
+ }
450
+ ]
451
+ },
452
+ {
453
+ "tag": 36,
454
+ "name": "TransferHookExtension",
455
+ "wire": "accepted",
456
+ "args": []
457
+ },
458
+ {
459
+ "tag": 37,
460
+ "name": "ConfidentialTransferFeeExtension",
461
+ "wire": "accepted",
462
+ "args": []
463
+ },
464
+ {
465
+ "tag": 38,
466
+ "name": "WithdrawExcessLamports",
467
+ "wire": "accepted",
468
+ "args": []
469
+ },
470
+ {
471
+ "tag": 39,
472
+ "name": "MetadataPointerExtension",
473
+ "wire": "accepted",
474
+ "args": []
475
+ },
476
+ {
477
+ "tag": 40,
478
+ "name": "GroupPointerExtension",
479
+ "wire": "accepted",
480
+ "args": []
481
+ },
482
+ {
483
+ "tag": 41,
484
+ "name": "GroupMemberPointerExtension",
485
+ "wire": "accepted",
486
+ "args": []
487
+ },
488
+ {
489
+ "tag": 42,
490
+ "name": "ConfidentialMintBurnExtension",
491
+ "wire": "accepted",
492
+ "args": []
493
+ },
494
+ {
495
+ "tag": 43,
496
+ "name": "ScaledUiAmountExtension",
497
+ "wire": "accepted",
498
+ "args": []
499
+ },
500
+ {
501
+ "tag": 44,
502
+ "name": "PausableExtension",
503
+ "wire": "accepted",
504
+ "args": []
505
+ },
506
+ {
507
+ "tag": 45,
508
+ "name": "UnwrapLamports",
509
+ "wire": "accepted",
510
+ "args": [
511
+ {
512
+ "name": "amount",
513
+ "type": "coption_u64"
514
+ }
515
+ ]
516
+ },
517
+ {
518
+ "tag": 46,
519
+ "name": "PermissionedBurnExtension",
520
+ "wire": "accepted",
521
+ "args": []
522
+ },
523
+ {
524
+ "tag": 255,
525
+ "name": "Batch",
526
+ "wire": "accepted",
527
+ "args": [
528
+ {
529
+ "name": "data",
530
+ "type": "bytes"
531
+ }
532
+ ]
533
+ }
534
+ ]
535
+ }
@@ -0,0 +1,132 @@
1
+ {
2
+ "program": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",
3
+ "label": "SPL Token Metadata (Token-2022 fallback)",
4
+ "scheme": "native-token-metadata",
5
+ "source": {
6
+ "repo": "solana-program/token-2022",
7
+ "crate": "spl-token-metadata-interface",
8
+ "version": "1.0.1",
9
+ "pin": "7038969ec74a89f1afdb9bc97c112d4d26fead9a",
10
+ "file": "interface/src/instruction.rs",
11
+ "stateFile": "interface/src/state.rs",
12
+ "fileSha256": "sha256:7af2670a970d9a907cd8b134c629817875c7303831b0b01b96d488526690d521",
13
+ "stateFileSha256": "sha256:865edf6b1d21d913403308e4bd6347d7210e02489c46c243ecd5210995f791de",
14
+ "vendoredAt": "vendor/spl-token-metadata-interface/7038969ec74a89f1afdb9bc97c112d4d26fead9a",
15
+ "derivation": "src/token-metadata-interface.mjs: discriminator = sha256(upstream's own #[discriminator_hash_input])[..8], anchored by upstream's hardcoded TokenMetadata literal; args = the Borsh field order of the struct declaration; string = u32 LE length + bytes; enum = 1-byte variant index; option = 1 tag byte + payload; MaybeNull<Address> = transparent 32 raw bytes, all-zero = None"
16
+ },
17
+ "runtime": "Token-2022 processor at this pin: the 1-byte PodTokenInstruction selector is tried first, then TokenMetadataInstruction::unpack(input) is tried; upstream's unpack uses try_from_slice, so TRAILING BYTES ARE REFUSED; an unknown 8-byte discriminator is InvalidInstruction",
18
+ "selector": {
19
+ "width": 8,
20
+ "encoding": "sha256(namespace:action)[..8]"
21
+ },
22
+ "argEncoding": "borsh string = u32 LE length + bytes; borsh enum = 1-byte variant index; borsh option = 1 tag byte (0 none / 1 some) + payload; bool = 1 byte; MaybeNull<Address> = 32 raw bytes, all-zero = None",
23
+ "strict": {
24
+ "trailingBytes": "refuse",
25
+ "reason": "upstream unpack() calls try_from_slice, which refuses a payload with unexplained trailing bytes (verified against the upstream crate: a trailing byte is a BorshIoError)"
26
+ },
27
+ "fieldEnum": [
28
+ {
29
+ "tag": 0,
30
+ "name": "Name",
31
+ "payload": null
32
+ },
33
+ {
34
+ "tag": 1,
35
+ "name": "Symbol",
36
+ "payload": null
37
+ },
38
+ {
39
+ "tag": 2,
40
+ "name": "Uri",
41
+ "payload": null
42
+ },
43
+ {
44
+ "tag": 3,
45
+ "name": "Key",
46
+ "payload": "borsh_string"
47
+ }
48
+ ],
49
+ "instructions": [
50
+ {
51
+ "name": "Initialize",
52
+ "struct": "Initialize",
53
+ "discriminator": "d2e11ea258b84d8d",
54
+ "hashInput": "spl_token_metadata_interface:initialize_account",
55
+ "args": [
56
+ {
57
+ "name": "name",
58
+ "type": "borsh_string"
59
+ },
60
+ {
61
+ "name": "symbol",
62
+ "type": "borsh_string"
63
+ },
64
+ {
65
+ "name": "uri",
66
+ "type": "borsh_string"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "name": "UpdateField",
72
+ "struct": "UpdateField",
73
+ "discriminator": "dde9312db5cadcc8",
74
+ "hashInput": "spl_token_metadata_interface:updating_field",
75
+ "args": [
76
+ {
77
+ "name": "field",
78
+ "type": "borsh_enum",
79
+ "enum": "Field"
80
+ },
81
+ {
82
+ "name": "value",
83
+ "type": "borsh_string"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "RemoveKey",
89
+ "struct": "RemoveKey",
90
+ "discriminator": "ea122038598d25b5",
91
+ "hashInput": "spl_token_metadata_interface:remove_key_ix",
92
+ "args": [
93
+ {
94
+ "name": "idempotent",
95
+ "type": "borsh_bool"
96
+ },
97
+ {
98
+ "name": "key",
99
+ "type": "borsh_string"
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "UpdateAuthority",
105
+ "struct": "UpdateAuthority",
106
+ "discriminator": "d7e4a6e45464567b",
107
+ "hashInput": "spl_token_metadata_interface:update_the_authority",
108
+ "args": [
109
+ {
110
+ "name": "new_authority",
111
+ "type": "maybe_null_address"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "name": "Emit",
117
+ "struct": "Emit",
118
+ "discriminator": "faa6b4fa0d0cb846",
119
+ "hashInput": "spl_token_metadata_interface:emitter",
120
+ "args": [
121
+ {
122
+ "name": "start",
123
+ "type": "borsh_option_u64"
124
+ },
125
+ {
126
+ "name": "end",
127
+ "type": "borsh_option_u64"
128
+ }
129
+ ]
130
+ }
131
+ ]
132
+ }