From fc716b9d95e24d9cb624169261a43d9d8306053c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 30 Aug 2021 12:08:00 +0200 Subject: [PATCH] Governance: Claims power refactoring --- Network/SocialGraphNetwokNode.js | 2 -- .../C/Claims/Claims-Power/claim-power.json | 19 +++++++++++++++++++ .../C/Claims/Claims-Power/claims-power.json | 19 ------------------- .../Claims/Claims-Program/claims-program.json | 2 +- ...ance-flow-003-how-claims-are-resolved.json | 16 ++++++++-------- ...nance-008-delegation-program-overview.json | 4 ++-- .../UI/Function-Libraries/ClaimsProgram.js | 2 +- .../UI/Spaces/Reports-Space/Claims.js | 2 +- 8 files changed, 32 insertions(+), 34 deletions(-) create mode 100644 Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claim-power.json delete mode 100644 Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claims-power.json diff --git a/Network/SocialGraphNetwokNode.js b/Network/SocialGraphNetwokNode.js index cf3bb416a..355a8fecc 100644 --- a/Network/SocialGraphNetwokNode.js +++ b/Network/SocialGraphNetwokNode.js @@ -78,7 +78,5 @@ NT.memory = { } } - - let bootstrapProcess = NT.modules.BOOTSTRAP.newBootstrap() bootstrapProcess.initialize() \ No newline at end of file diff --git a/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claim-power.json b/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claim-power.json new file mode 100644 index 000000000..7db67f4d1 --- /dev/null +++ b/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claim-power.json @@ -0,0 +1,19 @@ +{ + "type": "Claim Power", + "definition": { + "text": "Claim Power is the Token Power that goes into the Claims Program, and determines the number of tokens you are claiming with any of the existing types of claims: Position Contribution Claim, Feature Contribution Claim, and Asset Contribution Claim.", + "updated": 1624781372494 + }, + "paragraphs": [ + { + "style": "Block", + "text": "Content", + "updated": 1624781499321 + }, + { + "style": "Callout", + "text": "Claim Power is the Token Power that goes into the Claims Program, and determines the number of tokens you are claiming with any of the existing types of claims: Position Contribution Claim, Feature Contribution Claim, and Asset Contribution Claim.", + "updated": 1630254492262 + } + ] +} \ No newline at end of file diff --git a/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claims-power.json b/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claims-power.json deleted file mode 100644 index 44c1b75cf..000000000 --- a/Projects/Governance/Schemas/Docs-Concepts/C/Claims/Claims-Power/claims-power.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "Claims Power", - "definition": { - "text": "Claims Power is the Token Power that goes into the Claims Program, and determines the number of tokens you are claiming with any of the existing types of claims: Position Contribution Claim, Feature Contribution Claim, and Asset Contribution Claim.", - "updated": 1624781372494 - }, - "paragraphs": [ - { - "style": "Block", - "text": "Content", - "updated": 1624781499321 - }, - { - "style": "Callout", - "text": "Claims Power is the Token Power that goes into the Claims Program, and determines the number of tokens you are claiming with any of the existing types of claims: Position Contribution Claim, Feature Contribution Claim, and Asset Contribution Claim.", - "updated": 1630254492262 - } - ] -} \ No newline at end of file diff --git a/Projects/Governance/Schemas/Docs-Nodes/C/Claims/Claims-Program/claims-program.json b/Projects/Governance/Schemas/Docs-Nodes/C/Claims/Claims-Program/claims-program.json index 1e1dd531c..ee80b3e00 100644 --- a/Projects/Governance/Schemas/Docs-Nodes/C/Claims/Claims-Program/claims-program.json +++ b/Projects/Governance/Schemas/Docs-Nodes/C/Claims/Claims-Program/claims-program.json @@ -86,7 +86,7 @@ }, { "style": "List", - "text": "The Claims Power you drive into the node that places the claim.", + "text": "The Claim Power you drive into the node that places the claim.", "updated": 1630256658386 }, { diff --git a/Projects/Governance/Schemas/Docs-Topics/G/Governance/Governance-Flow/governance-flow-003-how-claims-are-resolved.json b/Projects/Governance/Schemas/Docs-Topics/G/Governance/Governance-Flow/governance-flow-003-how-claims-are-resolved.json index b23a14166..fab257b1a 100644 --- a/Projects/Governance/Schemas/Docs-Topics/G/Governance/Governance-Flow/governance-flow-003-how-claims-are-resolved.json +++ b/Projects/Governance/Schemas/Docs-Topics/G/Governance/Governance-Flow/governance-flow-003-how-claims-are-resolved.json @@ -3,18 +3,18 @@ "pageNumber": "3", "type": "How Claims are Resolved", "definition": { - "text": "These three concepts, Claims Power, Claim Votes, and Token Rewards are intimately related and make up the logic of the token distribution.", + "text": "These three concepts, Claim Power, Claim Votes, and Token Rewards are intimately related and make up the logic of the token distribution.", "updated": 1624781724176 }, "paragraphs": [ { "style": "Include", - "text": "Governance->Concept->Claims Power->Content", + "text": "Governance->Concept->Claim Power->Content", "updated": 1624781714508 }, { "style": "Text", - "text": "You control the flow of your Claims Power so that the appropriate number reaches the node with which you wish to present a claim. That is, you present claims for a specific number of tokens, determined by the Claims Power that reaches the corresponding claim node.", + "text": "You control the flow of your Claim Power so that the appropriate number reaches the node with which you wish to present a claim. That is, you present claims for a specific number of tokens, determined by the Claim Power that reaches the corresponding claim node.", "updated": 1624781792664 }, { @@ -23,7 +23,7 @@ }, { "style": "Callout", - "text": "When you place a claim on a definition node, you are declaring that you wish the Community to reward you with the number of tokens in your claim (Claims Power) for the work done on the concept embodied by the corresponding definition node." + "text": "When you place a claim on a definition node, you are declaring that you wish the Community to reward you with the number of tokens in your claim (Claim Power) for the work done on the concept embodied by the corresponding definition node." }, { "style": "Text", @@ -43,7 +43,7 @@ }, { "style": "List", - "text": "The total Claims Power in all existing claims may be equal, smaller, or greater than the Token Rewards available in the node." + "text": "The total Claim Power in all existing claims may be equal, smaller, or greater than the Token Rewards available in the node." }, { "style": "Text", @@ -56,7 +56,7 @@ }, { "style": "Text", - "text": "The flow of Voting Power into Claim Votes follows the same principles as the rest of the flows in the Voting Program. This means that Claim Votes have a specific Voting Power, pretty much like claims have a specific Claims Power.", + "text": "The flow of Voting Power into Claim Votes follows the same principles as the rest of the flows in the Voting Program. This means that Claim Votes have a specific Voting Power, pretty much like claims have a specific Claim Power.", "updated": 1624781873207 }, { @@ -81,11 +81,11 @@ }, { "style": "List", - "text": "When the sum of Voting Power of all Claim Votes associated with a claim is lesser than the Claims Power of the claim, the claim is not paid in full. The Token Rewards is capped by the total Voting Power of all Claim Votes. In other words, claims are paid up to the amount the Community decides with their Claim Votes." + "text": "When the sum of Voting Power of all Claim Votes associated with a claim is lesser than the Claim Power of the claim, the claim is not paid in full. The Token Rewards is capped by the total Voting Power of all Claim Votes. In other words, claims are paid up to the amount the Community decides with their Claim Votes." }, { "style": "List", - "text": "When Token Rewards are enough to pay all claims, then each claim is paid in full, as expected. In more precise, albeit complex terms, when Token Rewards are greater than the sum of Voting Power for any given number of claims, or the sum of Claims Power for any given number of claims, whichever is lesser, each claim gets the Token Reward equal to its Claims Power or equal to the Voting Power of associated Claim Votes, whichever is lesser. " + "text": "When Token Rewards are enough to pay all claims, then each claim is paid in full, as expected. In more precise, albeit complex terms, when Token Rewards are greater than the sum of Voting Power for any given number of claims, or the sum of Claim Power for any given number of claims, whichever is lesser, each claim gets the Token Reward equal to its Claim Power or equal to the Voting Power of associated Claim Votes, whichever is lesser. " }, { "style": "List", diff --git a/Projects/Governance/Schemas/Docs-Topics/I/Introduction/Introduction-to-Governance/introduction-to-governance-008-delegation-program-overview.json b/Projects/Governance/Schemas/Docs-Topics/I/Introduction/Introduction-to-Governance/introduction-to-governance-008-delegation-program-overview.json index 6140fca36..1c395e68e 100644 --- a/Projects/Governance/Schemas/Docs-Topics/I/Introduction/Introduction-to-Governance/introduction-to-governance-008-delegation-program-overview.json +++ b/Projects/Governance/Schemas/Docs-Topics/I/Introduction/Introduction-to-Governance/introduction-to-governance-008-delegation-program-overview.json @@ -9,12 +9,12 @@ "paragraphs": [ { "style": "Text", - "text": "This is another feature with characteristics inspired in liquid democracy, and also plays an important societal function: new Contributors need Claims Power to place their first claims, but — given that they are new to Superalgos — they may hold no tokens.", + "text": "This is another feature with characteristics inspired in liquid democracy, and also plays an important societal function: new Contributors need Claim Power to place their first claims, but — given that they are new to Superalgos — they may hold no tokens.", "updated": 1630056075583 }, { "style": "Text", - "text": "In such cases, new Contributors may ask their mentors to borrow some Token Power that they may turn into Claims Power to place their first few claims." + "text": "In such cases, new Contributors may ask their mentors to borrow some Token Power that they may turn into Claim Power to place their first few claims." }, { "style": "Callout", diff --git a/Projects/Governance/UI/Function-Libraries/ClaimsProgram.js b/Projects/Governance/UI/Function-Libraries/ClaimsProgram.js index 7c2d61174..eb70f7fba 100644 --- a/Projects/Governance/UI/Function-Libraries/ClaimsProgram.js +++ b/Projects/Governance/UI/Function-Libraries/ClaimsProgram.js @@ -457,7 +457,7 @@ function newGovernanceFunctionLibraryClaimsProgram() { node.payload.uiObject.statusAngleOffset = 0 node.payload.uiObject.statusAtAngle = false - node.payload.uiObject.setStatus(ownPowerText + ' Claims Power') + node.payload.uiObject.setStatus(ownPowerText + ' Claim Power') } } diff --git a/Projects/Governance/UI/Spaces/Reports-Space/Claims.js b/Projects/Governance/UI/Spaces/Reports-Space/Claims.js index 4a693249a..2765bb2fd 100644 --- a/Projects/Governance/UI/Spaces/Reports-Space/Claims.js +++ b/Projects/Governance/UI/Spaces/Reports-Space/Claims.js @@ -46,7 +46,7 @@ function newGovernanceReportsClaims() { }, { "name": "ownPower", - "label": "Claims Power", + "label": "Claim Power", "type": "number", "order": "descending", "textAlign": "center",