Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see .
*/
/**
* @file CallContractMethodModel.js
* @author Samuel Furter
* @date 2018
*/
"use strict";
var CallMethodModel = require('web3-core-method').CallMethodModel;
/**
* @param {Object} abiItem
* @param {Utils} utils
* @param {Object} formatters
* @param {MethodEncoder} methodEncoder
* @param {MethodResponseDecoder} methodResponseDecoder
*
* @constructor
*/
function CallContractMethodModel(abiItem, utils, formatters, methodEncoder, methodResponseDecoder) {
CallContractMethodModel.call(this, utils, formatters);
this.contractMethodParameters = null;
this.abiItem = abiItem;
this.methodEncoder = methodEncoder;
this.methodResponseDecoder = methodResponseDecoder;