Merge pull request #12 from vbaranov/core

Updated contracts ABI
This commit is contained in:
Victor 2017-12-15 17:53:36 -08:00 committed by GitHub
commit c0c2038e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 224 deletions

View File

@ -386,14 +386,6 @@
{
"name": "_initialKey",
"type": "address"
},
{
"name": "_votingKey",
"type": "address"
},
{
"name": "_payoutKey",
"type": "address"
}
],
"name": "getInitialKey",
@ -424,28 +416,14 @@
}
],
"name": "createKeys",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_key",
"type": "address"
},
{
"name": "_miningKey",
"type": "address"
}
],
"inputs": [],
"name": "initialKeysCount",
"outputs": [
{
@ -488,12 +466,7 @@
}
],
"name": "swapMiningKey",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
@ -532,54 +505,28 @@
"type": "function"
},
{
"inputs": [
{
"name": "_proxyStorage",
"type": "address"
},
{
"name": "_poaConsensus",
"type": "address"
},
{
"name": "_masterOfCeremony",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"constant": true,
"inputs": [],
"name": "masterOfCeremony",
"outputs": [
{
"name": "",
"type": "address"
}
]
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"constant": true,
"inputs": [
{
"indexed": false,
"name": "_miningKey",
"type": "address"
},
{
"indexed": true,
"name": "miningKey",
"type": "address"
},
{
"indexed": false,
"name": "action",
"type": "string"
}
],
"name": "isPayoutActive",
"type": "function",
"constant": true,
"outputs": [
{
"name": "",
@ -587,31 +534,27 @@
}
],
"payable": false,
"stateMutability": "view"
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "_proxyStorage",
"type": "address"
},
{
"indexed": true,
"name": "_poaConsensus",
"type": "address"
},
{
"indexed": false,
"name": "_masterOfCeremony",
"type": "address"
}
],
"name": "VotingKeyChanged",
"type": "constructor",
"payable": false,
"stateMutability": "nonpayable"
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
@ -669,11 +612,6 @@
"indexed": false,
"name": "action",
"type": "string"
},
{
"indexed": false,
"name": "initialKeysCount",
"type": "uint256"
}
],
"name": "MiningKeyChanged",

View File

@ -243,26 +243,6 @@
{
"name": "_voter",
"type": "address"
},
{
"name": "_licenseId",
"type": "bytes32"
},
{
"name": "_fullAddress",
"type": "string"
},
{
"name": "_state",
"type": "bytes32"
},
{
"name": "_zipcode",
"type": "uint256"
},
{
"name": "_expirationDate",
"type": "uint256"
}
],
"name": "isAddressAlreadyVoted",
@ -309,65 +289,19 @@
}
],
"name": "createMetadata",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "",
"type": "address"
}
],
"inputs": [],
"name": "cancelPendingChange",
"outputs": [
{
"name": "",
"type": "bool"
},
{
"name": "lastName",
"type": "bytes32"
},
{
"name": "licenseId",
"type": "bytes32"
},
{
"name": "fullAddress",
"type": "string"
},
{
"name": "state",
"type": "bytes32"
},
{
"name": "zipcode",
"type": "uint256"
},
{
"name": "expirationDate",
"type": "uint256"
},
{
"name": "createdDate",
"type": "uint256"
},
{
"name": "updatedDate",
"type": "uint256"
},
{
"name": "minThreshold",
"type": "uint256"
}
],
"payable": false,
@ -375,16 +309,13 @@
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"constant": true,
"name": "validators",
"outputs": [
{
@ -427,21 +358,21 @@
"name": "minThreshold",
"type": "uint256"
}
]
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_proxyStorage",
"type": "address"
}
],
"name": "MetadataCreated",
"type": "constructor",
"payable": false,
"stateMutability": "nonpayable"
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
@ -474,11 +405,6 @@
"indexed": true,
"name": "miningKey",
"type": "address"
},
{
"indexed": false,
"name": "votingSender",
"type": "address"
}
],
"name": "CancelledRequest",

View File

@ -20,12 +20,7 @@
},
{
"constant": true,
"inputs": [
{
"name": "_newAddress",
"type": "address"
}
],
"inputs": [],
"name": "getCurrentValidatorsLength",
"outputs": [
{
@ -60,33 +55,19 @@
}
],
"name": "removeValidator",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"inputs": [],
"name": "currentValidatorsLength",
"outputs": [
{
"name": "",
"type": "uint256"
},
{
"name": "index",
"type": "uint256"
}
],
"payable": false,
@ -132,12 +113,7 @@
},
{
"constant": true,
"inputs": [
{
"name": "_validator",
"type": "address"
}
],
"inputs": [],
"name": "getVotingToChangeKeys",
"outputs": [
{
@ -165,19 +141,9 @@
},
{
"constant": false,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"inputs": [],
"name": "finalizeChange",
"outputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
@ -287,12 +253,7 @@
},
{
"constant": true,
"inputs": [
{
"name": "_someone",
"type": "address"
}
],
"inputs": [],
"name": "masterOfCeremony",
"outputs": [
{
@ -305,42 +266,34 @@
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_someone",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function",
"constant": true,
"name": "isValidator",
"outputs": [
{
"name": "",
"type": "bool"
}
]
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_masterOfCeremony",
"type": "address"
},
{
"indexed": false,
"name": "newSet",
"type": "address[]"
}
],
"name": "InitiateChange",
"type": "constructor",
"payable": false,
"stateMutability": "nonpayable"
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
@ -366,11 +319,6 @@
"indexed": false,
"name": "newSet",
"type": "address[]"
},
{
"indexed": false,
"name": "newAddress",
"type": "address"
}
],
"name": "ChangeFinalized",