SyncSwapClassicPoolFactory.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. [
  2. {
  3. "inputs": [
  4. {
  5. "internalType": "address",
  6. "name": "_master",
  7. "type": "address"
  8. }
  9. ],
  10. "stateMutability": "nonpayable",
  11. "type": "constructor"
  12. },
  13. {
  14. "inputs": [],
  15. "name": "InvalidTokens",
  16. "type": "error"
  17. },
  18. {
  19. "anonymous": false,
  20. "inputs": [
  21. {
  22. "indexed": true,
  23. "internalType": "address",
  24. "name": "token0",
  25. "type": "address"
  26. },
  27. {
  28. "indexed": true,
  29. "internalType": "address",
  30. "name": "token1",
  31. "type": "address"
  32. },
  33. {
  34. "indexed": false,
  35. "internalType": "address",
  36. "name": "pool",
  37. "type": "address"
  38. }
  39. ],
  40. "name": "PoolCreated",
  41. "type": "event"
  42. },
  43. {
  44. "inputs": [
  45. {
  46. "internalType": "bytes",
  47. "name": "data",
  48. "type": "bytes"
  49. }
  50. ],
  51. "name": "createPool",
  52. "outputs": [
  53. {
  54. "internalType": "address",
  55. "name": "pool",
  56. "type": "address"
  57. }
  58. ],
  59. "stateMutability": "nonpayable",
  60. "type": "function"
  61. },
  62. {
  63. "inputs": [],
  64. "name": "getDeployData",
  65. "outputs": [
  66. {
  67. "internalType": "bytes",
  68. "name": "deployData",
  69. "type": "bytes"
  70. }
  71. ],
  72. "stateMutability": "view",
  73. "type": "function"
  74. },
  75. {
  76. "inputs": [
  77. {
  78. "internalType": "address",
  79. "name": "",
  80. "type": "address"
  81. },
  82. {
  83. "internalType": "address",
  84. "name": "",
  85. "type": "address"
  86. }
  87. ],
  88. "name": "getPool",
  89. "outputs": [
  90. {
  91. "internalType": "address",
  92. "name": "",
  93. "type": "address"
  94. }
  95. ],
  96. "stateMutability": "view",
  97. "type": "function"
  98. },
  99. {
  100. "inputs": [
  101. {
  102. "internalType": "address",
  103. "name": "pool",
  104. "type": "address"
  105. },
  106. {
  107. "internalType": "address",
  108. "name": "sender",
  109. "type": "address"
  110. },
  111. {
  112. "internalType": "address",
  113. "name": "tokenIn",
  114. "type": "address"
  115. },
  116. {
  117. "internalType": "address",
  118. "name": "tokenOut",
  119. "type": "address"
  120. },
  121. {
  122. "internalType": "bytes",
  123. "name": "data",
  124. "type": "bytes"
  125. }
  126. ],
  127. "name": "getSwapFee",
  128. "outputs": [
  129. {
  130. "internalType": "uint24",
  131. "name": "swapFee",
  132. "type": "uint24"
  133. }
  134. ],
  135. "stateMutability": "view",
  136. "type": "function"
  137. },
  138. {
  139. "inputs": [],
  140. "name": "master",
  141. "outputs": [
  142. {
  143. "internalType": "address",
  144. "name": "",
  145. "type": "address"
  146. }
  147. ],
  148. "stateMutability": "view",
  149. "type": "function"
  150. }
  151. ]