idl.json 61 KB

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