{"size": 1045, "ext": "js", "max_stars_repo_path": "lib/operation/contractInvokeOperation.js", "max_stars_repo_name": "CAICT-DEV/BIF-Core_SDK-JS", "max_stars_repo_stars_event_min_datetime": "2022-01-23T04:15:16.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-23T04:15:16.000Z", "max_issues_repo_path": "lib/operation/contractInvokeOperation.js", "max_issues_repo_name": "CAICT-DEV/BIF-Core_SDK-JS", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/operation/contractInvokeOperation.js", "max_forks_repo_name": "CAICT-DEV/BIF-Core_SDK-JS", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.7948717949, "max_line_length": 71, "alphanum_fraction": 0.7626794258}
'use strict'

function ContractInvokeOperation (contractAddress, amount, input) {
    this.contractAddress = contractAddress
    this.amount = amount
    this.input = input
    this.operationType = 'CONTRACT_INVOKE'
    this.actionType = 7
}
// set 方法
ContractInvokeOperation.prototype.setContractAddress = function (val) {
    this.contractAddress = val
}
ContractInvokeOperation.prototype.setAmount = function (val) {
    this.amount = val
}
ContractInvokeOperation.prototype.setInput = function (val) {
    this.input = val
}

// get 方法
ContractInvokeOperation.prototype.getContractAddress = function () {
    return this.contractAddress
}
ContractInvokeOperation.prototype.getAmount = function () {
    return this.amount
}
ContractInvokeOperation.prototype.getInput = function () {
    return this.input
}
ContractInvokeOperation.prototype.getOperationType = function () {
    return this.operationType
}
ContractInvokeOperation.prototype.getActionType = function () {
    return this.actionType
}

module.exports = ContractInvokeOperation
