-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add permanence DAO space * Update icons * Update winner choice * Clean up debug code * Update * Update whitelist addresses * Hide proxy and snapshot for permanence * Add vote function for whitelist one person one vote * refactor, #1057 * fix: proxy check on proposal creation, #1057 * Show not member hint for whitelist * fix: create proposal button and vote button
- Loading branch information
Showing
30 changed files
with
1,001 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
const Accessibility = { | ||
PUBLIC: "public", | ||
SOCIETY: "society", | ||
WHITELIST: "whitelist", | ||
}; | ||
|
||
module.exports = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
const { Accessibility } = require("../../consts/space"); | ||
const { networks, strategies } = require("./consts"); | ||
|
||
const config = { | ||
id: "permanence", | ||
name: "Permanence", | ||
symbol: "DOT", | ||
decimals: 10, | ||
accessibility: Accessibility.WHITELIST, | ||
whitelist: [ | ||
// list addresses here to give them access to the space | ||
"1ZSPR3zNg5Po3obkhXTPR95DepNBzBZ3CyomHXGHK9Uvx6w", // William | ||
"1xzcLSwo7xBFkJYZiL4EHaqFpuPTkH641E3V43W4cuk1bX6", // PolkaBiz | ||
"12His7t3EJ38tjdBbivUzWQeaNCLKfMqtKp1Ed3xHMyCE9N3", // The Ionian Group | ||
"12s6UMSSfE2bNxtYrJc6eeuZ7UxQnRpUzaAh1gPQrGNFnE8h", // Polkadotters | ||
"13EDmaUe89xXocPppFmuoAZaCsckaJy3deAyVyiykk1zKQbF", // PMEI | ||
"14333MZvbGkcq5CZ8fYHZiFYwHNDaW3uiErDKMb7oqnupWXn", // Transistor | ||
"14gMJV95zwxUsFEZDSC8mtBVifS6SypKJkfBKANkMsLZdeVb", // Yongfeng Li | ||
"14Gn7SEmCgMX7Ukuppnw5TRjA7pao2HFpuJo39frB42tYLEh", // EzioRed | ||
"15fTH34bbKGMUjF1bLmTqxPYgpg481imThwhWcQfCyktyBzL", // Helikon | ||
"167YoKNriVtP4Nxk9F9GRV7HTKu5VnxaRq1pKMANAnmmTY9F", // José Rabasso | ||
], | ||
networks: [ | ||
{ | ||
network: networks.polkadot, | ||
ss58Format: 0, | ||
assets: [ | ||
{ | ||
symbol: "DOT", | ||
decimals: 10, | ||
}, | ||
], | ||
}, | ||
], | ||
weightStrategy: [strategies.onePersonOneVote], | ||
version: "4", | ||
spaceIcon: "permanence.svg", | ||
seoCoverFilename: "permanence_dao.jpg", | ||
admins: [], | ||
}; | ||
|
||
module.exports = { | ||
permanenceConfig: config, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.