Skip to content

Instantly share code, notes, and snippets.

@ngyam
Created May 7, 2019 12:39
Show Gist options
  • Save ngyam/6bd13be5256030fdd0131036cdf31284 to your computer and use it in GitHub Desktop.
Save ngyam/6bd13be5256030fdd0131036cdf31284 to your computer and use it in GitHub Desktop.
EWF node control DB JSON ABI
[
{
"constant": true,
"inputs": [],
"name": "nodeControlLookUp",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "currentState",
"outputs": [
{
"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"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"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": false,
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "_lookUpContract",
"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"
},
{
"constant": false,
"inputs": [
{
"name": "_newLookUp",
"type": "address"
}
],
"name": "changeLookUpContract",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"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": "setState",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "setUpdateConfirmed",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "isUpdateConfirmed",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "getState",
"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": "getDockerSha",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "getDockerName",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "getChainSpecSha",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "getChainSpecUrl",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_targetValidator",
"type": "address"
}
],
"name": "getIsSigning",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment