ERC20.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. [
  2. {
  3. "anonymous": false,
  4. "inputs": [
  5. {
  6. "indexed": true,
  7. "internalType": "address",
  8. "name": "owner",
  9. "type": "address"
  10. },
  11. {
  12. "indexed": true,
  13. "internalType": "address",
  14. "name": "spender",
  15. "type": "address"
  16. },
  17. {
  18. "indexed": false,
  19. "internalType": "uint256",
  20. "name": "value",
  21. "type": "uint256"
  22. }
  23. ],
  24. "name": "Approval",
  25. "type": "event"
  26. },
  27. {
  28. "anonymous": false,
  29. "inputs": [
  30. {
  31. "indexed": true,
  32. "internalType": "address",
  33. "name": "from",
  34. "type": "address"
  35. },
  36. {
  37. "indexed": true,
  38. "internalType": "address",
  39. "name": "to",
  40. "type": "address"
  41. },
  42. {
  43. "indexed": false,
  44. "internalType": "uint256",
  45. "name": "value",
  46. "type": "uint256"
  47. }
  48. ],
  49. "name": "Transfer",
  50. "type": "event"
  51. },
  52. {
  53. "constant": true,
  54. "inputs": [],
  55. "name": "name",
  56. "outputs": [
  57. {
  58. "internalType": "string",
  59. "name": "",
  60. "type": "string"
  61. }
  62. ],
  63. "payable": false,
  64. "stateMutability": "pure",
  65. "type": "function"
  66. },
  67. {
  68. "constant": true,
  69. "inputs": [],
  70. "name": "symbol",
  71. "outputs": [
  72. {
  73. "internalType": "string",
  74. "name": "",
  75. "type": "string"
  76. }
  77. ],
  78. "payable": false,
  79. "stateMutability": "pure",
  80. "type": "function"
  81. },
  82. {
  83. "constant": true,
  84. "inputs": [],
  85. "name": "decimals",
  86. "outputs": [
  87. {
  88. "internalType": "uint8",
  89. "name": "",
  90. "type": "uint8"
  91. }
  92. ],
  93. "payable": false,
  94. "stateMutability": "pure",
  95. "type": "function"
  96. },
  97. {
  98. "constant": true,
  99. "inputs": [],
  100. "name": "totalSupply",
  101. "outputs": [
  102. {
  103. "internalType": "uint256",
  104. "name": "",
  105. "type": "uint256"
  106. }
  107. ],
  108. "payable": false,
  109. "stateMutability": "view",
  110. "type": "function"
  111. },
  112. {
  113. "constant": true,
  114. "inputs": [
  115. {
  116. "internalType": "address",
  117. "name": "owner",
  118. "type": "address"
  119. }
  120. ],
  121. "name": "balanceOf",
  122. "outputs": [
  123. {
  124. "internalType": "uint256",
  125. "name": "",
  126. "type": "uint256"
  127. }
  128. ],
  129. "payable": false,
  130. "stateMutability": "view",
  131. "type": "function"
  132. },
  133. {
  134. "constant": true,
  135. "inputs": [
  136. {
  137. "internalType": "address",
  138. "name": "owner",
  139. "type": "address"
  140. },
  141. {
  142. "internalType": "address",
  143. "name": "spender",
  144. "type": "address"
  145. }
  146. ],
  147. "name": "allowance",
  148. "outputs": [
  149. {
  150. "internalType": "uint256",
  151. "name": "",
  152. "type": "uint256"
  153. }
  154. ],
  155. "payable": false,
  156. "stateMutability": "view",
  157. "type": "function"
  158. },
  159. {
  160. "constant": false,
  161. "inputs": [
  162. {
  163. "internalType": "address",
  164. "name": "spender",
  165. "type": "address"
  166. },
  167. {
  168. "internalType": "uint256",
  169. "name": "value",
  170. "type": "uint256"
  171. }
  172. ],
  173. "name": "approve",
  174. "outputs": [
  175. {
  176. "internalType": "bool",
  177. "name": "",
  178. "type": "bool"
  179. }
  180. ],
  181. "payable": false,
  182. "stateMutability": "nonpayable",
  183. "type": "function"
  184. },
  185. {
  186. "constant": false,
  187. "inputs": [
  188. {
  189. "internalType": "address",
  190. "name": "to",
  191. "type": "address"
  192. },
  193. {
  194. "internalType": "uint256",
  195. "name": "value",
  196. "type": "uint256"
  197. }
  198. ],
  199. "name": "transfer",
  200. "outputs": [
  201. {
  202. "internalType": "bool",
  203. "name": "",
  204. "type": "bool"
  205. }
  206. ],
  207. "payable": false,
  208. "stateMutability": "nonpayable",
  209. "type": "function"
  210. },
  211. {
  212. "constant": false,
  213. "inputs": [
  214. {
  215. "internalType": "address",
  216. "name": "from",
  217. "type": "address"
  218. },
  219. {
  220. "internalType": "address",
  221. "name": "to",
  222. "type": "address"
  223. },
  224. {
  225. "internalType": "uint256",
  226. "name": "value",
  227. "type": "uint256"
  228. }
  229. ],
  230. "name": "transferFrom",
  231. "outputs": [
  232. {
  233. "internalType": "bool",
  234. "name": "",
  235. "type": "bool"
  236. }
  237. ],
  238. "payable": false,
  239. "stateMutability": "nonpayable",
  240. "type": "function"
  241. },
  242. {
  243. "constant": true,
  244. "inputs": [],
  245. "name": "DOMAIN_SEPARATOR",
  246. "outputs": [
  247. {
  248. "internalType": "bytes32",
  249. "name": "",
  250. "type": "bytes32"
  251. }
  252. ],
  253. "payable": false,
  254. "stateMutability": "view",
  255. "type": "function"
  256. },
  257. {
  258. "constant": true,
  259. "inputs": [],
  260. "name": "PERMIT_TYPEHASH",
  261. "outputs": [
  262. {
  263. "internalType": "bytes32",
  264. "name": "",
  265. "type": "bytes32"
  266. }
  267. ],
  268. "payable": false,
  269. "stateMutability": "pure",
  270. "type": "function"
  271. },
  272. {
  273. "constant": true,
  274. "inputs": [
  275. {
  276. "internalType": "address",
  277. "name": "owner",
  278. "type": "address"
  279. }
  280. ],
  281. "name": "nonces",
  282. "outputs": [
  283. {
  284. "internalType": "uint256",
  285. "name": "",
  286. "type": "uint256"
  287. }
  288. ],
  289. "payable": false,
  290. "stateMutability": "view",
  291. "type": "function"
  292. },
  293. {
  294. "constant": false,
  295. "inputs": [
  296. {
  297. "internalType": "address",
  298. "name": "owner",
  299. "type": "address"
  300. },
  301. {
  302. "internalType": "address",
  303. "name": "spender",
  304. "type": "address"
  305. },
  306. {
  307. "internalType": "uint256",
  308. "name": "value",
  309. "type": "uint256"
  310. },
  311. {
  312. "internalType": "uint256",
  313. "name": "deadline",
  314. "type": "uint256"
  315. },
  316. {
  317. "internalType": "uint8",
  318. "name": "v",
  319. "type": "uint8"
  320. },
  321. {
  322. "internalType": "bytes32",
  323. "name": "r",
  324. "type": "bytes32"
  325. },
  326. {
  327. "internalType": "bytes32",
  328. "name": "s",
  329. "type": "bytes32"
  330. }
  331. ],
  332. "name": "permit",
  333. "outputs": [],
  334. "payable": false,
  335. "stateMutability": "nonpayable",
  336. "type": "function"
  337. }
  338. ]