ETH Balnaces implemented
This commit is contained in:
1 parent
9bf8c2eed6
commit
6784e6bd0b
42 files changed
+979
-669
No files matched your search
@@ -6,12 +6,11 @@ function newEthereumActionSwitch() {
|
||||
finalize: finalize
|
||||
}
|
||||
|
||||
let functionLibraryGeth = newGeth()
|
||||
|
||||
return thisObject
|
||||
|
||||
function finalize() {
|
||||
functionLibraryGeth = undefined
|
||||
|
||||
}
|
||||
|
||||
function initialize() {
|
||||
@@ -20,16 +19,8 @@ function newEthereumActionSwitch() {
|
||||
|
||||
async function executeAction(action) {
|
||||
switch (action.name) {
|
||||
case 'Install Geth': {
|
||||
functionLibraryGeth.install(action.node)
|
||||
break
|
||||
}
|
||||
case 'Run Geth': {
|
||||
functionLibraryGeth.run(action.node)
|
||||
break
|
||||
}
|
||||
case 'Stop Geth': {
|
||||
functionLibraryGeth.stop(action.node)
|
||||
case 'Create Wallet Account': {
|
||||
UI.projects.ethereum.functionLibraries.accounts.createWalletAccount(action.node)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user