embark/lib/contracts/code_templates/vanilla-contract.js.ejs

5 lines
229 B
Plaintext
Raw Normal View History

2017-10-14 00:01:35 +00:00
<%- className %>Abi = <%- abi %>;
2018-01-05 20:10:47 +00:00
<%- className %> = new web3.eth.Contract(<%- className %>Abi);
<%- className %>.options.address = '<%- contract.deployedAddress %>';
<%- className %>.address = '<%- contract.deployedAddress %>';