1. export const proxyRegistryABI = [
    2. {
    3. 'constant': true,
    4. 'inputs': [],
    5. 'name': 'name',
    6. 'outputs': [
    7. {
    8. 'name': '',
    9. 'type': 'string',
    10. },
    11. ],
    12. 'payable': false,
    13. 'stateMutability': 'view',
    14. 'type': 'function',
    15. },
    16. {
    17. 'constant': true,
    18. 'inputs': [],
    19. 'name': 'initialAddressSet',// 初始地址集
    20. 'outputs': [
    21. {
    22. 'name': '',
    23. 'type': 'bool',
    24. },
    25. ],
    26. 'payable': false,
    27. 'stateMutability': 'view',
    28. 'type': 'function',
    29. },
    30. {
    31. 'constant': false,
    32. 'inputs': [
    33. {
    34. 'name': 'addr',
    35. 'type': 'address',
    36. },
    37. ],
    38. 'name': 'endGrantAuthentication',// 结束授权认证
    39. 'outputs': [],
    40. 'payable': false,
    41. 'stateMutability': 'nonpayable',
    42. 'type': 'function',
    43. },
    44. {
    45. 'constant': false,
    46. 'inputs': [
    47. {
    48. 'name': 'addr',
    49. 'type': 'address',
    50. },
    51. ],
    52. 'name': 'revokeAuthentication', // 撤销认证
    53. 'outputs': [],
    54. 'payable': false,
    55. 'stateMutability': 'nonpayable',
    56. 'type': 'function',
    57. },
    58. {
    59. 'constant': true,
    60. 'inputs': [
    61. {
    62. 'name': '',
    63. 'type': 'address',
    64. },
    65. ],
    66. 'name': 'pending', // 待办的
    67. 'outputs': [
    68. {
    69. 'name': '',
    70. 'type': 'uint256',
    71. },
    72. ],
    73. 'payable': false,
    74. 'stateMutability': 'view',
    75. 'type': 'function',
    76. },
    77. {
    78. 'constant': true,
    79. 'inputs': [
    80. {
    81. 'name': '',
    82. 'type': 'address',
    83. },
    84. ],
    85. 'name': 'contracts',// 合约
    86. 'outputs': [
    87. {
    88. 'name': '',
    89. 'type': 'bool',
    90. },
    91. ],
    92. 'payable': false,
    93. 'stateMutability': 'view',
    94. 'type': 'function',
    95. },
    96. {
    97. 'constant': true,
    98. 'inputs': [],
    99. 'name': 'owner',
    100. 'outputs': [
    101. {
    102. 'name': '',
    103. 'type': 'address',
    104. },
    105. ],
    106. 'payable': false,
    107. 'stateMutability': 'view',
    108. 'type': 'function',
    109. },
    110. {
    111. 'constant': true,
    112. 'inputs': [
    113. {
    114. 'name': '',
    115. 'type': 'address',
    116. },
    117. ],
    118. 'name': 'proxies',//代理
    119. 'outputs': [
    120. {
    121. 'name': '',
    122. 'type': 'address',
    123. },
    124. ],
    125. 'payable': false,
    126. 'stateMutability': 'view',
    127. 'type': 'function',
    128. },
    129. {
    130. 'constant': false,
    131. 'inputs': [
    132. {
    133. 'name': 'addr',
    134. 'type': 'address',
    135. },
    136. ],
    137. 'name': 'startGrantAuthentication', // 启动授权认证
    138. 'outputs': [],
    139. 'payable': false,
    140. 'stateMutability': 'nonpayable',
    141. 'type': 'function',
    142. },
    143. {
    144. 'constant': false,
    145. 'inputs': [],
    146. 'name': 'registerProxy',
    147. 'outputs': [
    148. {
    149. 'name': 'proxy',
    150. 'type': 'address',
    151. },
    152. ],
    153. 'payable': false,
    154. 'stateMutability': 'nonpayable',
    155. 'type': 'function',
    156. },
    157. {
    158. 'constant': true,
    159. 'inputs': [],
    160. 'name': 'DELAY_PERIOD',// 延迟时间
    161. 'outputs': [
    162. {
    163. 'name': '',
    164. 'type': 'uint256',
    165. },
    166. ],
    167. 'payable': false,
    168. 'stateMutability': 'view',
    169. 'type': 'function',
    170. },
    171. {
    172. 'constant': false,
    173. 'inputs': [
    174. {
    175. 'name': 'authAddress',
    176. 'type': 'address',
    177. },
    178. ],
    179. 'name': 'grantInitialAuthentication',//授权初始身份验证
    180. 'outputs': [],
    181. 'payable': false,
    182. 'stateMutability': 'nonpayable',
    183. 'type': 'function',
    184. },
    185. {
    186. 'constant': false,
    187. 'inputs': [
    188. {
    189. 'name': 'newOwner',
    190. 'type': 'address',
    191. },
    192. ],
    193. 'name': 'transferOwnership',//所有权转让
    194. 'outputs': [],
    195. 'payable': false,
    196. 'stateMutability': 'nonpayable',
    197. 'type': 'function',
    198. },
    199. {
    200. 'anonymous': false,
    201. 'inputs': [
    202. {
    203. 'indexed': true,
    204. 'name': 'previousOwner',
    205. 'type': 'address',
    206. },
    207. {
    208. 'indexed': true,
    209. 'name': 'newOwner',
    210. 'type': 'address',
    211. },
    212. ],
    213. 'name': 'OwnershipTransferred',
    214. 'type': 'event',
    215. },
    216. ];
    217. // tslint:disable:max-file-line-count