Skip to content

Commit

Permalink
Merge pull request #86 from varasev/sokol
Browse files Browse the repository at this point in the history
(Feature) Hard Fork #3 in Sokol
  • Loading branch information
varasev authored Sep 13, 2018
2 parents 211c758 + 3692710 commit 8a4ded0
Show file tree
Hide file tree
Showing 13 changed files with 2,425 additions and 1,408 deletions.
148 changes: 114 additions & 34 deletions abis/BallotsStorage.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,77 +11,95 @@
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0x247b3210"
},
{
"constant": true,
"inputs": [
{
"name": "_ballotType",
"type": "uint8"
"type": "uint256"
},
{
"name": "_affectedKeyType",
"type": "uint256"
},
{
"name": "_affectedKey",
"type": "address"
},
{
"name": "_miningKey",
"type": "address"
}
],
"name": "getBallotThreshold",
"name": "areKeysBallotParamsValid",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0x3fd626d4"
},
{
"constant": false,
"constant": true,
"inputs": [
{
"name": "_newValue",
"name": "_ballotType",
"type": "uint256"
},
}
],
"name": "getBallotThreshold",
"outputs": [
{
"name": "_thresholdType",
"type": "uint8"
"name": "",
"type": "uint256"
}
],
"name": "setThreshold",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
"stateMutability": "view",
"type": "function",
"signature": "0x45e23b53"
},
{
"constant": true,
"inputs": [],
"name": "proxyStorage",
"name": "initDisabled",
"outputs": [
{
"name": "",
"type": "address"
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0x52a36938"
},
{
"constant": true,
"inputs": [],
"name": "getTotalNumberOfValidators",
"name": "metadataChangeConfirmationsLimit",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"stateMutability": "pure",
"type": "function",
"signature": "0x93673620"
},
{
"constant": true,
"inputs": [],
"name": "getVotingToChangeThreshold",
"name": "proxyStorage",
"outputs": [
{
"name": "",
Expand All @@ -90,26 +108,82 @@
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0xae4b1b5b"
},
{
"constant": false,
"inputs": [
{
"name": "_newValue",
"type": "uint256"
},
{
"name": "_thresholdType",
"type": "uint256"
}
],
"name": "setThreshold",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xb9c36209"
},
{
"constant": false,
"inputs": [
{
"name": "_prevBallotsStorage",
"type": "address"
}
],
"name": "migrate",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xce5494bb"
},
{
"constant": true,
"inputs": [],
"name": "getProxyThreshold",
"name": "getVotingToChangeThreshold",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0xd1104cb2"
},
{
"constant": false,
"inputs": [
{
"name": "_thresholds",
"type": "uint256[]"
}
],
"name": "init",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xd88b06db"
},
{
"constant": true,
"inputs": [],
"name": "getBallotLimitPerValidator",
"name": "getProxyThreshold",
"outputs": [
{
"name": "",
Expand All @@ -118,26 +192,31 @@
],
"payable": false,
"stateMutability": "view",
"type": "function"
"type": "function",
"signature": "0xeecd1079"
},
{
"inputs": [
"constant": true,
"inputs": [],
"name": "getBallotLimitPerValidator",
"outputs": [
{
"name": "_proxyStorage",
"type": "address"
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
"stateMutability": "view",
"type": "function",
"signature": "0xfcff021c"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "thresholdType",
"type": "uint8"
"type": "uint256"
},
{
"indexed": false,
Expand All @@ -146,6 +225,7 @@
}
],
"name": "ThresholdChanged",
"type": "event"
"type": "event",
"signature": "0x3164947cf0f49f08dd0cd80e671535b1e11590d347c55dcaa97ba3c24a96b33a"
}
]
Loading

0 comments on commit 8a4ded0

Please sign in to comment.