diff --git a/abis/bridge.json b/abis/bridge.json index 3c21edd..dbb4aed 100644 --- a/abis/bridge.json +++ b/abis/bridge.json @@ -520,6 +520,75 @@ } ] }, + { + "name": "getProposedFederationAddress", + "type": "function", + "constant": true, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string" + } + ] + }, + { + "name": "getProposedFederationSize", + "type": "function", + "constant": true, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "int256" + } + ] + }, + { + "name": "getProposedFederatorPublicKeyOfType", + "type": "function", + "constant": true, + "inputs": [ + { + "name": "index", + "type": "int256" + }, + { + "name": "type", + "type": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes" + } + ] + }, + { + "name": "getProposedFederationCreationTime", + "type": "function", + "constant": true, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "int256" + } + ] + }, + { + "name": "getProposedFederationCreationBlockNumber", + "type": "function", + "constant": true, + "inputs": [], + "outputs": [ + { + "name": "", + "type": "int256" + } + ] + }, { "name": "getLockWhitelistSize", "type": "function", @@ -1094,6 +1163,23 @@ "name": "commit_federation", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "name": "proposedFederationRedeemScript", + "type": "bytes" + }, + { + "indexed": false, + "name": "blockNumber", + "type": "int256" + } + ], + "name": "commit_federation_failed", + "type": "event" + }, { "anonymous": false, "inputs": [ diff --git a/tests/bridge.test.js b/tests/bridge.test.js index d17495c..a7fc319 100644 --- a/tests/bridge.test.js +++ b/tests/bridge.test.js @@ -8,7 +8,7 @@ describe('Bridge', () => { }); it('has all the expected signatures', () => { - assert.equal(bridge.abi.length, 77); + assert.equal(bridge.abi.length, 83); }); it('builds a valid contract', () => { diff --git a/tools/RootstockBridge.html b/tools/RootstockBridge.html index 7652646..9af22b2 100644 --- a/tools/RootstockBridge.html +++ b/tools/RootstockBridge.html @@ -119,6 +119,11 @@