2017-10-13 20:01:35 -04:00
|
|
|
<%- className %>Abi = <%- abi %>;
|
2018-01-05 15:10:47 -05:00
|
|
|
<%- className %> = new web3.eth.Contract(<%- className %>Abi);
|
|
|
|
<%- className %>.options.address = '<%- contract.deployedAddress %>';
|
|
|
|
<%- className %>.address = '<%- contract.deployedAddress %>';
|
2018-01-12 18:06:51 -05:00
|
|
|
<%- className %>.options.from = web3.eth.defaultAccount;
|
2018-01-17 10:04:11 -05:00
|
|
|
<% if (gasLimit != false) { %>
|
2018-01-13 11:38:10 -05:00
|
|
|
<%- className %>.options.gas = <%- gasLimit %>;
|
|
|
|
<%- className %>.options.gasLimit = <%- gasLimit %>;
|
2018-01-17 10:04:11 -05:00
|
|
|
<% } %>
|