From 87f98b06a5e50d5e49272e01811032bd963614a8 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 25 Nov 2020 11:38:07 +0100 Subject: [PATCH] Ethereum Data Mine and Blockchain Scanner Bot Definition --- .../Images/sa-beta8-logo-horiz-dark.png | Bin 0 -> 5566 bytes Projects/Ethereum/Schemas/AppSchema.json | 141 ++++++++++++++++-- .../Superalgos/Spaces/Top-Space/TopSpace.js | 2 +- 3 files changed, 126 insertions(+), 17 deletions(-) create mode 100644 Client/WebServer/Images/sa-beta8-logo-horiz-dark.png diff --git a/Client/WebServer/Images/sa-beta8-logo-horiz-dark.png b/Client/WebServer/Images/sa-beta8-logo-horiz-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..1de34784f25a6cc4524a62780bf4d39d2703abe3 GIT binary patch literal 5566 zcmb_g@yN=;H)Qd&lXv=YM&0SUcu zfB(S!aLTg**24x)-Qs z9%$_292nx@55WOB`8Yy2G`$>LAVv@eCz#&|L>>o+-d!(r$6@hpAp~o|G!A&`u)R$ZpQ*~NaXU%e^{+j<`0I4bP&&jNLeSfz$#J(KWnd%)!CeM1qNtCB z{u^$v?AFjQNs7T9i{a!M>LZ*EVpf5{K?^M&2*SP8%Nwqh4VX+4t_0%i# zZ3nzQzEyQ97+E(v^cc+tuT@Bg$|U5`a*l_&`}3!fn_G^Fsk1J;t>HY~A!aB!8RAaA z91Q*_|BR(+Q4?W37JNbzjLEaZ7iHjImk}6BkJX4)9WR%79a~BL*`s3ne3t=|myr5S zp}N;RD->Q z(P?|KHEqX+Z6d9I7Z(P`T%W+hh0nhnjkH0cJ0Nf?Ff?2krTr%_qyW@1g4|wDc+1gI z7_Xf6DYIo=(=hBPiU~T}a#Z6lk42}@gAA_ZNaj^I1ZIQuMvNf27S-YIC2zI*RAksNg53GmLnP&b!eC-rbi5C}qhmCLNL2g8~P|itu zx%|;}rG8@r0ji%pW^7n-9}y~OBktoaT4o$mQY4jdb(%W4ym;Gaa<#LXRw2umx7J(F z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Ethereum/Schemas/AppSchema.json +++ b/Projects/Ethereum/Schemas/AppSchema.json @@ -26,6 +26,12 @@ "relatedUiObject": "Ethereum Wallet", "actionFunction": "payload.executeAction" }, + { + "action": "Add UI Object", + "label": "Add Data Mine", + "relatedUiObject": "Data Mine", + "actionFunction": "payload.executeAction" + }, { "action": "Delete UI Object", "askConfirmation": true, @@ -47,7 +53,7 @@ "name": "projectDefinition", "type": "node", "childType": "Project Definition", - "project" : "Superalgos", + "project": "Superalgos", "autoAdd": true } ] @@ -209,7 +215,7 @@ "propertyNameAtParent": "ethBalance", "icon": "ethereum" }, - { + { "type": "Token Balance", "menuItems": [ { @@ -722,8 +728,7 @@ "compatibleTypes": "->Data Tasks->" }, "propertyNameAtParent": "projectDataTasks", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -752,8 +757,7 @@ "compatibleTypes": "->Learning Tasks->" }, "propertyNameAtParent": "projectLearningTasks", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -782,8 +786,7 @@ "compatibleTypes": "->Trading Tasks->" }, "propertyNameAtParent": "projectTradingTasks", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -812,8 +815,7 @@ "compatibleTypes": "->Data Mines Data->" }, "propertyNameAtParent": "projectDataProducts", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -842,8 +844,7 @@ "compatibleTypes": "->Learning Mine Data->" }, "propertyNameAtParent": "projectLearningProducts", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -872,8 +873,7 @@ "compatibleTypes": "->Trading Mine Data->" }, "propertyNameAtParent": "projectTradingProducts", - "properties": [ - ], + "properties": [], "icon": "bitcoin" }, { @@ -902,8 +902,117 @@ "compatibleTypes": "->Charting Space->" }, "propertyNameAtParent": "projectDashboards", - "properties": [ - ], + "properties": [], "icon": "bitcoin" + }, + { + "type": "Data Mine", + "menuItems": [ + { + "action": "Configure", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Add UI Object", + "label": "Add Blockchain Scanner Bot", + "relatedUiObject": "Blockchain Scanner Bot", + "actionFunction": "payload.executeAction" + }, + { + "action": "Delete UI Object", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete", + "iconPathOff": "delete", + "actionFunction": "payload.executeAction" + } + ], + "isTitleAllwaysVisible": true, + "isHierarchyHead": true, + "addLeftIcons": true, + "editors": { + "config": true + }, + "level": 0, + "initialValues": { + "config": "{ \n\"codeName\": \"Type a name with no spaces or dashes\"\n}" + }, + "properties": [ + { + "name": "blockchainScannerBots", + "type": "array", + "childType": "Blockchain Scanner Bot" + } + ], + "icon": "ethereum" + }, + { + "type": "Blockchain Scanner Bot", + "menuItems": [ + { + "action": "Configure", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Add UI Object", + "label": "Add Process Definition", + "relatedUiObject": "Process Definition", + "actionFunction": "payload.executeAction" + }, + { + "action": "Add UI Object", + "label": "Add Product Definition", + "relatedUiObject": "Product Definition", + "actionFunction": "payload.executeAction" + }, + { + "action": "Delete UI Object", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete", + "iconPathOff": "delete", + "actionFunction": "payload.executeAction" + } + ], + "isTitleAllwaysVisible": true, + "addLeftIcons": true, + "editors": { + "config": true + }, + "initialValues": { + "config": "{ \n \"codeName\": \"\"\n}" + }, + "level": 1, + "chainAttachesTo": { + "compatibleTypes": "->Data Mine->" + }, + "properties": [ + { + "name": "processes", + "type": "array", + "childType": "Process Definition", + "project": "Superalgos", + "autoAdd": true + }, + { + "name": "products", + "type": "array", + "childType": "Product Definition", + "project": "Superalgos", + "autoAdd": true + } + ], + "propertyNameAtParent": "blockchainScannerBots", + "icon": "ethereum" } ] \ No newline at end of file diff --git a/Projects/Superalgos/Spaces/Top-Space/TopSpace.js b/Projects/Superalgos/Spaces/Top-Space/TopSpace.js index aaa676871..cca8414b0 100644 --- a/Projects/Superalgos/Spaces/Top-Space/TopSpace.js +++ b/Projects/Superalgos/Spaces/Top-Space/TopSpace.js @@ -24,7 +24,7 @@ function newSuperalgosTopSpace() { logoImage = new Image() loadImage('superalgos-header-background', backgroundImage) - loadImage('superalgos-logo-for-color-background', logoImage) + loadImage('sa-beta8-logo-horiz-dark', logoImage) function loadImage(name, image) { const PATH = 'Images/'