Interface ProposeRes

interface ProposeRes {
    proposal: {
        addr?: string;
        cdata?: any;
        createTime: Date;
        createTxHash?: string;
        decoded?:
            | {
                groupNum: number;
                meetingNum: number;
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                mintData: string;
                propType: "respectBreakout";
                rankings: string[];
            }
            | {
                account: string;
                groupNum?: number;
                meetingNum: number;
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                mintType: number;
                propType: "respectAccount";
                reason: string;
                title: string;
                tokenId: string;
                value: bigint;
            }
            | {
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                propType: "burnRespect";
                reason: string;
                tokenId: string;
            }
            | {
                data: string;
                link?: string;
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                propType: "customSignal";
                signalType: number;
            }
            | {
                data: string;
                link?: string;
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                propType: "tick";
            }
            | {
                address: string;
                cdata: string;
                metadata: {
                    propDescription?: string;
                    propTitle?: string;
                };
                propType: "customCall";
            };
        execError?: {
            args: any[];
            data: null | string;
            name: null | string;
            reason: null | string;
            selector: null | string;
            signature: null | string;
            type: ErrorType;
        };
        executeTxHash?: string;
        id: string;
        memo?: any;
        noWeight?: bigint;
        stage:
            | "Voting"
            | "Veto"
            | "Execution"
            | "Expired";
        status: "NotExecuted" | "Executed" | "ExecutionFailed";
        voteStatus:
            | "Passing"
            | "Failing"
            | "Passed"
            | "Failed";
        yesWeight?: bigint;
    };
    status: "ProposalExists" | "ProposalStored";
    txReceipt: ContractTransactionReceipt;
}

Hierarchy (view full)

Properties

proposal: {
    addr?: string;
    cdata?: any;
    createTime: Date;
    createTxHash?: string;
    decoded?:
        | {
            groupNum: number;
            meetingNum: number;
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            mintData: string;
            propType: "respectBreakout";
            rankings: string[];
        }
        | {
            account: string;
            groupNum?: number;
            meetingNum: number;
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            mintType: number;
            propType: "respectAccount";
            reason: string;
            title: string;
            tokenId: string;
            value: bigint;
        }
        | {
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            propType: "burnRespect";
            reason: string;
            tokenId: string;
        }
        | {
            data: string;
            link?: string;
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            propType: "customSignal";
            signalType: number;
        }
        | {
            data: string;
            link?: string;
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            propType: "tick";
        }
        | {
            address: string;
            cdata: string;
            metadata: {
                propDescription?: string;
                propTitle?: string;
            };
            propType: "customCall";
        };
    execError?: {
        args: any[];
        data: null | string;
        name: null | string;
        reason: null | string;
        selector: null | string;
        signature: null | string;
        type: ErrorType;
    };
    executeTxHash?: string;
    id: string;
    memo?: any;
    noWeight?: bigint;
    stage:
        | "Voting"
        | "Veto"
        | "Execution"
        | "Expired";
    status: "NotExecuted" | "Executed" | "ExecutionFailed";
    voteStatus:
        | "Passing"
        | "Failing"
        | "Passed"
        | "Failed";
    yesWeight?: bigint;
}
status: "ProposalExists" | "ProposalStored"
txReceipt: ContractTransactionReceipt