Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
createContractDeployMethod(contract) {
return new ContractDeployMethod(
this.utils,
this.formatters,
contract,
this.createTransactionObserver(contract),
new ChainIdMethod(this.utils, this.formatters, contract),
new GetTransactionCountMethod(this.utils, this.formatters, contract)
);
}
createContractDeployMethod(contract) {
return new ContractDeployMethod(
this.utils,
this.formatters,
contract,
this.createTransactionObserver(contract),
new ChainIdMethod(this.utils, this.formatters, contract),
new GetTransactionCountMethod(this.utils, this.formatters, contract)
);
}
createSendContractMethod(contract) {
return new SendContractMethod(
this.utils,
this.formatters,
contract,
this.createTransactionObserver(contract),
new ChainIdMethod(this.utils, this.formatters, contract),
new GetTransactionCountMethod(this.utils, this.formatters, contract),
this.contractModuleFactory.createAllEventsLogDecoder(),
contract.abiModel
);
}
createSendContractMethod(contract) {
return new SendContractMethod(
this.utils,
this.formatters,
contract,
this.createTransactionObserver(contract),
new ChainIdMethod(this.utils, this.formatters, contract),
new GetTransactionCountMethod(this.utils, this.formatters, contract),
this.contractModuleFactory.createAllEventsLogDecoder(),
contract.abiModel
);
}