You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export default instead of plain export in generated classes
replace web3.eth.contract(contractAbi).at(address) with new web3.eth.Contract(contractAbi, address) in generated classes
-> support for web3 1.x
create new exposed function abi2wrapper(abi: Object, options: Object): string that convert single ABI to TS wrapper class and will contain most of processFile()'s source code (calling generateSource)
The text was updated successfully, but these errors were encountered:
I propose changes to generated code:
export default
instead of plainexport
in generated classesweb3.eth.contract(contractAbi).at(address)
withnew web3.eth.Contract(contractAbi, address)
in generated classes-> support for web3 1.x
abi2wrapper(abi: Object, options: Object): string
that convert single ABI to TS wrapper class and will contain most ofprocessFile()
's source code (callinggenerateSource
)The text was updated successfully, but these errors were encountered: