spacefiPairAbi.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. [
  2. {
  3. "inputs": [],
  4. "payable": false,
  5. "stateMutability": "nonpayable",
  6. "type": "constructor"
  7. },
  8. {
  9. "anonymous": false,
  10. "inputs": [
  11. {
  12. "indexed": true,
  13. "internalType": "address",
  14. "name": "owner",
  15. "type": "address"
  16. },
  17. {
  18. "indexed": true,
  19. "internalType": "address",
  20. "name": "spender",
  21. "type": "address"
  22. },
  23. {
  24. "indexed": false,
  25. "internalType": "uint256",
  26. "name": "value",
  27. "type": "uint256"
  28. }
  29. ],
  30. "name": "Approval",
  31. "type": "event"
  32. },
  33. {
  34. "anonymous": false,
  35. "inputs": [
  36. {
  37. "indexed": true,
  38. "internalType": "address",
  39. "name": "sender",
  40. "type": "address"
  41. },
  42. {
  43. "indexed": false,
  44. "internalType": "uint256",
  45. "name": "amount0",
  46. "type": "uint256"
  47. },
  48. {
  49. "indexed": false,
  50. "internalType": "uint256",
  51. "name": "amount1",
  52. "type": "uint256"
  53. },
  54. {
  55. "indexed": true,
  56. "internalType": "address",
  57. "name": "to",
  58. "type": "address"
  59. }
  60. ],
  61. "name": "Burn",
  62. "type": "event"
  63. },
  64. {
  65. "anonymous": false,
  66. "inputs": [
  67. {
  68. "indexed": true,
  69. "internalType": "address",
  70. "name": "sender",
  71. "type": "address"
  72. },
  73. {
  74. "indexed": false,
  75. "internalType": "uint256",
  76. "name": "amount0",
  77. "type": "uint256"
  78. },
  79. {
  80. "indexed": false,
  81. "internalType": "uint256",
  82. "name": "amount1",
  83. "type": "uint256"
  84. }
  85. ],
  86. "name": "Mint",
  87. "type": "event"
  88. },
  89. {
  90. "anonymous": false,
  91. "inputs": [
  92. {
  93. "indexed": true,
  94. "internalType": "address",
  95. "name": "sender",
  96. "type": "address"
  97. },
  98. {
  99. "indexed": false,
  100. "internalType": "uint256",
  101. "name": "amount0In",
  102. "type": "uint256"
  103. },
  104. {
  105. "indexed": false,
  106. "internalType": "uint256",
  107. "name": "amount1In",
  108. "type": "uint256"
  109. },
  110. {
  111. "indexed": false,
  112. "internalType": "uint256",
  113. "name": "amount0Out",
  114. "type": "uint256"
  115. },
  116. {
  117. "indexed": false,
  118. "internalType": "uint256",
  119. "name": "amount1Out",
  120. "type": "uint256"
  121. },
  122. {
  123. "indexed": true,
  124. "internalType": "address",
  125. "name": "to",
  126. "type": "address"
  127. }
  128. ],
  129. "name": "Swap",
  130. "type": "event"
  131. },
  132. {
  133. "anonymous": false,
  134. "inputs": [
  135. {
  136. "indexed": false,
  137. "internalType": "uint112",
  138. "name": "reserve0",
  139. "type": "uint112"
  140. },
  141. {
  142. "indexed": false,
  143. "internalType": "uint112",
  144. "name": "reserve1",
  145. "type": "uint112"
  146. }
  147. ],
  148. "name": "Sync",
  149. "type": "event"
  150. },
  151. {
  152. "anonymous": false,
  153. "inputs": [
  154. {
  155. "indexed": true,
  156. "internalType": "address",
  157. "name": "from",
  158. "type": "address"
  159. },
  160. {
  161. "indexed": true,
  162. "internalType": "address",
  163. "name": "to",
  164. "type": "address"
  165. },
  166. {
  167. "indexed": false,
  168. "internalType": "uint256",
  169. "name": "value",
  170. "type": "uint256"
  171. }
  172. ],
  173. "name": "Transfer",
  174. "type": "event"
  175. },
  176. {
  177. "constant": true,
  178. "inputs": [],
  179. "name": "DOMAIN_SEPARATOR",
  180. "outputs": [
  181. {
  182. "internalType": "bytes32",
  183. "name": "",
  184. "type": "bytes32"
  185. }
  186. ],
  187. "payable": false,
  188. "stateMutability": "view",
  189. "type": "function"
  190. },
  191. {
  192. "constant": true,
  193. "inputs": [],
  194. "name": "MINIMUM_LIQUIDITY",
  195. "outputs": [
  196. {
  197. "internalType": "uint256",
  198. "name": "",
  199. "type": "uint256"
  200. }
  201. ],
  202. "payable": false,
  203. "stateMutability": "view",
  204. "type": "function"
  205. },
  206. {
  207. "constant": true,
  208. "inputs": [],
  209. "name": "PERMIT_TYPEHASH",
  210. "outputs": [
  211. {
  212. "internalType": "bytes32",
  213. "name": "",
  214. "type": "bytes32"
  215. }
  216. ],
  217. "payable": false,
  218. "stateMutability": "view",
  219. "type": "function"
  220. },
  221. {
  222. "constant": true,
  223. "inputs": [
  224. {
  225. "internalType": "address",
  226. "name": "",
  227. "type": "address"
  228. },
  229. {
  230. "internalType": "address",
  231. "name": "",
  232. "type": "address"
  233. }
  234. ],
  235. "name": "allowance",
  236. "outputs": [
  237. {
  238. "internalType": "uint256",
  239. "name": "",
  240. "type": "uint256"
  241. }
  242. ],
  243. "payable": false,
  244. "stateMutability": "view",
  245. "type": "function"
  246. },
  247. {
  248. "constant": false,
  249. "inputs": [
  250. {
  251. "internalType": "address",
  252. "name": "spender",
  253. "type": "address"
  254. },
  255. {
  256. "internalType": "uint256",
  257. "name": "value",
  258. "type": "uint256"
  259. }
  260. ],
  261. "name": "approve",
  262. "outputs": [
  263. {
  264. "internalType": "bool",
  265. "name": "",
  266. "type": "bool"
  267. }
  268. ],
  269. "payable": false,
  270. "stateMutability": "nonpayable",
  271. "type": "function"
  272. },
  273. {
  274. "constant": true,
  275. "inputs": [
  276. {
  277. "internalType": "address",
  278. "name": "",
  279. "type": "address"
  280. }
  281. ],
  282. "name": "balanceOf",
  283. "outputs": [
  284. {
  285. "internalType": "uint256",
  286. "name": "",
  287. "type": "uint256"
  288. }
  289. ],
  290. "payable": false,
  291. "stateMutability": "view",
  292. "type": "function"
  293. },
  294. {
  295. "constant": false,
  296. "inputs": [
  297. {
  298. "internalType": "address",
  299. "name": "to",
  300. "type": "address"
  301. }
  302. ],
  303. "name": "burn",
  304. "outputs": [
  305. {
  306. "internalType": "uint256",
  307. "name": "amount0",
  308. "type": "uint256"
  309. },
  310. {
  311. "internalType": "uint256",
  312. "name": "amount1",
  313. "type": "uint256"
  314. }
  315. ],
  316. "payable": false,
  317. "stateMutability": "nonpayable",
  318. "type": "function"
  319. },
  320. {
  321. "constant": true,
  322. "inputs": [],
  323. "name": "decimals",
  324. "outputs": [
  325. {
  326. "internalType": "uint8",
  327. "name": "",
  328. "type": "uint8"
  329. }
  330. ],
  331. "payable": false,
  332. "stateMutability": "view",
  333. "type": "function"
  334. },
  335. {
  336. "constant": true,
  337. "inputs": [],
  338. "name": "factory",
  339. "outputs": [
  340. {
  341. "internalType": "address",
  342. "name": "",
  343. "type": "address"
  344. }
  345. ],
  346. "payable": false,
  347. "stateMutability": "view",
  348. "type": "function"
  349. },
  350. {
  351. "constant": true,
  352. "inputs": [],
  353. "name": "getReserves",
  354. "outputs": [
  355. {
  356. "internalType": "uint112",
  357. "name": "_reserve0",
  358. "type": "uint112"
  359. },
  360. {
  361. "internalType": "uint112",
  362. "name": "_reserve1",
  363. "type": "uint112"
  364. },
  365. {
  366. "internalType": "uint32",
  367. "name": "_blockTimestampLast",
  368. "type": "uint32"
  369. }
  370. ],
  371. "payable": false,
  372. "stateMutability": "view",
  373. "type": "function"
  374. },
  375. {
  376. "constant": false,
  377. "inputs": [
  378. {
  379. "internalType": "address",
  380. "name": "_token0",
  381. "type": "address"
  382. },
  383. {
  384. "internalType": "address",
  385. "name": "_token1",
  386. "type": "address"
  387. }
  388. ],
  389. "name": "initialize",
  390. "outputs": [],
  391. "payable": false,
  392. "stateMutability": "nonpayable",
  393. "type": "function"
  394. },
  395. {
  396. "constant": true,
  397. "inputs": [],
  398. "name": "kLast",
  399. "outputs": [
  400. {
  401. "internalType": "uint256",
  402. "name": "",
  403. "type": "uint256"
  404. }
  405. ],
  406. "payable": false,
  407. "stateMutability": "view",
  408. "type": "function"
  409. },
  410. {
  411. "constant": false,
  412. "inputs": [
  413. {
  414. "internalType": "address",
  415. "name": "to",
  416. "type": "address"
  417. }
  418. ],
  419. "name": "mint",
  420. "outputs": [
  421. {
  422. "internalType": "uint256",
  423. "name": "liquidity",
  424. "type": "uint256"
  425. }
  426. ],
  427. "payable": false,
  428. "stateMutability": "nonpayable",
  429. "type": "function"
  430. },
  431. {
  432. "constant": true,
  433. "inputs": [],
  434. "name": "name",
  435. "outputs": [
  436. {
  437. "internalType": "string",
  438. "name": "",
  439. "type": "string"
  440. }
  441. ],
  442. "payable": false,
  443. "stateMutability": "view",
  444. "type": "function"
  445. },
  446. {
  447. "constant": true,
  448. "inputs": [
  449. {
  450. "internalType": "address",
  451. "name": "",
  452. "type": "address"
  453. }
  454. ],
  455. "name": "nonces",
  456. "outputs": [
  457. {
  458. "internalType": "uint256",
  459. "name": "",
  460. "type": "uint256"
  461. }
  462. ],
  463. "payable": false,
  464. "stateMutability": "view",
  465. "type": "function"
  466. },
  467. {
  468. "constant": false,
  469. "inputs": [
  470. {
  471. "internalType": "address",
  472. "name": "owner",
  473. "type": "address"
  474. },
  475. {
  476. "internalType": "address",
  477. "name": "spender",
  478. "type": "address"
  479. },
  480. {
  481. "internalType": "uint256",
  482. "name": "value",
  483. "type": "uint256"
  484. },
  485. {
  486. "internalType": "uint256",
  487. "name": "deadline",
  488. "type": "uint256"
  489. },
  490. {
  491. "internalType": "uint8",
  492. "name": "v",
  493. "type": "uint8"
  494. },
  495. {
  496. "internalType": "bytes32",
  497. "name": "r",
  498. "type": "bytes32"
  499. },
  500. {
  501. "internalType": "bytes32",
  502. "name": "s",
  503. "type": "bytes32"
  504. }
  505. ],
  506. "name": "permit",
  507. "outputs": [],
  508. "payable": false,
  509. "stateMutability": "nonpayable",
  510. "type": "function"
  511. },
  512. {
  513. "constant": true,
  514. "inputs": [],
  515. "name": "price0CumulativeLast",
  516. "outputs": [
  517. {
  518. "internalType": "uint256",
  519. "name": "",
  520. "type": "uint256"
  521. }
  522. ],
  523. "payable": false,
  524. "stateMutability": "view",
  525. "type": "function"
  526. },
  527. {
  528. "constant": true,
  529. "inputs": [],
  530. "name": "price1CumulativeLast",
  531. "outputs": [
  532. {
  533. "internalType": "uint256",
  534. "name": "",
  535. "type": "uint256"
  536. }
  537. ],
  538. "payable": false,
  539. "stateMutability": "view",
  540. "type": "function"
  541. },
  542. {
  543. "constant": false,
  544. "inputs": [
  545. {
  546. "internalType": "address",
  547. "name": "to",
  548. "type": "address"
  549. }
  550. ],
  551. "name": "skim",
  552. "outputs": [],
  553. "payable": false,
  554. "stateMutability": "nonpayable",
  555. "type": "function"
  556. },
  557. {
  558. "constant": false,
  559. "inputs": [
  560. {
  561. "internalType": "uint256",
  562. "name": "amount0Out",
  563. "type": "uint256"
  564. },
  565. {
  566. "internalType": "uint256",
  567. "name": "amount1Out",
  568. "type": "uint256"
  569. },
  570. {
  571. "internalType": "address",
  572. "name": "to",
  573. "type": "address"
  574. },
  575. {
  576. "internalType": "bytes",
  577. "name": "data",
  578. "type": "bytes"
  579. }
  580. ],
  581. "name": "swap",
  582. "outputs": [],
  583. "payable": false,
  584. "stateMutability": "nonpayable",
  585. "type": "function"
  586. },
  587. {
  588. "constant": true,
  589. "inputs": [],
  590. "name": "symbol",
  591. "outputs": [
  592. {
  593. "internalType": "string",
  594. "name": "",
  595. "type": "string"
  596. }
  597. ],
  598. "payable": false,
  599. "stateMutability": "view",
  600. "type": "function"
  601. },
  602. {
  603. "constant": false,
  604. "inputs": [],
  605. "name": "sync",
  606. "outputs": [],
  607. "payable": false,
  608. "stateMutability": "nonpayable",
  609. "type": "function"
  610. },
  611. {
  612. "constant": true,
  613. "inputs": [],
  614. "name": "token0",
  615. "outputs": [
  616. {
  617. "internalType": "address",
  618. "name": "",
  619. "type": "address"
  620. }
  621. ],
  622. "payable": false,
  623. "stateMutability": "view",
  624. "type": "function"
  625. },
  626. {
  627. "constant": true,
  628. "inputs": [],
  629. "name": "token1",
  630. "outputs": [
  631. {
  632. "internalType": "address",
  633. "name": "",
  634. "type": "address"
  635. }
  636. ],
  637. "payable": false,
  638. "stateMutability": "view",
  639. "type": "function"
  640. },
  641. {
  642. "constant": true,
  643. "inputs": [],
  644. "name": "totalSupply",
  645. "outputs": [
  646. {
  647. "internalType": "uint256",
  648. "name": "",
  649. "type": "uint256"
  650. }
  651. ],
  652. "payable": false,
  653. "stateMutability": "view",
  654. "type": "function"
  655. },
  656. {
  657. "constant": false,
  658. "inputs": [
  659. {
  660. "internalType": "address",
  661. "name": "to",
  662. "type": "address"
  663. },
  664. {
  665. "internalType": "uint256",
  666. "name": "value",
  667. "type": "uint256"
  668. }
  669. ],
  670. "name": "transfer",
  671. "outputs": [
  672. {
  673. "internalType": "bool",
  674. "name": "",
  675. "type": "bool"
  676. }
  677. ],
  678. "payable": false,
  679. "stateMutability": "nonpayable",
  680. "type": "function"
  681. },
  682. {
  683. "constant": false,
  684. "inputs": [
  685. {
  686. "internalType": "address",
  687. "name": "from",
  688. "type": "address"
  689. },
  690. {
  691. "internalType": "address",
  692. "name": "to",
  693. "type": "address"
  694. },
  695. {
  696. "internalType": "uint256",
  697. "name": "value",
  698. "type": "uint256"
  699. }
  700. ],
  701. "name": "transferFrom",
  702. "outputs": [
  703. {
  704. "internalType": "bool",
  705. "name": "",
  706. "type": "bool"
  707. }
  708. ],
  709. "payable": false,
  710. "stateMutability": "nonpayable",
  711. "type": "function"
  712. }
  713. ]