idl.json 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335
  1. {
  2. "kind": "rootNode",
  3. "program": {
  4. "kind": "programNode",
  5. "pdas": [],
  6. "accounts": [
  7. {
  8. "kind": "accountNode",
  9. "data": {
  10. "kind": "structTypeNode",
  11. "fields": [
  12. {
  13. "kind": "structFieldTypeNode",
  14. "name": "mintAuthority",
  15. "type": {
  16. "kind": "optionTypeNode",
  17. "item": { "kind": "publicKeyTypeNode" },
  18. "prefix": {
  19. "kind": "numberTypeNode",
  20. "format": "u32",
  21. "endian": "le"
  22. },
  23. "fixed": true
  24. },
  25. "docs": []
  26. },
  27. {
  28. "kind": "structFieldTypeNode",
  29. "name": "supply",
  30. "type": {
  31. "kind": "numberTypeNode",
  32. "format": "u64",
  33. "endian": "le"
  34. },
  35. "docs": []
  36. },
  37. {
  38. "kind": "structFieldTypeNode",
  39. "name": "decimals",
  40. "type": {
  41. "kind": "numberTypeNode",
  42. "format": "u8",
  43. "endian": "le"
  44. },
  45. "docs": []
  46. },
  47. {
  48. "kind": "structFieldTypeNode",
  49. "name": "isInitialized",
  50. "type": {
  51. "kind": "booleanTypeNode",
  52. "size": {
  53. "kind": "numberTypeNode",
  54. "format": "u8",
  55. "endian": "le"
  56. }
  57. },
  58. "docs": []
  59. },
  60. {
  61. "kind": "structFieldTypeNode",
  62. "name": "freezeAuthority",
  63. "type": {
  64. "kind": "optionTypeNode",
  65. "item": { "kind": "publicKeyTypeNode" },
  66. "prefix": {
  67. "kind": "numberTypeNode",
  68. "format": "u32",
  69. "endian": "le"
  70. },
  71. "fixed": true
  72. },
  73. "docs": []
  74. }
  75. ]
  76. },
  77. "name": "mint",
  78. "docs": [],
  79. "size": 82
  80. },
  81. {
  82. "kind": "accountNode",
  83. "data": {
  84. "kind": "structTypeNode",
  85. "fields": [
  86. {
  87. "kind": "structFieldTypeNode",
  88. "name": "mint",
  89. "type": { "kind": "publicKeyTypeNode" },
  90. "docs": []
  91. },
  92. {
  93. "kind": "structFieldTypeNode",
  94. "name": "owner",
  95. "type": { "kind": "publicKeyTypeNode" },
  96. "docs": []
  97. },
  98. {
  99. "kind": "structFieldTypeNode",
  100. "name": "amount",
  101. "type": {
  102. "kind": "numberTypeNode",
  103. "format": "u64",
  104. "endian": "le"
  105. },
  106. "docs": []
  107. },
  108. {
  109. "kind": "structFieldTypeNode",
  110. "name": "delegate",
  111. "type": {
  112. "kind": "optionTypeNode",
  113. "item": { "kind": "publicKeyTypeNode" },
  114. "prefix": {
  115. "kind": "numberTypeNode",
  116. "format": "u32",
  117. "endian": "le"
  118. },
  119. "fixed": true
  120. },
  121. "docs": []
  122. },
  123. {
  124. "kind": "structFieldTypeNode",
  125. "name": "state",
  126. "type": { "kind": "definedTypeLinkNode", "name": "tokenState" },
  127. "docs": []
  128. },
  129. {
  130. "kind": "structFieldTypeNode",
  131. "name": "isNative",
  132. "type": {
  133. "kind": "optionTypeNode",
  134. "item": {
  135. "kind": "numberTypeNode",
  136. "format": "u64",
  137. "endian": "le"
  138. },
  139. "prefix": {
  140. "kind": "numberTypeNode",
  141. "format": "u32",
  142. "endian": "le"
  143. },
  144. "fixed": true
  145. },
  146. "docs": []
  147. },
  148. {
  149. "kind": "structFieldTypeNode",
  150. "name": "delegatedAmount",
  151. "type": {
  152. "kind": "numberTypeNode",
  153. "format": "u64",
  154. "endian": "le"
  155. },
  156. "docs": []
  157. },
  158. {
  159. "kind": "structFieldTypeNode",
  160. "name": "closeAuthority",
  161. "type": {
  162. "kind": "optionTypeNode",
  163. "item": { "kind": "publicKeyTypeNode" },
  164. "prefix": {
  165. "kind": "numberTypeNode",
  166. "format": "u32",
  167. "endian": "le"
  168. },
  169. "fixed": true
  170. },
  171. "docs": []
  172. }
  173. ]
  174. },
  175. "name": "account",
  176. "docs": [],
  177. "size": 165
  178. },
  179. {
  180. "kind": "accountNode",
  181. "data": {
  182. "kind": "structTypeNode",
  183. "fields": [
  184. {
  185. "kind": "structFieldTypeNode",
  186. "name": "m",
  187. "type": {
  188. "kind": "numberTypeNode",
  189. "format": "u8",
  190. "endian": "le"
  191. },
  192. "docs": []
  193. },
  194. {
  195. "kind": "structFieldTypeNode",
  196. "name": "n",
  197. "type": {
  198. "kind": "numberTypeNode",
  199. "format": "u8",
  200. "endian": "le"
  201. },
  202. "docs": []
  203. },
  204. {
  205. "kind": "structFieldTypeNode",
  206. "name": "isInitialized",
  207. "type": {
  208. "kind": "booleanTypeNode",
  209. "size": {
  210. "kind": "numberTypeNode",
  211. "format": "u8",
  212. "endian": "le"
  213. }
  214. },
  215. "docs": []
  216. },
  217. {
  218. "kind": "structFieldTypeNode",
  219. "name": "signers",
  220. "type": {
  221. "kind": "arrayTypeNode",
  222. "item": { "kind": "publicKeyTypeNode" },
  223. "count": { "kind": "fixedCountNode", "value": 11 }
  224. },
  225. "docs": []
  226. }
  227. ]
  228. },
  229. "name": "multisig",
  230. "docs": [],
  231. "size": 355
  232. }
  233. ],
  234. "instructions": [
  235. {
  236. "kind": "instructionNode",
  237. "accounts": [
  238. {
  239. "kind": "instructionAccountNode",
  240. "name": "mint",
  241. "isWritable": true,
  242. "isSigner": false,
  243. "isOptional": false,
  244. "docs": ["Token mint account."]
  245. },
  246. {
  247. "kind": "instructionAccountNode",
  248. "name": "rent",
  249. "isWritable": false,
  250. "isSigner": false,
  251. "isOptional": false,
  252. "docs": ["Rent sysvar."],
  253. "defaultValue": {
  254. "kind": "publicKeyValueNode",
  255. "publicKey": "SysvarRent111111111111111111111111111111111"
  256. }
  257. }
  258. ],
  259. "arguments": [
  260. {
  261. "kind": "instructionArgumentNode",
  262. "name": "discriminator",
  263. "type": {
  264. "kind": "numberTypeNode",
  265. "format": "u8",
  266. "endian": "le"
  267. },
  268. "docs": [],
  269. "defaultValue": { "kind": "numberValueNode", "number": 0 },
  270. "defaultValueStrategy": "omitted"
  271. },
  272. {
  273. "kind": "instructionArgumentNode",
  274. "name": "decimals",
  275. "type": {
  276. "kind": "numberTypeNode",
  277. "format": "u8",
  278. "endian": "le"
  279. },
  280. "docs": ["Number of decimals in token account amounts."]
  281. },
  282. {
  283. "kind": "instructionArgumentNode",
  284. "name": "mintAuthority",
  285. "type": { "kind": "publicKeyTypeNode" },
  286. "docs": ["Minting authority."]
  287. },
  288. {
  289. "kind": "instructionArgumentNode",
  290. "name": "freezeAuthority",
  291. "type": {
  292. "kind": "optionTypeNode",
  293. "item": { "kind": "publicKeyTypeNode" },
  294. "prefix": {
  295. "kind": "numberTypeNode",
  296. "format": "u32",
  297. "endian": "le"
  298. },
  299. "fixed": true
  300. },
  301. "docs": ["Optional authority that can freeze token accounts."]
  302. }
  303. ],
  304. "discriminators": [
  305. {
  306. "kind": "fieldDiscriminatorNode",
  307. "name": "discriminator",
  308. "offset": 0
  309. }
  310. ],
  311. "name": "initializeMint",
  312. "docs": [
  313. "Initializes a new mint and optionally deposits all the newly minted",
  314. "tokens in an account.",
  315. "",
  316. "The `InitializeMint` instruction requires no signers and MUST be",
  317. "included within the same Transaction as the system program's",
  318. "`CreateAccount` instruction that creates the account being initialized.",
  319. "Otherwise another party can acquire ownership of the uninitialized account."
  320. ],
  321. "optionalAccountStrategy": "programId"
  322. },
  323. {
  324. "kind": "instructionNode",
  325. "accounts": [
  326. {
  327. "kind": "instructionAccountNode",
  328. "name": "account",
  329. "isWritable": true,
  330. "isSigner": false,
  331. "isOptional": false,
  332. "docs": ["The account to initialize."]
  333. },
  334. {
  335. "kind": "instructionAccountNode",
  336. "name": "mint",
  337. "isWritable": false,
  338. "isSigner": false,
  339. "isOptional": false,
  340. "docs": ["The mint this account will be associated with."]
  341. },
  342. {
  343. "kind": "instructionAccountNode",
  344. "name": "owner",
  345. "isWritable": false,
  346. "isSigner": false,
  347. "isOptional": false,
  348. "docs": ["The new account's owner/multisignature."]
  349. },
  350. {
  351. "kind": "instructionAccountNode",
  352. "name": "rent",
  353. "isWritable": false,
  354. "isSigner": false,
  355. "isOptional": false,
  356. "docs": ["Rent sysvar."],
  357. "defaultValue": {
  358. "kind": "publicKeyValueNode",
  359. "publicKey": "SysvarRent111111111111111111111111111111111"
  360. }
  361. }
  362. ],
  363. "arguments": [
  364. {
  365. "kind": "instructionArgumentNode",
  366. "name": "discriminator",
  367. "type": {
  368. "kind": "numberTypeNode",
  369. "format": "u8",
  370. "endian": "le"
  371. },
  372. "docs": [],
  373. "defaultValue": { "kind": "numberValueNode", "number": 1 },
  374. "defaultValueStrategy": "omitted"
  375. }
  376. ],
  377. "discriminators": [
  378. {
  379. "kind": "fieldDiscriminatorNode",
  380. "name": "discriminator",
  381. "offset": 0
  382. }
  383. ],
  384. "name": "initializeAccount",
  385. "docs": [
  386. "Initializes a new account to hold tokens. If this account is associated",
  387. "with the native mint then the token balance of the initialized account",
  388. "will be equal to the amount of SOL in the account. If this account is",
  389. "associated with another mint, that mint must be initialized before this",
  390. "command can succeed.",
  391. "",
  392. "The `InitializeAccount` instruction requires no signers and MUST be",
  393. "included within the same Transaction as the system program's",
  394. "`CreateAccount` instruction that creates the account being initialized.",
  395. "Otherwise another party can acquire ownership of the uninitialized account."
  396. ],
  397. "optionalAccountStrategy": "programId"
  398. },
  399. {
  400. "kind": "instructionNode",
  401. "accounts": [
  402. {
  403. "kind": "instructionAccountNode",
  404. "name": "multisig",
  405. "isWritable": true,
  406. "isSigner": false,
  407. "isOptional": false,
  408. "docs": ["The multisignature account to initialize."]
  409. },
  410. {
  411. "kind": "instructionAccountNode",
  412. "name": "rent",
  413. "isWritable": false,
  414. "isSigner": false,
  415. "isOptional": false,
  416. "docs": ["Rent sysvar."],
  417. "defaultValue": {
  418. "kind": "publicKeyValueNode",
  419. "publicKey": "SysvarRent111111111111111111111111111111111"
  420. }
  421. }
  422. ],
  423. "arguments": [
  424. {
  425. "kind": "instructionArgumentNode",
  426. "name": "discriminator",
  427. "type": {
  428. "kind": "numberTypeNode",
  429. "format": "u8",
  430. "endian": "le"
  431. },
  432. "docs": [],
  433. "defaultValue": { "kind": "numberValueNode", "number": 2 },
  434. "defaultValueStrategy": "omitted"
  435. },
  436. {
  437. "kind": "instructionArgumentNode",
  438. "name": "m",
  439. "type": {
  440. "kind": "numberTypeNode",
  441. "format": "u8",
  442. "endian": "le"
  443. },
  444. "docs": [
  445. "The number of signers (M) required to validate this multisignature account."
  446. ]
  447. }
  448. ],
  449. "discriminators": [
  450. {
  451. "kind": "fieldDiscriminatorNode",
  452. "name": "discriminator",
  453. "offset": 0
  454. }
  455. ],
  456. "remainingAccounts": [
  457. {
  458. "kind": "instructionRemainingAccountsNode",
  459. "value": {
  460. "kind": "argumentValueNode",
  461. "name": "signers"
  462. },
  463. "isOptional": true
  464. }
  465. ],
  466. "name": "initializeMultisig",
  467. "docs": [
  468. "Initializes a multisignature account with N provided signers.",
  469. "",
  470. "Multisignature accounts can used in place of any single owner/delegate",
  471. "accounts in any token instruction that require an owner/delegate to be",
  472. "present. The variant field represents the number of signers (M)",
  473. "required to validate this multisignature account.",
  474. "",
  475. "The `InitializeMultisig` instruction requires no signers and MUST be",
  476. "included within the same Transaction as the system program's",
  477. "`CreateAccount` instruction that creates the account being initialized.",
  478. "Otherwise another party can acquire ownership of the uninitialized account."
  479. ],
  480. "optionalAccountStrategy": "programId"
  481. },
  482. {
  483. "kind": "instructionNode",
  484. "accounts": [
  485. {
  486. "kind": "instructionAccountNode",
  487. "name": "source",
  488. "isWritable": true,
  489. "isSigner": false,
  490. "isOptional": false,
  491. "docs": ["The source account."]
  492. },
  493. {
  494. "kind": "instructionAccountNode",
  495. "name": "destination",
  496. "isWritable": true,
  497. "isSigner": false,
  498. "isOptional": false,
  499. "docs": ["The destination account."]
  500. },
  501. {
  502. "kind": "instructionAccountNode",
  503. "name": "authority",
  504. "isWritable": false,
  505. "isSigner": "either",
  506. "isOptional": false,
  507. "docs": [
  508. "The source account's owner/delegate or its multisignature account."
  509. ],
  510. "defaultValue": { "kind": "identityValueNode" }
  511. }
  512. ],
  513. "arguments": [
  514. {
  515. "kind": "instructionArgumentNode",
  516. "name": "discriminator",
  517. "type": {
  518. "kind": "numberTypeNode",
  519. "format": "u8",
  520. "endian": "le"
  521. },
  522. "docs": [],
  523. "defaultValue": { "kind": "numberValueNode", "number": 3 },
  524. "defaultValueStrategy": "omitted"
  525. },
  526. {
  527. "kind": "instructionArgumentNode",
  528. "name": "amount",
  529. "type": {
  530. "kind": "numberTypeNode",
  531. "format": "u64",
  532. "endian": "le"
  533. },
  534. "docs": ["The amount of tokens to transfer."]
  535. }
  536. ],
  537. "discriminators": [
  538. {
  539. "kind": "fieldDiscriminatorNode",
  540. "name": "discriminator",
  541. "offset": 0
  542. }
  543. ],
  544. "remainingAccounts": [
  545. {
  546. "kind": "instructionRemainingAccountsNode",
  547. "value": {
  548. "kind": "argumentValueNode",
  549. "name": "multiSigners"
  550. },
  551. "isOptional": true,
  552. "isSigner": true
  553. }
  554. ],
  555. "name": "transfer",
  556. "docs": [
  557. "Transfers tokens from one account to another either directly or via a delegate.",
  558. "If this account is associated with the native mint then equal amounts",
  559. "of SOL and Tokens will be transferred to the destination account."
  560. ],
  561. "optionalAccountStrategy": "programId"
  562. },
  563. {
  564. "kind": "instructionNode",
  565. "accounts": [
  566. {
  567. "kind": "instructionAccountNode",
  568. "name": "source",
  569. "isWritable": true,
  570. "isSigner": false,
  571. "isOptional": false,
  572. "docs": ["The source account."]
  573. },
  574. {
  575. "kind": "instructionAccountNode",
  576. "name": "delegate",
  577. "isWritable": false,
  578. "isSigner": false,
  579. "isOptional": false,
  580. "docs": ["The delegate."]
  581. },
  582. {
  583. "kind": "instructionAccountNode",
  584. "name": "owner",
  585. "isWritable": false,
  586. "isSigner": "either",
  587. "isOptional": false,
  588. "docs": ["The source account owner or its multisignature account."]
  589. }
  590. ],
  591. "arguments": [
  592. {
  593. "kind": "instructionArgumentNode",
  594. "name": "discriminator",
  595. "type": {
  596. "kind": "numberTypeNode",
  597. "format": "u8",
  598. "endian": "le"
  599. },
  600. "docs": [],
  601. "defaultValue": { "kind": "numberValueNode", "number": 4 },
  602. "defaultValueStrategy": "omitted"
  603. },
  604. {
  605. "kind": "instructionArgumentNode",
  606. "name": "amount",
  607. "type": {
  608. "kind": "numberTypeNode",
  609. "format": "u64",
  610. "endian": "le"
  611. },
  612. "docs": ["The amount of tokens the delegate is approved for."]
  613. }
  614. ],
  615. "discriminators": [
  616. {
  617. "kind": "fieldDiscriminatorNode",
  618. "name": "discriminator",
  619. "offset": 0
  620. }
  621. ],
  622. "remainingAccounts": [
  623. {
  624. "kind": "instructionRemainingAccountsNode",
  625. "value": {
  626. "kind": "argumentValueNode",
  627. "name": "multiSigners"
  628. },
  629. "isOptional": true,
  630. "isSigner": true
  631. }
  632. ],
  633. "name": "approve",
  634. "docs": [
  635. "Approves a delegate. A delegate is given the authority over tokens on",
  636. "behalf of the source account's owner."
  637. ],
  638. "optionalAccountStrategy": "programId"
  639. },
  640. {
  641. "kind": "instructionNode",
  642. "accounts": [
  643. {
  644. "kind": "instructionAccountNode",
  645. "name": "source",
  646. "isWritable": true,
  647. "isSigner": false,
  648. "isOptional": false,
  649. "docs": ["The source account."]
  650. },
  651. {
  652. "kind": "instructionAccountNode",
  653. "name": "owner",
  654. "isWritable": false,
  655. "isSigner": "either",
  656. "isOptional": false,
  657. "docs": ["The source account owner or its multisignature."]
  658. }
  659. ],
  660. "arguments": [
  661. {
  662. "kind": "instructionArgumentNode",
  663. "name": "discriminator",
  664. "type": {
  665. "kind": "numberTypeNode",
  666. "format": "u8",
  667. "endian": "le"
  668. },
  669. "docs": [],
  670. "defaultValue": { "kind": "numberValueNode", "number": 5 },
  671. "defaultValueStrategy": "omitted"
  672. }
  673. ],
  674. "discriminators": [
  675. {
  676. "kind": "fieldDiscriminatorNode",
  677. "name": "discriminator",
  678. "offset": 0
  679. }
  680. ],
  681. "remainingAccounts": [
  682. {
  683. "kind": "instructionRemainingAccountsNode",
  684. "value": {
  685. "kind": "argumentValueNode",
  686. "name": "multiSigners"
  687. },
  688. "isOptional": true,
  689. "isSigner": true
  690. }
  691. ],
  692. "name": "revoke",
  693. "docs": ["Revokes the delegate's authority."],
  694. "optionalAccountStrategy": "programId"
  695. },
  696. {
  697. "kind": "instructionNode",
  698. "accounts": [
  699. {
  700. "kind": "instructionAccountNode",
  701. "name": "owned",
  702. "isWritable": true,
  703. "isSigner": false,
  704. "isOptional": false,
  705. "docs": ["The mint or account to change the authority of."]
  706. },
  707. {
  708. "kind": "instructionAccountNode",
  709. "name": "owner",
  710. "isWritable": false,
  711. "isSigner": "either",
  712. "isOptional": false,
  713. "docs": [
  714. "The current authority or the multisignature account of the mint or account to update."
  715. ]
  716. }
  717. ],
  718. "arguments": [
  719. {
  720. "kind": "instructionArgumentNode",
  721. "name": "discriminator",
  722. "type": {
  723. "kind": "numberTypeNode",
  724. "format": "u8",
  725. "endian": "le"
  726. },
  727. "docs": [],
  728. "defaultValue": { "kind": "numberValueNode", "number": 6 },
  729. "defaultValueStrategy": "omitted"
  730. },
  731. {
  732. "kind": "instructionArgumentNode",
  733. "name": "authorityType",
  734. "type": { "kind": "definedTypeLinkNode", "name": "authorityType" },
  735. "docs": ["The type of authority to update."]
  736. },
  737. {
  738. "kind": "instructionArgumentNode",
  739. "name": "newAuthority",
  740. "type": {
  741. "kind": "optionTypeNode",
  742. "item": { "kind": "publicKeyTypeNode" },
  743. "prefix": {
  744. "kind": "numberTypeNode",
  745. "format": "u32",
  746. "endian": "le"
  747. },
  748. "fixed": true
  749. },
  750. "docs": ["The new authority"]
  751. }
  752. ],
  753. "discriminators": [
  754. {
  755. "kind": "fieldDiscriminatorNode",
  756. "name": "discriminator",
  757. "offset": 0
  758. }
  759. ],
  760. "remainingAccounts": [
  761. {
  762. "kind": "instructionRemainingAccountsNode",
  763. "value": {
  764. "kind": "argumentValueNode",
  765. "name": "multiSigners"
  766. },
  767. "isOptional": true,
  768. "isSigner": true
  769. }
  770. ],
  771. "name": "setAuthority",
  772. "docs": ["Sets a new authority of a mint or account."],
  773. "optionalAccountStrategy": "programId"
  774. },
  775. {
  776. "kind": "instructionNode",
  777. "accounts": [
  778. {
  779. "kind": "instructionAccountNode",
  780. "name": "mint",
  781. "isWritable": true,
  782. "isSigner": false,
  783. "isOptional": false,
  784. "docs": ["The mint account."]
  785. },
  786. {
  787. "kind": "instructionAccountNode",
  788. "name": "token",
  789. "isWritable": true,
  790. "isSigner": false,
  791. "isOptional": false,
  792. "docs": ["The account to mint tokens to."]
  793. },
  794. {
  795. "kind": "instructionAccountNode",
  796. "name": "mintAuthority",
  797. "isWritable": false,
  798. "isSigner": "either",
  799. "isOptional": false,
  800. "docs": [
  801. "The mint's minting authority or its multisignature account."
  802. ]
  803. }
  804. ],
  805. "arguments": [
  806. {
  807. "kind": "instructionArgumentNode",
  808. "name": "discriminator",
  809. "type": {
  810. "kind": "numberTypeNode",
  811. "format": "u8",
  812. "endian": "le"
  813. },
  814. "docs": [],
  815. "defaultValue": { "kind": "numberValueNode", "number": 7 },
  816. "defaultValueStrategy": "omitted"
  817. },
  818. {
  819. "kind": "instructionArgumentNode",
  820. "name": "amount",
  821. "type": {
  822. "kind": "numberTypeNode",
  823. "format": "u64",
  824. "endian": "le"
  825. },
  826. "docs": ["The amount of new tokens to mint."]
  827. }
  828. ],
  829. "discriminators": [
  830. {
  831. "kind": "fieldDiscriminatorNode",
  832. "name": "discriminator",
  833. "offset": 0
  834. }
  835. ],
  836. "remainingAccounts": [
  837. {
  838. "kind": "instructionRemainingAccountsNode",
  839. "value": {
  840. "kind": "argumentValueNode",
  841. "name": "multiSigners"
  842. },
  843. "isOptional": true,
  844. "isSigner": true
  845. }
  846. ],
  847. "name": "mintTo",
  848. "docs": [
  849. "Mints new tokens to an account. The native mint does not support minting."
  850. ],
  851. "optionalAccountStrategy": "programId"
  852. },
  853. {
  854. "kind": "instructionNode",
  855. "accounts": [
  856. {
  857. "kind": "instructionAccountNode",
  858. "name": "account",
  859. "isWritable": true,
  860. "isSigner": false,
  861. "isOptional": false,
  862. "docs": ["The account to burn from."]
  863. },
  864. {
  865. "kind": "instructionAccountNode",
  866. "name": "mint",
  867. "isWritable": true,
  868. "isSigner": false,
  869. "isOptional": false,
  870. "docs": ["The token mint."]
  871. },
  872. {
  873. "kind": "instructionAccountNode",
  874. "name": "authority",
  875. "isWritable": false,
  876. "isSigner": "either",
  877. "isOptional": false,
  878. "docs": [
  879. "The account's owner/delegate or its multisignature account."
  880. ],
  881. "defaultValue": { "kind": "identityValueNode" }
  882. }
  883. ],
  884. "arguments": [
  885. {
  886. "kind": "instructionArgumentNode",
  887. "name": "discriminator",
  888. "type": {
  889. "kind": "numberTypeNode",
  890. "format": "u8",
  891. "endian": "le"
  892. },
  893. "docs": ["The amount of tokens to burn."],
  894. "defaultValue": { "kind": "numberValueNode", "number": 8 },
  895. "defaultValueStrategy": "omitted"
  896. },
  897. {
  898. "kind": "instructionArgumentNode",
  899. "name": "amount",
  900. "type": {
  901. "kind": "numberTypeNode",
  902. "format": "u64",
  903. "endian": "le"
  904. },
  905. "docs": []
  906. }
  907. ],
  908. "discriminators": [
  909. {
  910. "kind": "fieldDiscriminatorNode",
  911. "name": "discriminator",
  912. "offset": 0
  913. }
  914. ],
  915. "remainingAccounts": [
  916. {
  917. "kind": "instructionRemainingAccountsNode",
  918. "value": {
  919. "kind": "argumentValueNode",
  920. "name": "multiSigners"
  921. },
  922. "isOptional": true,
  923. "isSigner": true
  924. }
  925. ],
  926. "name": "burn",
  927. "docs": [
  928. "Burns tokens by removing them from an account. `Burn` does not support",
  929. "accounts associated with the native mint, use `CloseAccount` instead."
  930. ],
  931. "optionalAccountStrategy": "programId"
  932. },
  933. {
  934. "kind": "instructionNode",
  935. "accounts": [
  936. {
  937. "kind": "instructionAccountNode",
  938. "name": "account",
  939. "isWritable": true,
  940. "isSigner": false,
  941. "isOptional": false,
  942. "docs": ["The account to close."]
  943. },
  944. {
  945. "kind": "instructionAccountNode",
  946. "name": "destination",
  947. "isWritable": true,
  948. "isSigner": false,
  949. "isOptional": false,
  950. "docs": ["The destination account."]
  951. },
  952. {
  953. "kind": "instructionAccountNode",
  954. "name": "owner",
  955. "isWritable": false,
  956. "isSigner": "either",
  957. "isOptional": false,
  958. "docs": ["The account's owner or its multisignature account."]
  959. }
  960. ],
  961. "arguments": [
  962. {
  963. "kind": "instructionArgumentNode",
  964. "name": "discriminator",
  965. "type": {
  966. "kind": "numberTypeNode",
  967. "format": "u8",
  968. "endian": "le"
  969. },
  970. "docs": [],
  971. "defaultValue": { "kind": "numberValueNode", "number": 9 },
  972. "defaultValueStrategy": "omitted"
  973. }
  974. ],
  975. "discriminators": [
  976. {
  977. "kind": "fieldDiscriminatorNode",
  978. "name": "discriminator",
  979. "offset": 0
  980. }
  981. ],
  982. "remainingAccounts": [
  983. {
  984. "kind": "instructionRemainingAccountsNode",
  985. "value": {
  986. "kind": "argumentValueNode",
  987. "name": "multiSigners"
  988. },
  989. "isOptional": true,
  990. "isSigner": true
  991. }
  992. ],
  993. "name": "closeAccount",
  994. "docs": [
  995. "Close an account by transferring all its SOL to the destination account.",
  996. "Non-native accounts may only be closed if its token amount is zero."
  997. ],
  998. "optionalAccountStrategy": "programId"
  999. },
  1000. {
  1001. "kind": "instructionNode",
  1002. "accounts": [
  1003. {
  1004. "kind": "instructionAccountNode",
  1005. "name": "account",
  1006. "isWritable": true,
  1007. "isSigner": false,
  1008. "isOptional": false,
  1009. "docs": ["The account to freeze."]
  1010. },
  1011. {
  1012. "kind": "instructionAccountNode",
  1013. "name": "mint",
  1014. "isWritable": false,
  1015. "isSigner": false,
  1016. "isOptional": false,
  1017. "docs": ["The token mint."]
  1018. },
  1019. {
  1020. "kind": "instructionAccountNode",
  1021. "name": "owner",
  1022. "isWritable": false,
  1023. "isSigner": "either",
  1024. "isOptional": false,
  1025. "docs": ["The mint freeze authority or its multisignature account."]
  1026. }
  1027. ],
  1028. "arguments": [
  1029. {
  1030. "kind": "instructionArgumentNode",
  1031. "name": "discriminator",
  1032. "type": {
  1033. "kind": "numberTypeNode",
  1034. "format": "u8",
  1035. "endian": "le"
  1036. },
  1037. "docs": [],
  1038. "defaultValue": { "kind": "numberValueNode", "number": 10 },
  1039. "defaultValueStrategy": "omitted"
  1040. }
  1041. ],
  1042. "discriminators": [
  1043. {
  1044. "kind": "fieldDiscriminatorNode",
  1045. "name": "discriminator",
  1046. "offset": 0
  1047. }
  1048. ],
  1049. "remainingAccounts": [
  1050. {
  1051. "kind": "instructionRemainingAccountsNode",
  1052. "value": {
  1053. "kind": "argumentValueNode",
  1054. "name": "multiSigners"
  1055. },
  1056. "isOptional": true,
  1057. "isSigner": true
  1058. }
  1059. ],
  1060. "name": "freezeAccount",
  1061. "docs": [
  1062. "Freeze an Initialized account using the Mint's freeze_authority (if set)."
  1063. ],
  1064. "optionalAccountStrategy": "programId"
  1065. },
  1066. {
  1067. "kind": "instructionNode",
  1068. "accounts": [
  1069. {
  1070. "kind": "instructionAccountNode",
  1071. "name": "account",
  1072. "isWritable": true,
  1073. "isSigner": false,
  1074. "isOptional": false,
  1075. "docs": ["The account to thaw."]
  1076. },
  1077. {
  1078. "kind": "instructionAccountNode",
  1079. "name": "mint",
  1080. "isWritable": false,
  1081. "isSigner": false,
  1082. "isOptional": false,
  1083. "docs": ["The token mint."]
  1084. },
  1085. {
  1086. "kind": "instructionAccountNode",
  1087. "name": "owner",
  1088. "isWritable": false,
  1089. "isSigner": "either",
  1090. "isOptional": false,
  1091. "docs": ["The mint freeze authority or its multisignature account."]
  1092. }
  1093. ],
  1094. "arguments": [
  1095. {
  1096. "kind": "instructionArgumentNode",
  1097. "name": "discriminator",
  1098. "type": {
  1099. "kind": "numberTypeNode",
  1100. "format": "u8",
  1101. "endian": "le"
  1102. },
  1103. "docs": [],
  1104. "defaultValue": { "kind": "numberValueNode", "number": 11 },
  1105. "defaultValueStrategy": "omitted"
  1106. }
  1107. ],
  1108. "discriminators": [
  1109. {
  1110. "kind": "fieldDiscriminatorNode",
  1111. "name": "discriminator",
  1112. "offset": 0
  1113. }
  1114. ],
  1115. "remainingAccounts": [
  1116. {
  1117. "kind": "instructionRemainingAccountsNode",
  1118. "value": {
  1119. "kind": "argumentValueNode",
  1120. "name": "multiSigners"
  1121. },
  1122. "isOptional": true,
  1123. "isSigner": true
  1124. }
  1125. ],
  1126. "name": "thawAccount",
  1127. "docs": [
  1128. "Thaw a Frozen account using the Mint's freeze_authority (if set)."
  1129. ],
  1130. "optionalAccountStrategy": "programId"
  1131. },
  1132. {
  1133. "kind": "instructionNode",
  1134. "accounts": [
  1135. {
  1136. "kind": "instructionAccountNode",
  1137. "name": "source",
  1138. "isWritable": true,
  1139. "isSigner": false,
  1140. "isOptional": false,
  1141. "docs": ["The source account."]
  1142. },
  1143. {
  1144. "kind": "instructionAccountNode",
  1145. "name": "mint",
  1146. "isWritable": false,
  1147. "isSigner": false,
  1148. "isOptional": false,
  1149. "docs": ["The token mint."]
  1150. },
  1151. {
  1152. "kind": "instructionAccountNode",
  1153. "name": "destination",
  1154. "isWritable": true,
  1155. "isSigner": false,
  1156. "isOptional": false,
  1157. "docs": ["The destination account."]
  1158. },
  1159. {
  1160. "kind": "instructionAccountNode",
  1161. "name": "authority",
  1162. "isWritable": false,
  1163. "isSigner": "either",
  1164. "isOptional": false,
  1165. "docs": [
  1166. "The source account's owner/delegate or its multisignature account."
  1167. ],
  1168. "defaultValue": { "kind": "identityValueNode" }
  1169. }
  1170. ],
  1171. "arguments": [
  1172. {
  1173. "kind": "instructionArgumentNode",
  1174. "name": "discriminator",
  1175. "type": {
  1176. "kind": "numberTypeNode",
  1177. "format": "u8",
  1178. "endian": "le"
  1179. },
  1180. "docs": [],
  1181. "defaultValue": { "kind": "numberValueNode", "number": 12 },
  1182. "defaultValueStrategy": "omitted"
  1183. },
  1184. {
  1185. "kind": "instructionArgumentNode",
  1186. "name": "amount",
  1187. "type": {
  1188. "kind": "numberTypeNode",
  1189. "format": "u64",
  1190. "endian": "le"
  1191. },
  1192. "docs": ["The amount of tokens to transfer."]
  1193. },
  1194. {
  1195. "kind": "instructionArgumentNode",
  1196. "name": "decimals",
  1197. "type": {
  1198. "kind": "numberTypeNode",
  1199. "format": "u8",
  1200. "endian": "le"
  1201. },
  1202. "docs": [
  1203. "Expected number of base 10 digits to the right of the decimal place."
  1204. ]
  1205. }
  1206. ],
  1207. "discriminators": [
  1208. {
  1209. "kind": "fieldDiscriminatorNode",
  1210. "name": "discriminator",
  1211. "offset": 0
  1212. }
  1213. ],
  1214. "remainingAccounts": [
  1215. {
  1216. "kind": "instructionRemainingAccountsNode",
  1217. "value": {
  1218. "kind": "argumentValueNode",
  1219. "name": "multiSigners"
  1220. },
  1221. "isOptional": true,
  1222. "isSigner": true
  1223. }
  1224. ],
  1225. "name": "transferChecked",
  1226. "docs": [
  1227. "Transfers tokens from one account to another either directly or via a",
  1228. "delegate. If this account is associated with the native mint then equal",
  1229. "amounts of SOL and Tokens will be transferred to the destination account.",
  1230. "",
  1231. "This instruction differs from Transfer in that the token mint and",
  1232. "decimals value is checked by the caller. This may be useful when",
  1233. "creating transactions offline or within a hardware wallet."
  1234. ],
  1235. "optionalAccountStrategy": "programId"
  1236. },
  1237. {
  1238. "kind": "instructionNode",
  1239. "accounts": [
  1240. {
  1241. "kind": "instructionAccountNode",
  1242. "name": "source",
  1243. "isWritable": true,
  1244. "isSigner": false,
  1245. "isOptional": false,
  1246. "docs": []
  1247. },
  1248. {
  1249. "kind": "instructionAccountNode",
  1250. "name": "mint",
  1251. "isWritable": false,
  1252. "isSigner": false,
  1253. "isOptional": false,
  1254. "docs": []
  1255. },
  1256. {
  1257. "kind": "instructionAccountNode",
  1258. "name": "delegate",
  1259. "isWritable": false,
  1260. "isSigner": false,
  1261. "isOptional": false,
  1262. "docs": []
  1263. },
  1264. {
  1265. "kind": "instructionAccountNode",
  1266. "name": "owner",
  1267. "isWritable": false,
  1268. "isSigner": true,
  1269. "isOptional": false,
  1270. "docs": []
  1271. }
  1272. ],
  1273. "arguments": [
  1274. {
  1275. "kind": "instructionArgumentNode",
  1276. "name": "discriminator",
  1277. "type": {
  1278. "kind": "numberTypeNode",
  1279. "format": "u8",
  1280. "endian": "le"
  1281. },
  1282. "docs": [],
  1283. "defaultValue": { "kind": "numberValueNode", "number": 13 },
  1284. "defaultValueStrategy": "omitted"
  1285. },
  1286. {
  1287. "kind": "instructionArgumentNode",
  1288. "name": "amount",
  1289. "type": {
  1290. "kind": "numberTypeNode",
  1291. "format": "u64",
  1292. "endian": "le"
  1293. },
  1294. "docs": []
  1295. },
  1296. {
  1297. "kind": "instructionArgumentNode",
  1298. "name": "decimals",
  1299. "type": {
  1300. "kind": "numberTypeNode",
  1301. "format": "u8",
  1302. "endian": "le"
  1303. },
  1304. "docs": []
  1305. }
  1306. ],
  1307. "discriminators": [
  1308. {
  1309. "kind": "fieldDiscriminatorNode",
  1310. "name": "discriminator",
  1311. "offset": 0
  1312. }
  1313. ],
  1314. "name": "approveChecked",
  1315. "docs": [],
  1316. "optionalAccountStrategy": "programId"
  1317. },
  1318. {
  1319. "kind": "instructionNode",
  1320. "accounts": [
  1321. {
  1322. "kind": "instructionAccountNode",
  1323. "name": "mint",
  1324. "isWritable": true,
  1325. "isSigner": false,
  1326. "isOptional": false,
  1327. "docs": []
  1328. },
  1329. {
  1330. "kind": "instructionAccountNode",
  1331. "name": "token",
  1332. "isWritable": true,
  1333. "isSigner": false,
  1334. "isOptional": false,
  1335. "docs": []
  1336. },
  1337. {
  1338. "kind": "instructionAccountNode",
  1339. "name": "mintAuthority",
  1340. "isWritable": false,
  1341. "isSigner": true,
  1342. "isOptional": false,
  1343. "docs": []
  1344. }
  1345. ],
  1346. "arguments": [
  1347. {
  1348. "kind": "instructionArgumentNode",
  1349. "name": "discriminator",
  1350. "type": {
  1351. "kind": "numberTypeNode",
  1352. "format": "u8",
  1353. "endian": "le"
  1354. },
  1355. "docs": [],
  1356. "defaultValue": { "kind": "numberValueNode", "number": 14 },
  1357. "defaultValueStrategy": "omitted"
  1358. },
  1359. {
  1360. "kind": "instructionArgumentNode",
  1361. "name": "amount",
  1362. "type": {
  1363. "kind": "numberTypeNode",
  1364. "format": "u64",
  1365. "endian": "le"
  1366. },
  1367. "docs": []
  1368. },
  1369. {
  1370. "kind": "instructionArgumentNode",
  1371. "name": "decimals",
  1372. "type": {
  1373. "kind": "numberTypeNode",
  1374. "format": "u8",
  1375. "endian": "le"
  1376. },
  1377. "docs": []
  1378. }
  1379. ],
  1380. "discriminators": [
  1381. {
  1382. "kind": "fieldDiscriminatorNode",
  1383. "name": "discriminator",
  1384. "offset": 0
  1385. }
  1386. ],
  1387. "name": "mintTokensToChecked",
  1388. "docs": [],
  1389. "optionalAccountStrategy": "programId"
  1390. },
  1391. {
  1392. "kind": "instructionNode",
  1393. "accounts": [
  1394. {
  1395. "kind": "instructionAccountNode",
  1396. "name": "account",
  1397. "isWritable": true,
  1398. "isSigner": false,
  1399. "isOptional": false,
  1400. "docs": []
  1401. },
  1402. {
  1403. "kind": "instructionAccountNode",
  1404. "name": "mint",
  1405. "isWritable": true,
  1406. "isSigner": false,
  1407. "isOptional": false,
  1408. "docs": []
  1409. },
  1410. {
  1411. "kind": "instructionAccountNode",
  1412. "name": "authority",
  1413. "isWritable": false,
  1414. "isSigner": true,
  1415. "isOptional": false,
  1416. "docs": [],
  1417. "defaultValue": { "kind": "identityValueNode" }
  1418. }
  1419. ],
  1420. "arguments": [
  1421. {
  1422. "kind": "instructionArgumentNode",
  1423. "name": "discriminator",
  1424. "type": {
  1425. "kind": "numberTypeNode",
  1426. "format": "u8",
  1427. "endian": "le"
  1428. },
  1429. "docs": [],
  1430. "defaultValue": { "kind": "numberValueNode", "number": 15 },
  1431. "defaultValueStrategy": "omitted"
  1432. },
  1433. {
  1434. "kind": "instructionArgumentNode",
  1435. "name": "amount",
  1436. "type": {
  1437. "kind": "numberTypeNode",
  1438. "format": "u64",
  1439. "endian": "le"
  1440. },
  1441. "docs": []
  1442. },
  1443. {
  1444. "kind": "instructionArgumentNode",
  1445. "name": "decimals",
  1446. "type": {
  1447. "kind": "numberTypeNode",
  1448. "format": "u8",
  1449. "endian": "le"
  1450. },
  1451. "docs": []
  1452. }
  1453. ],
  1454. "discriminators": [
  1455. {
  1456. "kind": "fieldDiscriminatorNode",
  1457. "name": "discriminator",
  1458. "offset": 0
  1459. }
  1460. ],
  1461. "name": "burnChecked",
  1462. "docs": [],
  1463. "optionalAccountStrategy": "programId"
  1464. },
  1465. {
  1466. "kind": "instructionNode",
  1467. "accounts": [
  1468. {
  1469. "kind": "instructionAccountNode",
  1470. "name": "account",
  1471. "isWritable": true,
  1472. "isSigner": false,
  1473. "isOptional": false,
  1474. "docs": []
  1475. },
  1476. {
  1477. "kind": "instructionAccountNode",
  1478. "name": "mint",
  1479. "isWritable": false,
  1480. "isSigner": false,
  1481. "isOptional": false,
  1482. "docs": []
  1483. },
  1484. {
  1485. "kind": "instructionAccountNode",
  1486. "name": "rent",
  1487. "isWritable": false,
  1488. "isSigner": false,
  1489. "isOptional": false,
  1490. "docs": [],
  1491. "defaultValue": {
  1492. "kind": "publicKeyValueNode",
  1493. "publicKey": "SysvarRent111111111111111111111111111111111"
  1494. }
  1495. }
  1496. ],
  1497. "arguments": [
  1498. {
  1499. "kind": "instructionArgumentNode",
  1500. "name": "discriminator",
  1501. "type": {
  1502. "kind": "numberTypeNode",
  1503. "format": "u8",
  1504. "endian": "le"
  1505. },
  1506. "docs": [],
  1507. "defaultValue": { "kind": "numberValueNode", "number": 16 },
  1508. "defaultValueStrategy": "omitted"
  1509. },
  1510. {
  1511. "kind": "instructionArgumentNode",
  1512. "name": "owner",
  1513. "type": { "kind": "publicKeyTypeNode" },
  1514. "docs": []
  1515. }
  1516. ],
  1517. "discriminators": [
  1518. {
  1519. "kind": "fieldDiscriminatorNode",
  1520. "name": "discriminator",
  1521. "offset": 0
  1522. }
  1523. ],
  1524. "name": "initializeAccount2",
  1525. "docs": [],
  1526. "optionalAccountStrategy": "programId"
  1527. },
  1528. {
  1529. "kind": "instructionNode",
  1530. "accounts": [
  1531. {
  1532. "kind": "instructionAccountNode",
  1533. "name": "account",
  1534. "isWritable": true,
  1535. "isSigner": false,
  1536. "isOptional": false,
  1537. "docs": []
  1538. }
  1539. ],
  1540. "arguments": [
  1541. {
  1542. "kind": "instructionArgumentNode",
  1543. "name": "discriminator",
  1544. "type": {
  1545. "kind": "numberTypeNode",
  1546. "format": "u8",
  1547. "endian": "le"
  1548. },
  1549. "docs": [],
  1550. "defaultValue": { "kind": "numberValueNode", "number": 17 },
  1551. "defaultValueStrategy": "omitted"
  1552. }
  1553. ],
  1554. "discriminators": [
  1555. {
  1556. "kind": "fieldDiscriminatorNode",
  1557. "name": "discriminator",
  1558. "offset": 0
  1559. }
  1560. ],
  1561. "name": "syncNative",
  1562. "docs": [],
  1563. "optionalAccountStrategy": "programId"
  1564. },
  1565. {
  1566. "kind": "instructionNode",
  1567. "accounts": [
  1568. {
  1569. "kind": "instructionAccountNode",
  1570. "name": "account",
  1571. "isWritable": true,
  1572. "isSigner": false,
  1573. "isOptional": false,
  1574. "docs": []
  1575. },
  1576. {
  1577. "kind": "instructionAccountNode",
  1578. "name": "mint",
  1579. "isWritable": false,
  1580. "isSigner": false,
  1581. "isOptional": false,
  1582. "docs": []
  1583. }
  1584. ],
  1585. "arguments": [
  1586. {
  1587. "kind": "instructionArgumentNode",
  1588. "name": "discriminator",
  1589. "type": {
  1590. "kind": "numberTypeNode",
  1591. "format": "u8",
  1592. "endian": "le"
  1593. },
  1594. "docs": [],
  1595. "defaultValue": { "kind": "numberValueNode", "number": 18 },
  1596. "defaultValueStrategy": "omitted"
  1597. },
  1598. {
  1599. "kind": "instructionArgumentNode",
  1600. "name": "owner",
  1601. "type": { "kind": "publicKeyTypeNode" },
  1602. "docs": []
  1603. }
  1604. ],
  1605. "discriminators": [
  1606. {
  1607. "kind": "fieldDiscriminatorNode",
  1608. "name": "discriminator",
  1609. "offset": 0
  1610. }
  1611. ],
  1612. "name": "initializeAccount3",
  1613. "docs": [],
  1614. "optionalAccountStrategy": "programId"
  1615. },
  1616. {
  1617. "kind": "instructionNode",
  1618. "accounts": [
  1619. {
  1620. "kind": "instructionAccountNode",
  1621. "name": "multisig",
  1622. "isWritable": true,
  1623. "isSigner": false,
  1624. "isOptional": false,
  1625. "docs": []
  1626. },
  1627. {
  1628. "kind": "instructionAccountNode",
  1629. "name": "signer",
  1630. "isWritable": false,
  1631. "isSigner": false,
  1632. "isOptional": false,
  1633. "docs": []
  1634. }
  1635. ],
  1636. "arguments": [
  1637. {
  1638. "kind": "instructionArgumentNode",
  1639. "name": "discriminator",
  1640. "type": {
  1641. "kind": "numberTypeNode",
  1642. "format": "u8",
  1643. "endian": "le"
  1644. },
  1645. "docs": [],
  1646. "defaultValue": { "kind": "numberValueNode", "number": 19 },
  1647. "defaultValueStrategy": "omitted"
  1648. },
  1649. {
  1650. "kind": "instructionArgumentNode",
  1651. "name": "m",
  1652. "type": {
  1653. "kind": "numberTypeNode",
  1654. "format": "u8",
  1655. "endian": "le"
  1656. },
  1657. "docs": []
  1658. }
  1659. ],
  1660. "discriminators": [
  1661. {
  1662. "kind": "fieldDiscriminatorNode",
  1663. "name": "discriminator",
  1664. "offset": 0
  1665. }
  1666. ],
  1667. "name": "initializeMultisig2",
  1668. "docs": [],
  1669. "optionalAccountStrategy": "programId"
  1670. },
  1671. {
  1672. "kind": "instructionNode",
  1673. "accounts": [
  1674. {
  1675. "kind": "instructionAccountNode",
  1676. "name": "mint",
  1677. "isWritable": true,
  1678. "isSigner": false,
  1679. "isOptional": false,
  1680. "docs": []
  1681. }
  1682. ],
  1683. "arguments": [
  1684. {
  1685. "kind": "instructionArgumentNode",
  1686. "name": "discriminator",
  1687. "type": {
  1688. "kind": "numberTypeNode",
  1689. "format": "u8",
  1690. "endian": "le"
  1691. },
  1692. "docs": [],
  1693. "defaultValue": { "kind": "numberValueNode", "number": 20 },
  1694. "defaultValueStrategy": "omitted"
  1695. },
  1696. {
  1697. "kind": "instructionArgumentNode",
  1698. "name": "decimals",
  1699. "type": {
  1700. "kind": "numberTypeNode",
  1701. "format": "u8",
  1702. "endian": "le"
  1703. },
  1704. "docs": []
  1705. },
  1706. {
  1707. "kind": "instructionArgumentNode",
  1708. "name": "mintAuthority",
  1709. "type": { "kind": "publicKeyTypeNode" },
  1710. "docs": []
  1711. },
  1712. {
  1713. "kind": "instructionArgumentNode",
  1714. "name": "freezeAuthority",
  1715. "type": {
  1716. "kind": "optionTypeNode",
  1717. "item": { "kind": "publicKeyTypeNode" },
  1718. "prefix": {
  1719. "kind": "numberTypeNode",
  1720. "format": "u8",
  1721. "endian": "le"
  1722. },
  1723. "fixed": false
  1724. },
  1725. "docs": []
  1726. }
  1727. ],
  1728. "discriminators": [
  1729. {
  1730. "kind": "fieldDiscriminatorNode",
  1731. "name": "discriminator",
  1732. "offset": 0
  1733. }
  1734. ],
  1735. "name": "initializeMint2",
  1736. "docs": [],
  1737. "optionalAccountStrategy": "programId"
  1738. },
  1739. {
  1740. "kind": "instructionNode",
  1741. "accounts": [
  1742. {
  1743. "kind": "instructionAccountNode",
  1744. "name": "mint",
  1745. "isWritable": false,
  1746. "isSigner": false,
  1747. "isOptional": false,
  1748. "docs": []
  1749. }
  1750. ],
  1751. "arguments": [
  1752. {
  1753. "kind": "instructionArgumentNode",
  1754. "name": "discriminator",
  1755. "type": {
  1756. "kind": "numberTypeNode",
  1757. "format": "u8",
  1758. "endian": "le"
  1759. },
  1760. "docs": [],
  1761. "defaultValue": { "kind": "numberValueNode", "number": 21 },
  1762. "defaultValueStrategy": "omitted"
  1763. }
  1764. ],
  1765. "discriminators": [
  1766. {
  1767. "kind": "fieldDiscriminatorNode",
  1768. "name": "discriminator",
  1769. "offset": 0
  1770. }
  1771. ],
  1772. "name": "getTokenDataSize",
  1773. "docs": [],
  1774. "optionalAccountStrategy": "programId"
  1775. },
  1776. {
  1777. "kind": "instructionNode",
  1778. "accounts": [
  1779. {
  1780. "kind": "instructionAccountNode",
  1781. "name": "account",
  1782. "isWritable": true,
  1783. "isSigner": false,
  1784. "isOptional": false,
  1785. "docs": []
  1786. }
  1787. ],
  1788. "arguments": [
  1789. {
  1790. "kind": "instructionArgumentNode",
  1791. "name": "discriminator",
  1792. "type": {
  1793. "kind": "numberTypeNode",
  1794. "format": "u8",
  1795. "endian": "le"
  1796. },
  1797. "docs": [],
  1798. "defaultValue": { "kind": "numberValueNode", "number": 22 },
  1799. "defaultValueStrategy": "omitted"
  1800. }
  1801. ],
  1802. "discriminators": [
  1803. {
  1804. "kind": "fieldDiscriminatorNode",
  1805. "name": "discriminator",
  1806. "offset": 0
  1807. }
  1808. ],
  1809. "name": "initializeImmutableOwner",
  1810. "docs": [],
  1811. "optionalAccountStrategy": "programId"
  1812. },
  1813. {
  1814. "kind": "instructionNode",
  1815. "accounts": [
  1816. {
  1817. "kind": "instructionAccountNode",
  1818. "name": "mint",
  1819. "isWritable": false,
  1820. "isSigner": false,
  1821. "isOptional": false,
  1822. "docs": []
  1823. }
  1824. ],
  1825. "arguments": [
  1826. {
  1827. "kind": "instructionArgumentNode",
  1828. "name": "discriminator",
  1829. "type": {
  1830. "kind": "numberTypeNode",
  1831. "format": "u8",
  1832. "endian": "le"
  1833. },
  1834. "docs": [],
  1835. "defaultValue": { "kind": "numberValueNode", "number": 23 },
  1836. "defaultValueStrategy": "omitted"
  1837. },
  1838. {
  1839. "kind": "instructionArgumentNode",
  1840. "name": "amount",
  1841. "type": {
  1842. "kind": "numberTypeNode",
  1843. "format": "u64",
  1844. "endian": "le"
  1845. },
  1846. "docs": []
  1847. }
  1848. ],
  1849. "discriminators": [
  1850. {
  1851. "kind": "fieldDiscriminatorNode",
  1852. "name": "discriminator",
  1853. "offset": 0
  1854. }
  1855. ],
  1856. "name": "amountToUiAmount",
  1857. "docs": [],
  1858. "optionalAccountStrategy": "programId"
  1859. },
  1860. {
  1861. "kind": "instructionNode",
  1862. "accounts": [
  1863. {
  1864. "kind": "instructionAccountNode",
  1865. "name": "mint",
  1866. "isWritable": false,
  1867. "isSigner": false,
  1868. "isOptional": false,
  1869. "docs": []
  1870. }
  1871. ],
  1872. "arguments": [
  1873. {
  1874. "kind": "instructionArgumentNode",
  1875. "name": "discriminator",
  1876. "type": {
  1877. "kind": "numberTypeNode",
  1878. "format": "u8",
  1879. "endian": "le"
  1880. },
  1881. "docs": [],
  1882. "defaultValue": { "kind": "numberValueNode", "number": 24 },
  1883. "defaultValueStrategy": "omitted"
  1884. },
  1885. {
  1886. "kind": "instructionArgumentNode",
  1887. "name": "uiAmount",
  1888. "type": {
  1889. "kind": "numberTypeNode",
  1890. "format": "u64",
  1891. "endian": "le"
  1892. },
  1893. "docs": []
  1894. }
  1895. ],
  1896. "discriminators": [
  1897. {
  1898. "kind": "fieldDiscriminatorNode",
  1899. "name": "discriminator",
  1900. "offset": 0
  1901. }
  1902. ],
  1903. "name": "uiAmountToAmount",
  1904. "docs": [],
  1905. "optionalAccountStrategy": "programId"
  1906. }
  1907. ],
  1908. "definedTypes": [
  1909. {
  1910. "kind": "definedTypeNode",
  1911. "name": "tokenState",
  1912. "type": {
  1913. "kind": "enumTypeNode",
  1914. "variants": [
  1915. { "kind": "enumEmptyVariantTypeNode", "name": "uninitialized" },
  1916. { "kind": "enumEmptyVariantTypeNode", "name": "initialized" },
  1917. { "kind": "enumEmptyVariantTypeNode", "name": "frozen" }
  1918. ],
  1919. "size": { "kind": "numberTypeNode", "format": "u8", "endian": "le" }
  1920. },
  1921. "docs": []
  1922. },
  1923. {
  1924. "kind": "definedTypeNode",
  1925. "name": "authorityType",
  1926. "type": {
  1927. "kind": "enumTypeNode",
  1928. "variants": [
  1929. { "kind": "enumEmptyVariantTypeNode", "name": "mintTokens" },
  1930. { "kind": "enumEmptyVariantTypeNode", "name": "freezeAccount" },
  1931. { "kind": "enumEmptyVariantTypeNode", "name": "accountOwner" },
  1932. { "kind": "enumEmptyVariantTypeNode", "name": "closeAccount" }
  1933. ],
  1934. "size": { "kind": "numberTypeNode", "format": "u8", "endian": "le" }
  1935. },
  1936. "docs": []
  1937. }
  1938. ],
  1939. "errors": [
  1940. {
  1941. "kind": "errorNode",
  1942. "name": "notRentExempt",
  1943. "code": 0,
  1944. "message": "Lamport balance below rent-exempt threshold",
  1945. "docs": ["NotRentExempt: Lamport balance below rent-exempt threshold"]
  1946. },
  1947. {
  1948. "kind": "errorNode",
  1949. "name": "insufficientFunds",
  1950. "code": 1,
  1951. "message": "Insufficient funds",
  1952. "docs": ["InsufficientFunds: Insufficient funds"]
  1953. },
  1954. {
  1955. "kind": "errorNode",
  1956. "name": "invalidMint",
  1957. "code": 2,
  1958. "message": "Invalid Mint",
  1959. "docs": ["InvalidMint: Invalid Mint"]
  1960. },
  1961. {
  1962. "kind": "errorNode",
  1963. "name": "mintMismatch",
  1964. "code": 3,
  1965. "message": "Account not associated with this Mint",
  1966. "docs": ["MintMismatch: Account not associated with this Mint"]
  1967. },
  1968. {
  1969. "kind": "errorNode",
  1970. "name": "ownerMismatch",
  1971. "code": 4,
  1972. "message": "Owner does not match",
  1973. "docs": ["OwnerMismatch: Owner does not match"]
  1974. },
  1975. {
  1976. "kind": "errorNode",
  1977. "name": "fixedSupply",
  1978. "code": 5,
  1979. "message": "Fixed supply",
  1980. "docs": ["FixedSupply: Fixed supply"]
  1981. },
  1982. {
  1983. "kind": "errorNode",
  1984. "name": "alreadyInUse",
  1985. "code": 6,
  1986. "message": "Already in use",
  1987. "docs": ["AlreadyInUse: Already in use"]
  1988. },
  1989. {
  1990. "kind": "errorNode",
  1991. "name": "invalidNumberOfProvidedSigners",
  1992. "code": 7,
  1993. "message": "Invalid number of provided signers",
  1994. "docs": [
  1995. "InvalidNumberOfProvidedSigners: Invalid number of provided signers"
  1996. ]
  1997. },
  1998. {
  1999. "kind": "errorNode",
  2000. "name": "invalidNumberOfRequiredSigners",
  2001. "code": 8,
  2002. "message": "Invalid number of required signers",
  2003. "docs": [
  2004. "InvalidNumberOfRequiredSigners: Invalid number of required signers"
  2005. ]
  2006. },
  2007. {
  2008. "kind": "errorNode",
  2009. "name": "uninitializedState",
  2010. "code": 9,
  2011. "message": "State is unititialized",
  2012. "docs": ["UninitializedState: State is unititialized"]
  2013. },
  2014. {
  2015. "kind": "errorNode",
  2016. "name": "nativeNotSupported",
  2017. "code": 10,
  2018. "message": "Instruction does not support native tokens",
  2019. "docs": [
  2020. "NativeNotSupported: Instruction does not support native tokens"
  2021. ]
  2022. },
  2023. {
  2024. "kind": "errorNode",
  2025. "name": "nonNativeHasBalance",
  2026. "code": 11,
  2027. "message": "Non-native account can only be closed if its balance is zero",
  2028. "docs": [
  2029. "NonNativeHasBalance: Non-native account can only be closed if its balance is zero"
  2030. ]
  2031. },
  2032. {
  2033. "kind": "errorNode",
  2034. "name": "invalidInstruction",
  2035. "code": 12,
  2036. "message": "Invalid instruction",
  2037. "docs": ["InvalidInstruction: Invalid instruction"]
  2038. },
  2039. {
  2040. "kind": "errorNode",
  2041. "name": "invalidState",
  2042. "code": 13,
  2043. "message": "State is invalid for requested operation",
  2044. "docs": ["InvalidState: State is invalid for requested operation"]
  2045. },
  2046. {
  2047. "kind": "errorNode",
  2048. "name": "overflow",
  2049. "code": 14,
  2050. "message": "Operation overflowed",
  2051. "docs": ["Overflow: Operation overflowed"]
  2052. },
  2053. {
  2054. "kind": "errorNode",
  2055. "name": "authorityTypeNotSupported",
  2056. "code": 15,
  2057. "message": "Account does not support specified authority type",
  2058. "docs": [
  2059. "AuthorityTypeNotSupported: Account does not support specified authority type"
  2060. ]
  2061. },
  2062. {
  2063. "kind": "errorNode",
  2064. "name": "mintCannotFreeze",
  2065. "code": 16,
  2066. "message": "This token mint cannot freeze accounts",
  2067. "docs": ["MintCannotFreeze: This token mint cannot freeze accounts"]
  2068. },
  2069. {
  2070. "kind": "errorNode",
  2071. "name": "accountFrozen",
  2072. "code": 17,
  2073. "message": "Account is frozen",
  2074. "docs": ["AccountFrozen: Account is frozen"]
  2075. },
  2076. {
  2077. "kind": "errorNode",
  2078. "name": "mintDecimalsMismatch",
  2079. "code": 18,
  2080. "message": "The provided decimals value different from the Mint decimals",
  2081. "docs": [
  2082. "MintDecimalsMismatch: The provided decimals value different from the Mint decimals"
  2083. ]
  2084. },
  2085. {
  2086. "kind": "errorNode",
  2087. "name": "nonNativeNotSupported",
  2088. "code": 19,
  2089. "message": "Instruction does not support non-native tokens",
  2090. "docs": [
  2091. "NonNativeNotSupported: Instruction does not support non-native tokens"
  2092. ]
  2093. }
  2094. ],
  2095. "name": "token",
  2096. "prefix": "",
  2097. "publicKey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
  2098. "version": "3.3.0",
  2099. "origin": "shank"
  2100. },
  2101. "additionalPrograms": [
  2102. {
  2103. "kind": "programNode",
  2104. "pdas": [],
  2105. "accounts": [],
  2106. "instructions": [
  2107. {
  2108. "kind": "instructionNode",
  2109. "accounts": [
  2110. {
  2111. "kind": "instructionAccountNode",
  2112. "name": "payer",
  2113. "isWritable": true,
  2114. "isSigner": true,
  2115. "isOptional": false,
  2116. "docs": [],
  2117. "defaultValue": { "kind": "payerValueNode" }
  2118. },
  2119. {
  2120. "kind": "instructionAccountNode",
  2121. "name": "ata",
  2122. "isWritable": true,
  2123. "isSigner": false,
  2124. "isOptional": false,
  2125. "docs": []
  2126. },
  2127. {
  2128. "kind": "instructionAccountNode",
  2129. "name": "owner",
  2130. "isWritable": false,
  2131. "isSigner": false,
  2132. "isOptional": false,
  2133. "docs": []
  2134. },
  2135. {
  2136. "kind": "instructionAccountNode",
  2137. "name": "mint",
  2138. "isWritable": false,
  2139. "isSigner": false,
  2140. "isOptional": false,
  2141. "docs": []
  2142. },
  2143. {
  2144. "kind": "instructionAccountNode",
  2145. "name": "systemProgram",
  2146. "isWritable": false,
  2147. "isSigner": false,
  2148. "isOptional": false,
  2149. "docs": [],
  2150. "defaultValue": {
  2151. "kind": "publicKeyValueNode",
  2152. "publicKey": "11111111111111111111111111111111",
  2153. "identifier": "splSystem"
  2154. }
  2155. },
  2156. {
  2157. "kind": "instructionAccountNode",
  2158. "name": "tokenProgram",
  2159. "isWritable": false,
  2160. "isSigner": false,
  2161. "isOptional": false,
  2162. "docs": [],
  2163. "defaultValue": {
  2164. "kind": "publicKeyValueNode",
  2165. "publicKey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
  2166. "identifier": "splToken"
  2167. }
  2168. }
  2169. ],
  2170. "arguments": [],
  2171. "name": "createAssociatedToken",
  2172. "docs": [],
  2173. "optionalAccountStrategy": "programId"
  2174. },
  2175. {
  2176. "kind": "instructionNode",
  2177. "accounts": [
  2178. {
  2179. "kind": "instructionAccountNode",
  2180. "name": "payer",
  2181. "isWritable": true,
  2182. "isSigner": true,
  2183. "isOptional": false,
  2184. "docs": [],
  2185. "defaultValue": { "kind": "payerValueNode" }
  2186. },
  2187. {
  2188. "kind": "instructionAccountNode",
  2189. "name": "ata",
  2190. "isWritable": true,
  2191. "isSigner": false,
  2192. "isOptional": false,
  2193. "docs": []
  2194. },
  2195. {
  2196. "kind": "instructionAccountNode",
  2197. "name": "owner",
  2198. "isWritable": false,
  2199. "isSigner": false,
  2200. "isOptional": false,
  2201. "docs": []
  2202. },
  2203. {
  2204. "kind": "instructionAccountNode",
  2205. "name": "mint",
  2206. "isWritable": false,
  2207. "isSigner": false,
  2208. "isOptional": false,
  2209. "docs": []
  2210. },
  2211. {
  2212. "kind": "instructionAccountNode",
  2213. "name": "systemProgram",
  2214. "isWritable": false,
  2215. "isSigner": false,
  2216. "isOptional": false,
  2217. "docs": [],
  2218. "defaultValue": {
  2219. "kind": "publicKeyValueNode",
  2220. "publicKey": "11111111111111111111111111111111",
  2221. "identifier": "splSystem"
  2222. }
  2223. },
  2224. {
  2225. "kind": "instructionAccountNode",
  2226. "name": "tokenProgram",
  2227. "isWritable": false,
  2228. "isSigner": false,
  2229. "isOptional": false,
  2230. "docs": [],
  2231. "defaultValue": {
  2232. "kind": "publicKeyValueNode",
  2233. "publicKey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
  2234. "identifier": "splToken"
  2235. }
  2236. }
  2237. ],
  2238. "arguments": [],
  2239. "name": "createIdempotentAssociatedToken",
  2240. "docs": [],
  2241. "optionalAccountStrategy": "programId"
  2242. },
  2243. {
  2244. "kind": "instructionNode",
  2245. "accounts": [
  2246. {
  2247. "kind": "instructionAccountNode",
  2248. "name": "nestedAssociatedAccountAddress",
  2249. "isWritable": true,
  2250. "isSigner": false,
  2251. "isOptional": false,
  2252. "docs": []
  2253. },
  2254. {
  2255. "kind": "instructionAccountNode",
  2256. "name": "nestedTokenMintAddress",
  2257. "isWritable": false,
  2258. "isSigner": false,
  2259. "isOptional": false,
  2260. "docs": []
  2261. },
  2262. {
  2263. "kind": "instructionAccountNode",
  2264. "name": "destinationAssociatedAccountAddress",
  2265. "isWritable": true,
  2266. "isSigner": false,
  2267. "isOptional": false,
  2268. "docs": []
  2269. },
  2270. {
  2271. "kind": "instructionAccountNode",
  2272. "name": "ownerAssociatedAccountAddress",
  2273. "isWritable": false,
  2274. "isSigner": false,
  2275. "isOptional": false,
  2276. "docs": []
  2277. },
  2278. {
  2279. "kind": "instructionAccountNode",
  2280. "name": "ownerTokenMintAddress",
  2281. "isWritable": false,
  2282. "isSigner": false,
  2283. "isOptional": false,
  2284. "docs": []
  2285. },
  2286. {
  2287. "kind": "instructionAccountNode",
  2288. "name": "walletAddress",
  2289. "isWritable": true,
  2290. "isSigner": true,
  2291. "isOptional": false,
  2292. "docs": []
  2293. },
  2294. {
  2295. "kind": "instructionAccountNode",
  2296. "name": "tokenProgram",
  2297. "isWritable": false,
  2298. "isSigner": false,
  2299. "isOptional": false,
  2300. "docs": [],
  2301. "defaultValue": {
  2302. "kind": "publicKeyValueNode",
  2303. "publicKey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
  2304. "identifier": "splToken"
  2305. }
  2306. }
  2307. ],
  2308. "arguments": [],
  2309. "name": "recoverNestedAssociatedToken",
  2310. "docs": [],
  2311. "optionalAccountStrategy": "programId"
  2312. }
  2313. ],
  2314. "definedTypes": [],
  2315. "errors": [
  2316. {
  2317. "kind": "errorNode",
  2318. "name": "invalidOwner",
  2319. "code": 0,
  2320. "message": "Associated token account owner does not match address derivation",
  2321. "docs": [
  2322. "InvalidOwner: Associated token account owner does not match address derivation"
  2323. ]
  2324. }
  2325. ],
  2326. "name": "associatedToken",
  2327. "prefix": "",
  2328. "publicKey": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
  2329. "version": "1.1.1",
  2330. "origin": "shank"
  2331. }
  2332. ],
  2333. "standard": "kinobi",
  2334. "version": "0.19.0"
  2335. }