-
Notifications
You must be signed in to change notification settings - Fork 8
/
web3TokenAbi.js
26 lines (25 loc) · 1.09 KB
/
web3TokenAbi.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const { exec } = require('child_process');
exec(
`abi-types-generator './src/api/evm/abis/Erc20.json' --output='./src/api/evm/types' --name=Erc20 --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/SimBridge.json' --output='./src/api/evm/types' --name=SimBridge --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/PrismXXAsset.json' --output='./src/api/evm/types' --name=PrismXXAsset --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/NFT721.json' --output='./src/api/evm/types' --name=NFT721 --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/NFT1155.json' --output='./src/api/evm/types' --name=NFT1155 --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/PrismProxy.json' --output='./src/api/evm/types' --name=PrismProxy --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/NameResolver.json' --output='./src/api/evm/types' --name=NameResolver --provider=web3`,
);
exec(
`abi-types-generator './src/api/evm/abis/FNSRegistry.json' --output='./src/api/evm/types' --name=FNSRegistry --provider=web3`,
);