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 %>';
|
2018-01-12 23:06:51 +00:00
|
|
|
<%- className %>.options.from = web3.eth.defaultAccount;
|
2018-01-17 15:04:11 +00:00
|
|
|
<% if (gasLimit != false) { %>
|
2018-01-13 16:38:10 +00:00
|
|
|
<%- className %>.options.gas = <%- gasLimit %>;
|
|
|
|
<%- className %>.options.gasLimit = <%- gasLimit %>;
|
2018-01-17 15:04:11 +00:00
|
|
|
<% } %>
|