spacefiRouterAbi.json 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "address",
  6. "name": "_factory",
  7. "type": "address"
  8. },
  9. {
  10. "internalType": "address",
  11. "name": "_WETH",
  12. "type": "address"
  13. }
  14. ],
  15. "stateMutability": "nonpayable",
  16. "type": "constructor"
  17. },
  18. {
  19. "inputs": [],
  20. "name": "WETH",
  21. "outputs": [
  22. {
  23. "internalType": "address",
  24. "name": "",
  25. "type": "address"
  26. }
  27. ],
  28. "stateMutability": "view",
  29. "type": "function"
  30. },
  31. {
  32. "inputs": [
  33. {
  34. "internalType": "address",
  35. "name": "tokenA",
  36. "type": "address"
  37. },
  38. {
  39. "internalType": "address",
  40. "name": "tokenB",
  41. "type": "address"
  42. },
  43. {
  44. "internalType": "uint256",
  45. "name": "amountADesired",
  46. "type": "uint256"
  47. },
  48. {
  49. "internalType": "uint256",
  50. "name": "amountBDesired",
  51. "type": "uint256"
  52. },
  53. {
  54. "internalType": "uint256",
  55. "name": "amountAMin",
  56. "type": "uint256"
  57. },
  58. {
  59. "internalType": "uint256",
  60. "name": "amountBMin",
  61. "type": "uint256"
  62. },
  63. {
  64. "internalType": "address",
  65. "name": "to",
  66. "type": "address"
  67. },
  68. {
  69. "internalType": "uint256",
  70. "name": "deadline",
  71. "type": "uint256"
  72. }
  73. ],
  74. "name": "addLiquidity",
  75. "outputs": [
  76. {
  77. "internalType": "uint256",
  78. "name": "amountA",
  79. "type": "uint256"
  80. },
  81. {
  82. "internalType": "uint256",
  83. "name": "amountB",
  84. "type": "uint256"
  85. },
  86. {
  87. "internalType": "uint256",
  88. "name": "liquidity",
  89. "type": "uint256"
  90. }
  91. ],
  92. "stateMutability": "nonpayable",
  93. "type": "function"
  94. },
  95. {
  96. "inputs": [
  97. {
  98. "internalType": "address",
  99. "name": "token",
  100. "type": "address"
  101. },
  102. {
  103. "internalType": "uint256",
  104. "name": "amountTokenDesired",
  105. "type": "uint256"
  106. },
  107. {
  108. "internalType": "uint256",
  109. "name": "amountTokenMin",
  110. "type": "uint256"
  111. },
  112. {
  113. "internalType": "uint256",
  114. "name": "amountETHMin",
  115. "type": "uint256"
  116. },
  117. {
  118. "internalType": "address",
  119. "name": "to",
  120. "type": "address"
  121. },
  122. {
  123. "internalType": "uint256",
  124. "name": "deadline",
  125. "type": "uint256"
  126. }
  127. ],
  128. "name": "addLiquidityETH",
  129. "outputs": [
  130. {
  131. "internalType": "uint256",
  132. "name": "amountToken",
  133. "type": "uint256"
  134. },
  135. {
  136. "internalType": "uint256",
  137. "name": "amountETH",
  138. "type": "uint256"
  139. },
  140. {
  141. "internalType": "uint256",
  142. "name": "liquidity",
  143. "type": "uint256"
  144. }
  145. ],
  146. "stateMutability": "payable",
  147. "type": "function"
  148. },
  149. {
  150. "inputs": [],
  151. "name": "factory",
  152. "outputs": [
  153. {
  154. "internalType": "address",
  155. "name": "",
  156. "type": "address"
  157. }
  158. ],
  159. "stateMutability": "view",
  160. "type": "function"
  161. },
  162. {
  163. "inputs": [
  164. {
  165. "internalType": "uint256",
  166. "name": "amountOut",
  167. "type": "uint256"
  168. },
  169. {
  170. "internalType": "uint256",
  171. "name": "reserveIn",
  172. "type": "uint256"
  173. },
  174. {
  175. "internalType": "uint256",
  176. "name": "reserveOut",
  177. "type": "uint256"
  178. }
  179. ],
  180. "name": "getAmountIn",
  181. "outputs": [
  182. {
  183. "internalType": "uint256",
  184. "name": "amountIn",
  185. "type": "uint256"
  186. }
  187. ],
  188. "stateMutability": "pure",
  189. "type": "function"
  190. },
  191. {
  192. "inputs": [
  193. {
  194. "internalType": "uint256",
  195. "name": "amountIn",
  196. "type": "uint256"
  197. },
  198. {
  199. "internalType": "uint256",
  200. "name": "reserveIn",
  201. "type": "uint256"
  202. },
  203. {
  204. "internalType": "uint256",
  205. "name": "reserveOut",
  206. "type": "uint256"
  207. }
  208. ],
  209. "name": "getAmountOut",
  210. "outputs": [
  211. {
  212. "internalType": "uint256",
  213. "name": "amountOut",
  214. "type": "uint256"
  215. }
  216. ],
  217. "stateMutability": "pure",
  218. "type": "function"
  219. },
  220. {
  221. "inputs": [
  222. {
  223. "internalType": "uint256",
  224. "name": "amountOut",
  225. "type": "uint256"
  226. },
  227. {
  228. "internalType": "address[]",
  229. "name": "path",
  230. "type": "address[]"
  231. }
  232. ],
  233. "name": "getAmountsIn",
  234. "outputs": [
  235. {
  236. "internalType": "uint256[]",
  237. "name": "amounts",
  238. "type": "uint256[]"
  239. }
  240. ],
  241. "stateMutability": "view",
  242. "type": "function"
  243. },
  244. {
  245. "inputs": [
  246. {
  247. "internalType": "uint256",
  248. "name": "amountIn",
  249. "type": "uint256"
  250. },
  251. {
  252. "internalType": "address[]",
  253. "name": "path",
  254. "type": "address[]"
  255. }
  256. ],
  257. "name": "getAmountsOut",
  258. "outputs": [
  259. {
  260. "internalType": "uint256[]",
  261. "name": "amounts",
  262. "type": "uint256[]"
  263. }
  264. ],
  265. "stateMutability": "view",
  266. "type": "function"
  267. },
  268. {
  269. "inputs": [
  270. {
  271. "internalType": "uint256",
  272. "name": "amountA",
  273. "type": "uint256"
  274. },
  275. {
  276. "internalType": "uint256",
  277. "name": "reserveA",
  278. "type": "uint256"
  279. },
  280. {
  281. "internalType": "uint256",
  282. "name": "reserveB",
  283. "type": "uint256"
  284. }
  285. ],
  286. "name": "quote",
  287. "outputs": [
  288. {
  289. "internalType": "uint256",
  290. "name": "amountB",
  291. "type": "uint256"
  292. }
  293. ],
  294. "stateMutability": "pure",
  295. "type": "function"
  296. },
  297. {
  298. "inputs": [
  299. {
  300. "internalType": "address",
  301. "name": "tokenA",
  302. "type": "address"
  303. },
  304. {
  305. "internalType": "address",
  306. "name": "tokenB",
  307. "type": "address"
  308. },
  309. {
  310. "internalType": "uint256",
  311. "name": "liquidity",
  312. "type": "uint256"
  313. },
  314. {
  315. "internalType": "uint256",
  316. "name": "amountAMin",
  317. "type": "uint256"
  318. },
  319. {
  320. "internalType": "uint256",
  321. "name": "amountBMin",
  322. "type": "uint256"
  323. },
  324. {
  325. "internalType": "address",
  326. "name": "to",
  327. "type": "address"
  328. },
  329. {
  330. "internalType": "uint256",
  331. "name": "deadline",
  332. "type": "uint256"
  333. }
  334. ],
  335. "name": "removeLiquidity",
  336. "outputs": [
  337. {
  338. "internalType": "uint256",
  339. "name": "amountA",
  340. "type": "uint256"
  341. },
  342. {
  343. "internalType": "uint256",
  344. "name": "amountB",
  345. "type": "uint256"
  346. }
  347. ],
  348. "stateMutability": "nonpayable",
  349. "type": "function"
  350. },
  351. {
  352. "inputs": [
  353. {
  354. "internalType": "address",
  355. "name": "token",
  356. "type": "address"
  357. },
  358. {
  359. "internalType": "uint256",
  360. "name": "liquidity",
  361. "type": "uint256"
  362. },
  363. {
  364. "internalType": "uint256",
  365. "name": "amountTokenMin",
  366. "type": "uint256"
  367. },
  368. {
  369. "internalType": "uint256",
  370. "name": "amountETHMin",
  371. "type": "uint256"
  372. },
  373. {
  374. "internalType": "address",
  375. "name": "to",
  376. "type": "address"
  377. },
  378. {
  379. "internalType": "uint256",
  380. "name": "deadline",
  381. "type": "uint256"
  382. }
  383. ],
  384. "name": "removeLiquidityETH",
  385. "outputs": [
  386. {
  387. "internalType": "uint256",
  388. "name": "amountToken",
  389. "type": "uint256"
  390. },
  391. {
  392. "internalType": "uint256",
  393. "name": "amountETH",
  394. "type": "uint256"
  395. }
  396. ],
  397. "stateMutability": "nonpayable",
  398. "type": "function"
  399. },
  400. {
  401. "inputs": [
  402. {
  403. "internalType": "address",
  404. "name": "token",
  405. "type": "address"
  406. },
  407. {
  408. "internalType": "uint256",
  409. "name": "liquidity",
  410. "type": "uint256"
  411. },
  412. {
  413. "internalType": "uint256",
  414. "name": "amountTokenMin",
  415. "type": "uint256"
  416. },
  417. {
  418. "internalType": "uint256",
  419. "name": "amountETHMin",
  420. "type": "uint256"
  421. },
  422. {
  423. "internalType": "address",
  424. "name": "to",
  425. "type": "address"
  426. },
  427. {
  428. "internalType": "uint256",
  429. "name": "deadline",
  430. "type": "uint256"
  431. }
  432. ],
  433. "name": "removeLiquidityETHSupportingFeeOnTransferTokens",
  434. "outputs": [
  435. {
  436. "internalType": "uint256",
  437. "name": "amountETH",
  438. "type": "uint256"
  439. }
  440. ],
  441. "stateMutability": "nonpayable",
  442. "type": "function"
  443. },
  444. {
  445. "inputs": [
  446. {
  447. "internalType": "address",
  448. "name": "token",
  449. "type": "address"
  450. },
  451. {
  452. "internalType": "uint256",
  453. "name": "liquidity",
  454. "type": "uint256"
  455. },
  456. {
  457. "internalType": "uint256",
  458. "name": "amountTokenMin",
  459. "type": "uint256"
  460. },
  461. {
  462. "internalType": "uint256",
  463. "name": "amountETHMin",
  464. "type": "uint256"
  465. },
  466. {
  467. "internalType": "address",
  468. "name": "to",
  469. "type": "address"
  470. },
  471. {
  472. "internalType": "uint256",
  473. "name": "deadline",
  474. "type": "uint256"
  475. },
  476. {
  477. "internalType": "bool",
  478. "name": "approveMax",
  479. "type": "bool"
  480. },
  481. {
  482. "internalType": "uint8",
  483. "name": "v",
  484. "type": "uint8"
  485. },
  486. {
  487. "internalType": "bytes32",
  488. "name": "r",
  489. "type": "bytes32"
  490. },
  491. {
  492. "internalType": "bytes32",
  493. "name": "s",
  494. "type": "bytes32"
  495. }
  496. ],
  497. "name": "removeLiquidityETHWithPermit",
  498. "outputs": [
  499. {
  500. "internalType": "uint256",
  501. "name": "amountToken",
  502. "type": "uint256"
  503. },
  504. {
  505. "internalType": "uint256",
  506. "name": "amountETH",
  507. "type": "uint256"
  508. }
  509. ],
  510. "stateMutability": "nonpayable",
  511. "type": "function"
  512. },
  513. {
  514. "inputs": [
  515. {
  516. "internalType": "address",
  517. "name": "token",
  518. "type": "address"
  519. },
  520. {
  521. "internalType": "uint256",
  522. "name": "liquidity",
  523. "type": "uint256"
  524. },
  525. {
  526. "internalType": "uint256",
  527. "name": "amountTokenMin",
  528. "type": "uint256"
  529. },
  530. {
  531. "internalType": "uint256",
  532. "name": "amountETHMin",
  533. "type": "uint256"
  534. },
  535. {
  536. "internalType": "address",
  537. "name": "to",
  538. "type": "address"
  539. },
  540. {
  541. "internalType": "uint256",
  542. "name": "deadline",
  543. "type": "uint256"
  544. },
  545. {
  546. "internalType": "bool",
  547. "name": "approveMax",
  548. "type": "bool"
  549. },
  550. {
  551. "internalType": "uint8",
  552. "name": "v",
  553. "type": "uint8"
  554. },
  555. {
  556. "internalType": "bytes32",
  557. "name": "r",
  558. "type": "bytes32"
  559. },
  560. {
  561. "internalType": "bytes32",
  562. "name": "s",
  563. "type": "bytes32"
  564. }
  565. ],
  566. "name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens",
  567. "outputs": [
  568. {
  569. "internalType": "uint256",
  570. "name": "amountETH",
  571. "type": "uint256"
  572. }
  573. ],
  574. "stateMutability": "nonpayable",
  575. "type": "function"
  576. },
  577. {
  578. "inputs": [
  579. {
  580. "internalType": "address",
  581. "name": "tokenA",
  582. "type": "address"
  583. },
  584. {
  585. "internalType": "address",
  586. "name": "tokenB",
  587. "type": "address"
  588. },
  589. {
  590. "internalType": "uint256",
  591. "name": "liquidity",
  592. "type": "uint256"
  593. },
  594. {
  595. "internalType": "uint256",
  596. "name": "amountAMin",
  597. "type": "uint256"
  598. },
  599. {
  600. "internalType": "uint256",
  601. "name": "amountBMin",
  602. "type": "uint256"
  603. },
  604. {
  605. "internalType": "address",
  606. "name": "to",
  607. "type": "address"
  608. },
  609. {
  610. "internalType": "uint256",
  611. "name": "deadline",
  612. "type": "uint256"
  613. },
  614. {
  615. "internalType": "bool",
  616. "name": "approveMax",
  617. "type": "bool"
  618. },
  619. {
  620. "internalType": "uint8",
  621. "name": "v",
  622. "type": "uint8"
  623. },
  624. {
  625. "internalType": "bytes32",
  626. "name": "r",
  627. "type": "bytes32"
  628. },
  629. {
  630. "internalType": "bytes32",
  631. "name": "s",
  632. "type": "bytes32"
  633. }
  634. ],
  635. "name": "removeLiquidityWithPermit",
  636. "outputs": [
  637. {
  638. "internalType": "uint256",
  639. "name": "amountA",
  640. "type": "uint256"
  641. },
  642. {
  643. "internalType": "uint256",
  644. "name": "amountB",
  645. "type": "uint256"
  646. }
  647. ],
  648. "stateMutability": "nonpayable",
  649. "type": "function"
  650. },
  651. {
  652. "inputs": [
  653. {
  654. "internalType": "uint256",
  655. "name": "amountOut",
  656. "type": "uint256"
  657. },
  658. {
  659. "internalType": "address[]",
  660. "name": "path",
  661. "type": "address[]"
  662. },
  663. {
  664. "internalType": "address",
  665. "name": "to",
  666. "type": "address"
  667. },
  668. {
  669. "internalType": "uint256",
  670. "name": "deadline",
  671. "type": "uint256"
  672. }
  673. ],
  674. "name": "swapETHForExactTokens",
  675. "outputs": [
  676. {
  677. "internalType": "uint256[]",
  678. "name": "amounts",
  679. "type": "uint256[]"
  680. }
  681. ],
  682. "stateMutability": "payable",
  683. "type": "function"
  684. },
  685. {
  686. "inputs": [
  687. {
  688. "internalType": "uint256",
  689. "name": "amountOutMin",
  690. "type": "uint256"
  691. },
  692. {
  693. "internalType": "address[]",
  694. "name": "path",
  695. "type": "address[]"
  696. },
  697. {
  698. "internalType": "address",
  699. "name": "to",
  700. "type": "address"
  701. },
  702. {
  703. "internalType": "uint256",
  704. "name": "deadline",
  705. "type": "uint256"
  706. }
  707. ],
  708. "name": "swapExactETHForTokens",
  709. "outputs": [
  710. {
  711. "internalType": "uint256[]",
  712. "name": "amounts",
  713. "type": "uint256[]"
  714. }
  715. ],
  716. "stateMutability": "payable",
  717. "type": "function"
  718. },
  719. {
  720. "inputs": [
  721. {
  722. "internalType": "uint256",
  723. "name": "amountOutMin",
  724. "type": "uint256"
  725. },
  726. {
  727. "internalType": "address[]",
  728. "name": "path",
  729. "type": "address[]"
  730. },
  731. {
  732. "internalType": "address",
  733. "name": "to",
  734. "type": "address"
  735. },
  736. {
  737. "internalType": "uint256",
  738. "name": "deadline",
  739. "type": "uint256"
  740. }
  741. ],
  742. "name": "swapExactETHForTokensSupportingFeeOnTransferTokens",
  743. "outputs": [],
  744. "stateMutability": "payable",
  745. "type": "function"
  746. },
  747. {
  748. "inputs": [
  749. {
  750. "internalType": "uint256",
  751. "name": "amountIn",
  752. "type": "uint256"
  753. },
  754. {
  755. "internalType": "uint256",
  756. "name": "amountOutMin",
  757. "type": "uint256"
  758. },
  759. {
  760. "internalType": "address[]",
  761. "name": "path",
  762. "type": "address[]"
  763. },
  764. {
  765. "internalType": "address",
  766. "name": "to",
  767. "type": "address"
  768. },
  769. {
  770. "internalType": "uint256",
  771. "name": "deadline",
  772. "type": "uint256"
  773. }
  774. ],
  775. "name": "swapExactTokensForETH",
  776. "outputs": [
  777. {
  778. "internalType": "uint256[]",
  779. "name": "amounts",
  780. "type": "uint256[]"
  781. }
  782. ],
  783. "stateMutability": "nonpayable",
  784. "type": "function"
  785. },
  786. {
  787. "inputs": [
  788. {
  789. "internalType": "uint256",
  790. "name": "amountIn",
  791. "type": "uint256"
  792. },
  793. {
  794. "internalType": "uint256",
  795. "name": "amountOutMin",
  796. "type": "uint256"
  797. },
  798. {
  799. "internalType": "address[]",
  800. "name": "path",
  801. "type": "address[]"
  802. },
  803. {
  804. "internalType": "address",
  805. "name": "to",
  806. "type": "address"
  807. },
  808. {
  809. "internalType": "uint256",
  810. "name": "deadline",
  811. "type": "uint256"
  812. }
  813. ],
  814. "name": "swapExactTokensForETHSupportingFeeOnTransferTokens",
  815. "outputs": [],
  816. "stateMutability": "nonpayable",
  817. "type": "function"
  818. },
  819. {
  820. "inputs": [
  821. {
  822. "internalType": "uint256",
  823. "name": "amountIn",
  824. "type": "uint256"
  825. },
  826. {
  827. "internalType": "uint256",
  828. "name": "amountOutMin",
  829. "type": "uint256"
  830. },
  831. {
  832. "internalType": "address[]",
  833. "name": "path",
  834. "type": "address[]"
  835. },
  836. {
  837. "internalType": "address",
  838. "name": "to",
  839. "type": "address"
  840. },
  841. {
  842. "internalType": "uint256",
  843. "name": "deadline",
  844. "type": "uint256"
  845. }
  846. ],
  847. "name": "swapExactTokensForTokens",
  848. "outputs": [
  849. {
  850. "internalType": "uint256[]",
  851. "name": "amounts",
  852. "type": "uint256[]"
  853. }
  854. ],
  855. "stateMutability": "nonpayable",
  856. "type": "function"
  857. },
  858. {
  859. "inputs": [
  860. {
  861. "internalType": "uint256",
  862. "name": "amountIn",
  863. "type": "uint256"
  864. },
  865. {
  866. "internalType": "uint256",
  867. "name": "amountOutMin",
  868. "type": "uint256"
  869. },
  870. {
  871. "internalType": "address[]",
  872. "name": "path",
  873. "type": "address[]"
  874. },
  875. {
  876. "internalType": "address",
  877. "name": "to",
  878. "type": "address"
  879. },
  880. {
  881. "internalType": "uint256",
  882. "name": "deadline",
  883. "type": "uint256"
  884. }
  885. ],
  886. "name": "swapExactTokensForTokensSupportingFeeOnTransferTokens",
  887. "outputs": [],
  888. "stateMutability": "nonpayable",
  889. "type": "function"
  890. },
  891. {
  892. "inputs": [
  893. {
  894. "internalType": "uint256",
  895. "name": "amountOut",
  896. "type": "uint256"
  897. },
  898. {
  899. "internalType": "uint256",
  900. "name": "amountInMax",
  901. "type": "uint256"
  902. },
  903. {
  904. "internalType": "address[]",
  905. "name": "path",
  906. "type": "address[]"
  907. },
  908. {
  909. "internalType": "address",
  910. "name": "to",
  911. "type": "address"
  912. },
  913. {
  914. "internalType": "uint256",
  915. "name": "deadline",
  916. "type": "uint256"
  917. }
  918. ],
  919. "name": "swapTokensForExactETH",
  920. "outputs": [
  921. {
  922. "internalType": "uint256[]",
  923. "name": "amounts",
  924. "type": "uint256[]"
  925. }
  926. ],
  927. "stateMutability": "nonpayable",
  928. "type": "function"
  929. },
  930. {
  931. "inputs": [
  932. {
  933. "internalType": "uint256",
  934. "name": "amountOut",
  935. "type": "uint256"
  936. },
  937. {
  938. "internalType": "uint256",
  939. "name": "amountInMax",
  940. "type": "uint256"
  941. },
  942. {
  943. "internalType": "address[]",
  944. "name": "path",
  945. "type": "address[]"
  946. },
  947. {
  948. "internalType": "address",
  949. "name": "to",
  950. "type": "address"
  951. },
  952. {
  953. "internalType": "uint256",
  954. "name": "deadline",
  955. "type": "uint256"
  956. }
  957. ],
  958. "name": "swapTokensForExactTokens",
  959. "outputs": [
  960. {
  961. "internalType": "uint256[]",
  962. "name": "amounts",
  963. "type": "uint256[]"
  964. }
  965. ],
  966. "stateMutability": "nonpayable",
  967. "type": "function"
  968. },
  969. {
  970. "stateMutability": "payable",
  971. "type": "receive"
  972. }
  973. ]