|
|
@ -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 |
|
|
|