Skip to content

Commit

Permalink
feat: rename page title and make inline code the permission ids and f…
Browse files Browse the repository at this point in the history
…unction names
  • Loading branch information
clauBv23 committed Dec 11, 2024
1 parent a52f4b4 commit bc4c6d7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/docs/antora.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: token-voting
title: TokenVoting
title: Token Voting
version: 1.x
prerelease: false
nav:
Expand Down
32 changes: 16 additions & 16 deletions packages/contracts/docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:stem: latexmath

= TokenVoting Plugin
= Token Voting

== Description

Expand Down Expand Up @@ -106,47 +106,47 @@ For DAOs with existing non-governance tokens, these tokens can still be used wit
|===
| Permission ID | Where (Granted By) | Who (Granted To) | Condition | Functions

| EXECUTE_PERMISSION_ID
| `EXECUTE_PERMISSION_ID`
| DAO
| Plugin
| None
| execute
| `execute`

| UPDATE_VOTING_SETTINGS_PERMISSION_ID
| `UPDATE_VOTING_SETTINGS_PERMISSION_ID`
| Plugin
| DAO
| None
| updateVotingSettings, updateMinApprovals
| `updateVotingSettings, updateMinApprovals`

| SET_TARGET_CONFIG_PERMISSION_ID
| `SET_TARGET_CONFIG_PERMISSION_ID`
| Plugin
| DAO
| None
| setTargetConfig
| `setTargetConfig`

| SET_METADATA_PERMISSION_ID
| `SET_METADATA_PERMISSION_ID`
| Plugin
| DAO
| None
| setMetadata
| `setMetadata`

| CREATE_PROPOSAL_PERMISSION_ID
| `CREATE_PROPOSAL_PERMISSION_ID`
| Plugin
| Any Address
| VotingPowerCondition
| createProposal
| `VotingPowerCondition`
| `createProposal`

| EXECUTE_PROPOSAL_PERMISSION_ID
| `EXECUTE_PROPOSAL_PERMISSION_ID`
| Plugin
| Any Address
| None
| execute
| `execute`

| MINT_PERMISSION_ID
| `MINT_PERMISSION_ID`
| Associated Governance Token
| DAO
| None
| mint
| `mint`
|===

This setup ensures that the **TokenVoting** plugin is ready for operation immediately after installation, with all required contracts deployed and permissions configured.

0 comments on commit bc4c6d7

Please sign in to comment.