token.abi.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [
  2. {
  3. "inputs": [],
  4. "payable": false,
  5. "stateMutability": "nonpayable",
  6. "type": "constructor",
  7. "signature": "constructor"
  8. },
  9. {
  10. "anonymous": false,
  11. "inputs": [
  12. {
  13. "indexed": true,
  14. "name": "_from",
  15. "type": "address"
  16. },
  17. {
  18. "indexed": true,
  19. "name": "_to",
  20. "type": "address"
  21. },
  22. {
  23. "indexed": false,
  24. "name": "_value",
  25. "type": "uint256"
  26. }
  27. ],
  28. "name": "Transfer",
  29. "type": "event",
  30. "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
  31. },
  32. {
  33. "constant": false,
  34. "inputs": [
  35. {
  36. "name": "receiver",
  37. "type": "address"
  38. },
  39. {
  40. "name": "amount",
  41. "type": "uint256"
  42. }
  43. ],
  44. "name": "sendCoin",
  45. "outputs": [
  46. {
  47. "name": "sufficient",
  48. "type": "bool"
  49. }
  50. ],
  51. "payable": false,
  52. "stateMutability": "nonpayable",
  53. "type": "function",
  54. "signature": "0x90b98a11"
  55. },
  56. {
  57. "constant": true,
  58. "inputs": [
  59. {
  60. "name": "addr",
  61. "type": "address"
  62. }
  63. ],
  64. "name": "getBalanceInEth",
  65. "outputs": [
  66. {
  67. "name": "",
  68. "type": "uint256"
  69. }
  70. ],
  71. "payable": false,
  72. "stateMutability": "view",
  73. "type": "function",
  74. "signature": "0x7bd703e8"
  75. },
  76. {
  77. "constant": true,
  78. "inputs": [
  79. {
  80. "name": "addr",
  81. "type": "address"
  82. }
  83. ],
  84. "name": "getBalance",
  85. "outputs": [
  86. {
  87. "name": "",
  88. "type": "uint256"
  89. }
  90. ],
  91. "payable": false,
  92. "stateMutability": "view",
  93. "type": "function",
  94. "signature": "0xf8b2cb4f"
  95. }
  96. ]