Created
May 7, 2019 12:36
-
-
Save ngyam/6cb4872c346ab0a1ac17f2d0e7a58a20 to your computer and use it in GitHub Desktop.
EWF node control logic JSON ABI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "isOwner", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "nodeControlDb", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"name": "_nodeControlDb", | |
"type": "address" | |
}, | |
{ | |
"name": "_owner", | |
"type": "address" | |
} | |
], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "previousOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnershipTransferred", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"name": "_targetValidator", | |
"type": "address" | |
} | |
], | |
"name": "UpdateAvailable", | |
"type": "event" | |
}, | |
{ | |
"constant": false, | |
"inputs": [], | |
"name": "confirmUpdate", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_targetValidator", | |
"type": "address" | |
} | |
], | |
"name": "retrieveExpectedState", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"name": "dockerSha", | |
"type": "bytes" | |
}, | |
{ | |
"name": "dockerName", | |
"type": "string" | |
}, | |
{ | |
"name": "chainSpecSha", | |
"type": "bytes" | |
}, | |
{ | |
"name": "chainSpecUrl", | |
"type": "string" | |
}, | |
{ | |
"name": "isSigning", | |
"type": "bool" | |
}, | |
{ | |
"name": "updateIntroduced", | |
"type": "uint256" | |
}, | |
{ | |
"name": "updateConfirmed", | |
"type": "uint256" | |
} | |
], | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": true, | |
"inputs": [ | |
{ | |
"name": "_targetValidator", | |
"type": "address" | |
} | |
], | |
"name": "isUpdateConfirmed", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "_targetValidator", | |
"type": "address" | |
}, | |
{ | |
"name": "_dockerSha", | |
"type": "bytes" | |
}, | |
{ | |
"name": "_dockerName", | |
"type": "string" | |
}, | |
{ | |
"name": "_chainSpecSha", | |
"type": "bytes" | |
}, | |
{ | |
"name": "_chainSpecUrl", | |
"type": "string" | |
}, | |
{ | |
"name": "_isSigning", | |
"type": "bool" | |
} | |
], | |
"name": "updateValidator", | |
"outputs": [], | |
"payable": false, | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment