410_V2_TOOLS.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "address",
  6. "name": "rounteAddr",
  7. "type": "address"
  8. }
  9. ],
  10. "name": "fee_Cal",
  11. "outputs": [
  12. {
  13. "internalType": "uint256",
  14. "name": "",
  15. "type": "uint256"
  16. }
  17. ],
  18. "stateMutability": "view",
  19. "type": "function"
  20. },
  21. {
  22. "inputs": [
  23. {
  24. "internalType": "address",
  25. "name": "rounteAddr",
  26. "type": "address"
  27. }
  28. ],
  29. "name": "feeCal1",
  30. "outputs": [
  31. {
  32. "internalType": "uint256",
  33. "name": "",
  34. "type": "uint256"
  35. },
  36. {
  37. "internalType": "address",
  38. "name": "",
  39. "type": "address"
  40. }
  41. ],
  42. "stateMutability": "view",
  43. "type": "function"
  44. },
  45. {
  46. "inputs": [
  47. {
  48. "internalType": "address",
  49. "name": "token",
  50. "type": "address"
  51. }
  52. ],
  53. "name": "get_decimals",
  54. "outputs": [
  55. {
  56. "internalType": "uint8",
  57. "name": "",
  58. "type": "uint8"
  59. }
  60. ],
  61. "stateMutability": "view",
  62. "type": "function"
  63. },
  64. {
  65. "inputs": [
  66. {
  67. "internalType": "address",
  68. "name": "token",
  69. "type": "address"
  70. }
  71. ],
  72. "name": "get_symbol",
  73. "outputs": [
  74. {
  75. "internalType": "string",
  76. "name": "",
  77. "type": "string"
  78. }
  79. ],
  80. "stateMutability": "view",
  81. "type": "function"
  82. },
  83. {
  84. "inputs": [
  85. {
  86. "internalType": "address",
  87. "name": "token",
  88. "type": "address"
  89. }
  90. ],
  91. "name": "getDecimals",
  92. "outputs": [
  93. {
  94. "internalType": "uint8",
  95. "name": "",
  96. "type": "uint8"
  97. }
  98. ],
  99. "stateMutability": "view",
  100. "type": "function"
  101. },
  102. {
  103. "inputs": [
  104. {
  105. "internalType": "address",
  106. "name": "rounteAddr",
  107. "type": "address"
  108. }
  109. ],
  110. "name": "getFactory",
  111. "outputs": [
  112. {
  113. "internalType": "address",
  114. "name": "factoryAdd",
  115. "type": "address"
  116. }
  117. ],
  118. "stateMutability": "view",
  119. "type": "function"
  120. },
  121. {
  122. "inputs": [
  123. {
  124. "internalType": "address",
  125. "name": "rounteAddr",
  126. "type": "address"
  127. },
  128. {
  129. "internalType": "address",
  130. "name": "token0",
  131. "type": "address"
  132. },
  133. {
  134. "internalType": "address",
  135. "name": "token1",
  136. "type": "address"
  137. }
  138. ],
  139. "name": "getPairAdd",
  140. "outputs": [
  141. {
  142. "internalType": "address",
  143. "name": "",
  144. "type": "address"
  145. }
  146. ],
  147. "stateMutability": "view",
  148. "type": "function"
  149. },
  150. {
  151. "inputs": [
  152. {
  153. "internalType": "address[]",
  154. "name": "factoryAddr",
  155. "type": "address[]"
  156. },
  157. {
  158. "internalType": "address",
  159. "name": "token0",
  160. "type": "address"
  161. },
  162. {
  163. "internalType": "address",
  164. "name": "token1",
  165. "type": "address"
  166. }
  167. ],
  168. "name": "getPairAddS",
  169. "outputs": [
  170. {
  171. "internalType": "address[]",
  172. "name": "pairAdds",
  173. "type": "address[]"
  174. }
  175. ],
  176. "stateMutability": "view",
  177. "type": "function"
  178. },
  179. {
  180. "inputs": [
  181. {
  182. "internalType": "address",
  183. "name": "dex",
  184. "type": "address"
  185. }
  186. ],
  187. "name": "getPairBalance",
  188. "outputs": [
  189. {
  190. "internalType": "uint256",
  191. "name": "amount0",
  192. "type": "uint256"
  193. },
  194. {
  195. "internalType": "uint256",
  196. "name": "amount1",
  197. "type": "uint256"
  198. }
  199. ],
  200. "stateMutability": "view",
  201. "type": "function"
  202. },
  203. {
  204. "inputs": [
  205. {
  206. "internalType": "address",
  207. "name": "rounteAddr",
  208. "type": "address"
  209. },
  210. {
  211. "internalType": "uint256",
  212. "name": "id",
  213. "type": "uint256"
  214. }
  215. ],
  216. "name": "getPairIdInfo",
  217. "outputs": [
  218. {
  219. "internalType": "address",
  220. "name": "",
  221. "type": "address"
  222. },
  223. {
  224. "internalType": "address",
  225. "name": "",
  226. "type": "address"
  227. },
  228. {
  229. "internalType": "string",
  230. "name": "",
  231. "type": "string"
  232. },
  233. {
  234. "internalType": "uint8",
  235. "name": "",
  236. "type": "uint8"
  237. },
  238. {
  239. "internalType": "uint256",
  240. "name": "",
  241. "type": "uint256"
  242. },
  243. {
  244. "internalType": "address",
  245. "name": "",
  246. "type": "address"
  247. },
  248. {
  249. "internalType": "string",
  250. "name": "",
  251. "type": "string"
  252. },
  253. {
  254. "internalType": "uint8",
  255. "name": "",
  256. "type": "uint8"
  257. },
  258. {
  259. "internalType": "uint256",
  260. "name": "",
  261. "type": "uint256"
  262. }
  263. ],
  264. "stateMutability": "view",
  265. "type": "function"
  266. },
  267. {
  268. "inputs": [
  269. {
  270. "internalType": "address",
  271. "name": "rounteAddr",
  272. "type": "address"
  273. },
  274. {
  275. "internalType": "uint256[]",
  276. "name": "id",
  277. "type": "uint256[]"
  278. }
  279. ],
  280. "name": "getPairIdSInfo",
  281. "outputs": [
  282. {
  283. "internalType": "address[]",
  284. "name": "lp",
  285. "type": "address[]"
  286. },
  287. {
  288. "internalType": "address[]",
  289. "name": "token0",
  290. "type": "address[]"
  291. },
  292. {
  293. "internalType": "string[]",
  294. "name": "symbol0",
  295. "type": "string[]"
  296. },
  297. {
  298. "internalType": "uint8[]",
  299. "name": "decimals0",
  300. "type": "uint8[]"
  301. },
  302. {
  303. "internalType": "uint256[]",
  304. "name": "r0",
  305. "type": "uint256[]"
  306. },
  307. {
  308. "internalType": "address[]",
  309. "name": "token1",
  310. "type": "address[]"
  311. },
  312. {
  313. "internalType": "string[]",
  314. "name": "symbol1",
  315. "type": "string[]"
  316. },
  317. {
  318. "internalType": "uint8[]",
  319. "name": "decimals1",
  320. "type": "uint8[]"
  321. },
  322. {
  323. "internalType": "uint256[]",
  324. "name": "r1",
  325. "type": "uint256[]"
  326. }
  327. ],
  328. "stateMutability": "view",
  329. "type": "function"
  330. },
  331. {
  332. "inputs": [
  333. {
  334. "internalType": "address",
  335. "name": "pairAdd",
  336. "type": "address"
  337. }
  338. ],
  339. "name": "getPairInfo",
  340. "outputs": [
  341. {
  342. "internalType": "address",
  343. "name": "",
  344. "type": "address"
  345. },
  346. {
  347. "internalType": "address",
  348. "name": "",
  349. "type": "address"
  350. },
  351. {
  352. "internalType": "string",
  353. "name": "",
  354. "type": "string"
  355. },
  356. {
  357. "internalType": "uint8",
  358. "name": "",
  359. "type": "uint8"
  360. },
  361. {
  362. "internalType": "uint256",
  363. "name": "",
  364. "type": "uint256"
  365. },
  366. {
  367. "internalType": "address",
  368. "name": "",
  369. "type": "address"
  370. },
  371. {
  372. "internalType": "string",
  373. "name": "",
  374. "type": "string"
  375. },
  376. {
  377. "internalType": "uint8",
  378. "name": "",
  379. "type": "uint8"
  380. },
  381. {
  382. "internalType": "uint256",
  383. "name": "",
  384. "type": "uint256"
  385. }
  386. ],
  387. "stateMutability": "view",
  388. "type": "function"
  389. },
  390. {
  391. "inputs": [
  392. {
  393. "internalType": "address[]",
  394. "name": "path",
  395. "type": "address[]"
  396. }
  397. ],
  398. "name": "getPairSBalance",
  399. "outputs": [
  400. {
  401. "internalType": "uint256[]",
  402. "name": "amounts0",
  403. "type": "uint256[]"
  404. },
  405. {
  406. "internalType": "uint256[]",
  407. "name": "amounts1",
  408. "type": "uint256[]"
  409. }
  410. ],
  411. "stateMutability": "view",
  412. "type": "function"
  413. },
  414. {
  415. "inputs": [
  416. {
  417. "internalType": "address",
  418. "name": "token",
  419. "type": "address"
  420. }
  421. ],
  422. "name": "getSymbol",
  423. "outputs": [
  424. {
  425. "internalType": "string",
  426. "name": "",
  427. "type": "string"
  428. }
  429. ],
  430. "stateMutability": "view",
  431. "type": "function"
  432. },
  433. {
  434. "inputs": [
  435. {
  436. "internalType": "address",
  437. "name": "rounteAddr",
  438. "type": "address"
  439. }
  440. ],
  441. "name": "getTotalPair",
  442. "outputs": [
  443. {
  444. "internalType": "uint256",
  445. "name": "counts",
  446. "type": "uint256"
  447. }
  448. ],
  449. "stateMutability": "view",
  450. "type": "function"
  451. }
  452. ]