contract.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. {
  2. "contractName": "TargaryenCoin",
  3. "abi": [
  4. {
  5. "inputs": [
  6. {
  7. "internalType": "uint256",
  8. "name": "_id",
  9. "type": "uint256"
  10. },
  11. {
  12. "internalType": "address",
  13. "name": "_token",
  14. "type": "address"
  15. },
  16. {
  17. "internalType": "uint256",
  18. "name": "_amount",
  19. "type": "uint256"
  20. },
  21. {
  22. "internalType": "address",
  23. "name": "_receiver",
  24. "type": "address"
  25. },
  26. {
  27. "internalType": "uint256",
  28. "name": "_timestamp",
  29. "type": "uint256"
  30. },
  31. {
  32. "internalType": "bytes",
  33. "name": "_signature",
  34. "type": "bytes"
  35. }
  36. ],
  37. "name": "cross",
  38. "outputs": [],
  39. "stateMutability": "nonpayable",
  40. "type": "function"
  41. },
  42. {
  43. "inputs": [
  44. {
  45. "internalType": "address",
  46. "name": "owner",
  47. "type": "address"
  48. },
  49. {
  50. "internalType": "address",
  51. "name": "spender",
  52. "type": "address"
  53. }
  54. ],
  55. "name": "allowance",
  56. "outputs": [
  57. {
  58. "internalType": "uint256",
  59. "name": "",
  60. "type": "uint256"
  61. }
  62. ],
  63. "stateMutability": "view",
  64. "type": "function"
  65. },
  66. {
  67. "inputs": [],
  68. "name": "decimals",
  69. "outputs": [
  70. {
  71. "internalType": "uint8",
  72. "name": "",
  73. "type": "uint8"
  74. }
  75. ],
  76. "stateMutability": "view",
  77. "type": "function"
  78. },
  79. {
  80. "inputs": [],
  81. "name": "name",
  82. "outputs": [
  83. {
  84. "internalType": "string",
  85. "name": "",
  86. "type": "string"
  87. }
  88. ],
  89. "stateMutability": "view",
  90. "type": "function"
  91. },
  92. {
  93. "inputs": [],
  94. "name": "symbol",
  95. "outputs": [
  96. {
  97. "internalType": "string",
  98. "name": "",
  99. "type": "string"
  100. }
  101. ],
  102. "stateMutability": "view",
  103. "type": "function"
  104. },
  105. {
  106. "inputs": [
  107. {
  108. "internalType": "address",
  109. "name": "to",
  110. "type": "address"
  111. },
  112. {
  113. "internalType": "uint256",
  114. "name": "value",
  115. "type": "uint256"
  116. }
  117. ],
  118. "name": "transfer",
  119. "outputs": [
  120. {
  121. "internalType": "bool",
  122. "name": "",
  123. "type": "bool"
  124. }
  125. ],
  126. "stateMutability": "nonpayable",
  127. "type": "function"
  128. },
  129. {
  130. "inputs": [
  131. {
  132. "internalType": "uint256",
  133. "name": "amount",
  134. "type": "uint256"
  135. }
  136. ],
  137. "name": "exchange",
  138. "outputs": [
  139. {
  140. "internalType": "bool",
  141. "name": "",
  142. "type": "bool"
  143. }
  144. ],
  145. "stateMutability": "nonpayable",
  146. "type": "function"
  147. },
  148. {
  149. "inputs": [],
  150. "name": "withdraw",
  151. "outputs": [
  152. {
  153. "internalType": "bool",
  154. "name": "",
  155. "type": "bool"
  156. }
  157. ],
  158. "stateMutability": "nonpayable",
  159. "type": "function"
  160. },
  161. {
  162. "inputs": [
  163. {
  164. "internalType": "address",
  165. "name": "owner",
  166. "type": "address"
  167. }
  168. ],
  169. "name": "balanceOf",
  170. "outputs": [
  171. {
  172. "internalType": "uint256",
  173. "name": "",
  174. "type": "uint256"
  175. }
  176. ],
  177. "stateMutability": "view",
  178. "type": "function"
  179. }
  180. ]
  181. }