Skip to content

Commit

Permalink
Merge pull request #148 from poanetwork/update-contract-submodule
Browse files Browse the repository at this point in the history
Update contract submodule and abi files
  • Loading branch information
akolotov committed May 24, 2019
2 parents db1d695 + 08c53a8 commit adb2931
Show file tree
Hide file tree
Showing 13 changed files with 2,738 additions and 523 deletions.
262 changes: 156 additions & 106 deletions abis/BridgeValidators.abi.json
Expand Up @@ -2,179 +2,168 @@
{
"constant": true,
"inputs": [],
"name": "owner",
"name": "validatorCount",
"outputs": [
{
"name": "",
"type": "address"
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "getBridgeValidatorsInterfacesVersion",
"outputs": [
{
"name": "newOwner",
"type": "address"
"name": "major",
"type": "uint64"
},
{
"name": "minor",
"type": "uint64"
},
{
"name": "patch",
"type": "uint64"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "pure",
"type": "function"
},
{
"anonymous": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "isInitialized",
"outputs": [
{
"indexed": true,
"name": "validator",
"type": "address"
"name": "",
"type": "bool"
}
],
"name": "ValidatorAdded",
"type": "event"
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "validatorList",
"outputs": [
{
"indexed": true,
"name": "validator",
"type": "address"
"name": "",
"type": "address[]"
}
],
"name": "ValidatorRemoved",
"type": "event"
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"constant": false,
"inputs": [
{
"indexed": false,
"name": "requiredSignatures",
"name": "_requiredSignatures",
"type": "uint256"
}
],
"name": "RequiredSignaturesChanged",
"type": "event"
"name": "setRequiredSignatures",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "previousOwner",
"type": "address"
},
"constant": true,
"inputs": [],
"name": "requiredSignatures",
"outputs": [
{
"indexed": false,
"name": "newOwner",
"type": "address"
"name": "",
"type": "uint256"
}
],
"name": "OwnershipTransferred",
"type": "event"
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"constant": true,
"inputs": [
{
"name": "_requiredSignatures",
"type": "uint256"
},
{
"name": "_initialValidators",
"type": "address[]"
},
{
"name": "_owner",
"name": "_address",
"type": "address"
}
],
"name": "initialize",
"name": "getNextValidator",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_validator",
"type": "address"
}
],
"name": "addValidator",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "owner",
"outputs": [
{
"name": "_validator",
"name": "",
"type": "address"
}
],
"name": "removeValidator",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
"constant": true,
"inputs": [],
"name": "deployedAtBlock",
"outputs": [
{
"name": "_requiredSignatures",
"name": "",
"type": "uint256"
}
],
"name": "setRequiredSignatures",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "requiredSignatures",
"name": "F_ADDR",
"outputs": [
{
"name": "",
"type": "uint256"
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "validatorCount",
"outputs": [
"constant": false,
"inputs": [
{
"name": "",
"type": "uint256"
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
Expand All @@ -185,7 +174,7 @@
"type": "address"
}
],
"name": "validators",
"name": "isValidator",
"outputs": [
{
"name": "",
Expand All @@ -197,50 +186,111 @@
"type": "function"
},
{
"constant": true,
"anonymous": false,
"inputs": [
{
"name": "_validator",
"indexed": true,
"name": "validator",
"type": "address"
}
],
"name": "isValidator",
"name": "ValidatorAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "validator",
"type": "address"
}
],
"name": "ValidatorRemoved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "requiredSignatures",
"type": "uint256"
}
],
"name": "RequiredSignaturesChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "previousOwner",
"type": "address"
},
{
"indexed": false,
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "_requiredSignatures",
"type": "uint256"
},
{
"name": "_initialValidators",
"type": "address[]"
},
{
"name": "_owner",
"type": "address"
}
],
"name": "initialize",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "isInitialized",
"outputs": [
"constant": false,
"inputs": [
{
"name": "",
"type": "bool"
"name": "_validator",
"type": "address"
}
],
"name": "addValidator",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "deployedAtBlock",
"outputs": [
"constant": false,
"inputs": [
{
"name": "",
"type": "uint256"
"name": "_validator",
"type": "address"
}
],
"name": "removeValidator",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
}
]

0 comments on commit adb2931

Please sign in to comment.