Skip to content

Commit

Permalink
Export Validator Manager contract ABI from generated TypeScript bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
enlight committed Jan 8, 2020
1 parent 9a53425 commit a05ecb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/export-mainnet-contracts-abi.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ const path = require('path');
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/ERC20Factory.ts'), '\nexport const abi = _abi;');
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/EthereumGatewayV1Factory.ts'), '\nexport const abi = _abi;');
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/EthereumGatewayV2Factory.ts'), '\nexport const abi = _abi;');
fs.appendFileSync(path.join(__dirname, '../src/mainnet-contracts/ValidatorManagerV2Factory.ts'), '\nexport const abi = _abi;');
2 changes: 2 additions & 0 deletions src/mainnet-contracts/ValidatorManagerV2Factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,5 @@ const _abi = [
type: "function"
}
];

export const abi = _abi;

0 comments on commit a05ecb1

Please sign in to comment.