RankVotingWeightRegistry

circle-info

πŸ“‹ Contract Overview

Property
Value

πŸ“ File

src/RankVotingWeightRegistry.sol

πŸ”§ Type

Upgradeable UUPS Proxy

βš™οΈ Solidity

0.8.33

πŸ“œ License

MIT

circle-info

🎯 Purpose: Central registry managing voting weight multipliers for each membership rankβ€”ensuring consistent governance power across all activities.


βš™οΈ Technical Specifications

Property
Value

πŸ”„ Upgradeable

βœ… Yes (UUPS Proxy)

πŸ“Š Min Weight

1.00Γ— (10000 basis points)

πŸ“Š Max Weight

1.25Γ— (12500 basis points)

Inherits From

  • Initializable

  • AccessControlUpgradeable

  • UUPSUpgradeable


πŸ“Š Rank Weights

Rank
Token ID
Multiplier

🌱 Seeker

10

1.00Γ—

🌿 Apprentice

15

1.00Γ—

πŸ› οΈ Contributor

20

1.02Γ—

βš™οΈ Operator

30

1.05Γ—

πŸ”§ Specialist

35

1.05Γ—

πŸ‘· Crew Lead

40

1.08Γ—

πŸ“‹ Project Lead

50

1.10Γ—

🧭 Guide

60

1.12Γ—

πŸ‘₯ Community Lead

70

1.15Γ—

βš“ Anchor

80

1.18Γ—

πŸ–₯️ Platform Lead

82

1.18Γ—

πŸ›‘οΈ Guardian

90

1.22Γ—

πŸ“ˆ Strategist

91

1.22Γ—

πŸ›οΈ Steward

92

1.25Γ—

πŸ‘‘ Leadership Council

95

1.25Γ—

πŸ–ΌοΈ Framer

97

1.25Γ—

⭐ Founder

99

1.25Γ—


πŸ”§ Functions

πŸ‘οΈ Weight Queries

Get Weight by Rank

Returns: Weight in basis points (10000 = 1.0Γ—)

Get Weight for Member

Returns voting weight based on member's current rank.

Get All Weights


πŸ“œ Events & Errors


πŸ”— Governance Integration

circle-info

The Governance contract uses rank weights in voting power calculation.


πŸ”— Contract Interactions

Contract
Interaction

βš–οΈ Governance

Queries weights for voting power

Verifies member rank


chevron-rightπŸ’» Integration Exampleshashtag

Getting Member Weight

Getting All Weights

Checking Rank Validity


Governancechevron-rightDAOMembershipNFTchevron-rightAll Rankschevron-right

Last updated