Core Analysis of Sputnik DAO: How Proposal Mechanisms Drive Decentralization Governance in the NEAR Ecosystem

robot
Abstract generation in progress

Rust smart contracts Development Diary (11): Analysis of Sputnik DAO Proposal Mechanism

Sputnik-DAO, as the infrastructure of the NEAR Protocol, is driving the NEAR ecosystem towards decentralization. Currently, the platform has facilitated the establishment of numerous decentralized autonomous communities for NEAR projects and provides a complete, flexible, and efficient community decision-making governance solution.

Sputnikdaov2 is a smart contract used for governance voting in the Sputnik-DAO community. This article will introduce the core concept of the contract: Proposal (, and in subsequent articles, it will discuss the related DAO community governance model )Policy (.

![])https://img-cdn.gateio.im/webp-social/moments-84ee9ca630a4cdcdb0d2eb63450a7cf4.webp(

1. Proposal Initiation

Members of the Sputnik-DAO community can initiate new proposals by calling the add_proposal)( method of the sputnikdaov2 smart contract. Proposers need to provide detailed information about the proposal)ProposalInput(, including:

  • Proposal text description ) Description (
  • Proposal type )kind (

The add_proposal)( method will perform relevant verification and processing, generating a complete proposal )Proposal(, and binding it to a unique proposal_id, adding it to the proposal pool maintained globally by the contract.

The proposal contains the following attributes:

  • 提案者)proposer(
  • Proposal Status )status(
  • 发起时间)submission_time(
  • Voting status ) vote_counts, votes (

It should be noted that Sputnik-DAO requires proposers to stake a certain amount of NEAR tokens as collateral. This deposit will be refunded to the proposer when the proposal concludes normally.

![])https://img-cdn.gateio.im/webp-social/moments-427716593b21fa32b47855ceb5e101fc.webp(

2. Proposal Status

Proposals in Sputnik-DAO may go through various states:

  • InProgress: Initial status, in the voting phase
  • Approved: The proposal has been approved
  • Rejected: Proposal rejected
  • Removed: The proposal has been removed
  • Failed: Proposal execution failed
  • Expired: Proposal Expired

The proposal status change is driven by the act_proposal)( method. DAO members can call this method to vote on proposals and perform other operations.

![])https://img-cdn.gateio.im/webp-social/moments-ef0b959c42e1f5fc6263cd4a86fd078e.webp(

3. Proposal Execution

The approved proposals will be executed through the internal_execute_proposal)( function. Sputnik-DAO supports multiple types of proposals, this article focuses on two:

) 3.1 Contract Function Execution Proposal

FunctionCall proposals allow for the execution of specified contract functions. The proposal can include multiple ActionCall objects, each specifying the corresponding contract method name and parameters.

3.2 Contract Fund Transfer Proposal

The Transfer type proposal is used to transfer tokens from the contract account to a specified account. The underlying transfer operations for different types of tokens are implemented through the internal_payout###( function.

![])https://img-cdn.gateio.im/webp-social/moments-eb73d5e15f6161f0a4b442cd4b99a91e.webp(

4. Summary

This article introduces the core concept of the Sputnik DAO contract - Proposal ), including the creation, status changes, and execution of proposals. Subsequent articles will further discuss the governance model of Sputnik-DAO ( Policy ) implementation.

ACT2.61%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 7
  • Share
Comment
0/400
RektButAlivevip
· 4h ago
With this proposal mechanism, we are still a long way from true decentralization.
View OriginalReply0
NftDeepBreathervip
· 4h ago
near is very promising
View OriginalReply0
HashBanditvip
· 4h ago
lmao another dao claiming to solve scaling... my mining rig says otherwise tbh
Reply0
SchrodingerProfitvip
· 4h ago
Roll it again, they are managing this trap.
View OriginalReply0
GasFeeCryvip
· 4h ago
Is there still hope for the near ecosystem?
View OriginalReply0
BrokenDAOvip
· 4h ago
Another attempt at a utopia that seeks to balance human nature with governance... let's see how long it can last.
View OriginalReply0
FlatlineTradervip
· 4h ago
Is this thing reliable?
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)