From d64cf914e2cb8bce61ae0036e0c2cb42b947262f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 25 Jun 2021 00:08:53 +0200 Subject: [PATCH] Token Power Switch Made Recursive Descendants Fixed --- .../User-Profiles/Luis-Fernando-Molina.json | 5630 +++++++++-------- .../App-Schema/token-power-switch.json | 27 +- .../UI/Function-Libraries/TokenPower.js | 13 - .../UI/Utilities/DecendentProgram.js | 44 +- .../Governance/UI/Utilities/Validations.js | 23 + Projects/ProjectsSchema.json | 5 + 6 files changed, 2946 insertions(+), 2796 deletions(-) create mode 100644 Projects/Governance/UI/Utilities/Validations.js diff --git a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json index 97e3664af..afa4d850a 100644 --- a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json +++ b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json @@ -8,431 +8,33 @@ "name": "New Token Power Switch", "config": "{}", "project": "Governance", - "referralProgram": { - "type": "Referral Program", - "name": "New Referral Program", - "config": "{}", - "project": "Governance", - "userReferrers": [ - { - "type": "User Referrer", - "name": "Julian-Molina", + "tokenPowerSwitch": [ + { + "type": "Token Power Switch", + "name": "Descendats Rewards", + "config": "{}", + "project": "Governance", + "tokenPowerSwitch": [], + "referralProgram": { + "type": "Referral Program", + "name": "New Referral Program", "config": "{}", "project": "Governance", - "id": "fb0a076c-b0a8-4f16-9a47-10a3f3489a0a", - "savedPayload": { - "position": { - "x": 30642.937064065492, - "y": 22910.704105890647 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23187.867965644033 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", + "userReferrers": [ + { + "type": "User Referrer", "name": "Julian-Molina", - "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" - } - } - } - ], - "tokensAwarded": { - "type": "Tokens Awarded", - "name": "New Tokens Awarded", - "project": "Governance", - "id": "56ac3eb9-2d72-4a8d-99bc-3221819ce995", - "savedPayload": { - "position": { - "x": 30740.264068711927, - "y": 22975.73593128807 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23187.867965644033 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "tokensBonus": { - "type": "Tokens Bonus", - "name": "New Tokens Bonus", - "project": "Governance", - "id": "2d205ae2-9158-4b36-a8cb-f9d5c5061342", - "savedPayload": { - "position": { - "x": 30805.29589410935, - "y": 23073.062935934508 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23187.867965644033 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "43a24543-03cf-4511-b670-63566159dbd7", - "savedPayload": { - "position": { - "x": 30528.132034355964, - "y": 23187.867965644033 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "supportProgram": { - "type": "Support Program", - "name": "New Support Program", - "config": "{}", - "project": "Governance", - "userSupporters": [ - { - "type": "User Supporter", - "name": "Julian-Molina", - "config": "{}", - "project": "Governance", - "id": "2a038796-fccd-4a5a-b943-116ccca91b1d", - "savedPayload": { - "position": { - "x": 30893.163859753386, - "y": 23285.19497029047 - }, - "targetPosition": { - "x": 30616, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", - "name": "Julian-Molina", - "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" - } - } - } - ], - "tokensAwarded": { - "type": "Tokens Awarded", - "name": "New Tokens Awarded", - "project": "Governance", - "id": "c6367a1d-4bc7-4348-8309-a3e6f3fcdd50", - "savedPayload": { - "position": { - "x": 30916, - "y": 23399.999999999996 - }, - "targetPosition": { - "x": 30616, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "tokensBonus": { - "type": "Tokens Bonus", - "name": "New Tokens Bonus", - "project": "Governance", - "id": "3d5e14b8-8187-4f3b-8142-8daa540977a7", - "savedPayload": { - "position": { - "x": 30893.163859753386, - "y": 23514.805029709525 - }, - "targetPosition": { - "x": 30616, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "91d82012-4362-4fe0-b02b-0eb3b394ace5", - "savedPayload": { - "position": { - "x": 30616, - "y": 23399.999999999996 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "mentorshipProgram": { - "type": "Mentorship Program", - "name": "New Mentorship Program", - "config": "{}", - "project": "Governance", - "userMentors": [ - { - "type": "User Mentor", - "name": "Julian-Molina", - "config": "{\n \"percentage\": 90\n}", - "project": "Governance", - "id": "97483d0f-35ec-4471-a981-0d22565e0d63", - "savedPayload": { - "position": { - "x": 30813.44898924451, - "y": 23704.837132668443 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", - "name": "Julian-Molina", - "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" - } - } - }, - { - "type": "User Mentor", - "name": "Jeremy", - "config": "{}", - "project": "Governance", - "id": "8adecfda-c803-400c-acde-c34bda09e39b", - "savedPayload": { - "position": { - "x": 30770.837132668446, - "y": 23788.467610043703 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", - "name": "Jeremy", - "id": "759e9012-c995-47ed-92f1-7d204bf2b58e" - } - } - } - ], - "tokensAwarded": { - "type": "Tokens Awarded", - "name": "New Tokens Awarded", - "project": "Governance", - "id": "09648f99-1bf8-4d53-9d20-f15cc8c71508", - "savedPayload": { - "position": { - "x": 30704.467610043706, - "y": 23854.837132668443 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "tokensBonus": { - "type": "Tokens Bonus", - "name": "New Tokens Bonus", - "project": "Governance", - "id": "4113b77f-b7f4-41d2-8603-3784b2b65412", - "savedPayload": { - "position": { - "x": 30620.837132668446, - "y": 23897.448989244505 - }, - "targetPosition": { - "x": 30528.132034355964, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "8af4af68-62bf-4ad2-bf84-f1124cba0abf", - "savedPayload": { - "position": { - "x": 30528.132034355964, - "y": 23612.13203435596 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "claimsProgram": { - "type": "Claims Program", - "name": "New Claims Program", - "config": "{}", - "project": "Governance", - "assetClaimsFolders": [], - "featureClaimsFolders": [ - { - "type": "Feature Claims Folder", - "name": "Superalgos Feature Class", - "config": "{}", - "project": "Governance", - "featureClaimsFolders": [ - { - "type": "Feature Claims Folder", - "name": "Data Mining Feature Class", - "config": "{\n \"percentage\": 70\n}", + "config": "{}", "project": "Governance", - "featureClaimsFolders": [], - "featureContributionClaims": [ - { - "type": "Feature Contribution Claim", - "name": "Feature X Data Mining", - "config": "{}", - "project": "Governance", - "id": "edf1a5c9-7802-4856-918c-3cd5a7a9caf7", - "savedPayload": { - "position": { - "x": 30795.124077346074, - "y": 24435.664643173153 - }, - "targetPosition": { - "x": 30594.384895438416, - "y": 24212.721195529935 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Feature", - "name": "Feature X", - "id": "1b9dd977-f388-4434-a3f9-2e7a10726848" - } - } - } - ], - "id": "ebad23ed-1a02-4edf-a9d7-fc4b2fd0dacb", + "id": "fb0a076c-b0a8-4f16-9a47-10a3f3489a0a", "savedPayload": { "position": { - "x": 30594.384895438416, - "y": 24212.721195529935 + "x": 30761.051833528763, + "y": 22740.917744311064 }, "targetPosition": { - "x": 30393.645713530757, - "y": 23989.777747886717 + "x": 30737.51410481041, + "y": 23039.992944431004 }, "floatingObject": { "isPinned": false, @@ -442,2324 +44,74 @@ "distanceToParent": 3, "arrangementStyle": 0 }, - "uiObject": { - "isRunning": false - }, + "uiObject": {}, "referenceParent": { - "type": "Feature Class", - "name": "Data Mining", - "id": "025c0e15-ad8d-49ae-b501-577bb82c207d" - } - } - }, - { - "type": "Feature Claims Folder", - "name": "Charting System Feature Class", - "config": "{}", - "project": "Governance", - "featureClaimsFolders": [], - "featureContributionClaims": [], - "id": "e745f3cd-4cd9-421b-b9ab-f62650fb56f8", - "savedPayload": { - "position": { - "x": 30515.666706453496, - "y": 24263.841385179498 - }, - "targetPosition": { - "x": 30393.645713530757, - "y": 23989.777747886717 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Charting System", - "id": "7edc83c0-74fc-4427-816d-4db5d840577f" - } - } - }, - { - "type": "Feature Claims Folder", - "name": "Visual Designer Feature Class", - "config": "{}", - "project": "Governance", - "featureClaimsFolders": [], - "featureContributionClaims": [], - "id": "3ae7f0f9-be37-4e6c-b3b1-4343e51f80a9", - "savedPayload": { - "position": { - "x": 30425.004252511055, - "y": 24288.1343164972 - }, - "targetPosition": { - "x": 30393.645713530757, - "y": 23989.777747886717 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Visual Designer", - "id": "18584f3f-6e48-4a68-89f1-0268185156e9" - } - } - }, - { - "type": "Feature Claims Folder", - "name": "Visual Debugger Feature Class", - "config": "{}", - "project": "Governance", - "featureClaimsFolders": [], - "featureContributionClaims": [], - "id": "d8ab7844-f98f-4ce1-a634-c0ff98af28ca", - "savedPayload": { - "position": { - "x": 30331.27220628543, - "y": 24283.22202810686 - }, - "targetPosition": { - "x": 30393.645713530757, - "y": 23989.777747886717 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Visual Debugger", - "id": "0e329071-a542-405f-ae8c-2933098759c1" - } - } - } - ], - "featureContributionClaims": [], - "id": "f8a482c4-dee0-475a-831b-7514fd255ba6", - "savedPayload": { - "position": { - "x": 30393.645713530757, - "y": 23989.777747886717 - }, - "targetPosition": { - "x": 30316, - "y": 23699.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Superalgos", - "id": "136b6e7a-f042-441b-84be-395b56b65b70" - } - } - } - ], - "positionClaimsFolders": [], - "tokensAwarded": { - "type": "Tokens Awarded", - "name": "New Tokens Awarded", - "project": "Governance", - "id": "5011109c-3f87-471a-b786-5fd371f53853", - "savedPayload": { - "position": { - "x": 30238.354286469243, - "y": 23989.777747886717 - }, - "targetPosition": { - "x": 30316, - "y": 23699.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "796dd30f-c90d-4b8d-a63d-89867347407b", - "savedPayload": { - "position": { - "x": 30316, - "y": 23699.999999999996 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "votingProgram": { - "type": "Voting Program", - "name": "New Voting Program", - "config": "{}", - "project": "Governance", - "votesSwitch": [ - { - "type": "Votes Switch", - "name": "New Votes Switch", - "config": "{}", - "project": "Governance", - "votesSwitch": [], - "claimVotesSwitch": [ - { - "type": "Claim Votes Switch", - "name": "New Claim Votes Switch", - "config": "{}", - "project": "Governance", - "claimVotesSwitch": [], - "positionClaimVotes": [], - "assetClaimVotes": [], - "featureClaimVotes": [ - { - "type": "Feature Claim Vote", - "name": "Luis-Fernando-Molina Feature X Data Mining", - "config": "{}", - "project": "Governance", - "id": "4381f059-44c8-4843-9cac-8a7cf41fa14c", - "savedPayload": { - "position": { - "x": 30109.15939270555, - "y": 24451.495151264735 - }, - "targetPosition": { - "x": 30031.513679174794, - "y": 24161.717403378014 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Feature Contribution Claim", - "name": "Feature X Data Mining", - "id": "edf1a5c9-7802-4856-918c-3cd5a7a9caf7" - } - } - } - ], - "id": "d69739f9-958e-480e-95e3-a72bb5f6ceab", - "savedPayload": { - "position": { - "x": 30031.513679174794, - "y": 24161.717403378014 - }, - "targetPosition": { - "x": 29953.867965644036, - "y": 23871.939655491293 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - } - ], - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "New Weight Votes Switch", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Superalgos Pools", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Software Projects Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Foundations Project Pool", - "config": "{}", - "project": "Governance", - "id": "e175d788-58bf-4e7e-b241-219e642626c1", - "savedPayload": { - "position": { - "x": 29469.71415514045, - "y": 24175.87089878627 - }, - "targetPosition": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Foundations Project", - "id": "2207c69c-ee9d-4453-8bf4-582d79b4b635" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "TensorFlow Project Pool", - "config": "{}", - "project": "Governance", - "id": "9e731819-36c2-493e-a181-1bce1066ab02", - "savedPayload": { - "position": { - "x": 29364.08916004367, - "y": 24289.70757007284 - }, - "targetPosition": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "TensorFlow Project", - "id": "ea854cf8-47cd-43f0-b58a-13e61ae3106d" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Governance Project Pool", - "config": "{}", - "project": "Governance", - "id": "b9b698ad-89cf-495b-a205-bd1d699ef615", - "savedPayload": { - "position": { - "x": 29215.696895371966, - "y": 24335.480521740872 - }, - "targetPosition": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Governance Project", - "id": "3c80032c-51a8-4fd8-ab65-cf219c03ce95" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Education Project Pool", - "config": "{}", - "project": "Governance", - "id": "47153990-e35f-4abb-a41f-507253e2532b", - "savedPayload": { - "position": { - "x": 29064.29894860715, - "y": 24300.924928355733 - }, - "targetPosition": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Education Project", - "id": "0a79ec65-6f67-4c18-823f-48a6d0494a81" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Ethereum Project Pool", - "config": "{}", - "project": "Governance", - "id": "406251f2-f7ac-49c0-b320-10ae252c688f", - "savedPayload": { - "position": { - "x": 28950.46227732058, - "y": 24195.299933258953 - }, - "targetPosition": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Ethereum Project", - "id": "f51d23aa-742c-40d4-b000-2b90c3ae197c" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "70444a5d-5ca6-4c62-a308-94bb37b9c100", - "savedPayload": { - "position": { - "x": 29204.479537089068, - "y": 24035.69031030435 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Software Projects", - "id": "a987f1d3-fc8d-4b7c-99dd-77f15a32f37d" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Marketing Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Collective Rewards Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "First Exchange Listing The Token Pool", - "config": "{}", - "project": "Governance", - "id": "1bebdae3-186d-4120-825b-8cb43f85921f", - "savedPayload": { - "position": { - "x": 29285.029970013293, - "y": 24550.361772526794 - }, - "targetPosition": { - "x": 29106.88391434124, - "y": 24308.982438596795 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "First Exchange Listing The Token", - "id": "6a456247-13b7-41f2-80b3-957c1af55009" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "10K Stars on Github Pool", - "config": "{}", - "project": "Governance", - "id": "6d543b8e-4011-4ba9-a1f1-31bb60e66e9e", - "savedPayload": { - "position": { - "x": 28986.916307045318, - "y": 24583.951115357788 - }, - "targetPosition": { - "x": 29106.88391434124, - "y": 24308.982438596795 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "10K Stars on Github", - "id": "5bbe5a09-fe32-4802-8e14-d06615a24510" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "23e1ffb3-84e1-4032-acca-a310168c48d1", - "savedPayload": { - "position": { - "x": 29106.88391434124, - "y": 24308.982438596795 - }, - "targetPosition": { - "x": 29073.294571510247, - "y": 24010.868775628824 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Collective Rewards", - "id": "95431b88-cbff-459c-a707-fd3518e79c73" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Assets Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Marketing Assets Pool", - "config": "{}", - "project": "Governance", - "id": "a5603f0b-e1e6-4295-ad37-17000fc5c399", - "savedPayload": { - "position": { - "x": 28590.53590365025, - "y": 24367.160886972928 - }, - "targetPosition": { - "x": 28831.915237580248, - "y": 24189.014831300876 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Marketing Assets", - "id": "6b4bee15-622d-4df6-9662-4d7b8d44f198" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "4609f39f-5099-49b5-a57d-3b49ef849df7", - "savedPayload": { - "position": { - "x": 28831.915237580248, - "y": 24189.014831300876 - }, - "targetPosition": { - "x": 29073.294571510247, - "y": 24010.868775628824 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Assets", - "id": "ab43c779-d6d6-451d-a444-cfb8b68df07e" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "afe57422-eb5c-454c-9df0-02b19b5c6d98", - "savedPayload": { - "position": { - "x": 29073.294571510247, - "y": 24010.868775628824 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Marketing", - "id": "85dbdcb9-5b59-432e-86a0-fab37e20a55d" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Education Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Production Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Creating Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Blog-Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "408ed8b9-8c23-45c1-8a03-1425472d82fb", - "savedPayload": { - "position": { - "x": 29193.8171481856, - "y": 24637.66099312892 - }, - "targetPosition": { - "x": 28922.560425424857, - "y": 24509.521263313763 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Blog-Tutorials", - "id": "0548fbd2-7904-481a-a33d-16ef93707276" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "In-App-Docs Pool", - "config": "{}", - "project": "Governance", - "id": "39184eb1-7092-4966-b918-e5f773f10fe6", - "savedPayload": { - "position": { - "x": 29066.69308055866, - "y": 24772.629183612793 - }, - "targetPosition": { - "x": 28922.560425424857, - "y": 24509.521263313763 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "In-App-Docs", - "id": "14175310-1a9c-4f4b-89e2-aabe4507932a" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "In-App-Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "4ad2fcb8-1e45-4355-821b-c26017171253", - "savedPayload": { - "position": { - "x": 28884.51523755937, - "y": 24807.099091251734 - }, - "targetPosition": { - "x": 28922.560425424857, - "y": 24509.521263313763 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "In-App-Tutorials", - "id": "64b19ffc-0240-46cd-804b-b57d25195f64" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Video-Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "299c8fda-52e7-492f-9fdc-6f60c117ba59", - "savedPayload": { - "position": { - "x": 28716.869363216327, - "y": 24727.90438291674 - }, - "targetPosition": { - "x": 28922.560425424857, - "y": 24509.521263313763 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Video-Tutorials", - "id": "4d9474e1-e58f-4563-a1c2-e89533bc451e" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "11213396-1e11-49dd-a2fd-4bc5dcf6079c", - "savedPayload": { - "position": { - "x": 28922.560425424857, - "y": 24509.521263313763 - }, - "targetPosition": { - "x": 28866.786943275984, - "y": 24214.751321343778 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Creating", - "id": "e8c86964-e87d-4490-96ad-4bf4be249d51" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Translating Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "In-App-Docs Pool", - "config": "{}", - "project": "Governance", - "id": "e849933c-e1c3-43fd-ab4c-6ba5163b1ff0", - "savedPayload": { - "position": { - "x": 28616.976398256418, - "y": 24709.59868388157 - }, - "targetPosition": { - "x": 28639.395426332347, - "y": 24410.437544727214 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "In-App-Docs", - "id": "5737235d-c74f-4247-b870-b52428b5576f" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "In-App-Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "cbba8d41-0e18-49c4-81a6-aaa35db061e7", - "savedPayload": { - "position": { - "x": 28412.00390938871, - "y": 24606.12376811065 - }, - "targetPosition": { - "x": 28639.395426332347, - "y": 24410.437544727214 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "In-App-Tutorials", - "id": "abe07b52-de21-44da-a989-f52067f508df" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Video-Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "81916bb9-0cc1-4e45-a3c7-dd61dbb45857", - "savedPayload": { - "position": { - "x": 28340.23428717799, - "y": 24388.018516651286 - }, - "targetPosition": { - "x": 28639.395426332347, - "y": 24410.437544727214 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Video-Tutorials", - "id": "fb52e785-fa45-4522-8478-b0d039525b4a" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "03177864-a507-4b91-8983-0c367ff90ec2", - "savedPayload": { - "position": { - "x": 28639.395426332347, - "y": 24410.437544727214 - }, - "targetPosition": { - "x": 28866.786943275984, - "y": 24214.751321343778 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Translating", - "id": "1dc0d3a0-4a11-43c2-8c53-6b9e86cb0d01" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "52b35a1e-b412-46b0-b959-96481f6819ea", - "savedPayload": { - "position": { - "x": 28866.786943275984, - "y": 24214.751321343778 - }, - "targetPosition": { - "x": 28965.870661862533, - "y": 23931.586322251267 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Production", - "id": "58feb67b-074a-4373-8cc1-9219851b251a" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Consumption Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Completing Tutorials Pool", - "config": "{}", - "project": "Governance", - "id": "1a477b35-cc49-4851-8db8-167c63a014fb", - "savedPayload": { - "position": { - "x": 28443.70920294891, - "y": 24183.046027783577 - }, - "targetPosition": { - "x": 28671.100719892547, - "y": 23987.35980440014 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Completing Tutorials", - "id": "0bfaeebd-a900-4e6e-b62c-3387e4e7baec" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Reading the Docs Pool", - "config": "{}", - "project": "Governance", - "id": "43a07b0b-b854-4d43-a489-351b012f7905", - "savedPayload": { - "position": { - "x": 28387.935720800037, - "y": 23888.27608581359 - }, - "targetPosition": { - "x": 28671.100719892547, - "y": 23987.35980440014 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Reading the Docs", - "id": "c3bee026-075f-48db-92df-fc599cce744d" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "1b5667a6-9668-46a8-9a3e-fa6c9fafc085", - "savedPayload": { - "position": { - "x": 28671.100719892547, - "y": 23987.35980440014 - }, - "targetPosition": { - "x": 28965.870661862533, - "y": 23931.586322251267 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Consumption", - "id": "8a133a29-c678-4da0-8408-1e7f87d9dfa7" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "6897de02-12f0-4af6-8adb-971661a08952", - "savedPayload": { - "position": { - "x": 28965.870661862533, - "y": 23931.586322251267 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Education", - "id": "86787666-908c-4b27-8265-cd460732030f" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Management Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Management Pool", - "config": "{}", - "project": "Governance", - "id": "945dec69-2bfa-460a-be36-708e643880cd", - "savedPayload": { - "position": { - "x": 28613.706683032728, - "y": 23891.191525929346 - }, - "targetPosition": { - "x": 28903.48443091945, - "y": 23813.545812398588 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Management", - "id": "5d878af1-e32c-4458-8fb7-98df55f1e54a" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "2763bc74-2d10-4d24-b244-61c5ba3e3b6c", - "savedPayload": { - "position": { - "x": 28903.48443091945, - "y": 23813.545812398588 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Management", - "id": "a2acb2b1-c88f-47f2-b31b-b0cde52801ac" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Features Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Features Pool", - "config": "{}", - "project": "Governance", - "id": "90e540c0-5853-46cb-b582-13c7084f6ab4", - "savedPayload": { - "position": { - "x": 28603.7222948662, - "y": 23624.353134570083 - }, - "targetPosition": { - "x": 28898.492236836184, - "y": 23680.126616718957 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Features", - "id": "2d34ec1b-e281-4163-a44b-6ac33a54e002" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "826c6b37-abe3-4753-8811-51a609886513", - "savedPayload": { - "position": { - "x": 28898.492236836184, - "y": 23680.126616718957 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Features", - "id": "8c3175a1-17aa-4e27-bcbe-063468ecc87e" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Programs Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Referrals Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Referrals Rewards Pool", - "config": "{}", - "project": "Governance", - "id": "f619a49b-098f-4625-b240-194da7810d93", - "savedPayload": { - "position": { - "x": 28549.809812101244, - "y": 23975.15295191066 - }, - "targetPosition": { - "x": 28694.925478232817, - "y": 23712.585925338033 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Referrals Rewards", - "id": "2e9dff69-e407-4ccb-9a42-e4a476e28d7c" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Referrals Bonus Pool", - "config": "{}", - "project": "Governance", - "id": "069a16f4-d8af-4170-bf3f-46aff6448644", - "savedPayload": { - "position": { - "x": 28394.977929958994, - "y": 23718.195585267305 - }, - "targetPosition": { - "x": 28694.925478232817, - "y": 23712.585925338033 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Referrals Bonus", - "id": "af1984a3-465b-48ed-9944-c101a8ed376c" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "649912b1-ae33-4c79-a33b-16eeeeda5f7e", - "savedPayload": { - "position": { - "x": 28694.925478232817, - "y": 23712.585925338033 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Referrals Program", - "id": "9f94d0e0-ddf7-4e04-8a3c-9485c09e079d" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Support Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Support Rewards Pool", - "config": "{}", - "project": "Governance", - "id": "1b751462-8459-4db8-a923-7e8290f530a5", - "savedPayload": { - "position": { - "x": 28420.684152268223, - "y": 23789.513663606256 - }, - "targetPosition": { - "x": 28655.23359700863, - "y": 23602.466723048634 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Support Rewards", - "id": "c41497c5-7440-4ebd-aabb-fbc3d022136b" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Support Bonus Pool", - "config": "{}", - "project": "Governance", - "id": "4edb4e47-0596-4a25-8910-ce36f70d849e", - "savedPayload": { - "position": { - "x": 28375.97147241537, - "y": 23492.864415738717 - }, - "targetPosition": { - "x": 28655.23359700863, - "y": 23602.466723048634 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Support Bonus", - "id": "6625953a-6026-4686-9091-2796fd08b9a7" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "a9da1c01-210d-4ae7-a8ae-0dde216427c9", - "savedPayload": { - "position": { - "x": 28655.23359700863, - "y": 23602.466723048634 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Support Program", - "id": "174e7d3b-fe3c-4fb1-825c-4ea488d82171" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Mentorship Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Mentorship Rewards Pool", - "config": "{}", - "project": "Governance", - "id": "e0c475b3-af55-41b2-b8ab-89207ef51d81", - "savedPayload": { - "position": { - "x": 28372.42867805662, - "y": 23568.591074000546 - }, - "targetPosition": { - "x": 28660.703874640152, - "y": 23485.540420573092 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Mentorship Rewards", - "id": "53ddcc36-f693-4193-8284-999a88f1c944" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Mentorship Participation Bonus Pool", - "config": "{}", - "project": "Governance", - "id": "22240ff2-7098-4013-8c7a-d158527ba0d0", - "savedPayload": { - "position": { - "x": 28444.642300679312, - "y": 23277.41210376453 - }, - "targetPosition": { - "x": 28660.703874640152, - "y": 23485.540420573092 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Mentorship Participation Bonus", - "id": "ff1e4a84-3363-4348-ad15-31a34898fa82" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "778b0d8f-b0b3-4295-b53b-b69e74abba5d", - "savedPayload": { - "position": { - "x": 28660.703874640152, - "y": 23485.540420573092 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Mentorship Program", - "id": "8b3714a0-3bf2-491e-8ffc-9c4286446382" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Claims Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "824f1346-b49f-47c7-9d01-2e6f0cc403a3", - "savedPayload": { - "position": { - "x": 28710.50351094617, - "y": 23379.607987523734 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Claims Program", - "id": "5bd09ac2-6c9f-4a7d-a547-c05a8a1e98e2" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Voting Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Voting Bonus Pool", - "config": "{}", - "project": "Governance", - "id": "b582bead-c9bb-41e2-9dd1-bd6d6ce99f26", - "savedPayload": { - "position": { - "x": 28642.21908059167, - "y": 23043.839309909075 - }, - "targetPosition": { - "x": 28797.05096273392, - "y": 23300.79667655243 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Voting Bonus", - "id": "9eb846a4-effb-4380-9487-1a82011b0488" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "e402422d-6fe6-4655-97a1-3b4c1579d442", - "savedPayload": { - "position": { - "x": 28797.05096273392, - "y": 23300.79667655243 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Voting Program", - "id": "80d4f08f-bb7f-48a2-9cef-be12befcac2e" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Delegation Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Delegation Bonus Pool", - "config": "{}", - "project": "Governance", - "id": "9a5d6e82-f4e8-45e4-bc53-f656a6ecc3ad", - "savedPayload": { - "position": { - "x": 28862.457485170467, - "y": 22964.455547460704 - }, - "targetPosition": { - "x": 28907.17016502332, - "y": 23261.104795328243 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Delegation Bonus", - "id": "24e62dd3-4d7b-4eba-b401-493c155d85d0" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "00b389bd-d693-4278-bd1f-254d6c924d23", - "savedPayload": { - "position": { - "x": 28907.17016502332, - "y": 23261.104795328243 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Delegation Program", - "id": "f09429a2-3f6c-4210-bb73-0c8efd254c82" - } - } - }, - { - "type": "Weight Votes Switch", - "name": "Staking Program Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Staking Rewards Pool", - "config": "{}", - "project": "Governance", - "id": "c1ea3da7-aaa2-475c-ae29-51212262ea38", - "savedPayload": { - "position": { - "x": 29096.31009012155, - "y": 22975.396102723746 - }, - "targetPosition": { - "x": 29024.09646749886, - "y": 23266.575072959764 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Staking Rewards", - "id": "d2cf4c65-b4bd-4fa8-b0da-f73a38b8419a" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "e589c4b6-e752-433c-abc7-c1ff97ffcb86", - "savedPayload": { - "position": { - "x": 29024.09646749886, - "y": 23266.575072959764 - }, - "targetPosition": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Staking Program", - "id": "68e3f570-4156-4be6-8881-c526a06f85d0" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "398a7fe7-1e5c-40dc-b60e-1d9ad7019f83", - "savedPayload": { - "position": { - "x": 28951.88284487617, - "y": 23557.754043195782 - }, - "targetPosition": { - "x": 29193.26217880617, - "y": 23735.90009886783 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pool Class", - "name": "Programs", - "id": "4fbb05ee-d7a0-43a7-9983-9fae7a7e4848" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "e059f5c4-9132-4d76-9f3e-1060658fa704", - "savedPayload": { - "position": { - "x": 29803.867965644036, - "y": 24431.747276626626 - }, - "targetPosition": { - "x": 29803.867965644036, - "y": 24131.747276626626 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": true, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Pools", - "name": "Superalgos", - "id": "6f0aed87-db13-4818-bfe6-68abc463ebec" - } - } - } - ], - "poolWeightVotes": [], - "assetWeightVotes": [], - "featureWeightVotes": [ - { - "type": "Feature Weight Vote", - "name": "Superalgos Data Mining Feature X", - "config": "{}", - "project": "Governance", - "id": "7607658c-f3ad-42de-a316-35dd052e0477", - "savedPayload": { - "position": { - "x": 29544.060344508704, - "y": 24281.747276626626 - }, - "targetPosition": { - "x": 29803.867965644036, - "y": 24131.747276626626 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Feature", - "name": "Feature X", - "id": "1b9dd977-f388-4434-a3f9-2e7a10726848" - } - } - } - ], - "positionWeightVotes": [], - "id": "1d398124-3f36-40a1-8b3b-6c77ad489b92", - "savedPayload": { - "position": { - "x": 29803.867965644036, - "y": 24131.747276626626 - }, - "targetPosition": { - "x": 29953.867965644036, - "y": 23871.939655491293 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - } - ], - "userProfileVotesSwitch": [ - { - "type": "User Profile Votes Switch", - "name": "New User Profile Votes Switch", - "config": "{}", - "project": "Governance", - "userProfileVotesSwitch": [], - "userProfileVote": [ - { - "type": "User Profile Vote", + "type": "User Profile", "name": "Julian-Molina", - "config": "{}", - "project": "Governance", - "id": "cb86dfcf-6af1-4c53-afbe-442848706b9c", - "savedPayload": { - "position": { - "x": 29374.312469870594, - "y": 24027.231082552807 - }, - "targetPosition": { - "x": 29664.090217757315, - "y": 23949.58536902205 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", - "name": "Julian-Molina", - "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" - } - } - } - ], - "id": "67805814-d2e1-4f8e-bdeb-6a46cc29ceff", - "savedPayload": { - "position": { - "x": 29664.090217757315, - "y": 23949.58536902205 - }, - "targetPosition": { - "x": 29953.867965644036, - "y": 23871.939655491293 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" } } } ], - "id": "2b8d3ce7-515c-44ad-8d80-3c2be6d7736f", + "tokensAwarded": { + "type": "Tokens Awarded", + "name": "New Tokens Awarded", + "project": "Governance", + "id": "56ac3eb9-2d72-4a8d-99bc-3221819ce995", + "savedPayload": { + "position": { + "x": 30873.711254732272, + "y": 22772.690987174494 + }, + "targetPosition": { + "x": 30737.51410481041, + "y": 23039.992944431004 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "tokensBonus": { + "type": "Tokens Bonus", + "name": "New Tokens Bonus", + "project": "Governance", + "id": "2d205ae2-9158-4b36-a8cb-f9d5c5061342", + "savedPayload": { + "position": { + "x": 30965.635894490417, + "y": 22845.15852993195 + }, + "targetPosition": { + "x": 30737.51410481041, + "y": 23039.992944431004 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "43a24543-03cf-4511-b670-63566159dbd7", "savedPayload": { "position": { - "x": 29953.867965644036, - "y": 23871.939655491293 + "x": 30737.51410481041, + "y": 23039.992944431004 }, "targetPosition": { - "x": 30103.867965644036, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - } - ], - "tokensBonus": { - "type": "Tokens Bonus", - "name": "New Tokens Bonus", - "project": "Governance", - "id": "e9c0e495-7985-4381-bf75-865d87289038", - "savedPayload": { - "position": { - "x": 29844.060344508704, - "y": 23762.13203435596 - }, - "targetPosition": { - "x": 30103.867965644036, - "y": 23612.13203435596 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 3, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "d5ed432e-78bf-432e-be3b-8649932f7a65", - "savedPayload": { - "position": { - "x": 30103.867965644036, - "y": 23612.13203435596 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "stackingProgram": { - "type": "Staking Program", - "name": "New Staking Program", - "config": "{}", - "project": "Governance", - "tokensAwarded": { - "type": "Tokens Awarded", - "name": "New Tokens Awarded", - "project": "Governance", - "id": "928e9ccb-1e90-48a9-af77-b3089225fc4f", - "savedPayload": { - "position": { - "x": 29716, - "y": 23399.999999999996 - }, - "targetPosition": { - "x": 30016, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - }, - "id": "b046f4e4-40b1-4e47-8fed-75a6a5c6029d", - "savedPayload": { - "position": { - "x": 30016, - "y": 23399.999999999996 - }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - "delegationProgram": { - "type": "Delegation Program", - "name": "New Delegation Program", - "config": "{}", - "project": "Governance", - "delegatePowerSwitch": [ - { - "type": "Delegate Power Switch", - "name": "New Delegate Power Switch", - "config": "{}", - "project": "Governance", - "delegatePowerSwitch": [ - { - "type": "Delegate Power Switch", - "name": "New Delegate Power Switch", - "config": "{}", - "project": "Governance", - "delegatePowerSwitch": [], - "userDelegates": [], - "id": "b78715ee-cbcf-4fce-914a-d3efa55d7849", - "savedPayload": { - "position": { - "x": 29524.312469870594, - "y": 23187.867965644033 - }, - "targetPosition": { - "x": 29814.090217757315, - "y": 23110.222252113275 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, - { - "type": "Delegate Power Switch", - "name": "New Delegate Power Switch", - "config": "{}", - "project": "Governance", - "delegatePowerSwitch": [], - "userDelegates": [ - { - "type": "User Delegate", - "name": "Julian-Molina", - "config": "{}", - "project": "Governance", - "id": "d684a95b-fc8a-4545-8db5-601128a924cf", - "savedPayload": { - "position": { - "x": 29312.18043551463, - "y": 22820.444504226554 - }, - "targetPosition": { - "x": 29601.95818340135, - "y": 22898.09021775731 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "User Profile", - "name": "Julian-Molina", - "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" - } - } - }, - { - "type": "User Delegate", - "name": "", - "config": "{}", - "project": "Governance", - "id": "bfb493fb-ac94-4be4-9433-38c24bb5f254", - "savedPayload": { - "position": { - "x": 29524.312469870594, - "y": 22608.31246987059 - }, - "targetPosition": { - "x": 29601.95818340135, - "y": 22898.09021775731 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {} - } - } - ], - "id": "477c0363-96ff-464c-bdda-ed40fa20df12", - "savedPayload": { - "position": { - "x": 29601.95818340135, - "y": 22898.09021775731 - }, - "targetPosition": { - "x": 29814.090217757315, - "y": 23110.222252113275 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - } - ], - "userDelegates": [], - "id": "681ff42a-d5af-4fed-971e-935398dac2aa", - "savedPayload": { - "position": { - "x": 29814.090217757315, - "y": 23110.222252113275 - }, - "targetPosition": { - "x": 30103.867965644036, - "y": 23187.867965644033 + "x": 30601.316954888545, + "y": 23307.294901687514 }, "floatingObject": { "isPinned": false, @@ -2773,56 +125,2822 @@ "isRunning": false } } - } - ], - "tokensBonus": { - "type": "Tokens Bonus", - "name": "New Tokens Bonus", - "project": "Governance", - "id": "e4be3ce4-3569-4d97-8d54-95bb4cfcb0c5", + }, + "supportProgram": { + "type": "Support Program", + "name": "New Support Program", + "config": "{}", + "project": "Governance", + "userSupporters": [ + { + "type": "User Supporter", + "name": "Julian-Molina", + "config": "{}", + "project": "Governance", + "id": "2a038796-fccd-4a5a-b943-116ccca91b1d", + "savedPayload": { + "position": { + "x": 31114.7556994571, + "y": 23019.755388875976 + }, + "targetPosition": { + "x": 30886.63390977709, + "y": 23214.58980337503 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "User Profile", + "name": "Julian-Molina", + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" + } + } + } + ], + "tokensAwarded": { + "type": "Tokens Awarded", + "name": "New Tokens Awarded", + "project": "Governance", + "id": "c6367a1d-4bc7-4348-8309-a3e6f3fcdd50", + "savedPayload": { + "position": { + "x": 31171.950864665636, + "y": 23121.884705062548 + }, + "targetPosition": { + "x": 30886.63390977709, + "y": 23214.58980337503 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "tokensBonus": { + "type": "Tokens Bonus", + "name": "New Tokens Bonus", + "project": "Governance", + "id": "3d5e14b8-8187-4f3b-8142-8daa540977a7", + "savedPayload": { + "position": { + "x": 31185.70910989703, + "y": 23238.127532093386 + }, + "targetPosition": { + "x": 30886.63390977709, + "y": 23214.58980337503 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "91d82012-4362-4fe0-b02b-0eb3b394ace5", + "savedPayload": { + "position": { + "x": 30886.63390977709, + "y": 23214.58980337503 + }, + "targetPosition": { + "x": 30601.316954888545, + "y": 23307.294901687514 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + "mentorshipProgram": { + "type": "Mentorship Program", + "name": "New Mentorship Program", + "config": "{}", + "project": "Governance", + "userMentors": [ + { + "type": "User Mentor", + "name": "Julian-Molina", + "config": "{\n \"percentage\": 90\n}", + "project": "Governance", + "id": "97483d0f-35ec-4471-a981-0d22565e0d63", + "savedPayload": { + "position": { + "x": 31168.618912145055, + "y": 23443.492051609377 + }, + "targetPosition": { + "x": 30868.618912145055, + "y": 23443.492051609377 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "User Profile", + "name": "Julian-Molina", + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" + } + } + }, + { + "type": "User Mentor", + "name": "Jeremy", + "config": "{}", + "project": "Governance", + "id": "8adecfda-c803-400c-acde-c34bda09e39b", + "savedPayload": { + "position": { + "x": 31153.9358670336, + "y": 23536.19714992186 + }, + "targetPosition": { + "x": 30868.618912145055, + "y": 23443.492051609377 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "User Profile", + "name": "Jeremy", + "id": "759e9012-c995-47ed-92f1-7d204bf2b58e" + } + } + } + ], + "tokensAwarded": { + "type": "Tokens Awarded", + "name": "New Tokens Awarded", + "project": "Governance", + "id": "09648f99-1bf8-4d53-9d20-f15cc8c71508", + "savedPayload": { + "position": { + "x": 31111.324010457538, + "y": 23619.82762729712 + }, + "targetPosition": { + "x": 30868.618912145055, + "y": 23443.492051609377 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "tokensBonus": { + "type": "Tokens Bonus", + "name": "New Tokens Bonus", + "project": "Governance", + "id": "4113b77f-b7f4-41d2-8603-3784b2b65412", + "savedPayload": { + "position": { + "x": 31044.954487832798, + "y": 23686.19714992186 + }, + "targetPosition": { + "x": 30868.618912145055, + "y": 23443.492051609377 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "8af4af68-62bf-4ad2-bf84-f1124cba0abf", + "savedPayload": { + "position": { + "x": 30868.618912145055, + "y": 23443.492051609377 + }, + "targetPosition": { + "x": 30601.316954888545, + "y": 23307.294901687514 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + "id": "a2803c2e-5b20-42a5-b498-2b613a1dd783", "savedPayload": { "position": { - "x": 30026.22225211328, - "y": 22898.09021775731 + "x": 30601.316954888545, + "y": 23307.294901687514 }, "targetPosition": { - "x": 30103.867965644036, - "y": 23187.867965644033 + "x": 30316, + "y": 23399.999999999996 }, "floatingObject": { "isPinned": false, "isFrozen": false, "isCollapsed": false, - "angleToParent": 2, + "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 }, - "uiObject": {} + "uiObject": { + "isRunning": false + } } }, - "id": "3ff7f410-911d-4cb8-9094-d816dee4dccb", - "savedPayload": { - "position": { - "x": 30103.867965644036, - "y": 23187.867965644033 + { + "type": "Token Power Switch", + "name": "Votes & Claims", + "config": "{}", + "project": "Governance", + "tokenPowerSwitch": [], + "claimsProgram": { + "type": "Claims Program", + "name": "New Claims Program", + "config": "{}", + "project": "Governance", + "assetClaimsFolders": [], + "featureClaimsFolders": [ + { + "type": "Feature Claims Folder", + "name": "Superalgos Feature Class", + "config": "{}", + "project": "Governance", + "featureClaimsFolders": [ + { + "type": "Feature Claims Folder", + "name": "Data Mining Feature Class", + "config": "{\n \"percentage\": 70\n}", + "project": "Governance", + "featureClaimsFolders": [], + "featureContributionClaims": [ + { + "type": "Feature Contribution Claim", + "name": "Feature X Data Mining", + "config": "{}", + "project": "Governance", + "id": "edf1a5c9-7802-4856-918c-3cd5a7a9caf7", + "savedPayload": { + "position": { + "x": 31598.720722270355, + "y": 23922.120634804403 + }, + "targetPosition": { + "x": 31299.131861843984, + "y": 23937.821421677287 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Feature", + "name": "Feature X", + "id": "1b9dd977-f388-4434-a3f9-2e7a10726848" + } + } + } + ], + "id": "ebad23ed-1a02-4edf-a9d7-fc4b2fd0dacb", + "savedPayload": { + "position": { + "x": 31299.131861843984, + "y": 23937.821421677287 + }, + "targetPosition": { + "x": 30999.543001417613, + "y": 23953.52220855017 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Data Mining", + "id": "025c0e15-ad8d-49ae-b501-577bb82c207d" + } + } + }, + { + "type": "Feature Claims Folder", + "name": "Charting System Feature Class", + "config": "{}", + "project": "Governance", + "featureClaimsFolders": [], + "featureContributionClaims": [], + "id": "e745f3cd-4cd9-421b-b9ab-f62650fb56f8", + "savedPayload": { + "position": { + "x": 31289.320749304334, + "y": 24031.167922080927 + }, + "targetPosition": { + "x": 30999.543001417613, + "y": 23953.52220855017 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Charting System", + "id": "7edc83c0-74fc-4427-816d-4db5d840577f" + } + } + }, + { + "type": "Feature Claims Folder", + "name": "Visual Designer Feature Class", + "config": "{}", + "project": "Governance", + "featureClaimsFolders": [], + "featureContributionClaims": [], + "id": "3ae7f0f9-be37-4e6c-b3b1-4343e51f80a9", + "savedPayload": { + "position": { + "x": 31251.14417180124, + "y": 24116.913919054678 + }, + "targetPosition": { + "x": 30999.543001417613, + "y": 23953.52220855017 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Visual Designer", + "id": "18584f3f-6e48-4a68-89f1-0268185156e9" + } + } + }, + { + "type": "Feature Claims Folder", + "name": "Visual Debugger Feature Class", + "config": "{}", + "project": "Governance", + "featureClaimsFolders": [], + "featureContributionClaims": [], + "id": "d8ab7844-f98f-4ce1-a634-c0ff98af28ca", + "savedPayload": { + "position": { + "x": 31188.339118732565, + "y": 24186.66599698726 + }, + "targetPosition": { + "x": 30999.543001417613, + "y": 23953.52220855017 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Visual Debugger", + "id": "0e329071-a542-405f-ae8c-2933098759c1" + } + } + } + ], + "featureContributionClaims": [], + "id": "f8a482c4-dee0-475a-831b-7514fd255ba6", + "savedPayload": { + "position": { + "x": 30999.543001417613, + "y": 23953.52220855017 + }, + "targetPosition": { + "x": 30725.479364124833, + "y": 23831.50121562743 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Superalgos", + "id": "136b6e7a-f042-441b-84be-395b56b65b70" + } + } + } + ], + "positionClaimsFolders": [], + "tokensAwarded": { + "type": "Tokens Awarded", + "name": "New Tokens Awarded", + "project": "Governance", + "id": "5011109c-3f87-471a-b786-5fd371f53853", + "savedPayload": { + "position": { + "x": 30901.814939812575, + "y": 24074.206313939914 + }, + "targetPosition": { + "x": 30725.479364124833, + "y": 23831.50121562743 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "796dd30f-c90d-4b8d-a63d-89867347407b", + "savedPayload": { + "position": { + "x": 30725.479364124833, + "y": 23831.50121562743 + }, + "targetPosition": { + "x": 30492.335575687743, + "y": 23642.70509831248 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } }, - "targetPosition": { - "x": 30316, - "y": 23399.999999999996 + "votingProgram": { + "type": "Voting Program", + "name": "New Voting Program", + "config": "{}", + "project": "Governance", + "votesSwitch": [ + { + "type": "Votes Switch", + "name": "New Votes Switch", + "config": "{}", + "project": "Governance", + "votesSwitch": [], + "claimVotesSwitch": [ + { + "type": "Claim Votes Switch", + "name": "New Claim Votes Switch", + "config": "{}", + "project": "Governance", + "claimVotesSwitch": [], + "positionClaimVotes": [], + "assetClaimVotes": [], + "featureClaimVotes": [ + { + "type": "Feature Claim Vote", + "name": "Luis-Fernando-Molina Feature X Data Mining", + "config": "{}", + "project": "Governance", + "id": "4381f059-44c8-4843-9cac-8a7cf41fa14c", + "savedPayload": { + "position": { + "x": 31287.76563485153, + "y": 24478.98346340369 + }, + "targetPosition": { + "x": 31031.973585545304, + "y": 24322.233893988905 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Feature Contribution Claim", + "name": "Feature X Data Mining", + "id": "edf1a5c9-7802-4856-918c-3cd5a7a9caf7" + } + } + } + ], + "id": "d69739f9-958e-480e-95e3-a72bb5f6ceab", + "savedPayload": { + "position": { + "x": 31031.973585545304, + "y": 24322.233893988905 + }, + "targetPosition": { + "x": 30776.181536239077, + "y": 24165.48432457412 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "New Weight Votes Switch", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Superalgos Pools", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Software Projects Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Foundations Project Pool", + "config": "{}", + "project": "Governance", + "id": "e175d788-58bf-4e7e-b241-219e642626c1", + "savedPayload": { + "position": { + "x": 29469.71415514045, + "y": 24175.87089878627 + }, + "targetPosition": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Foundations Project", + "id": "2207c69c-ee9d-4453-8bf4-582d79b4b635" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "TensorFlow Project Pool", + "config": "{}", + "project": "Governance", + "id": "9e731819-36c2-493e-a181-1bce1066ab02", + "savedPayload": { + "position": { + "x": 29364.08916004367, + "y": 24289.70757007284 + }, + "targetPosition": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "TensorFlow Project", + "id": "ea854cf8-47cd-43f0-b58a-13e61ae3106d" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Governance Project Pool", + "config": "{}", + "project": "Governance", + "id": "b9b698ad-89cf-495b-a205-bd1d699ef615", + "savedPayload": { + "position": { + "x": 29215.696895371966, + "y": 24335.480521740872 + }, + "targetPosition": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Governance Project", + "id": "3c80032c-51a8-4fd8-ab65-cf219c03ce95" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Education Project Pool", + "config": "{}", + "project": "Governance", + "id": "47153990-e35f-4abb-a41f-507253e2532b", + "savedPayload": { + "position": { + "x": 29064.29894860715, + "y": 24300.924928355733 + }, + "targetPosition": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Education Project", + "id": "0a79ec65-6f67-4c18-823f-48a6d0494a81" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Ethereum Project Pool", + "config": "{}", + "project": "Governance", + "id": "406251f2-f7ac-49c0-b320-10ae252c688f", + "savedPayload": { + "position": { + "x": 28950.46227732058, + "y": 24195.299933258953 + }, + "targetPosition": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Ethereum Project", + "id": "f51d23aa-742c-40d4-b000-2b90c3ae197c" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "70444a5d-5ca6-4c62-a308-94bb37b9c100", + "savedPayload": { + "position": { + "x": 29204.479537089068, + "y": 24035.69031030435 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Software Projects", + "id": "a987f1d3-fc8d-4b7c-99dd-77f15a32f37d" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Marketing Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Collective Rewards Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "First Exchange Listing The Token Pool", + "config": "{}", + "project": "Governance", + "id": "1bebdae3-186d-4120-825b-8cb43f85921f", + "savedPayload": { + "position": { + "x": 29285.029970013293, + "y": 24550.361772526794 + }, + "targetPosition": { + "x": 29106.88391434124, + "y": 24308.982438596795 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "First Exchange Listing The Token", + "id": "6a456247-13b7-41f2-80b3-957c1af55009" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "10K Stars on Github Pool", + "config": "{}", + "project": "Governance", + "id": "6d543b8e-4011-4ba9-a1f1-31bb60e66e9e", + "savedPayload": { + "position": { + "x": 28986.916307045318, + "y": 24583.951115357788 + }, + "targetPosition": { + "x": 29106.88391434124, + "y": 24308.982438596795 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "10K Stars on Github", + "id": "5bbe5a09-fe32-4802-8e14-d06615a24510" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "23e1ffb3-84e1-4032-acca-a310168c48d1", + "savedPayload": { + "position": { + "x": 29106.88391434124, + "y": 24308.982438596795 + }, + "targetPosition": { + "x": 29073.294571510247, + "y": 24010.868775628824 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Collective Rewards", + "id": "95431b88-cbff-459c-a707-fd3518e79c73" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Assets Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Marketing Assets Pool", + "config": "{}", + "project": "Governance", + "id": "a5603f0b-e1e6-4295-ad37-17000fc5c399", + "savedPayload": { + "position": { + "x": 28590.53590365025, + "y": 24367.160886972928 + }, + "targetPosition": { + "x": 28831.915237580248, + "y": 24189.014831300876 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Marketing Assets", + "id": "6b4bee15-622d-4df6-9662-4d7b8d44f198" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "4609f39f-5099-49b5-a57d-3b49ef849df7", + "savedPayload": { + "position": { + "x": 28831.915237580248, + "y": 24189.014831300876 + }, + "targetPosition": { + "x": 29073.294571510247, + "y": 24010.868775628824 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Assets", + "id": "ab43c779-d6d6-451d-a444-cfb8b68df07e" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "afe57422-eb5c-454c-9df0-02b19b5c6d98", + "savedPayload": { + "position": { + "x": 29073.294571510247, + "y": 24010.868775628824 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Marketing", + "id": "85dbdcb9-5b59-432e-86a0-fab37e20a55d" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Education Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Production Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Creating Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Blog-Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "408ed8b9-8c23-45c1-8a03-1425472d82fb", + "savedPayload": { + "position": { + "x": 29193.8171481856, + "y": 24637.66099312892 + }, + "targetPosition": { + "x": 28922.560425424857, + "y": 24509.521263313763 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Blog-Tutorials", + "id": "0548fbd2-7904-481a-a33d-16ef93707276" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "In-App-Docs Pool", + "config": "{}", + "project": "Governance", + "id": "39184eb1-7092-4966-b918-e5f773f10fe6", + "savedPayload": { + "position": { + "x": 29066.69308055866, + "y": 24772.629183612793 + }, + "targetPosition": { + "x": 28922.560425424857, + "y": 24509.521263313763 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "In-App-Docs", + "id": "14175310-1a9c-4f4b-89e2-aabe4507932a" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "In-App-Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "4ad2fcb8-1e45-4355-821b-c26017171253", + "savedPayload": { + "position": { + "x": 28884.51523755937, + "y": 24807.099091251734 + }, + "targetPosition": { + "x": 28922.560425424857, + "y": 24509.521263313763 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "In-App-Tutorials", + "id": "64b19ffc-0240-46cd-804b-b57d25195f64" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Video-Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "299c8fda-52e7-492f-9fdc-6f60c117ba59", + "savedPayload": { + "position": { + "x": 28716.869363216327, + "y": 24727.90438291674 + }, + "targetPosition": { + "x": 28922.560425424857, + "y": 24509.521263313763 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Video-Tutorials", + "id": "4d9474e1-e58f-4563-a1c2-e89533bc451e" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "11213396-1e11-49dd-a2fd-4bc5dcf6079c", + "savedPayload": { + "position": { + "x": 28922.560425424857, + "y": 24509.521263313763 + }, + "targetPosition": { + "x": 28866.786943275984, + "y": 24214.751321343778 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Creating", + "id": "e8c86964-e87d-4490-96ad-4bf4be249d51" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Translating Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "In-App-Docs Pool", + "config": "{}", + "project": "Governance", + "id": "e849933c-e1c3-43fd-ab4c-6ba5163b1ff0", + "savedPayload": { + "position": { + "x": 28616.976398256418, + "y": 24709.59868388157 + }, + "targetPosition": { + "x": 28639.395426332347, + "y": 24410.437544727214 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "In-App-Docs", + "id": "5737235d-c74f-4247-b870-b52428b5576f" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "In-App-Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "cbba8d41-0e18-49c4-81a6-aaa35db061e7", + "savedPayload": { + "position": { + "x": 28412.00390938871, + "y": 24606.12376811065 + }, + "targetPosition": { + "x": 28639.395426332347, + "y": 24410.437544727214 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "In-App-Tutorials", + "id": "abe07b52-de21-44da-a989-f52067f508df" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Video-Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "81916bb9-0cc1-4e45-a3c7-dd61dbb45857", + "savedPayload": { + "position": { + "x": 28340.23428717799, + "y": 24388.018516651286 + }, + "targetPosition": { + "x": 28639.395426332347, + "y": 24410.437544727214 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Video-Tutorials", + "id": "fb52e785-fa45-4522-8478-b0d039525b4a" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "03177864-a507-4b91-8983-0c367ff90ec2", + "savedPayload": { + "position": { + "x": 28639.395426332347, + "y": 24410.437544727214 + }, + "targetPosition": { + "x": 28866.786943275984, + "y": 24214.751321343778 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Translating", + "id": "1dc0d3a0-4a11-43c2-8c53-6b9e86cb0d01" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "52b35a1e-b412-46b0-b959-96481f6819ea", + "savedPayload": { + "position": { + "x": 28866.786943275984, + "y": 24214.751321343778 + }, + "targetPosition": { + "x": 28965.870661862533, + "y": 23931.586322251267 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Production", + "id": "58feb67b-074a-4373-8cc1-9219851b251a" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Consumption Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Completing Tutorials Pool", + "config": "{}", + "project": "Governance", + "id": "1a477b35-cc49-4851-8db8-167c63a014fb", + "savedPayload": { + "position": { + "x": 28443.70920294891, + "y": 24183.046027783577 + }, + "targetPosition": { + "x": 28671.100719892547, + "y": 23987.35980440014 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Completing Tutorials", + "id": "0bfaeebd-a900-4e6e-b62c-3387e4e7baec" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Reading the Docs Pool", + "config": "{}", + "project": "Governance", + "id": "43a07b0b-b854-4d43-a489-351b012f7905", + "savedPayload": { + "position": { + "x": 28387.935720800037, + "y": 23888.27608581359 + }, + "targetPosition": { + "x": 28671.100719892547, + "y": 23987.35980440014 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Reading the Docs", + "id": "c3bee026-075f-48db-92df-fc599cce744d" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "1b5667a6-9668-46a8-9a3e-fa6c9fafc085", + "savedPayload": { + "position": { + "x": 28671.100719892547, + "y": 23987.35980440014 + }, + "targetPosition": { + "x": 28965.870661862533, + "y": 23931.586322251267 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Consumption", + "id": "8a133a29-c678-4da0-8408-1e7f87d9dfa7" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "6897de02-12f0-4af6-8adb-971661a08952", + "savedPayload": { + "position": { + "x": 28965.870661862533, + "y": 23931.586322251267 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Education", + "id": "86787666-908c-4b27-8265-cd460732030f" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Management Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Management Pool", + "config": "{}", + "project": "Governance", + "id": "945dec69-2bfa-460a-be36-708e643880cd", + "savedPayload": { + "position": { + "x": 28613.706683032728, + "y": 23891.191525929346 + }, + "targetPosition": { + "x": 28903.48443091945, + "y": 23813.545812398588 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Management", + "id": "5d878af1-e32c-4458-8fb7-98df55f1e54a" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "2763bc74-2d10-4d24-b244-61c5ba3e3b6c", + "savedPayload": { + "position": { + "x": 28903.48443091945, + "y": 23813.545812398588 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Management", + "id": "a2acb2b1-c88f-47f2-b31b-b0cde52801ac" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Features Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Features Pool", + "config": "{}", + "project": "Governance", + "id": "90e540c0-5853-46cb-b582-13c7084f6ab4", + "savedPayload": { + "position": { + "x": 28603.7222948662, + "y": 23624.353134570083 + }, + "targetPosition": { + "x": 28898.492236836184, + "y": 23680.126616718957 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Features", + "id": "2d34ec1b-e281-4163-a44b-6ac33a54e002" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "826c6b37-abe3-4753-8811-51a609886513", + "savedPayload": { + "position": { + "x": 28898.492236836184, + "y": 23680.126616718957 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Features", + "id": "8c3175a1-17aa-4e27-bcbe-063468ecc87e" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Programs Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [ + { + "type": "Weight Votes Switch", + "name": "Referrals Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Referrals Rewards Pool", + "config": "{}", + "project": "Governance", + "id": "f619a49b-098f-4625-b240-194da7810d93", + "savedPayload": { + "position": { + "x": 28549.809812101244, + "y": 23975.15295191066 + }, + "targetPosition": { + "x": 28694.925478232817, + "y": 23712.585925338033 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Referrals Rewards", + "id": "2e9dff69-e407-4ccb-9a42-e4a476e28d7c" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Referrals Bonus Pool", + "config": "{}", + "project": "Governance", + "id": "069a16f4-d8af-4170-bf3f-46aff6448644", + "savedPayload": { + "position": { + "x": 28394.977929958994, + "y": 23718.195585267305 + }, + "targetPosition": { + "x": 28694.925478232817, + "y": 23712.585925338033 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Referrals Bonus", + "id": "af1984a3-465b-48ed-9944-c101a8ed376c" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "649912b1-ae33-4c79-a33b-16eeeeda5f7e", + "savedPayload": { + "position": { + "x": 28694.925478232817, + "y": 23712.585925338033 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Referrals Program", + "id": "9f94d0e0-ddf7-4e04-8a3c-9485c09e079d" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Support Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Support Rewards Pool", + "config": "{}", + "project": "Governance", + "id": "1b751462-8459-4db8-a923-7e8290f530a5", + "savedPayload": { + "position": { + "x": 28420.684152268223, + "y": 23789.513663606256 + }, + "targetPosition": { + "x": 28655.23359700863, + "y": 23602.466723048634 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Support Rewards", + "id": "c41497c5-7440-4ebd-aabb-fbc3d022136b" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Support Bonus Pool", + "config": "{}", + "project": "Governance", + "id": "4edb4e47-0596-4a25-8910-ce36f70d849e", + "savedPayload": { + "position": { + "x": 28375.97147241537, + "y": 23492.864415738717 + }, + "targetPosition": { + "x": 28655.23359700863, + "y": 23602.466723048634 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Support Bonus", + "id": "6625953a-6026-4686-9091-2796fd08b9a7" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "a9da1c01-210d-4ae7-a8ae-0dde216427c9", + "savedPayload": { + "position": { + "x": 28655.23359700863, + "y": 23602.466723048634 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Support Program", + "id": "174e7d3b-fe3c-4fb1-825c-4ea488d82171" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Mentorship Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Mentorship Rewards Pool", + "config": "{}", + "project": "Governance", + "id": "e0c475b3-af55-41b2-b8ab-89207ef51d81", + "savedPayload": { + "position": { + "x": 28372.42867805662, + "y": 23568.591074000546 + }, + "targetPosition": { + "x": 28660.703874640152, + "y": 23485.540420573092 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Mentorship Rewards", + "id": "53ddcc36-f693-4193-8284-999a88f1c944" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Mentorship Participation Bonus Pool", + "config": "{}", + "project": "Governance", + "id": "22240ff2-7098-4013-8c7a-d158527ba0d0", + "savedPayload": { + "position": { + "x": 28444.642300679312, + "y": 23277.41210376453 + }, + "targetPosition": { + "x": 28660.703874640152, + "y": 23485.540420573092 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Mentorship Participation Bonus", + "id": "ff1e4a84-3363-4348-ad15-31a34898fa82" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "778b0d8f-b0b3-4295-b53b-b69e74abba5d", + "savedPayload": { + "position": { + "x": 28660.703874640152, + "y": 23485.540420573092 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Mentorship Program", + "id": "8b3714a0-3bf2-491e-8ffc-9c4286446382" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Claims Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "824f1346-b49f-47c7-9d01-2e6f0cc403a3", + "savedPayload": { + "position": { + "x": 28710.50351094617, + "y": 23379.607987523734 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Claims Program", + "id": "5bd09ac2-6c9f-4a7d-a547-c05a8a1e98e2" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Voting Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Voting Bonus Pool", + "config": "{}", + "project": "Governance", + "id": "b582bead-c9bb-41e2-9dd1-bd6d6ce99f26", + "savedPayload": { + "position": { + "x": 28642.21908059167, + "y": 23043.839309909075 + }, + "targetPosition": { + "x": 28797.05096273392, + "y": 23300.79667655243 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Voting Bonus", + "id": "9eb846a4-effb-4380-9487-1a82011b0488" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "e402422d-6fe6-4655-97a1-3b4c1579d442", + "savedPayload": { + "position": { + "x": 28797.05096273392, + "y": 23300.79667655243 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Voting Program", + "id": "80d4f08f-bb7f-48a2-9cef-be12befcac2e" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Delegation Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Delegation Bonus Pool", + "config": "{}", + "project": "Governance", + "id": "9a5d6e82-f4e8-45e4-bc53-f656a6ecc3ad", + "savedPayload": { + "position": { + "x": 28862.457485170467, + "y": 22964.455547460704 + }, + "targetPosition": { + "x": 28907.17016502332, + "y": 23261.104795328243 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Delegation Bonus", + "id": "24e62dd3-4d7b-4eba-b401-493c155d85d0" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "00b389bd-d693-4278-bd1f-254d6c924d23", + "savedPayload": { + "position": { + "x": 28907.17016502332, + "y": 23261.104795328243 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Delegation Program", + "id": "f09429a2-3f6c-4210-bb73-0c8efd254c82" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Staking Program Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Staking Rewards Pool", + "config": "{}", + "project": "Governance", + "id": "c1ea3da7-aaa2-475c-ae29-51212262ea38", + "savedPayload": { + "position": { + "x": 29096.31009012155, + "y": 22975.396102723746 + }, + "targetPosition": { + "x": 29024.09646749886, + "y": 23266.575072959764 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Staking Rewards", + "id": "d2cf4c65-b4bd-4fa8-b0da-f73a38b8419a" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "e589c4b6-e752-433c-abc7-c1ff97ffcb86", + "savedPayload": { + "position": { + "x": 29024.09646749886, + "y": 23266.575072959764 + }, + "targetPosition": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Staking Program", + "id": "68e3f570-4156-4be6-8881-c526a06f85d0" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "398a7fe7-1e5c-40dc-b60e-1d9ad7019f83", + "savedPayload": { + "position": { + "x": 28951.88284487617, + "y": 23557.754043195782 + }, + "targetPosition": { + "x": 29193.26217880617, + "y": 23735.90009886783 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Programs", + "id": "4fbb05ee-d7a0-43a7-9983-9fae7a7e4848" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "e059f5c4-9132-4d76-9f3e-1060658fa704", + "savedPayload": { + "position": { + "x": 31185.66090036391, + "y": 24596.985540201556 + }, + "targetPosition": { + "x": 30952.51711192682, + "y": 24408.189422886604 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": true, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pools", + "name": "Superalgos", + "id": "6f0aed87-db13-4818-bfe6-68abc463ebec" + } + } + } + ], + "poolWeightVotes": [], + "assetWeightVotes": [], + "featureWeightVotes": [ + { + "type": "Feature Weight Vote", + "name": "Superalgos Data Mining Feature X", + "config": "{}", + "project": "Governance", + "id": "7607658c-f3ad-42de-a316-35dd052e0477", + "savedPayload": { + "position": { + "x": 31060.02749679041, + "y": 24688.263550835763 + }, + "targetPosition": { + "x": 30952.51711192682, + "y": 24408.189422886604 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Feature", + "name": "Feature X", + "id": "1b9dd977-f388-4434-a3f9-2e7a10726848" + } + } + } + ], + "positionWeightVotes": [], + "id": "1d398124-3f36-40a1-8b3b-6c77ad489b92", + "savedPayload": { + "position": { + "x": 30952.51711192682, + "y": 24408.189422886604 + }, + "targetPosition": { + "x": 30776.181536239077, + "y": 24165.48432457412 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "userProfileVotesSwitch": [ + { + "type": "User Profile Votes Switch", + "name": "New User Profile Votes Switch", + "config": "{}", + "project": "Governance", + "userProfileVotesSwitch": [], + "userProfileVote": [ + { + "type": "User Profile Vote", + "name": "Julian-Molina", + "config": "{}", + "project": "Governance", + "id": "cb86dfcf-6af1-4c53-afbe-442848706b9c", + "savedPayload": { + "position": { + "x": 30916.248754552624, + "y": 24748.906276812726 + }, + "targetPosition": { + "x": 30846.21514539585, + "y": 24457.195300693424 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "User Profile", + "name": "Julian-Molina", + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" + } + } + } + ], + "id": "67805814-d2e1-4f8e-bdeb-6a46cc29ceff", + "savedPayload": { + "position": { + "x": 30846.21514539585, + "y": 24457.195300693424 + }, + "targetPosition": { + "x": 30776.181536239077, + "y": 24165.48432457412 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "id": "2b8d3ce7-515c-44ad-8d80-3c2be6d7736f", + "savedPayload": { + "position": { + "x": 30776.181536239077, + "y": 24165.48432457412 + }, + "targetPosition": { + "x": 30599.845960551334, + "y": 23922.77922626164 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "tokensBonus": { + "type": "Tokens Bonus", + "name": "New Tokens Bonus", + "project": "Governance", + "id": "e9c0e495-7985-4381-bf75-865d87289038", + "savedPayload": { + "position": { + "x": 30631.204499531632, + "y": 24221.13579487212 + }, + "targetPosition": { + "x": 30599.845960551334, + "y": 23922.77922626164 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "d5ed432e-78bf-432e-be3b-8649932f7a65", + "savedPayload": { + "position": { + "x": 30599.845960551334, + "y": 23922.77922626164 + }, + "targetPosition": { + "x": 30492.335575687743, + "y": 23642.70509831248 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 + "id": "91013892-d9c9-4ca4-8404-7ceb90dfcf1b", + "savedPayload": { + "position": { + "x": 30492.335575687743, + "y": 23642.70509831248 + }, + "targetPosition": { + "x": 30316, + "y": 23399.999999999996 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + { + "type": "Token Power Switch", + "name": "Stacking", + "config": "{}", + "project": "Governance", + "tokenPowerSwitch": [], + "stackingProgram": { + "type": "Staking Program", + "name": "New Staking Program", + "config": "{}", + "project": "Governance", + "tokensAwarded": { + "type": "Tokens Awarded", + "name": "New Tokens Awarded", + "project": "Governance", + "id": "928e9ccb-1e90-48a9-af77-b3089225fc4f", + "savedPayload": { + "position": { + "x": 29786.993272936772, + "y": 24128.115294937445 + }, + "targetPosition": { + "x": 29963.328848624515, + "y": 23885.410196624962 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "b046f4e4-40b1-4e47-8fed-75a6a5c6029d", + "savedPayload": { + "position": { + "x": 29963.328848624515, + "y": 23885.410196624962 + }, + "targetPosition": { + "x": 30139.664424312257, + "y": 23642.70509831248 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } }, - "uiObject": { - "isRunning": false + "id": "e5337d8d-f495-4bc5-a42a-08e6c8b96b4b", + "savedPayload": { + "position": { + "x": 30139.664424312257, + "y": 23642.70509831248 + }, + "targetPosition": { + "x": 30316, + "y": 23399.999999999996 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + { + "type": "Token Power Switch", + "name": "Delegation", + "config": "{}", + "project": "Governance", + "tokenPowerSwitch": [], + "delegationProgram": { + "type": "Delegation Program", + "name": "New Delegation Program", + "config": "{}", + "project": "Governance", + "delegatePowerSwitch": [ + { + "type": "Delegate Power Switch", + "name": "New Delegate Power Switch", + "config": "{}", + "project": "Governance", + "delegatePowerSwitch": [ + { + "type": "Delegate Power Switch", + "name": "New Delegate Power Switch", + "config": "{}", + "project": "Governance", + "delegatePowerSwitch": [], + "userDelegates": [], + "id": "b78715ee-cbcf-4fce-914a-d3efa55d7849", + "savedPayload": { + "position": { + "x": 29228.97836235955, + "y": 23477.702492528017 + }, + "targetPosition": { + "x": 29451.92181000277, + "y": 23276.96331062036 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + { + "type": "Delegate Power Switch", + "name": "New Delegate Power Switch", + "config": "{}", + "project": "Governance", + "delegatePowerSwitch": [], + "userDelegates": [ + { + "type": "User Delegate", + "name": "Julian-Molina", + "config": "{}", + "project": "Governance", + "id": "d684a95b-fc8a-4545-8db5-601128a924cf", + "savedPayload": { + "position": { + "x": 28873.160574894082, + "y": 23246.631719553203 + }, + "targetPosition": { + "x": 29166.604855114223, + "y": 23184.258212307876 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "User Profile", + "name": "Julian-Molina", + "id": "1fd95e41-4b22-48d5-be3a-904c37afcb11" + } + } + }, + { + "type": "User Delegate", + "name": "", + "config": "{}", + "project": "Governance", + "id": "bfb493fb-ac94-4be4-9433-38c24bb5f254", + "savedPayload": { + "position": { + "x": 28965.865673206565, + "y": 22961.314764664658 + }, + "targetPosition": { + "x": 29166.604855114223, + "y": 23184.258212307876 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + } + ], + "id": "477c0363-96ff-464c-bdda-ed40fa20df12", + "savedPayload": { + "position": { + "x": 29166.604855114223, + "y": 23184.258212307876 + }, + "targetPosition": { + "x": 29451.92181000277, + "y": 23276.96331062036 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "userDelegates": [], + "id": "681ff42a-d5af-4fed-971e-935398dac2aa", + "savedPayload": { + "position": { + "x": 29451.92181000277, + "y": 23276.96331062036 + }, + "targetPosition": { + "x": 29745.36609022291, + "y": 23214.58980337503 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "tokensBonus": { + "type": "Tokens Bonus", + "name": "New Tokens Bonus", + "project": "Governance", + "id": "e4be3ce4-3569-4d97-8d54-95bb4cfcb0c5", + "savedPayload": { + "position": { + "x": 29544.62690831525, + "y": 22991.646355731813 + }, + "targetPosition": { + "x": 29745.36609022291, + "y": 23214.58980337503 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "3ff7f410-911d-4cb8-9094-d816dee4dccb", + "savedPayload": { + "position": { + "x": 29745.36609022291, + "y": 23214.58980337503 + }, + "targetPosition": { + "x": 30030.683045111455, + "y": 23307.294901687514 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + "id": "a1dc7a1b-dd1a-47dc-b274-a3d00712f711", + "savedPayload": { + "position": { + "x": 30030.683045111455, + "y": 23307.294901687514 + }, + "targetPosition": { + "x": 30316, + "y": 23399.999999999996 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } } } - }, + ], "id": "f8182a9c-f830-4ec1-a238-ac3a5efd69e6", "savedPayload": { "position": { diff --git a/Projects/Governance/Schemas/App-Schema/token-power-switch.json b/Projects/Governance/Schemas/App-Schema/token-power-switch.json index a06248a63..4a22cfa57 100644 --- a/Projects/Governance/Schemas/App-Schema/token-power-switch.json +++ b/Projects/Governance/Schemas/App-Schema/token-power-switch.json @@ -8,6 +8,13 @@ "iconPathOn": "configuration", "iconPathOff": "configuration" }, + { + "action": "Add UI Object", + "actionProject": "Foundations", + "actionFunction": "payload.executeAction", + "label": "Add Token Power Switch", + "relatedUiObject": "Token Power Switch" + }, { "action": "Add UI Object", "actionProject": "Foundations", @@ -95,47 +102,53 @@ }, "propertyNameAtParent": "tokenPowerSwitch", "childrenNodesProperties": [ + { + "name": "tokenPowerSwitch", + "type": "array", + "childType": "Token Power Switch", + "autoAdd": false + }, { "name": "referralProgram", "type": "node", "childType": "Referral Program", - "autoAdd": true + "autoAdd": false }, { "name": "supportProgram", "type": "node", "childType": "Support Program", - "autoAdd": true + "autoAdd": false }, { "name": "mentorshipProgram", "type": "node", "childType": "Mentorship Program", - "autoAdd": true + "autoAdd": false }, { "name": "claimsProgram", "type": "node", "childType": "Claims Program", - "autoAdd": true + "autoAdd": false }, { "name": "votingProgram", "type": "node", "childType": "Voting Program", - "autoAdd": true + "autoAdd": false }, { "name": "stackingProgram", "type": "node", "childType": "Staking Program", - "autoAdd": true + "autoAdd": false }, { "name": "delegationProgram", "type": "node", "childType": "Delegation Program", - "autoAdd": true + "autoAdd": false } ] } \ No newline at end of file diff --git a/Projects/Governance/UI/Function-Libraries/TokenPower.js b/Projects/Governance/UI/Function-Libraries/TokenPower.js index d9ce44578..90ff35b7d 100644 --- a/Projects/Governance/UI/Function-Libraries/TokenPower.js +++ b/Projects/Governance/UI/Function-Libraries/TokenPower.js @@ -82,19 +82,6 @@ function newGovernanceFunctionLibraryTokenPower() { userProfile.payload.uiObject.setErrorMessage("You need to have a Token Power Switch child node.") return } - if (userProfile.tokenPowerSwitch.referralProgram === undefined) { - userProfile.tokenPowerSwitch.payload.uiObject.setErrorMessage("You need to have a Referral Program child node.") - return - } - if (userProfile.tokenPowerSwitch.mentorshipProgram === undefined) { - userProfile.tokenPowerSwitch.payload.uiObject.setErrorMessage("You need to have a Mentorship Program child node.") - return - } - if (userProfile.tokenPowerSwitch.supportProgram === undefined) { - userProfile.tokenPowerSwitch.payload.uiObject.setErrorMessage("You need to have a Spupport Program child node.") - return - } - distributeTokenPower(userProfile, tokenPower) } diff --git a/Projects/Governance/UI/Utilities/DecendentProgram.js b/Projects/Governance/UI/Utilities/DecendentProgram.js index 23aba5cee..ff8eff941 100644 --- a/Projects/Governance/UI/Utilities/DecendentProgram.js +++ b/Projects/Governance/UI/Utilities/DecendentProgram.js @@ -42,39 +42,43 @@ function newFoundationsUtilitiesDecendentProgram() { let userProfile = userProfiles[i] if (userProfile.tokenPowerSwitch === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName] === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload === undefined) { continue } + let program = UI.projects.governance.utilities.validations.onlyOneProgram(userProfile, programNodeType) + if (program === undefined) { continue } + if (program.payload === undefined) { continue } - resetProgram(userProfile.tokenPowerSwitch[programPropertyName]) + resetProgram(program) } for (let i = 0; i < userProfiles.length; i++) { let userProfile = userProfiles[i] if (userProfile.tokenPowerSwitch === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName] === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload === undefined) { continue } + let program = UI.projects.governance.utilities.validations.onlyOneProgram(userProfile, programNodeType) + if (program === undefined) { continue } + if (program.payload === undefined) { continue } - validateProgram(userProfile.tokenPowerSwitch[programPropertyName]) + validateProgram(program, userProfile) } for (let i = 0; i < userProfiles.length; i++) { let userProfile = userProfiles[i] if (userProfile.tokenPowerSwitch === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName] === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload[programPropertyName].isActive === false) { continue } + let program = UI.projects.governance.utilities.validations.onlyOneProgram(userProfile, programNodeType) + if (program === undefined) { continue } + if (program.payload === undefined) { continue } + if (program.payload[programPropertyName].isActive === false) { continue } - distributeProgram(userProfile.tokenPowerSwitch[programPropertyName]) + distributeProgram(program) } for (let i = 0; i < userProfiles.length; i++) { let userProfile = userProfiles[i] if (userProfile.tokenPowerSwitch === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName] === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload === undefined) { continue } - if (userProfile.tokenPowerSwitch[programPropertyName].payload[programPropertyName].isActive === false) { continue } + let program = UI.projects.governance.utilities.validations.onlyOneProgram(userProfile, programNodeType) + if (program === undefined) { continue } + if (program.payload === undefined) { continue } + if (program.payload[programPropertyName].isActive === false) { continue } - calculateProgram(userProfile.tokenPowerSwitch[programPropertyName]) + calculateProgram(program) } function resetProgram(node) { @@ -123,17 +127,17 @@ function newFoundationsUtilitiesDecendentProgram() { } } - function validateProgram(node) { + function validateProgram(node, userProfile) { /* This program is not going to run unless the Profile has Tokens, and for that users needs to execute the setup procedure of signing their Github username with their private key. */ if ( - node.payload.parentNode.payload.parentNode.payload.blockchainTokens === undefined + userProfile.payload.blockchainTokens === undefined ) { node.payload[programPropertyName].isActive = false - node.payload.parentNode.payload.parentNode.payload.uiObject.setErrorMessage("You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.") + userProfile.payload.uiObject.setErrorMessage("You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.") return } /* @@ -143,7 +147,7 @@ function newFoundationsUtilitiesDecendentProgram() { at the top of the program pyramid.) */ if ( - node.payload.parentNode.payload.parentNode.payload.blockchainTokens < 1000000 && + userProfile.payload.blockchainTokens < 1000000 && (node[usersArrayPropertyName] === undefined || hasUsersDefined(node[usersArrayPropertyName]) === false) ) { node.payload[programPropertyName].isActive = false @@ -316,7 +320,7 @@ function newFoundationsUtilitiesDecendentProgram() { function drawUserNode(node, percentage) { if (node.payload !== undefined) { - const outgoingPowerText = parseFloat(node.payload[programPropertyName].outgoingPower.toFixed(2)).toLocaleString('en') + const outgoingPowerText = parseFloat(node.payload[programPropertyName].outgoingPower.toFixed(2)).toLocaleString('en') node.payload.uiObject.valueAngleOffset = 180 node.payload.uiObject.valueAtAngle = true @@ -344,7 +348,7 @@ function newFoundationsUtilitiesDecendentProgram() { node.payload.uiObject.statusAngleOffset = 0 node.payload.uiObject.statusAtAngle = false - node.payload.uiObject.setStatus(ownPowerText + ' Own Power' + ' - ' + incomingPowerText + ' Incoming Power' + '') + node.payload.uiObject.setStatus(ownPowerText + ' Own Power' + ' - ' + incomingPowerText + ' Incoming Power' + '') } if (node.tokensAwarded !== undefined && node.tokensAwarded.payload !== undefined) { diff --git a/Projects/Governance/UI/Utilities/Validations.js b/Projects/Governance/UI/Utilities/Validations.js new file mode 100644 index 000000000..e369bcbaa --- /dev/null +++ b/Projects/Governance/UI/Utilities/Validations.js @@ -0,0 +1,23 @@ +function newFoundationsUtilitiesValidations() { + let thisObject = { + onlyOneProgram: onlyOneProgram + } + + return thisObject + + function onlyOneProgram(userProfile, programNodeType) { + /* + Find all the nodes representing the current program. + */ + let programs = UI.projects.foundations.utilities.branches.nodeBranchToArray(userProfile, programNodeType) + if (programs !== undefined) { + if (programs.length > 1) { + userProfile.payload.uiObject.setErrorMessage('Only one ' + programNodeType + ' is allowed.') + return + } + if (programs.length === 1) { + return programs[0] + } + } + } +} \ No newline at end of file diff --git a/Projects/ProjectsSchema.json b/Projects/ProjectsSchema.json index fa8be55b1..b6cdffb1e 100644 --- a/Projects/ProjectsSchema.json +++ b/Projects/ProjectsSchema.json @@ -1044,6 +1044,11 @@ "name": "Bonus Program", "propertyName": "bonusProgram", "functionName": "newFoundationsUtilitiesBonusProgram" + }, + { + "name": "Validations", + "propertyName": "validations", + "functionName": "newFoundationsUtilitiesValidations" } ], "spaces": [