From 16cc4da00e4048c0e846fb810c1735ced83ca855 Mon Sep 17 00:00:00 2001 From: nathanieliov Date: Tue, 21 May 2024 21:54:25 -0400 Subject: [PATCH] Add pegout_transaction_created event --- abis/bridge.json | 17 +++++++++++++++++ tests/bridge.test.js | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/abis/bridge.json b/abis/bridge.json index d64d3db..93bb740 100644 --- a/abis/bridge.json +++ b/abis/bridge.json @@ -1242,5 +1242,22 @@ ], "name": "pegout_confirmed", "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "btcTxHash", + "type": "bytes32" + }, + { + "indexed": false, + "name": "utxoOutpointValues", + "type": "bytes" + } + ], + "name": "pegout_transaction_created", + "type": "event" } ] diff --git a/tests/bridge.test.js b/tests/bridge.test.js index a9ab1f4..6c2f6d1 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, 75); + assert.equal(bridge.abi.length, 76); }); it('builds a valid contract', () => {