lib/contract_interact/simple_stake.js
function (params) {

  this.contractAddress = params.contractAddress;

  this.currContract = new web3Provider.eth.Contract(simpleStakeContractAbi, this.contractAddress);

  //this.currContract.setProvider(web3Provider.currentProvider);

}
function (params) {

  this.contractAddress = params.contractAddress;

  this.currContract = new web3Provider.eth.Contract(simpleStakeContractAbi, this.contractAddress);

  //this.currContract.setProvider(web3Provider.currentProvider);

}
function ( params ) { this . contractAddress = params . contractAddress ; this . currContract = new web3Provider . eth . Contract ( simpleStakeContractAbi , this . contractAddress ) ; //this.currContract.setProvider(web3Provider.currentProvider); }
Constructor to create object of SimpleStakeKlass

@constructor

@param {object} params -
@param {string} params.contractAddress - simple Stake contract address
Constructor to create object of SimpleStakeKlass