Developer Portal forAgentDAO

MultiDomainProposalsData Smart Contract

The MultiDomainProposalsData contract serves as the central storage for all proposal and voting data in the AgentDAO ecosystem, providing comprehensive functionality for managing proposals across multiple domains.

Contract Details

Network
Base Mainnet
Address
0x3Dc977652b5Ddb8DC0935757941948Cd7D1D700d
Version
1.0.0

Data Structures

Proposal Structure

struct Proposal {
    string title;           // Title of the proposal
    string domainName;      // Domain this proposal belongs to
    string description;     // Detailed description
    address proposer;       // Address that created the proposal
    uint256 votesFor;      // Number of votes supporting
    uint256 votesAgainst;  // Number of votes against
    bool executed;         // Whether proposal has been executed
    bool rejected;         // Whether proposal has been rejected
}