Commit af3204ec authored by Liana Husikyan's avatar Liana Husikyan Committed by LianaHus

named the callback

parent c19efb9c
...@@ -108,12 +108,13 @@ class ContractDropdownUI { ...@@ -108,12 +108,13 @@ class ContractDropdownUI {
} }
const selectedContract = this.getSelectedContract() const selectedContract = this.getSelectedContract()
const clickCallback = (valArray, inputsValues) => {
this.createInstance(inputsValues)
}
const createConstructorInstance = new MultiParamManager( const createConstructorInstance = new MultiParamManager(
0, 0,
selectedContract.getConstructorInterface(), selectedContract.getConstructorInterface(),
(valArray, inputsValues) => { clickCallback,
this.createInstance(inputsValues)
},
selectedContract.getConstructorInputs(), selectedContract.getConstructorInputs(),
'Deploy', 'Deploy',
selectedContract.bytecodeObject selectedContract.bytecodeObject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment