diff --git a/Projects/Governance/Icons/algo-traders-platform.png b/Projects/Governance/Icons/algo-traders-platform.png new file mode 100644 index 000000000..a4ee2a209 Binary files /dev/null and b/Projects/Governance/Icons/algo-traders-platform.png differ diff --git a/Projects/Governance/Icons/p2p-network-node.png b/Projects/Governance/Icons/p2p-network-node.png new file mode 100644 index 000000000..30782f8e3 Binary files /dev/null and b/Projects/Governance/Icons/p2p-network-node.png differ diff --git a/Projects/Governance/Icons/social-trading-desktop-app.png b/Projects/Governance/Icons/social-trading-desktop-app.png new file mode 100644 index 000000000..a4ee2a209 Binary files /dev/null and b/Projects/Governance/Icons/social-trading-desktop-app.png differ diff --git a/Projects/Governance/Icons/social-trading-mobile-app.png b/Projects/Governance/Icons/social-trading-mobile-app.png new file mode 100644 index 000000000..a4ee2a209 Binary files /dev/null and b/Projects/Governance/Icons/social-trading-mobile-app.png differ diff --git a/Projects/Governance/Icons/social-trading-server-app.png b/Projects/Governance/Icons/social-trading-server-app.png new file mode 100644 index 000000000..a4ee2a209 Binary files /dev/null and b/Projects/Governance/Icons/social-trading-server-app.png differ diff --git a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json index 3ab0494ad..0e403516c 100644 --- a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json +++ b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json @@ -1,7 +1,7 @@ { "type": "User Profile", "name": "Luis-Fernando-Molina", - "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1c\",\n \"r\": \"0x8645be85fd4b053c9102194be4d007b79d971ca27acd38a7f6abe2588cb2b1a3\",\n \"s\": \"0x55c5bff8b6d0a038ef53287fb5feffca4eb7002f521472091a0a0014dea4d23e\",\n \"signature\": \"0x8645be85fd4b053c9102194be4d007b79d971ca27acd38a7f6abe2588cb2b1a355c5bff8b6d0a038ef53287fb5feffca4eb7002f521472091a0a0014dea4d23e1c\"\n },\n \"codeName\": \"Luis-Fernando-Molina\"\n}", + "config": "{\"signature\":{\"message\":\"Luis-Fernando-Molina\",\"messageHash\":\"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\"v\":\"0x1c\",\"r\":\"0x8645be85fd4b053c9102194be4d007b79d971ca27acd38a7f6abe2588cb2b1a3\",\"s\":\"0x55c5bff8b6d0a038ef53287fb5feffca4eb7002f521472091a0a0014dea4d23e\",\"signature\":\"0x8645be85fd4b053c9102194be4d007b79d971ca27acd38a7f6abe2588cb2b1a355c5bff8b6d0a038ef53287fb5feffca4eb7002f521472091a0a0014dea4d23e1c\"},\"codeName\":\"Luis-Fernando-Molina\"}", "project": "Governance", "tokenPowerSwitch": { "type": "Token Power Switch", @@ -127,12 +127,12 @@ "id": "f4d39b02-4324-438d-9f74-2bea2b7272ef", "savedPayload": { "position": { - "x": 10503.335575687743, - "y": 23997.294901687517 + "x": 10476.335575687743, + "y": 24007.294901687517 }, "targetPosition": { - "x": 10327, - "y": 24240 + "x": 10300, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -516,12 +516,12 @@ "id": "b6e3c87d-a11b-4b2a-b6a6-edc96375f5da", "savedPayload": { "position": { - "x": 10612.316954888545, - "y": 24147.294901687517 + "x": 10585.316954888545, + "y": 24157.294901687517 }, "targetPosition": { - "x": 10327, - "y": 24240 + "x": 10300, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -12448,12 +12448,12 @@ "id": "bb390957-b8a2-4a8a-9fbf-963ea20f6eaf", "savedPayload": { "position": { - "x": 10612.316954888545, - "y": 24332.705098312483 + "x": 10585.316954888545, + "y": 24342.705098312483 }, "targetPosition": { - "x": 10327, - "y": 24240 + "x": 10300, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -12508,12 +12508,12 @@ "id": "b046f4e4-40b1-4e47-8fed-75a6a5c6029d", "savedPayload": { "position": { - "x": 10777.399212980523, - "y": 24604.72609123522 + "x": 10750.399212980523, + "y": 24614.72609123522 }, "targetPosition": { - "x": 10503.335575687743, - "y": 24482.705098312483 + "x": 10476.335575687743, + "y": 24492.705098312483 }, "floatingObject": { "isPinned": false, @@ -13007,12 +13007,12 @@ "id": "681ff42a-d5af-4fed-971e-935398dac2aa", "savedPayload": { "position": { - "x": 10767.83790310513, - "y": 24969.857784237916 + "x": 10740.83790310513, + "y": 24979.857784237916 }, "targetPosition": { - "x": 10534.694114668038, - "y": 24781.061666922964 + "x": 10507.694114668038, + "y": 24791.061666922964 }, "floatingObject": { "isPinned": false, @@ -13042,12 +13042,12 @@ "id": "ff3bc7ad-6051-4246-99fa-1210a3378a29", "savedPayload": { "position": { - "x": 10597.41119262863, - "y": 25377.774804143926 + "x": 10570.41119262863, + "y": 25387.774804143926 }, "targetPosition": { - "x": 10566.052653648334, - "y": 25079.418235533445 + "x": 10539.052653648334, + "y": 25089.418235533445 }, "floatingObject": { "isPinned": false, @@ -13066,12 +13066,12 @@ "id": "7f642170-d60b-41bc-85ae-dc64fbfc8b4c", "savedPayload": { "position": { - "x": 10566.052653648334, - "y": 25079.418235533445 + "x": 10539.052653648334, + "y": 25089.418235533445 }, "targetPosition": { - "x": 10534.694114668038, - "y": 24781.061666922964 + "x": 10507.694114668038, + "y": 24791.061666922964 }, "floatingObject": { "isPinned": false, @@ -13094,12 +13094,12 @@ "id": "e4be3ce4-3569-4d97-8d54-95bb4cfcb0c5", "savedPayload": { "position": { - "x": 10345.897997353088, - "y": 25014.205455360054 + "x": 10318.897997353088, + "y": 25024.205455360054 }, "targetPosition": { - "x": 10534.694114668038, - "y": 24781.061666922964 + "x": 10507.694114668038, + "y": 24791.061666922964 }, "floatingObject": { "isPinned": false, @@ -13117,12 +13117,12 @@ "id": "3ff7f410-911d-4cb8-9094-d816dee4dccb", "savedPayload": { "position": { - "x": 10534.694114668038, - "y": 24781.061666922964 + "x": 10507.694114668038, + "y": 24791.061666922964 }, "targetPosition": { - "x": 10503.335575687743, - "y": 24482.705098312483 + "x": 10476.335575687743, + "y": 24492.705098312483 }, "floatingObject": { "isPinned": false, @@ -13140,12 +13140,12 @@ "id": "4f35322c-3e7d-49f8-9706-10bf71f0d420", "savedPayload": { "position": { - "x": 10503.335575687743, - "y": 24482.705098312483 + "x": 10476.335575687743, + "y": 24492.705098312483 }, "targetPosition": { - "x": 10327, - "y": 24240 + "x": 10300, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -13163,12 +13163,12 @@ "id": "f8182a9c-f830-4ec1-a238-ac3a5efd69e6", "savedPayload": { "position": { - "x": 10327, - "y": 24240 + "x": 10300, + "y": 24250 }, "targetPosition": { - "x": 10027, - "y": 24240 + "x": 10000, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -13190,12 +13190,12 @@ "id": "9870ca2a-cefc-484b-b7fc-206d62782ebc", "savedPayload": { "position": { - "x": 9877, - "y": 24499.807621135333 + "x": 9850, + "y": 24509.807621135333 }, "targetPosition": { - "x": 10027, - "y": 24240 + "x": 10000, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -13217,18 +13217,46 @@ "signingAccounts": [ { "type": "Signing Account", - "name": "Social Trading Desktop", + "name": "My Signing Account", "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1c\",\n \"r\": \"0x44cba4eeebb7f8bfb0d9fedb8b3c5c34ecd75b69969766435ae641547a8158c4\",\n \"s\": \"0x144b9076038085fa5fa51c381e76377cd2bcc87c835698eeb5195cceefb63ead\",\n \"signature\": \"0x44cba4eeebb7f8bfb0d9fedb8b3c5c34ecd75b69969766435ae641547a8158c4144b9076038085fa5fa51c381e76377cd2bcc87c835698eeb5195cceefb63ead1c\"\n }\n}", "project": "Governance", + "assignedTo": { + "type": "Social Trading Desktop App", + "name": "New Social Trading Desktop App", + "config": "{}", + "project": "Governance", + "id": "bde87a47-5f7b-40a6-82e9-d4ba528d7894", + "savedPayload": { + "position": { + "x": 9250, + "y": 23990.192378864667 + }, + "targetPosition": { + "x": 9550, + "y": 23990.192378864667 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, "id": "30858b11-5b8d-46c6-97f8-765e3676fc2f", "savedPayload": { "position": { - "x": 9577, - "y": 23980.192378864667 + "x": 9550, + "y": 23990.192378864667 }, "targetPosition": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "floatingObject": { "isPinned": false, @@ -13245,18 +13273,46 @@ }, { "type": "Signing Account", - "name": "Social Trading Server", + "name": "My Signing Account", "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1b\",\n \"r\": \"0xc56bbcd7a99f47e20c5d83b1d4c102e1c7a223267b76f53200ff87fea7964e95\",\n \"s\": \"0x3e730a7d40a13199ef59f7a2a06a9d43da8f918e37afd6f706eceaea1fa8ed2d\",\n \"signature\": \"0xc56bbcd7a99f47e20c5d83b1d4c102e1c7a223267b76f53200ff87fea7964e953e730a7d40a13199ef59f7a2a06a9d43da8f918e37afd6f706eceaea1fa8ed2d1b\"\n }\n}", "project": "Governance", + "assignedTo": { + "type": "Social Trading Server App", + "name": "New Social Trading Server App", + "config": "{}", + "project": "Governance", + "id": "ba500984-3766-4a95-85ca-67194bf52052", + "savedPayload": { + "position": { + "x": 9330.384757729338, + "y": 23690.192378864667 + }, + "targetPosition": { + "x": 9590.192378864669, + "y": 23840.192378864667 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, "id": "beff2691-f55f-401c-87a7-f6f7e59ebfb0", "savedPayload": { "position": { - "x": 9617.192378864669, - "y": 23830.192378864667 + "x": 9590.192378864669, + "y": 23840.192378864667 }, "targetPosition": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "floatingObject": { "isPinned": false, @@ -13273,18 +13329,46 @@ }, { "type": "Signing Account", - "name": "Social Trading Mobile", + "name": "My Signing Account", "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1c\",\n \"r\": \"0x502693fda93e9331e1eb1f5f6bd2896f6175d86816d11437ab8f4c51bdb95c5c\",\n \"s\": \"0x3c901bdb9f56f97cf558159c0f57c94dcade020a992be74a955a2cddf88047e1\",\n \"signature\": \"0x502693fda93e9331e1eb1f5f6bd2896f6175d86816d11437ab8f4c51bdb95c5c3c901bdb9f56f97cf558159c0f57c94dcade020a992be74a955a2cddf88047e11c\"\n }\n}", "project": "Governance", + "assignedTo": { + "type": "Social Trading Mobile App", + "name": "New Social Trading Mobile App", + "config": "{}", + "project": "Governance", + "id": "8cb693fc-84a0-48d7-b7d7-a88463b34cd5", + "savedPayload": { + "position": { + "x": 9550, + "y": 23470.577136594 + }, + "targetPosition": { + "x": 9700, + "y": 23730.384757729335 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, "id": "5828093e-65e1-4b18-9cbc-9ff33c98acc1", "savedPayload": { "position": { - "x": 9727, - "y": 23720.384757729335 + "x": 9700, + "y": 23730.384757729335 }, "targetPosition": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "floatingObject": { "isPinned": false, @@ -13301,18 +13385,46 @@ }, { "type": "Signing Account", - "name": "Social Trading Platform", + "name": "My Signing Account", "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1c\",\n \"r\": \"0x363cd2c23617b65f0314a6b1b34c515e0fed9b2da62d53f2cf2609c1bc25e7fb\",\n \"s\": \"0x5e72414fcfe8a1308d7d82f275b3922cfe738374ed74e67086c59cfe7b6c0a24\",\n \"signature\": \"0x363cd2c23617b65f0314a6b1b34c515e0fed9b2da62d53f2cf2609c1bc25e7fb5e72414fcfe8a1308d7d82f275b3922cfe738374ed74e67086c59cfe7b6c0a241c\"\n }\n}", "project": "Governance", + "assignedTo": { + "type": "Algo Traders Platform", + "name": "New Algo Traders Platform", + "config": "{}", + "project": "Governance", + "id": "27f30390-6f86-4c25-bdc2-7680567a1b4a", + "savedPayload": { + "position": { + "x": 9850, + "y": 23390.192378864667 + }, + "targetPosition": { + "x": 9850, + "y": 23690.192378864667 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, "id": "fa5647f8-42bc-4d7b-8137-401ac8b5433c", "savedPayload": { "position": { - "x": 9877, - "y": 23680.192378864667 + "x": 9850, + "y": 23690.192378864667 }, "targetPosition": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "floatingObject": { "isPinned": false, @@ -13329,18 +13441,46 @@ }, { "type": "Signing Account", - "name": "P2P Network Node", + "name": "My Signing Account", "config": "{\n \"signature\": {\n \"message\": \"Luis-Fernando-Molina\",\n \"messageHash\": \"0x443abf3389e332a62d21b84dd12e271cb428d334195d3aeb986ca85ee53cccb9\",\n \"v\": \"0x1b\",\n \"r\": \"0x1df7b43b26e14a886b0702f3a43bfa7e078a3603a54d5befeb83ae451e423267\",\n \"s\": \"0x19cb2e7ba38cf49e5baa6ea20cbf895e86c9e010217a3f42e4df46b7b4e0bf36\",\n \"signature\": \"0x1df7b43b26e14a886b0702f3a43bfa7e078a3603a54d5befeb83ae451e42326719cb2e7ba38cf49e5baa6ea20cbf895e86c9e010217a3f42e4df46b7b4e0bf361b\"\n }\n}", "project": "Governance", + "assignedTo": { + "type": "P2P Network Node", + "name": "New P2P Network Node", + "config": "{ \n\"host\": \"localhost\", \n\"webPort\": \"34248\", \n\"webSocketsPort\": \"18041\"\n}", + "project": "Governance", + "id": "10a196ef-b6ba-4edb-b33f-3604de5a3cd0", + "savedPayload": { + "position": { + "x": 10150, + "y": 23470.577136594 + }, + "targetPosition": { + "x": 10000, + "y": 23730.384757729335 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, "id": "e7066d66-9e36-4f38-963e-76b915b38c43", "savedPayload": { "position": { - "x": 10027, - "y": 23720.384757729335 + "x": 10000, + "y": 23730.384757729335 }, "targetPosition": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "floatingObject": { "isPinned": false, @@ -13359,12 +13499,12 @@ "id": "1aae1fa4-e5cf-48de-a25e-20001523da70", "savedPayload": { "position": { - "x": 9877, - "y": 23980.192378864667 + "x": 9850, + "y": 23990.192378864667 }, "targetPosition": { - "x": 10027, - "y": 24240 + "x": 10000, + "y": 24250 }, "floatingObject": { "isPinned": false, @@ -13382,17 +13522,17 @@ "id": "a8de78f0-c3e4-4a2a-b7e8-f659073969db", "savedPayload": { "position": { - "x": 10027, - "y": 24240 + "x": 10000, + "y": 24250 }, "targetPosition": { - "x": 10027, - "y": 24240 + "x": 10000, + "y": 24250 }, "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": true, + "isCollapsed": false, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 diff --git a/Projects/Governance/Plugins/User-Profiles/Test-Network-Client-Profile.json b/Projects/Governance/Plugins/User-Profiles/Test-Network-Client-Profile.json index bbd0152d0..095621cc9 100644 --- a/Projects/Governance/Plugins/User-Profiles/Test-Network-Client-Profile.json +++ b/Projects/Governance/Plugins/User-Profiles/Test-Network-Client-Profile.json @@ -62,12 +62,12 @@ "id": "baa2f02c-2920-4edb-a103-d452fc61d82f", "savedPayload": { "position": { - "x": 30000, - "y": 18250 + "x": 40000, + "y": 21250 }, "targetPosition": { - "x": 30000, - "y": 18250 + "x": 40000, + "y": 21250 }, "floatingObject": { "isPinned": false, diff --git a/Projects/Governance/Plugins/User-Profiles/Test-Network-Node-Profile.json b/Projects/Governance/Plugins/User-Profiles/Test-Network-Node-Profile.json index 03377a20e..465460e28 100644 --- a/Projects/Governance/Plugins/User-Profiles/Test-Network-Node-Profile.json +++ b/Projects/Governance/Plugins/User-Profiles/Test-Network-Node-Profile.json @@ -62,12 +62,12 @@ "id": "36c2b050-631f-4291-987c-418adc94317d", "savedPayload": { "position": { - "x": 40000, - "y": 21250 + "x": 30000, + "y": 18250 }, "targetPosition": { - "x": 40000, - "y": 21250 + "x": 30000, + "y": 18250 }, "floatingObject": { "isPinned": false, diff --git a/Projects/Governance/Plugins/User-Profiles/cozed-gh.json b/Projects/Governance/Plugins/User-Profiles/cozed-gh.json index 4e3c2bb88..89839d41f 100644 --- a/Projects/Governance/Plugins/User-Profiles/cozed-gh.json +++ b/Projects/Governance/Plugins/User-Profiles/cozed-gh.json @@ -16,8 +16,8 @@ "project": "Governance", "referralProgram": { "type": "Referral Program", - "name": "New Referral Program", - "config": "{}", + "name": "People that got me hooked", + "config": "{\n \"percentage\": 15\n}", "project": "Governance", "userReferrers": [ { @@ -28,12 +28,12 @@ "id": "6558e852-c087-4780-bab1-8e6bf1acd429", "savedPayload": { "position": { - "x": 34809.04379263507, - "y": 11156.171984939467 + "x": 47249.01590827645, + "y": 21140.192378864667 }, "targetPosition": { - "x": 34959.04379263507, - "y": 10896.364363804134 + "x": 47249.01590827645, + "y": 20840.192378864667 }, "floatingObject": { "isPinned": false, @@ -60,6 +60,84 @@ ] ] } + }, + { + "type": "User Referrer", + "name": "9808us", + "config": "{}", + "project": "Governance", + "id": "87f1e6e8-510f-4941-af6d-0541da481709", + "savedPayload": { + "position": { + "x": 46989.20828714112, + "y": 20990.192378864667 + }, + "targetPosition": { + "x": 47249.01590827645, + "y": 20840.192378864667 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "User Profile", + "name": "9808us", + "id": "280f0baf-bc13-497c-b255-618c1a146442" + }, + "referenceParentCombinedNodePath": [ + [ + "9808us", + "User Profile" + ] + ] + } + }, + { + "type": "User Referrer", + "name": "Julian-Molina", + "config": "{}", + "project": "Governance", + "id": "3fc49f5e-5f0f-4b1a-8150-2763fcffe73b", + "savedPayload": { + "position": { + "x": 46989.20828714112, + "y": 20690.192378864667 + }, + "targetPosition": { + "x": 47249.01590827645, + "y": 20840.192378864667 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "User Profile", + "name": "Julian-Molina", + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" + }, + "referenceParentCombinedNodePath": [ + [ + "Julian-Molina", + "User Profile" + ] + ] + } } ], "tokensAwarded": { @@ -69,12 +147,12 @@ "id": "5edd7a0b-d222-43b8-bdec-a9bdf1d78bab", "savedPayload": { "position": { - "x": 34699.23617149974, - "y": 10746.364363804134 + "x": 47249.01590827645, + "y": 20540.192378864667 }, "targetPosition": { - "x": 34959.04379263507, - "y": 10896.364363804134 + "x": 47249.01590827645, + "y": 20840.192378864667 }, "floatingObject": { "isPinned": false, @@ -96,12 +174,12 @@ "id": "57e811b8-a610-493e-88e5-7cac62b2fa72", "savedPayload": { "position": { - "x": 35109.04379263507, - "y": 10636.556742668801 + "x": 47508.823529411784, + "y": 20690.192378864667 }, "targetPosition": { - "x": 34959.04379263507, - "y": 10896.364363804134 + "x": 47249.01590827645, + "y": 20840.192378864667 }, "floatingObject": { "isPinned": false, @@ -119,12 +197,12 @@ "id": "9ac0dc02-95ec-4ee3-adc8-98db7d04ff64", "savedPayload": { "position": { - "x": 37690.19237886467, - "y": 17840.192378864667 + "x": 47249.01590827645, + "y": 20840.192378864667 }, "targetPosition": { - "x": 37950, - "y": 17990.192378864667 + "x": 47508.823529411784, + "y": 20990.192378864667 }, "floatingObject": { "isPinned": false, @@ -141,24 +219,24 @@ }, "supportProgram": { "type": "Support Program", - "name": "New Support Program", + "name": "Helpful people", "config": "{}", "project": "Governance", "userSupporters": [ { "type": "User Supporter", - "name": "", + "name": "9808us", "config": "{}", "project": "Governance", "id": "f1846fc2-b8e2-4372-91f4-48ef08787ec6", "savedPayload": { "position": { - "x": 35102.20077917393, - "y": 10924.024699187024 + "x": 47392.17289481531, + "y": 20867.852714247558 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -188,18 +266,18 @@ }, { "type": "User Supporter", - "name": "", + "name": "Raplh2502", "config": "{}", "project": "Governance", "id": "ff4ec154-d393-42fa-a4f3-97c74bb094cb", "savedPayload": { "position": { - "x": 35070.20983699848, - "y": 10758.039929677545 + "x": 47360.18195263986, + "y": 20701.86794473808 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -229,18 +307,18 @@ }, { "type": "User Supporter", - "name": "", + "name": "ssplatt", "config": "{}", "project": "Governance", "id": "8c760973-0137-4312-b5e0-a459e70c0551", "savedPayload": { "position": { - "x": 35133.035485347566, - "y": 10601.109046802618 + "x": 47423.007600988945, + "y": 20544.93706186315 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -276,12 +354,12 @@ "id": "0921f29a-0ccd-4b40-a000-8f4f2ff27aff", "savedPayload": { "position": { - "x": 35270.73102477518, - "y": 10503.056497054402 + "x": 47560.70314041656, + "y": 20446.884512114935 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -311,18 +389,18 @@ }, { "type": "User Supporter", - "name": "", + "name": "PLuv", "config": "{}", "project": "Governance", "id": "48587783-3b8e-4594-be21-1942e60228bd", "savedPayload": { "position": { - "x": 35439.579094423236, - "y": 10495.01327217174 + "x": 47729.551210064616, + "y": 20438.841287232273 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -358,12 +436,12 @@ "id": "b384f042-e1c0-4aec-82b1-3ccaa4792d07", "savedPayload": { "position": { - "x": 35585.97162520193, - "y": 10579.533039224169 + "x": 47875.94374084331, + "y": 20523.361054284702 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -393,18 +471,18 @@ }, { "type": "User Supporter", - "name": "", + "name": "harrellbm", "config": "{}", "project": "Governance", "id": "d357bc68-ddae-4b1d-b4f7-cc3323e19560", "savedPayload": { "position": { - "x": 35663.430022949215, - "y": 10729.781369360679 + "x": 47953.402138590594, + "y": 20673.609384421212 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -434,18 +512,18 @@ }, { "type": "User Supporter", - "name": "", + "name": "Smidy13", "config": "{}", "project": "Governance", "id": "72cd835e-5795-4693-97f6-c5f96980c8da", "savedPayload": { "position": { - "x": 35647.36179367523, - "y": 10898.055479366898 + "x": 47937.33390931661, + "y": 20841.88349442743 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -481,12 +559,12 @@ "id": "31af434a-17cc-4e50-b21e-e6bcf8ff73cd", "savedPayload": { "position": { - "x": 35542.86848664176, - "y": 11030.929528283903 + "x": 47832.84060228314, + "y": 20974.757543344436 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -508,12 +586,12 @@ "id": "5fdf50b7-4c14-49d7-8682-11888c9a0e63", "savedPayload": { "position": { - "x": 35383.125988517524, - "y": 11086.216944423702 + "x": 47673.098104158904, + "y": 21030.044959484236 }, "targetPosition": { - "x": 35368.851413770404, - "y": 10786.556742668801 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "floatingObject": { "isPinned": false, @@ -531,12 +609,12 @@ "id": "eb3a2ba7-f805-43a4-9a4a-68490eef6491", "savedPayload": { "position": { - "x": 38100, - "y": 17730.384757729335 + "x": 47658.823529411784, + "y": 20730.384757729335 }, "targetPosition": { - "x": 37950, - "y": 17990.192378864667 + "x": 47508.823529411784, + "y": 20990.192378864667 }, "floatingObject": { "isPinned": false, @@ -553,8 +631,8 @@ }, "mentorshipProgram": { "type": "Mentorship Program", - "name": "New Mentorship Program", - "config": "{}", + "name": "People that taught me SA", + "config": "{\n \"percentage\": 35\n}", "project": "Governance", "userMentors": [ { @@ -565,12 +643,12 @@ "id": "dc87dae9-83d0-4374-9ac8-649ff1df0ed2", "savedPayload": { "position": { - "x": 35433.94635505288, - "y": 10899.715115936595 + "x": 47723.91847069426, + "y": 20843.543130997128 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -606,12 +684,12 @@ "id": "defef446-1866-4d2d-b6f1-20b6c7b25b73", "savedPayload": { "position": { - "x": 35682.71085623701, - "y": 10976.448802255187 + "x": 47972.68297187839, + "y": 20920.27681731572 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -641,18 +719,18 @@ }, { "type": "User Mentor", - "name": "", + "name": "9808us", "config": "{}", "project": "Governance", "id": "332d1a3b-e9e3-4818-a595-492972c44a1f", "savedPayload": { "position": { - "x": 35777.82017406009, - "y": 11218.783391880062 + "x": 48067.79228970147, + "y": 21162.611406940596 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -682,18 +760,18 @@ }, { "type": "User Mentor", - "name": "", + "name": "Raplh2502", "config": "{}", "project": "Governance", "id": "afa5c5b6-4c68-435d-a761-c71b538a6e9b", "savedPayload": { "position": { - "x": 35647.65505232482, - "y": 11444.235996098932 + "x": 47937.6271679662, + "y": 21388.064011159466 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -729,12 +807,12 @@ "id": "bf28c38b-8537-4823-8db8-e8319b38d4f9", "savedPayload": { "position": { - "x": 35390.23248258247, - "y": 11483.036205539976 + "x": 47680.20459822385, + "y": 21426.86422060051 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -756,12 +834,12 @@ "id": "11aaccb6-06d9-407f-9a57-1325a4c8d1bf", "savedPayload": { "position": { - "x": 35199.39691031248, - "y": 11305.966671114054 + "x": 47489.369025953856, + "y": 21249.794686174588 }, "targetPosition": { - "x": 35478.65903490574, - "y": 11196.364363804134 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "floatingObject": { "isPinned": false, @@ -779,12 +857,12 @@ "id": "1d8d4be0-3423-4a75-bc8a-55074c912ebf", "savedPayload": { "position": { - "x": 38209.80762113533, - "y": 18140.192378864667 + "x": 47768.63115054712, + "y": 21140.192378864667 }, "targetPosition": { - "x": 37950, - "y": 17990.192378864667 + "x": 47508.823529411784, + "y": 20990.192378864667 }, "floatingObject": { "isPinned": false, @@ -802,12 +880,12 @@ "id": "c3433f14-39f6-4d70-91cb-cbb9d1812d60", "savedPayload": { "position": { - "x": 37950, - "y": 17990.192378864667 + "x": 47508.823529411784, + "y": 20990.192378864667 }, "targetPosition": { - "x": 37800, - "y": 18250 + "x": 47358.823529411784, + "y": 21250 }, "floatingObject": { "isPinned": false, @@ -851,7 +929,7 @@ "userProfileVote": [ { "type": "User Profile Vote", - "name": "", + "name": "Raplh2502", "config": "{}", "project": "Governance", "id": "4f642840-f0b9-4c51-964b-80fbc7f18559", @@ -892,7 +970,7 @@ }, { "type": "User Profile Vote", - "name": "", + "name": "9808us", "config": "{}", "project": "Governance", "id": "50173009-f15d-4d22-a322-3bd1853ca4f7", @@ -933,7 +1011,7 @@ }, { "type": "User Profile Vote", - "name": "", + "name": "ssplatt", "config": "{}", "project": "Governance", "id": "6abb4282-abea-455b-9bb6-a6c44ac109a8", @@ -1015,7 +1093,7 @@ }, { "type": "User Profile Vote", - "name": "", + "name": "PLuv", "config": "{}", "project": "Governance", "id": "9645eca1-994b-4272-ae86-c2b6584e1c02", @@ -1097,7 +1175,7 @@ }, { "type": "User Profile Vote", - "name": "", + "name": "Smidy13", "config": "{}", "project": "Governance", "id": "9276d418-c12e-49e7-8a33-cf13d8e59d7a", @@ -1138,7 +1216,7 @@ }, { "type": "User Profile Vote", - "name": "", + "name": "harrellbm", "config": "{}", "project": "Governance", "id": "831371aa-f6f4-4272-8300-22f968190887", @@ -1205,12 +1283,12 @@ "id": "1e5cfec4-8db5-453e-902b-1bb21bf3ac9f", "savedPayload": { "position": { - "x": 38400, - "y": 18250 + "x": 47958.823529411784, + "y": 21250 }, "targetPosition": { - "x": 38250, - "y": 18509.807621135333 + "x": 47808.823529411784, + "y": 21509.807621135333 }, "floatingObject": { "isPinned": false, @@ -1233,12 +1311,12 @@ "id": "08826ef1-5292-49b6-b1e8-8ff0c8df7e23", "savedPayload": { "position": { - "x": 38400, - "y": 18769.615242270665 + "x": 47958.823529411784, + "y": 21769.615242270665 }, "targetPosition": { - "x": 38250, - "y": 18509.807621135333 + "x": 47808.823529411784, + "y": 21509.807621135333 }, "floatingObject": { "isPinned": false, @@ -1256,12 +1334,12 @@ "id": "fc0dcb52-8801-4724-94d1-755d8133059c", "savedPayload": { "position": { - "x": 38250, - "y": 18509.807621135333 + "x": 47808.823529411784, + "y": 21509.807621135333 }, "targetPosition": { - "x": 37950, - "y": 18509.807621135333 + "x": 47508.823529411784, + "y": 21509.807621135333 }, "floatingObject": { "isPinned": false, @@ -1871,12 +1949,12 @@ "id": "10ba23a5-14ed-41da-8f8c-897174e43fe1", "savedPayload": { "position": { - "x": 38093.444280220145, - "y": 18831.988749515993 + "x": 47652.26780963193, + "y": 21831.988749515993 }, "targetPosition": { - "x": 37800, - "y": 18769.615242270665 + "x": 47358.823529411784, + "y": 21769.615242270665 }, "floatingObject": { "isPinned": false, @@ -2057,12 +2135,12 @@ "id": "e5530126-0462-4eed-8031-6811131a1b29", "savedPayload": { "position": { - "x": 37831.3585389803, - "y": 19067.971810881147 + "x": 47390.18206839208, + "y": 22067.971810881147 }, "targetPosition": { - "x": 37800, - "y": 18769.615242270665 + "x": 47358.823529411784, + "y": 21769.615242270665 }, "floatingObject": { "isPinned": false, @@ -2108,7 +2186,7 @@ { "type": "Position Claims Folder", "name": "Community Management Position Class", - "config": "{\n \"percentage\": 60\n}", + "config": "{\n \"percentage\": 40\n}", "project": "Governance", "positionClaimsFolders": [], "positionContributionClaims": [ @@ -2120,12 +2198,12 @@ "id": "c5da27f7-9aa9-47c5-b9ce-59e393a9cf8d", "savedPayload": { "position": { - "x": 37251.87272541443, - "y": 19013.657228116143 + "x": 46810.696254826216, + "y": 22013.657228116143 }, "targetPosition": { - "x": 37525.936362707216, - "y": 18891.636235193404 + "x": 47084.759892119, + "y": 21891.636235193404 }, "floatingObject": { "isPinned": false, @@ -2175,12 +2253,12 @@ "id": "501e8c09-0a51-483d-9990-1d98cfd05464", "savedPayload": { "position": { - "x": 37525.936362707216, - "y": 18891.636235193404 + "x": 47084.759892119, + "y": 21891.636235193404 }, "targetPosition": { - "x": 37800, - "y": 18769.615242270665 + "x": 47358.823529411784, + "y": 21769.615242270665 }, "floatingObject": { "isPinned": false, @@ -2228,12 +2306,12 @@ "id": "2d437820-0e2a-402b-abec-a706453cc283", "savedPayload": { "position": { - "x": 37599.26081809234, - "y": 18546.671794627448 + "x": 47158.084347504126, + "y": 21546.671794627448 }, "targetPosition": { - "x": 37800, - "y": 18769.615242270665 + "x": 47358.823529411784, + "y": 21769.615242270665 }, "floatingObject": { "isPinned": false, @@ -2251,12 +2329,12 @@ "id": "f1bb5d1d-5d33-46d3-a223-c8103a4b2bb6", "savedPayload": { "position": { - "x": 37800, - "y": 18769.615242270665 + "x": 47358.823529411784, + "y": 21769.615242270665 }, "targetPosition": { - "x": 37950, - "y": 18509.807621135333 + "x": 47508.823529411784, + "y": 21509.807621135333 }, "floatingObject": { "isPinned": false, @@ -2274,12 +2352,12 @@ "id": "638049d6-5c82-47ce-8837-7c6f8e461cff", "savedPayload": { "position": { - "x": 37950, - "y": 18509.807621135333 + "x": 47508.823529411784, + "y": 21509.807621135333 }, "targetPosition": { - "x": 37800, - "y": 18250 + "x": 47358.823529411784, + "y": 21250 }, "floatingObject": { "isPinned": false, @@ -2297,12 +2375,12 @@ "id": "e0ed557e-bd72-458f-9f88-f7a8aeb20905", "savedPayload": { "position": { - "x": 37800, - "y": 18250 + "x": 47358.823529411784, + "y": 21250 }, "targetPosition": { - "x": 37500, - "y": 18250 + "x": 47058.823529411784, + "y": 21250 }, "floatingObject": { "isPinned": false, @@ -2324,12 +2402,12 @@ "id": "d772e222-3b30-461e-9434-87fc28fb9c29", "savedPayload": { "position": { - "x": 37200, - "y": 18250 + "x": 46758.823529411784, + "y": 21250 }, "targetPosition": { - "x": 37500, - "y": 18250 + "x": 47058.823529411784, + "y": 21250 }, "floatingObject": { "isPinned": false, @@ -2347,12 +2425,12 @@ "id": "07f0b13a-a50f-4488-8a2c-a3f8f08e889d", "savedPayload": { "position": { - "x": 37500, - "y": 18250 + "x": 47058.823529411784, + "y": 21250 }, "targetPosition": { - "x": 37500, - "y": 18250 + "x": 47058.823529411784, + "y": 21250 }, "floatingObject": { "isPinned": false, diff --git a/Projects/Governance/Plugins/User-Profiles/elipwns.json b/Projects/Governance/Plugins/User-Profiles/elipwns.json new file mode 100644 index 000000000..896d86790 --- /dev/null +++ b/Projects/Governance/Plugins/User-Profiles/elipwns.json @@ -0,0 +1,84 @@ +{ + "type": "User Profile", + "name": "elipwns", + "config": "{\n \"signature\": {\n \"message\": \"elipwns\",\n \"messageHash\": \"0x3bd00c8e0bd37dfb3299035ebb44fff3ce3e02394fcec001850f67fa2815cf57\",\n \"v\": \"0x1b\",\n \"r\": \"0xd6bf81ea4e23383cf89ac657353ca22afcfe43c6b1b55d405725d8704d0f2a13\",\n \"s\": \"0x3603f15da062916285612c2b5f701084145e8b0cae39020fe5b6c95e986575a8\",\n \"signature\": \"0xd6bf81ea4e23383cf89ac657353ca22afcfe43c6b1b55d405725d8704d0f2a133603f15da062916285612c2b5f701084145e8b0cae39020fe5b6c95e986575a81b\"\n }\n}", + "project": "Governance", + "tokenPowerSwitch": { + "type": "Token Power Switch", + "name": "New Token Power Switch", + "config": "{}", + "project": "Governance", + "tokenPowerSwitch": [], + "id": "7f620c09-d433-44db-b87f-5e688a0be35e", + "savedPayload": { + "position": { + "x": 12760, + "y": 10354.5 + }, + "targetPosition": { + "x": 12752, + "y": 10276.5 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + "tokensMined": { + "type": "Tokens Mined", + "name": "New Tokens Mined", + "project": "Governance", + "id": "dc2abe61-6a58-4477-95ce-99e8216b30e9", + "savedPayload": { + "position": { + "x": 12805, + "y": 10203.5 + }, + "targetPosition": { + "x": 12752, + "y": 10276.5 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + "id": "863669ed-70e1-4336-a2fd-2957db38d038", + "savedPayload": { + "position": { + "x": 12752, + "y": 10276.5 + }, + "targetPosition": { + "x": 12700, + "y": 10325.5 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } +} diff --git a/Projects/Governance/Schemas/App-Schema/algo-traders-platform.json b/Projects/Governance/Schemas/App-Schema/algo-traders-platform.json new file mode 100644 index 000000000..1b6247874 --- /dev/null +++ b/Projects/Governance/Schemas/App-Schema/algo-traders-platform.json @@ -0,0 +1,38 @@ +{ + "type": "Algo Traders Platform", + "menuItems": [ + { + "action": "Configure", + "actionProject": "Foundations", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Delete UI Object", + "actionProject": "Foundations", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete-entity", + "iconPathOff": "delete-entity", + "actionFunction": "payload.executeAction" + } + ], + "editors": { + "config": true + }, + "initialValues": { + "config": "{}" + }, + "addLeftIcons": true, + "level": 1, + "attachingRules": { + "compatibleTypes": "->Signing Account->" + }, + "childrenNodesProperties": [ + ], + "propertyNameAtParent": "assignedTo" +} \ No newline at end of file diff --git a/Projects/Governance/Schemas/App-Schema/p2p-network-node.json b/Projects/Governance/Schemas/App-Schema/p2p-network-node.json new file mode 100644 index 000000000..7abea50c5 --- /dev/null +++ b/Projects/Governance/Schemas/App-Schema/p2p-network-node.json @@ -0,0 +1,38 @@ +{ + "type": "P2P Network Node", + "menuItems": [ + { + "action": "Configure", + "actionProject": "Foundations", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Delete UI Object", + "actionProject": "Foundations", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete-entity", + "iconPathOff": "delete-entity", + "actionFunction": "payload.executeAction" + } + ], + "editors": { + "config": true + }, + "initialValues": { + "config": "{ \n\"host\": \"localhost\", \n\"webPort\": \"34248\", \n\"webSocketsPort\": \"18041\"\n}" + }, + "addLeftIcons": true, + "level": 1, + "attachingRules": { + "compatibleTypes": "->Signing Account->" + }, + "childrenNodesProperties": [ + ], + "propertyNameAtParent": "assignedTo" +} \ No newline at end of file diff --git a/Projects/Governance/Schemas/App-Schema/signing-account.json b/Projects/Governance/Schemas/App-Schema/signing-account.json index 3b73941f1..31ea5797c 100644 --- a/Projects/Governance/Schemas/App-Schema/signing-account.json +++ b/Projects/Governance/Schemas/App-Schema/signing-account.json @@ -9,6 +9,51 @@ "iconPathOn": "configuration", "iconPathOff": "configuration" }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "disableIfPropertyIsDefined": true, + "propertyToCheckFor": "assignedTo", + "label": "Add P2P Network Node", + "relatedUiObject": "P2P Network Node", + "actionFunction": "payload.executeAction" + }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "disableIfPropertyIsDefined": true, + "propertyToCheckFor": "assignedTo", + "label": "Add Algo Traders Platform", + "relatedUiObject": "Algo Traders Platform", + "actionFunction": "payload.executeAction" + }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "disableIfPropertyIsDefined": true, + "propertyToCheckFor": "assignedTo", + "label": "Add Social Trading Mobile App", + "relatedUiObject": "Social Trading Mobile App", + "actionFunction": "payload.executeAction" + }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "disableIfPropertyIsDefined": true, + "propertyToCheckFor": "assignedTo", + "label": "Add Social Trading Desktop App", + "relatedUiObject": "Social Trading Desktop App", + "actionFunction": "payload.executeAction" + }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "disableIfPropertyIsDefined": true, + "propertyToCheckFor": "assignedTo", + "label": "Add Social Trading Server App", + "relatedUiObject": "Social Trading Server App", + "actionFunction": "payload.executeAction" + }, { "action": "Delete UI Object", "actionProject": "Foundations", @@ -31,5 +76,37 @@ "initialValues": { "config": "{}" }, - "propertyNameAtParent": "signingAccounts" + "propertyNameAtParent": "signingAccounts", + "childrenNodesProperties": [ + { + "name": "assignedTo", + "type": "node", + "childType": "P2P Network Node", + "autoAdd": false + }, + { + "name": "assignedTo", + "type": "node", + "childType": "Algo Traders Platform", + "autoAdd": false + }, + { + "name": "assignedTo", + "type": "node", + "childType": "Social Trading Mobile App", + "autoAdd": false + }, + { + "name": "assignedTo", + "type": "node", + "childType": "Social Trading Desktop App", + "autoAdd": false + }, + { + "name": "assignedTo", + "type": "node", + "childType": "Social Trading Server App", + "autoAdd": false + } + ] } \ No newline at end of file diff --git a/Projects/Governance/Schemas/App-Schema/social-trading-desktop-app.json b/Projects/Governance/Schemas/App-Schema/social-trading-desktop-app.json new file mode 100644 index 000000000..71e8844c5 --- /dev/null +++ b/Projects/Governance/Schemas/App-Schema/social-trading-desktop-app.json @@ -0,0 +1,38 @@ +{ + "type": "Social Trading Desktop App", + "menuItems": [ + { + "action": "Configure", + "actionProject": "Foundations", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Delete UI Object", + "actionProject": "Foundations", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete-entity", + "iconPathOff": "delete-entity", + "actionFunction": "payload.executeAction" + } + ], + "editors": { + "config": true + }, + "initialValues": { + "config": "{}" + }, + "addLeftIcons": true, + "level": 1, + "attachingRules": { + "compatibleTypes": "->Signing Account->" + }, + "childrenNodesProperties": [ + ], + "propertyNameAtParent": "assignedTo" +} \ No newline at end of file diff --git a/Projects/Governance/Schemas/App-Schema/social-trading-mobile-app.json b/Projects/Governance/Schemas/App-Schema/social-trading-mobile-app.json new file mode 100644 index 000000000..326622975 --- /dev/null +++ b/Projects/Governance/Schemas/App-Schema/social-trading-mobile-app.json @@ -0,0 +1,38 @@ +{ + "type": "Social Trading Mobile App", + "menuItems": [ + { + "action": "Configure", + "actionProject": "Foundations", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Delete UI Object", + "actionProject": "Foundations", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete-entity", + "iconPathOff": "delete-entity", + "actionFunction": "payload.executeAction" + } + ], + "editors": { + "config": true + }, + "initialValues": { + "config": "{}" + }, + "addLeftIcons": true, + "level": 1, + "attachingRules": { + "compatibleTypes": "->Signing Account->" + }, + "childrenNodesProperties": [ + ], + "propertyNameAtParent": "assignedTo" +} \ No newline at end of file diff --git a/Projects/Governance/Schemas/App-Schema/social-trading-server-app.json b/Projects/Governance/Schemas/App-Schema/social-trading-server-app.json new file mode 100644 index 000000000..cce54e224 --- /dev/null +++ b/Projects/Governance/Schemas/App-Schema/social-trading-server-app.json @@ -0,0 +1,38 @@ +{ + "type": "Social Trading Server App", + "menuItems": [ + { + "action": "Configure", + "actionProject": "Foundations", + "label": "Configure", + "iconPathOn": "configuration", + "iconPathOff": "configuration", + "dontShowAtFullscreen": true, + "actionFunction": "uiObject.configEditor.activate" + }, + { + "action": "Delete UI Object", + "actionProject": "Foundations", + "askConfirmation": true, + "confirmationLabel": "Confirm to Delete", + "label": "Delete", + "iconPathOn": "delete-entity", + "iconPathOff": "delete-entity", + "actionFunction": "payload.executeAction" + } + ], + "editors": { + "config": true + }, + "initialValues": { + "config": "{}" + }, + "addLeftIcons": true, + "level": 1, + "attachingRules": { + "compatibleTypes": "->Signing Account->" + }, + "childrenNodesProperties": [ + ], + "propertyNameAtParent": "assignedTo" +} \ No newline at end of file diff --git a/Projects/Governance/UI/Function-Libraries/DelegationProgram.js b/Projects/Governance/UI/Function-Libraries/DelegationProgram.js index b429ed4a0..f75f27668 100644 --- a/Projects/Governance/UI/Function-Libraries/DelegationProgram.js +++ b/Projects/Governance/UI/Function-Libraries/DelegationProgram.js @@ -2,7 +2,7 @@ function newGovernanceFunctionLibraryDelegationProgram() { let thisObject = { calculate: calculate } - const MAX_GENERATIONS = 10 + const MAX_GENERATIONS = 3 return thisObject diff --git a/Projects/Governance/UI/Function-Libraries/DistributionProcess.js b/Projects/Governance/UI/Function-Libraries/DistributionProcess.js index 83cd58168..d880e271d 100644 --- a/Projects/Governance/UI/Function-Libraries/DistributionProcess.js +++ b/Projects/Governance/UI/Function-Libraries/DistributionProcess.js @@ -1,10 +1,24 @@ function newGovernanceFunctionLibraryDistributionProcess() { let thisObject = { - calculate: calculate + calculate: calculate, + finalize: finalize, + initialize: initialize } + const DISTRIBUTION_PROCESS_RECALCULATION_DELAY = 5000 + let loop + return thisObject + function initialize() { + loop = true + calculate() + } + + function finalize() { + loop = false + } + function calculate() { let pools = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('Pools') @@ -125,5 +139,9 @@ function newGovernanceFunctionLibraryDistributionProcess() { UI.projects.governance.functionLibraries.tokenMining.calculate( userProfiles ) + + if (loop === true) { + setTimeout(calculate, DISTRIBUTION_PROCESS_RECALCULATION_DELAY) + } } } \ No newline at end of file diff --git a/Projects/Governance/UI/Function-Libraries/VotingProgram.js b/Projects/Governance/UI/Function-Libraries/VotingProgram.js index 7b1b6aca3..596ae1971 100644 --- a/Projects/Governance/UI/Function-Libraries/VotingProgram.js +++ b/Projects/Governance/UI/Function-Libraries/VotingProgram.js @@ -3,7 +3,7 @@ function newGovernanceFunctionLibraryVotingProgram() { calculate: calculate, installMissingVotes: installMissingVotes } - const MAX_GENERATIONS = 10 + const MAX_GENERATIONS = 3 return thisObject diff --git a/Projects/Governance/UI/Spaces/Reports-Space/ReportsSpace.js b/Projects/Governance/UI/Spaces/Reports-Space/ReportsSpace.js index af136f4fe..5c0e688b7 100644 --- a/Projects/Governance/UI/Spaces/Reports-Space/ReportsSpace.js +++ b/Projects/Governance/UI/Spaces/Reports-Space/ReportsSpace.js @@ -125,8 +125,8 @@ function newGobernanceReportsSpace() { /* If the workspace is not related to governance, then we exit the Intialize Function */ - let resultsArary = UI.projects.foundations.spaces.designSpace.workspace.getHierarchyHeadsByNodeType('User Profile') - if (resultsArary.length === 0) { return } + let governanceProject = UI.projects.foundations.spaces.designSpace.workspace.getProjectHeadByNodeType('Governance Project') + if (governanceProject === undefined) { return } thisObject.container = newContainer() thisObject.container.name = MODULE_NAME diff --git a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js index d38898d0e..296f32f61 100644 --- a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js +++ b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js @@ -16,8 +16,6 @@ function newGovernanceUserProfileSpace() { let waitingForResponses = 0 const BSC_SCAN_RATE_LIMIT_DELAY = 6000 - const DISTRIBUTION_PROCESS_RECALCULATION_DELAY = 5000 - let intervalId let reputationByAddress = new Map() return thisObject @@ -31,8 +29,7 @@ function newGovernanceUserProfileSpace() { /* Here we will run the distribution process, that in turn will run all the programs. */ - intervalId = setInterval(UI.projects.governance.functionLibraries.distributionProcess.calculate, DISTRIBUTION_PROCESS_RECALCULATION_DELAY) - + UI.projects.governance.functionLibraries.distributionProcess.initialize() /* Here we will get a list of all github usernames who have a star or fork and are watching the Superalgos Repository. This will later be used to know which user profiles are participating @@ -301,15 +298,17 @@ function newGovernanceUserProfileSpace() { } function finalize() { - clearInterval(intervalId) - intervalId = undefined + + UI.projects.governance.functionLibraries.distributionProcess.finalize() thisObject.githubStars = undefined thisObject.githubWatchers = undefined thisObject.githubForks = undefined - thisObject.container.finalize() - thisObject.container = undefined + if (thisObject.container !== undefined) { + thisObject.container.finalize() + thisObject.container = undefined + } } function reset() { @@ -330,6 +329,7 @@ function newGovernanceUserProfileSpace() { } function physics() { + if (UI.projects.foundations.spaces.designSpace.workspace === undefined) { return } /* If the workspace is not related to governance, then we exit the Intialize Function diff --git a/Projects/Governance/UI/Utilities/DecendentProgram.js b/Projects/Governance/UI/Utilities/DecendentProgram.js index 3f604e612..446c5069f 100644 --- a/Projects/Governance/UI/Utilities/DecendentProgram.js +++ b/Projects/Governance/UI/Utilities/DecendentProgram.js @@ -7,7 +7,7 @@ function newGovernanceUtilitiesDecendentProgram() { let thisObject = { run: run } - const MAX_GENERATIONS = 10 + const MAX_GENERATIONS = 3 return thisObject