github.com/vantum/vantum@v0.0.0-20180815184342-fe37d5f7a990/contracts/masternode/contract/masternode.json (about)

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