Merge pull request #1082 from Luis-Fernando-Molina/next-version
Contribution: Governance Code added
This commit is contained in:
7 files changed
+21
-19
No files matched your search
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "Tokens Switch",
|
||||
"type": "Pool Class",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
@@ -11,8 +11,8 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Tokens Switch",
|
||||
"relatedUiObject": "Tokens Switch"
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -39,17 +39,17 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Pools->Tokens Switch->"
|
||||
"compatibleTypes": "->Pools->Pool Class->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Class->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "tokensSwitches",
|
||||
"propertyNameAtParent": "poolClasses",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "tokensSwitches",
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Tokens Switch",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Tokens Switch->Pool->"
|
||||
"compatibleTypes": "->Pool Class->Pool->"
|
||||
},
|
||||
"propertyNameAtParent": "poolWeightVotes"
|
||||
}
|
||||
@@ -11,8 +11,8 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Tokens Switch",
|
||||
"relatedUiObject": "Tokens Switch"
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -39,7 +39,7 @@
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Tokens Switch->Pool->"
|
||||
"compatibleTypes": "->Pool Class->Pool->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Positions->Assets->Features->"
|
||||
@@ -47,9 +47,9 @@
|
||||
"propertyNameAtParent": "pools",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "tokensSwitches",
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Tokens Switch",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Tokens Switch",
|
||||
"relatedUiObject": "Tokens Switch"
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
@@ -41,9 +41,9 @@
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "tokensSwitches",
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Tokens Switch",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -78,7 +78,6 @@ function newGovernancePoolsSpace() {
|
||||
token flow.
|
||||
*/
|
||||
if (
|
||||
node.type === 'Position' ||
|
||||
node.type === 'Asset' ||
|
||||
node.type === 'Feature'
|
||||
) { return }
|
||||
|
||||
@@ -188,7 +188,10 @@ function newGovernanceUserProfileSpace() {
|
||||
node.type === 'Asset' ||
|
||||
node.type === 'Asset Class' ||
|
||||
node.type === 'Feature' ||
|
||||
node.type === 'Feature Class'
|
||||
node.type === 'Feature Class' ||
|
||||
node.type === 'Position Contribution Claim' ||
|
||||
node.type === 'Asset Contribution Claim' ||
|
||||
node.type === 'Feature Contribution Claim'
|
||||
) {
|
||||
node.payload.uiObject.valueAngleOffset = 0
|
||||
node.payload.uiObject.valueAtAngle = false
|
||||
|
||||
Reference in new issue
Block a user