Skip to content

Commit a05ecb1

Browse files
committed
Export Validator Manager contract ABI from generated TypeScript bindings
1 parent 9a53425 commit a05ecb1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

scripts/export-mainnet-contracts-abi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ const path = require('path');
66
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/ERC20Factory.ts'), '\nexport const abi = _abi;');
77
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/EthereumGatewayV1Factory.ts'), '\nexport const abi = _abi;');
88
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/EthereumGatewayV2Factory.ts'), '\nexport const abi = _abi;');
9+
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/ValidatorManagerV2Factory.ts'), '\nexport const abi = _abi;');

src/mainnet-contracts/ValidatorManagerV2Factory.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,3 +355,5 @@ const _abi = [
355355
type: "function"
356356
}
357357
];
358+
359+
export const abi = _abi;

0 commit comments

Comments
 (0)